@payabli/sdk-node 0.0.133 → 0.0.135

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 (425) hide show
  1. package/README.md +33 -1
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +12 -0
  4. package/dist/cjs/Client.js +67 -0
  5. package/dist/cjs/api/resources/bill/client/requests/ListBillsOrgRequest.d.ts +1 -1
  6. package/dist/cjs/api/resources/bill/client/requests/ListBillsRequest.d.ts +1 -1
  7. package/dist/cjs/api/resources/bill/exports.d.ts +2 -0
  8. package/dist/cjs/api/resources/bill/exports.js +21 -0
  9. package/dist/cjs/api/resources/boarding/client/requests/ListApplicationsRequest.d.ts +1 -1
  10. package/dist/cjs/api/resources/boarding/client/requests/ListBoardingLinksRequest.d.ts +1 -1
  11. package/dist/cjs/api/resources/boarding/exports.d.ts +2 -0
  12. package/dist/cjs/api/resources/boarding/exports.js +21 -0
  13. package/dist/cjs/api/resources/chargeBacks/exports.d.ts +2 -0
  14. package/dist/cjs/api/resources/chargeBacks/exports.js +21 -0
  15. package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +2 -0
  16. package/dist/cjs/api/resources/checkCapture/client/Client.js +2 -0
  17. package/dist/cjs/api/resources/checkCapture/exports.d.ts +2 -0
  18. package/dist/cjs/api/resources/checkCapture/exports.js +21 -0
  19. package/dist/cjs/api/resources/cloud/exports.d.ts +2 -0
  20. package/dist/cjs/api/resources/cloud/exports.js +21 -0
  21. package/dist/cjs/api/resources/customer/exports.d.ts +2 -0
  22. package/dist/cjs/api/resources/customer/exports.js +21 -0
  23. package/dist/cjs/api/resources/export/client/Client.d.ts +58 -0
  24. package/dist/cjs/api/resources/export/client/Client.js +58 -0
  25. package/dist/cjs/api/resources/export/client/requests/ExportApplicationsRequest.d.ts +1 -1
  26. package/dist/cjs/api/resources/export/client/requests/ExportBatchDetailsOrgRequest.d.ts +1 -1
  27. package/dist/cjs/api/resources/export/client/requests/ExportBatchDetailsRequest.d.ts +1 -1
  28. package/dist/cjs/api/resources/export/client/requests/ExportBatchesOrgRequest.d.ts +1 -1
  29. package/dist/cjs/api/resources/export/client/requests/ExportBatchesOutOrgRequest.d.ts +1 -1
  30. package/dist/cjs/api/resources/export/client/requests/ExportBatchesOutRequest.d.ts +1 -1
  31. package/dist/cjs/api/resources/export/client/requests/ExportBatchesRequest.d.ts +1 -1
  32. package/dist/cjs/api/resources/export/client/requests/ExportBillsOrgRequest.d.ts +1 -1
  33. package/dist/cjs/api/resources/export/client/requests/ExportBillsRequest.d.ts +1 -1
  34. package/dist/cjs/api/resources/export/client/requests/ExportChargebacksOrgRequest.d.ts +1 -1
  35. package/dist/cjs/api/resources/export/client/requests/ExportChargebacksRequest.d.ts +1 -1
  36. package/dist/cjs/api/resources/export/client/requests/ExportCustomersOrgRequest.d.ts +1 -1
  37. package/dist/cjs/api/resources/export/client/requests/ExportCustomersRequest.d.ts +1 -1
  38. package/dist/cjs/api/resources/export/client/requests/ExportInvoicesOrgRequest.d.ts +1 -1
  39. package/dist/cjs/api/resources/export/client/requests/ExportInvoicesRequest.d.ts +1 -1
  40. package/dist/cjs/api/resources/export/client/requests/ExportOrganizationsRequest.d.ts +1 -1
  41. package/dist/cjs/api/resources/export/client/requests/ExportPayoutOrgRequest.d.ts +1 -1
  42. package/dist/cjs/api/resources/export/client/requests/ExportPayoutRequest.d.ts +1 -1
  43. package/dist/cjs/api/resources/export/client/requests/ExportPaypointsRequest.d.ts +1 -1
  44. package/dist/cjs/api/resources/export/client/requests/ExportSettlementsOrgRequest.d.ts +1 -1
  45. package/dist/cjs/api/resources/export/client/requests/ExportSettlementsRequest.d.ts +1 -1
  46. package/dist/cjs/api/resources/export/client/requests/ExportSubscriptionsOrgRequest.d.ts +1 -1
  47. package/dist/cjs/api/resources/export/client/requests/ExportSubscriptionsRequest.d.ts +1 -1
  48. package/dist/cjs/api/resources/export/client/requests/ExportTransactionsOrgRequest.d.ts +1 -1
  49. package/dist/cjs/api/resources/export/client/requests/ExportTransactionsRequest.d.ts +1 -1
  50. package/dist/cjs/api/resources/export/client/requests/ExportTransferDetailsRequest.d.ts +1 -1
  51. package/dist/cjs/api/resources/export/client/requests/ExportTransfersRequest.d.ts +1 -1
  52. package/dist/cjs/api/resources/export/client/requests/ExportVendorsOrgRequest.d.ts +1 -1
  53. package/dist/cjs/api/resources/export/client/requests/ExportVendorsRequest.d.ts +1 -1
  54. package/dist/cjs/api/resources/export/exports.d.ts +2 -0
  55. package/dist/cjs/api/resources/export/exports.js +21 -0
  56. package/dist/cjs/api/resources/hostedPaymentPages/exports.d.ts +2 -0
  57. package/dist/cjs/api/resources/hostedPaymentPages/exports.js +21 -0
  58. package/dist/cjs/api/resources/import/exports.d.ts +2 -0
  59. package/dist/cjs/api/resources/import/exports.js +21 -0
  60. package/dist/cjs/api/resources/invoice/client/requests/ListInvoicesOrgRequest.d.ts +1 -1
  61. package/dist/cjs/api/resources/invoice/client/requests/ListInvoicesRequest.d.ts +1 -1
  62. package/dist/cjs/api/resources/invoice/exports.d.ts +2 -0
  63. package/dist/cjs/api/resources/invoice/exports.js +21 -0
  64. package/dist/cjs/api/resources/lineItem/client/requests/ListLineItemsRequest.d.ts +1 -1
  65. package/dist/cjs/api/resources/lineItem/exports.d.ts +2 -0
  66. package/dist/cjs/api/resources/lineItem/exports.js +21 -0
  67. package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +2 -0
  68. package/dist/cjs/api/resources/moneyIn/client/Client.js +2 -0
  69. package/dist/cjs/api/resources/moneyIn/client/requests/RequestCredit.d.ts +1 -1
  70. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPayment.d.ts +0 -24
  71. package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentValidate.d.ts +1 -1
  72. package/dist/cjs/api/resources/moneyIn/exports.d.ts +2 -0
  73. package/dist/cjs/api/resources/moneyIn/exports.js +21 -0
  74. package/dist/cjs/api/resources/moneyIn/types/TransRequestBody.d.ts +1 -1
  75. package/dist/cjs/api/resources/moneyIn/types/TransactionDetailPaymentData.d.ts +1 -1
  76. package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +55 -0
  77. package/dist/cjs/api/resources/moneyOut/client/Client.js +105 -0
  78. package/dist/cjs/api/resources/moneyOut/client/requests/ReissueOutRequest.d.ts +43 -0
  79. package/dist/cjs/api/resources/moneyOut/client/requests/index.d.ts +1 -0
  80. package/dist/cjs/api/resources/moneyOut/exports.d.ts +2 -0
  81. package/dist/cjs/api/resources/moneyOut/exports.js +21 -0
  82. package/dist/cjs/api/resources/moneyOutTypes/exports.d.ts +1 -0
  83. package/dist/cjs/api/resources/moneyOutTypes/exports.js +18 -0
  84. package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +1 -1
  85. package/dist/cjs/api/resources/moneyOutTypes/types/ReissuePaymentMethod.d.ts +20 -0
  86. package/dist/cjs/api/resources/moneyOutTypes/types/ReissuePaymentMethod.js +3 -0
  87. package/dist/cjs/api/resources/moneyOutTypes/types/ReissuePayoutBody.d.ts +7 -0
  88. package/dist/cjs/api/resources/moneyOutTypes/types/ReissuePayoutBody.js +3 -0
  89. package/dist/cjs/api/resources/moneyOutTypes/types/ReissuePayoutResponse.d.ts +30 -0
  90. package/dist/cjs/api/resources/moneyOutTypes/types/ReissuePayoutResponse.js +3 -0
  91. package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +3 -0
  92. package/dist/cjs/api/resources/moneyOutTypes/types/index.js +3 -0
  93. package/dist/cjs/api/resources/notification/exports.d.ts +2 -0
  94. package/dist/cjs/api/resources/notification/exports.js +21 -0
  95. package/dist/cjs/api/resources/notificationlogs/exports.d.ts +2 -0
  96. package/dist/cjs/api/resources/notificationlogs/exports.js +21 -0
  97. package/dist/cjs/api/resources/ocr/exports.d.ts +2 -0
  98. package/dist/cjs/api/resources/ocr/exports.js +21 -0
  99. package/dist/cjs/api/resources/organization/exports.d.ts +2 -0
  100. package/dist/cjs/api/resources/organization/exports.js +21 -0
  101. package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +4 -0
  102. package/dist/cjs/api/resources/paymentLink/client/Client.js +4 -0
  103. package/dist/cjs/api/resources/paymentLink/exports.d.ts +2 -0
  104. package/dist/cjs/api/resources/paymentLink/exports.js +21 -0
  105. package/dist/cjs/api/resources/paymentMethodDomain/exports.d.ts +2 -0
  106. package/dist/cjs/api/resources/paymentMethodDomain/exports.js +21 -0
  107. package/dist/cjs/api/resources/paypoint/exports.d.ts +2 -0
  108. package/dist/cjs/api/resources/paypoint/exports.js +21 -0
  109. package/dist/cjs/api/resources/query/client/requests/ListBatchDetailsOrgRequest.d.ts +1 -1
  110. package/dist/cjs/api/resources/query/client/requests/ListBatchDetailsRequest.d.ts +1 -1
  111. package/dist/cjs/api/resources/query/client/requests/ListBatchesOrgRequest.d.ts +1 -1
  112. package/dist/cjs/api/resources/query/client/requests/ListBatchesOutOrgRequest.d.ts +1 -1
  113. package/dist/cjs/api/resources/query/client/requests/ListBatchesOutRequest.d.ts +1 -1
  114. package/dist/cjs/api/resources/query/client/requests/ListBatchesRequest.d.ts +1 -1
  115. package/dist/cjs/api/resources/query/client/requests/ListChargebacksOrgRequest.d.ts +1 -1
  116. package/dist/cjs/api/resources/query/client/requests/ListChargebacksRequest.d.ts +1 -1
  117. package/dist/cjs/api/resources/query/client/requests/ListCustomersOrgRequest.d.ts +1 -1
  118. package/dist/cjs/api/resources/query/client/requests/ListCustomersRequest.d.ts +1 -1
  119. package/dist/cjs/api/resources/query/client/requests/ListNotificationReportsOrgRequest.d.ts +1 -1
  120. package/dist/cjs/api/resources/query/client/requests/ListNotificationReportsRequest.d.ts +1 -1
  121. package/dist/cjs/api/resources/query/client/requests/ListNotificationsOrgRequest.d.ts +1 -1
  122. package/dist/cjs/api/resources/query/client/requests/ListNotificationsRequest.d.ts +1 -1
  123. package/dist/cjs/api/resources/query/client/requests/ListOrganizationsRequest.d.ts +1 -1
  124. package/dist/cjs/api/resources/query/client/requests/ListPayoutOrgRequest.d.ts +1 -1
  125. package/dist/cjs/api/resources/query/client/requests/ListPayoutRequest.d.ts +1 -1
  126. package/dist/cjs/api/resources/query/client/requests/ListPaypointsRequest.d.ts +1 -1
  127. package/dist/cjs/api/resources/query/client/requests/ListSettlementsOrgRequest.d.ts +1 -1
  128. package/dist/cjs/api/resources/query/client/requests/ListSettlementsRequest.d.ts +1 -1
  129. package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.ts +1 -1
  130. package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsRequest.d.ts +1 -1
  131. package/dist/cjs/api/resources/query/client/requests/ListTransactionsOrgRequest.d.ts +1 -1
  132. package/dist/cjs/api/resources/query/client/requests/ListTransactionsRequest.d.ts +1 -1
  133. package/dist/cjs/api/resources/query/client/requests/ListTransferDetailsOutRequest.d.ts +1 -1
  134. package/dist/cjs/api/resources/query/client/requests/ListTransfersOutOrgRequest.d.ts +1 -1
  135. package/dist/cjs/api/resources/query/client/requests/ListTransfersOutPaypointRequest.d.ts +1 -1
  136. package/dist/cjs/api/resources/query/client/requests/ListTransfersPaypointRequest.d.ts +1 -1
  137. package/dist/cjs/api/resources/query/client/requests/ListTransfersRequest.d.ts +1 -1
  138. package/dist/cjs/api/resources/query/client/requests/ListTransfersRequestOrg.d.ts +1 -1
  139. package/dist/cjs/api/resources/query/client/requests/ListUsersOrgRequest.d.ts +1 -1
  140. package/dist/cjs/api/resources/query/client/requests/ListUsersPaypointRequest.d.ts +1 -1
  141. package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +1 -1
  142. package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +1 -1
  143. package/dist/cjs/api/resources/query/client/requests/ListVendorsOrgRequest.d.ts +1 -1
  144. package/dist/cjs/api/resources/query/client/requests/ListVendorsRequest.d.ts +1 -1
  145. package/dist/cjs/api/resources/query/exports.d.ts +2 -0
  146. package/dist/cjs/api/resources/query/exports.js +21 -0
  147. package/dist/cjs/api/resources/queryTypes/exports.d.ts +1 -0
  148. package/dist/cjs/api/resources/queryTypes/exports.js +18 -0
  149. package/dist/cjs/api/resources/statistic/client/requests/BasicStatsRequest.d.ts +1 -1
  150. package/dist/cjs/api/resources/statistic/client/requests/CustomerBasicStatsRequest.d.ts +1 -1
  151. package/dist/cjs/api/resources/statistic/client/requests/SubStatsRequest.d.ts +1 -1
  152. package/dist/cjs/api/resources/statistic/client/requests/VendorBasicStatsRequest.d.ts +1 -1
  153. package/dist/cjs/api/resources/statistic/exports.d.ts +2 -0
  154. package/dist/cjs/api/resources/statistic/exports.js +21 -0
  155. package/dist/cjs/api/resources/subscription/exports.d.ts +2 -0
  156. package/dist/cjs/api/resources/subscription/exports.js +21 -0
  157. package/dist/cjs/api/resources/templates/client/requests/ListTemplatesRequest.d.ts +1 -1
  158. package/dist/cjs/api/resources/templates/exports.d.ts +2 -0
  159. package/dist/cjs/api/resources/templates/exports.js +21 -0
  160. package/dist/cjs/api/resources/tokenStorage/client/requests/GetMethodRequest.d.ts +0 -12
  161. package/dist/cjs/api/resources/tokenStorage/exports.d.ts +2 -0
  162. package/dist/cjs/api/resources/tokenStorage/exports.js +21 -0
  163. package/dist/cjs/api/resources/tokenStorage/types/TokenizeAch.d.ts +2 -1
  164. package/dist/cjs/api/resources/user/exports.d.ts +2 -0
  165. package/dist/cjs/api/resources/user/exports.js +21 -0
  166. package/dist/cjs/api/resources/v2MoneyInTypes/exports.d.ts +1 -0
  167. package/dist/cjs/api/resources/v2MoneyInTypes/exports.js +18 -0
  168. package/dist/cjs/api/resources/vendor/exports.d.ts +2 -0
  169. package/dist/cjs/api/resources/vendor/exports.js +21 -0
  170. package/dist/cjs/api/resources/wallet/exports.d.ts +2 -0
  171. package/dist/cjs/api/resources/wallet/exports.js +21 -0
  172. package/dist/cjs/api/types/AbsorbDifference.d.ts +4 -0
  173. package/dist/cjs/api/types/AbsorbDifference.js +3 -0
  174. package/dist/cjs/api/types/{Accountid.d.ts → AccountId.d.ts} +1 -1
  175. package/dist/cjs/api/types/AccountId.js +3 -0
  176. package/dist/cjs/api/types/AdditionalData.d.ts +1 -1
  177. package/dist/cjs/api/types/AllowOverride.d.ts +4 -0
  178. package/dist/cjs/api/types/AllowOverride.js +3 -0
  179. package/dist/cjs/api/types/Bank.d.ts +2 -2
  180. package/dist/cjs/api/types/BillDetailResponse.d.ts +2 -2
  181. package/dist/cjs/api/types/BillingDataResponse.d.ts +2 -1
  182. package/dist/cjs/api/types/CustomerData.d.ts +1 -1
  183. package/dist/cjs/api/types/CustomerQueryRecords.d.ts +1 -1
  184. package/dist/cjs/api/types/FrequencyList.d.ts +7 -7
  185. package/dist/cjs/api/types/GreaterValueAllowed.d.ts +4 -0
  186. package/dist/cjs/api/types/GreaterValueAllowed.js +3 -0
  187. package/dist/cjs/api/types/NotificationStandardRequest.d.ts +0 -31
  188. package/dist/cjs/api/types/NotificationStandardRequest.js +0 -31
  189. package/dist/cjs/api/types/PayabliCredentials.d.ts +6 -1
  190. package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +5 -1
  191. package/dist/cjs/api/types/PaypointData.d.ts +2 -0
  192. package/dist/cjs/api/types/QueryPaymentData.d.ts +1 -1
  193. package/dist/cjs/api/types/QueryPayoutTransaction.d.ts +2 -2
  194. package/dist/cjs/api/types/SplitFundingContent.d.ts +1 -1
  195. package/dist/cjs/api/types/StatementEmailConfig.d.ts +9 -0
  196. package/dist/cjs/api/types/StatementEmailConfig.js +3 -0
  197. package/dist/cjs/api/types/TransactionOutQueryRecord.d.ts +2 -2
  198. package/dist/cjs/api/types/VendorDataResponse.d.ts +1 -0
  199. package/dist/cjs/api/types/index.d.ts +5 -1
  200. package/dist/cjs/api/types/index.js +5 -1
  201. package/dist/cjs/core/fetcher/BinaryResponse.d.ts +1 -1
  202. package/dist/cjs/core/fetcher/Fetcher.js +1 -1
  203. package/dist/cjs/core/fetcher/index.d.ts +2 -0
  204. package/dist/cjs/core/fetcher/index.js +3 -1
  205. package/dist/cjs/core/fetcher/makePassthroughRequest.d.ts +49 -0
  206. package/dist/cjs/core/fetcher/makePassthroughRequest.js +135 -0
  207. package/dist/cjs/core/fetcher/makeRequest.d.ts +6 -1
  208. package/dist/cjs/core/fetcher/makeRequest.js +30 -9
  209. package/dist/cjs/core/runtime/runtime.js +8 -7
  210. package/dist/cjs/version.d.ts +1 -1
  211. package/dist/cjs/version.js +1 -1
  212. package/dist/esm/BaseClient.mjs +2 -2
  213. package/dist/esm/Client.d.mts +12 -0
  214. package/dist/esm/Client.mjs +34 -0
  215. package/dist/esm/api/resources/bill/client/requests/ListBillsOrgRequest.d.mts +1 -1
  216. package/dist/esm/api/resources/bill/client/requests/ListBillsRequest.d.mts +1 -1
  217. package/dist/esm/api/resources/bill/exports.d.mts +2 -0
  218. package/dist/esm/api/resources/bill/exports.mjs +3 -0
  219. package/dist/esm/api/resources/boarding/client/requests/ListApplicationsRequest.d.mts +1 -1
  220. package/dist/esm/api/resources/boarding/client/requests/ListBoardingLinksRequest.d.mts +1 -1
  221. package/dist/esm/api/resources/boarding/exports.d.mts +2 -0
  222. package/dist/esm/api/resources/boarding/exports.mjs +3 -0
  223. package/dist/esm/api/resources/chargeBacks/exports.d.mts +2 -0
  224. package/dist/esm/api/resources/chargeBacks/exports.mjs +3 -0
  225. package/dist/esm/api/resources/checkCapture/client/Client.d.mts +2 -0
  226. package/dist/esm/api/resources/checkCapture/client/Client.mjs +2 -0
  227. package/dist/esm/api/resources/checkCapture/exports.d.mts +2 -0
  228. package/dist/esm/api/resources/checkCapture/exports.mjs +3 -0
  229. package/dist/esm/api/resources/cloud/exports.d.mts +2 -0
  230. package/dist/esm/api/resources/cloud/exports.mjs +3 -0
  231. package/dist/esm/api/resources/customer/exports.d.mts +2 -0
  232. package/dist/esm/api/resources/customer/exports.mjs +3 -0
  233. package/dist/esm/api/resources/export/client/Client.d.mts +58 -0
  234. package/dist/esm/api/resources/export/client/Client.mjs +58 -0
  235. package/dist/esm/api/resources/export/client/requests/ExportApplicationsRequest.d.mts +1 -1
  236. package/dist/esm/api/resources/export/client/requests/ExportBatchDetailsOrgRequest.d.mts +1 -1
  237. package/dist/esm/api/resources/export/client/requests/ExportBatchDetailsRequest.d.mts +1 -1
  238. package/dist/esm/api/resources/export/client/requests/ExportBatchesOrgRequest.d.mts +1 -1
  239. package/dist/esm/api/resources/export/client/requests/ExportBatchesOutOrgRequest.d.mts +1 -1
  240. package/dist/esm/api/resources/export/client/requests/ExportBatchesOutRequest.d.mts +1 -1
  241. package/dist/esm/api/resources/export/client/requests/ExportBatchesRequest.d.mts +1 -1
  242. package/dist/esm/api/resources/export/client/requests/ExportBillsOrgRequest.d.mts +1 -1
  243. package/dist/esm/api/resources/export/client/requests/ExportBillsRequest.d.mts +1 -1
  244. package/dist/esm/api/resources/export/client/requests/ExportChargebacksOrgRequest.d.mts +1 -1
  245. package/dist/esm/api/resources/export/client/requests/ExportChargebacksRequest.d.mts +1 -1
  246. package/dist/esm/api/resources/export/client/requests/ExportCustomersOrgRequest.d.mts +1 -1
  247. package/dist/esm/api/resources/export/client/requests/ExportCustomersRequest.d.mts +1 -1
  248. package/dist/esm/api/resources/export/client/requests/ExportInvoicesOrgRequest.d.mts +1 -1
  249. package/dist/esm/api/resources/export/client/requests/ExportInvoicesRequest.d.mts +1 -1
  250. package/dist/esm/api/resources/export/client/requests/ExportOrganizationsRequest.d.mts +1 -1
  251. package/dist/esm/api/resources/export/client/requests/ExportPayoutOrgRequest.d.mts +1 -1
  252. package/dist/esm/api/resources/export/client/requests/ExportPayoutRequest.d.mts +1 -1
  253. package/dist/esm/api/resources/export/client/requests/ExportPaypointsRequest.d.mts +1 -1
  254. package/dist/esm/api/resources/export/client/requests/ExportSettlementsOrgRequest.d.mts +1 -1
  255. package/dist/esm/api/resources/export/client/requests/ExportSettlementsRequest.d.mts +1 -1
  256. package/dist/esm/api/resources/export/client/requests/ExportSubscriptionsOrgRequest.d.mts +1 -1
  257. package/dist/esm/api/resources/export/client/requests/ExportSubscriptionsRequest.d.mts +1 -1
  258. package/dist/esm/api/resources/export/client/requests/ExportTransactionsOrgRequest.d.mts +1 -1
  259. package/dist/esm/api/resources/export/client/requests/ExportTransactionsRequest.d.mts +1 -1
  260. package/dist/esm/api/resources/export/client/requests/ExportTransferDetailsRequest.d.mts +1 -1
  261. package/dist/esm/api/resources/export/client/requests/ExportTransfersRequest.d.mts +1 -1
  262. package/dist/esm/api/resources/export/client/requests/ExportVendorsOrgRequest.d.mts +1 -1
  263. package/dist/esm/api/resources/export/client/requests/ExportVendorsRequest.d.mts +1 -1
  264. package/dist/esm/api/resources/export/exports.d.mts +2 -0
  265. package/dist/esm/api/resources/export/exports.mjs +3 -0
  266. package/dist/esm/api/resources/hostedPaymentPages/exports.d.mts +2 -0
  267. package/dist/esm/api/resources/hostedPaymentPages/exports.mjs +3 -0
  268. package/dist/esm/api/resources/import/exports.d.mts +2 -0
  269. package/dist/esm/api/resources/import/exports.mjs +3 -0
  270. package/dist/esm/api/resources/invoice/client/requests/ListInvoicesOrgRequest.d.mts +1 -1
  271. package/dist/esm/api/resources/invoice/client/requests/ListInvoicesRequest.d.mts +1 -1
  272. package/dist/esm/api/resources/invoice/exports.d.mts +2 -0
  273. package/dist/esm/api/resources/invoice/exports.mjs +3 -0
  274. package/dist/esm/api/resources/lineItem/client/requests/ListLineItemsRequest.d.mts +1 -1
  275. package/dist/esm/api/resources/lineItem/exports.d.mts +2 -0
  276. package/dist/esm/api/resources/lineItem/exports.mjs +3 -0
  277. package/dist/esm/api/resources/moneyIn/client/Client.d.mts +2 -0
  278. package/dist/esm/api/resources/moneyIn/client/Client.mjs +2 -0
  279. package/dist/esm/api/resources/moneyIn/client/requests/RequestCredit.d.mts +1 -1
  280. package/dist/esm/api/resources/moneyIn/client/requests/RequestPayment.d.mts +0 -24
  281. package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentValidate.d.mts +1 -1
  282. package/dist/esm/api/resources/moneyIn/exports.d.mts +2 -0
  283. package/dist/esm/api/resources/moneyIn/exports.mjs +3 -0
  284. package/dist/esm/api/resources/moneyIn/types/TransRequestBody.d.mts +1 -1
  285. package/dist/esm/api/resources/moneyIn/types/TransactionDetailPaymentData.d.mts +1 -1
  286. package/dist/esm/api/resources/moneyOut/client/Client.d.mts +55 -0
  287. package/dist/esm/api/resources/moneyOut/client/Client.mjs +105 -0
  288. package/dist/esm/api/resources/moneyOut/client/requests/ReissueOutRequest.d.mts +43 -0
  289. package/dist/esm/api/resources/moneyOut/client/requests/index.d.mts +1 -0
  290. package/dist/esm/api/resources/moneyOut/exports.d.mts +2 -0
  291. package/dist/esm/api/resources/moneyOut/exports.mjs +3 -0
  292. package/dist/esm/api/resources/moneyOutTypes/exports.d.mts +1 -0
  293. package/dist/esm/api/resources/moneyOutTypes/exports.mjs +2 -0
  294. package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +1 -1
  295. package/dist/esm/api/resources/moneyOutTypes/types/ReissuePaymentMethod.d.mts +20 -0
  296. package/dist/esm/api/resources/moneyOutTypes/types/ReissuePaymentMethod.mjs +2 -0
  297. package/dist/esm/api/resources/moneyOutTypes/types/ReissuePayoutBody.d.mts +7 -0
  298. package/dist/esm/api/resources/moneyOutTypes/types/ReissuePayoutBody.mjs +2 -0
  299. package/dist/esm/api/resources/moneyOutTypes/types/ReissuePayoutResponse.d.mts +30 -0
  300. package/dist/esm/api/resources/moneyOutTypes/types/ReissuePayoutResponse.mjs +2 -0
  301. package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +3 -0
  302. package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +3 -0
  303. package/dist/esm/api/resources/notification/exports.d.mts +2 -0
  304. package/dist/esm/api/resources/notification/exports.mjs +3 -0
  305. package/dist/esm/api/resources/notificationlogs/exports.d.mts +2 -0
  306. package/dist/esm/api/resources/notificationlogs/exports.mjs +3 -0
  307. package/dist/esm/api/resources/ocr/exports.d.mts +2 -0
  308. package/dist/esm/api/resources/ocr/exports.mjs +3 -0
  309. package/dist/esm/api/resources/organization/exports.d.mts +2 -0
  310. package/dist/esm/api/resources/organization/exports.mjs +3 -0
  311. package/dist/esm/api/resources/paymentLink/client/Client.d.mts +4 -0
  312. package/dist/esm/api/resources/paymentLink/client/Client.mjs +4 -0
  313. package/dist/esm/api/resources/paymentLink/exports.d.mts +2 -0
  314. package/dist/esm/api/resources/paymentLink/exports.mjs +3 -0
  315. package/dist/esm/api/resources/paymentMethodDomain/exports.d.mts +2 -0
  316. package/dist/esm/api/resources/paymentMethodDomain/exports.mjs +3 -0
  317. package/dist/esm/api/resources/paypoint/exports.d.mts +2 -0
  318. package/dist/esm/api/resources/paypoint/exports.mjs +3 -0
  319. package/dist/esm/api/resources/query/client/requests/ListBatchDetailsOrgRequest.d.mts +1 -1
  320. package/dist/esm/api/resources/query/client/requests/ListBatchDetailsRequest.d.mts +1 -1
  321. package/dist/esm/api/resources/query/client/requests/ListBatchesOrgRequest.d.mts +1 -1
  322. package/dist/esm/api/resources/query/client/requests/ListBatchesOutOrgRequest.d.mts +1 -1
  323. package/dist/esm/api/resources/query/client/requests/ListBatchesOutRequest.d.mts +1 -1
  324. package/dist/esm/api/resources/query/client/requests/ListBatchesRequest.d.mts +1 -1
  325. package/dist/esm/api/resources/query/client/requests/ListChargebacksOrgRequest.d.mts +1 -1
  326. package/dist/esm/api/resources/query/client/requests/ListChargebacksRequest.d.mts +1 -1
  327. package/dist/esm/api/resources/query/client/requests/ListCustomersOrgRequest.d.mts +1 -1
  328. package/dist/esm/api/resources/query/client/requests/ListCustomersRequest.d.mts +1 -1
  329. package/dist/esm/api/resources/query/client/requests/ListNotificationReportsOrgRequest.d.mts +1 -1
  330. package/dist/esm/api/resources/query/client/requests/ListNotificationReportsRequest.d.mts +1 -1
  331. package/dist/esm/api/resources/query/client/requests/ListNotificationsOrgRequest.d.mts +1 -1
  332. package/dist/esm/api/resources/query/client/requests/ListNotificationsRequest.d.mts +1 -1
  333. package/dist/esm/api/resources/query/client/requests/ListOrganizationsRequest.d.mts +1 -1
  334. package/dist/esm/api/resources/query/client/requests/ListPayoutOrgRequest.d.mts +1 -1
  335. package/dist/esm/api/resources/query/client/requests/ListPayoutRequest.d.mts +1 -1
  336. package/dist/esm/api/resources/query/client/requests/ListPaypointsRequest.d.mts +1 -1
  337. package/dist/esm/api/resources/query/client/requests/ListSettlementsOrgRequest.d.mts +1 -1
  338. package/dist/esm/api/resources/query/client/requests/ListSettlementsRequest.d.mts +1 -1
  339. package/dist/esm/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.mts +1 -1
  340. package/dist/esm/api/resources/query/client/requests/ListSubscriptionsRequest.d.mts +1 -1
  341. package/dist/esm/api/resources/query/client/requests/ListTransactionsOrgRequest.d.mts +1 -1
  342. package/dist/esm/api/resources/query/client/requests/ListTransactionsRequest.d.mts +1 -1
  343. package/dist/esm/api/resources/query/client/requests/ListTransferDetailsOutRequest.d.mts +1 -1
  344. package/dist/esm/api/resources/query/client/requests/ListTransfersOutOrgRequest.d.mts +1 -1
  345. package/dist/esm/api/resources/query/client/requests/ListTransfersOutPaypointRequest.d.mts +1 -1
  346. package/dist/esm/api/resources/query/client/requests/ListTransfersPaypointRequest.d.mts +1 -1
  347. package/dist/esm/api/resources/query/client/requests/ListTransfersRequest.d.mts +1 -1
  348. package/dist/esm/api/resources/query/client/requests/ListTransfersRequestOrg.d.mts +1 -1
  349. package/dist/esm/api/resources/query/client/requests/ListUsersOrgRequest.d.mts +1 -1
  350. package/dist/esm/api/resources/query/client/requests/ListUsersPaypointRequest.d.mts +1 -1
  351. package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +1 -1
  352. package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +1 -1
  353. package/dist/esm/api/resources/query/client/requests/ListVendorsOrgRequest.d.mts +1 -1
  354. package/dist/esm/api/resources/query/client/requests/ListVendorsRequest.d.mts +1 -1
  355. package/dist/esm/api/resources/query/exports.d.mts +2 -0
  356. package/dist/esm/api/resources/query/exports.mjs +3 -0
  357. package/dist/esm/api/resources/queryTypes/exports.d.mts +1 -0
  358. package/dist/esm/api/resources/queryTypes/exports.mjs +2 -0
  359. package/dist/esm/api/resources/statistic/client/requests/BasicStatsRequest.d.mts +1 -1
  360. package/dist/esm/api/resources/statistic/client/requests/CustomerBasicStatsRequest.d.mts +1 -1
  361. package/dist/esm/api/resources/statistic/client/requests/SubStatsRequest.d.mts +1 -1
  362. package/dist/esm/api/resources/statistic/client/requests/VendorBasicStatsRequest.d.mts +1 -1
  363. package/dist/esm/api/resources/statistic/exports.d.mts +2 -0
  364. package/dist/esm/api/resources/statistic/exports.mjs +3 -0
  365. package/dist/esm/api/resources/subscription/exports.d.mts +2 -0
  366. package/dist/esm/api/resources/subscription/exports.mjs +3 -0
  367. package/dist/esm/api/resources/templates/client/requests/ListTemplatesRequest.d.mts +1 -1
  368. package/dist/esm/api/resources/templates/exports.d.mts +2 -0
  369. package/dist/esm/api/resources/templates/exports.mjs +3 -0
  370. package/dist/esm/api/resources/tokenStorage/client/requests/GetMethodRequest.d.mts +0 -12
  371. package/dist/esm/api/resources/tokenStorage/exports.d.mts +2 -0
  372. package/dist/esm/api/resources/tokenStorage/exports.mjs +3 -0
  373. package/dist/esm/api/resources/tokenStorage/types/TokenizeAch.d.mts +2 -1
  374. package/dist/esm/api/resources/user/exports.d.mts +2 -0
  375. package/dist/esm/api/resources/user/exports.mjs +3 -0
  376. package/dist/esm/api/resources/v2MoneyInTypes/exports.d.mts +1 -0
  377. package/dist/esm/api/resources/v2MoneyInTypes/exports.mjs +2 -0
  378. package/dist/esm/api/resources/vendor/exports.d.mts +2 -0
  379. package/dist/esm/api/resources/vendor/exports.mjs +3 -0
  380. package/dist/esm/api/resources/wallet/exports.d.mts +2 -0
  381. package/dist/esm/api/resources/wallet/exports.mjs +3 -0
  382. package/dist/esm/api/types/AbsorbDifference.d.mts +4 -0
  383. package/dist/esm/api/types/AbsorbDifference.mjs +2 -0
  384. package/dist/esm/api/types/{Accountid.d.mts → AccountId.d.mts} +1 -1
  385. package/dist/esm/api/types/AccountId.mjs +2 -0
  386. package/dist/esm/api/types/AdditionalData.d.mts +1 -1
  387. package/dist/esm/api/types/AllowOverride.d.mts +4 -0
  388. package/dist/esm/api/types/AllowOverride.mjs +2 -0
  389. package/dist/esm/api/types/Bank.d.mts +2 -2
  390. package/dist/esm/api/types/BillDetailResponse.d.mts +2 -2
  391. package/dist/esm/api/types/BillingDataResponse.d.mts +2 -1
  392. package/dist/esm/api/types/CustomerData.d.mts +1 -1
  393. package/dist/esm/api/types/CustomerQueryRecords.d.mts +1 -1
  394. package/dist/esm/api/types/FrequencyList.d.mts +7 -7
  395. package/dist/esm/api/types/GreaterValueAllowed.d.mts +4 -0
  396. package/dist/esm/api/types/GreaterValueAllowed.mjs +2 -0
  397. package/dist/esm/api/types/NotificationStandardRequest.d.mts +0 -31
  398. package/dist/esm/api/types/NotificationStandardRequest.mjs +0 -31
  399. package/dist/esm/api/types/PayabliCredentials.d.mts +6 -1
  400. package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +5 -1
  401. package/dist/esm/api/types/PaypointData.d.mts +2 -0
  402. package/dist/esm/api/types/QueryPaymentData.d.mts +1 -1
  403. package/dist/esm/api/types/QueryPayoutTransaction.d.mts +2 -2
  404. package/dist/esm/api/types/SplitFundingContent.d.mts +1 -1
  405. package/dist/esm/api/types/StatementEmailConfig.d.mts +9 -0
  406. package/dist/esm/api/types/StatementEmailConfig.mjs +2 -0
  407. package/dist/esm/api/types/TransactionOutQueryRecord.d.mts +2 -2
  408. package/dist/esm/api/types/VendorDataResponse.d.mts +1 -0
  409. package/dist/esm/api/types/index.d.mts +5 -1
  410. package/dist/esm/api/types/index.mjs +5 -1
  411. package/dist/esm/core/fetcher/BinaryResponse.d.mts +1 -1
  412. package/dist/esm/core/fetcher/Fetcher.mjs +1 -1
  413. package/dist/esm/core/fetcher/index.d.mts +2 -0
  414. package/dist/esm/core/fetcher/index.mjs +1 -0
  415. package/dist/esm/core/fetcher/makePassthroughRequest.d.mts +49 -0
  416. package/dist/esm/core/fetcher/makePassthroughRequest.mjs +132 -0
  417. package/dist/esm/core/fetcher/makeRequest.d.mts +6 -1
  418. package/dist/esm/core/fetcher/makeRequest.mjs +28 -9
  419. package/dist/esm/core/runtime/runtime.mjs +8 -7
  420. package/dist/esm/version.d.mts +1 -1
  421. package/dist/esm/version.mjs +1 -1
  422. package/package.json +312 -4
  423. package/reference.md +80 -0
  424. /package/dist/cjs/api/{types/Accountid.js → resources/moneyOut/client/requests/ReissueOutRequest.js} +0 -0
  425. /package/dist/esm/api/{types/Accountid.mjs → resources/moneyOut/client/requests/ReissueOutRequest.mjs} +0 -0
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { MoneyInClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -65,7 +65,7 @@ import type * as Payabli from "../../../index.mjs";
65
65
  * }
66
66
  */
67
67
  export interface TransRequestBody {
68
- accountId?: Payabli.Accountid | undefined;
68
+ accountId?: Payabli.AccountId | undefined;
69
69
  /** Object describing the Customer/Payor. Which fields are required depends on the paypoint's custom identifier settings. */
70
70
  customerData?: Payabli.PayorDataRequest | undefined;
71
71
  entryPoint?: Payabli.Entrypointfield | undefined;
@@ -12,7 +12,7 @@ export interface TransactionDetailPaymentData {
12
12
  storedMethodUsageType: Payabli.StoredMethodUsageType | null;
13
13
  sequence: Payabli.Sequence | null;
14
14
  orderDescription: Payabli.Orderdescription;
15
- accountId: Payabli.Accountid | null;
15
+ accountId: Payabli.AccountId | null;
16
16
  signatureData: Payabli.Signaturedata | null;
17
17
  binData: Payabli.BinData | null;
18
18
  paymentDetails: Payabli.TransactionDetailPaymentDetails;
@@ -181,6 +181,8 @@ export declare class MoneyOutClient {
181
181
  cancelAllOut(request: string[], requestOptions?: MoneyOutClient.RequestOptions): core.HttpResponsePromise<Payabli.CaptureAllOutResponse>;
182
182
  private __cancelAllOut;
183
183
  /**
184
+ * @deprecated
185
+ *
184
186
  * Cancel a payout transaction by ID.
185
187
  *
186
188
  * @param {string} referenceId - The ID for the payout transaction.
@@ -355,4 +357,57 @@ export declare class MoneyOutClient {
355
357
  */
356
358
  updateCheckPaymentStatus(transId: string, checkPaymentStatus: Payabli.AllowedCheckPaymentStatus, requestOptions?: MoneyOutClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponse00Responsedatanonobject>;
357
359
  private __updateCheckPaymentStatus;
360
+ /**
361
+ * Reissues a payout transaction with a new payment method. This creates a new transaction linked to the original and marks the original transaction as reissued.
362
+ *
363
+ * The original transaction must be in **Processing** or **Processed** status. The payment method in the request body is used directly. The endpoint doesn't fall back to vendor-managed payment methods.
364
+ *
365
+ * The new transaction goes through the standard authorize-and-capture flow automatically. Both the original and new transactions are linked through their event histories for audit purposes.
366
+ *
367
+ * @param {Payabli.ReissueOutRequest} request
368
+ * @param {MoneyOutClient.RequestOptions} requestOptions - Request-specific configuration.
369
+ *
370
+ * @throws {@link Payabli.BadRequestError}
371
+ * @throws {@link Payabli.UnauthorizedError}
372
+ * @throws {@link Payabli.ForbiddenError}
373
+ * @throws {@link Payabli.InternalServerError}
374
+ * @throws {@link Payabli.ServiceUnavailableError}
375
+ *
376
+ * @example
377
+ * await client.moneyOut.reissueOut({
378
+ * transId: "129-219",
379
+ * body: {
380
+ * paymentMethod: {
381
+ * method: "ach",
382
+ * achAccount: "9876543210",
383
+ * achAccountType: "savings",
384
+ * achRouting: "021000021",
385
+ * achHolder: "Acme Corp",
386
+ * achHolderType: "business"
387
+ * }
388
+ * }
389
+ * })
390
+ *
391
+ * @example
392
+ * await client.moneyOut.reissueOut({
393
+ * transId: "129-219",
394
+ * body: {
395
+ * paymentMethod: {
396
+ * method: "check"
397
+ * }
398
+ * }
399
+ * })
400
+ *
401
+ * @example
402
+ * await client.moneyOut.reissueOut({
403
+ * transId: "129-219",
404
+ * body: {
405
+ * paymentMethod: {
406
+ * method: "vcard"
407
+ * }
408
+ * }
409
+ * })
410
+ */
411
+ reissueOut(request: Payabli.ReissueOutRequest, requestOptions?: MoneyOutClient.RequestOptions): core.HttpResponsePromise<Payabli.ReissuePayoutResponse>;
412
+ private __reissueOut;
358
413
  }
@@ -284,6 +284,8 @@ export class MoneyOutClient {
284
284
  });
285
285
  }
286
286
  /**
287
+ * @deprecated
288
+ *
287
289
  * Cancel a payout transaction by ID.
288
290
  *
289
291
  * @param {string} referenceId - The ID for the payout transaction.
@@ -838,4 +840,107 @@ export class MoneyOutClient {
838
840
  return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/MoneyOut/status/{transId}/{checkPaymentStatus}");
839
841
  });
840
842
  }
843
+ /**
844
+ * Reissues a payout transaction with a new payment method. This creates a new transaction linked to the original and marks the original transaction as reissued.
845
+ *
846
+ * The original transaction must be in **Processing** or **Processed** status. The payment method in the request body is used directly. The endpoint doesn't fall back to vendor-managed payment methods.
847
+ *
848
+ * The new transaction goes through the standard authorize-and-capture flow automatically. Both the original and new transactions are linked through their event histories for audit purposes.
849
+ *
850
+ * @param {Payabli.ReissueOutRequest} request
851
+ * @param {MoneyOutClient.RequestOptions} requestOptions - Request-specific configuration.
852
+ *
853
+ * @throws {@link Payabli.BadRequestError}
854
+ * @throws {@link Payabli.UnauthorizedError}
855
+ * @throws {@link Payabli.ForbiddenError}
856
+ * @throws {@link Payabli.InternalServerError}
857
+ * @throws {@link Payabli.ServiceUnavailableError}
858
+ *
859
+ * @example
860
+ * await client.moneyOut.reissueOut({
861
+ * transId: "129-219",
862
+ * body: {
863
+ * paymentMethod: {
864
+ * method: "ach",
865
+ * achAccount: "9876543210",
866
+ * achAccountType: "savings",
867
+ * achRouting: "021000021",
868
+ * achHolder: "Acme Corp",
869
+ * achHolderType: "business"
870
+ * }
871
+ * }
872
+ * })
873
+ *
874
+ * @example
875
+ * await client.moneyOut.reissueOut({
876
+ * transId: "129-219",
877
+ * body: {
878
+ * paymentMethod: {
879
+ * method: "check"
880
+ * }
881
+ * }
882
+ * })
883
+ *
884
+ * @example
885
+ * await client.moneyOut.reissueOut({
886
+ * transId: "129-219",
887
+ * body: {
888
+ * paymentMethod: {
889
+ * method: "vcard"
890
+ * }
891
+ * }
892
+ * })
893
+ */
894
+ reissueOut(request, requestOptions) {
895
+ return core.HttpResponsePromise.fromPromise(this.__reissueOut(request, requestOptions));
896
+ }
897
+ __reissueOut(request, requestOptions) {
898
+ return __awaiter(this, void 0, void 0, function* () {
899
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
900
+ const { transId, idempotencyKey, body: _body } = request;
901
+ const _queryParams = {
902
+ transId,
903
+ };
904
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
905
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ idempotencyKey: idempotencyKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
906
+ const _response = yield core.fetcher({
907
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, "MoneyOut/reissue"),
908
+ method: "POST",
909
+ headers: _headers,
910
+ contentType: "application/json",
911
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
912
+ requestType: "json",
913
+ body: _body,
914
+ timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
915
+ maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
916
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
917
+ fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
918
+ logging: this._options.logging,
919
+ });
920
+ if (_response.ok) {
921
+ return { data: _response.body, rawResponse: _response.rawResponse };
922
+ }
923
+ if (_response.error.reason === "status-code") {
924
+ switch (_response.error.statusCode) {
925
+ case 400:
926
+ throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
927
+ case 401:
928
+ throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
929
+ case 403:
930
+ throw new Payabli.ForbiddenError(_response.error.body, _response.rawResponse);
931
+ case 500:
932
+ throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
933
+ case 503:
934
+ throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
935
+ default:
936
+ throw new errors.PayabliError({
937
+ statusCode: _response.error.statusCode,
938
+ body: _response.error.body,
939
+ rawResponse: _response.rawResponse,
940
+ });
941
+ }
942
+ }
943
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/MoneyOut/reissue");
944
+ });
945
+ }
841
946
  }
@@ -0,0 +1,43 @@
1
+ import type * as Payabli from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * transId: "129-219",
6
+ * body: {
7
+ * paymentMethod: {
8
+ * method: "ach",
9
+ * achAccount: "9876543210",
10
+ * achAccountType: "savings",
11
+ * achRouting: "021000021",
12
+ * achHolder: "Acme Corp",
13
+ * achHolderType: "business"
14
+ * }
15
+ * }
16
+ * }
17
+ *
18
+ * @example
19
+ * {
20
+ * transId: "129-219",
21
+ * body: {
22
+ * paymentMethod: {
23
+ * method: "check"
24
+ * }
25
+ * }
26
+ * }
27
+ *
28
+ * @example
29
+ * {
30
+ * transId: "129-219",
31
+ * body: {
32
+ * paymentMethod: {
33
+ * method: "vcard"
34
+ * }
35
+ * }
36
+ * }
37
+ */
38
+ export interface ReissueOutRequest {
39
+ /** The transaction ID of the payout to reissue. */
40
+ transId: string;
41
+ idempotencyKey?: Payabli.IdempotencyKey;
42
+ body: Payabli.ReissuePayoutBody;
43
+ }
@@ -1,4 +1,5 @@
1
1
  export type { CaptureAllOutRequest } from "./CaptureAllOutRequest.mjs";
2
2
  export type { CaptureOutRequest } from "./CaptureOutRequest.mjs";
3
3
  export type { MoneyOutTypesRequestOutAuthorize } from "./MoneyOutTypesRequestOutAuthorize.mjs";
4
+ export type { ReissueOutRequest } from "./ReissueOutRequest.mjs";
4
5
  export type { SendVCardLinkRequest } from "./SendVCardLinkRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export { MoneyOutClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { MoneyOutClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./index.mjs";
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export * from "./index.mjs";
@@ -11,7 +11,7 @@ export interface AuthorizePayoutBody {
11
11
  vendorData: AuthorizePayoutBody.VendorData;
12
12
  /** Array of bills associated to the transaction */
13
13
  invoiceData: AuthorizePayoutBody.InvoiceData.Item[];
14
- accountId?: Payabli.Accountid | undefined;
14
+ accountId?: Payabli.AccountId | undefined;
15
15
  subdomain?: Payabli.Subdomain | undefined;
16
16
  subscriptionId?: Payabli.Subscriptionid | undefined;
17
17
  }
@@ -0,0 +1,20 @@
1
+ import type * as Payabli from "../../../index.mjs";
2
+ /**
3
+ * Payment method for reissuing a payout transaction. The reissue endpoint uses the payment method details directly. It doesn't fall back to the vendor's managed payment method.
4
+ * - `{ method: "vcard" }` - Reissue as a virtual card
5
+ * - `{ method: "check" }` - Reissue as a paper check
6
+ * - `{ method: "ach", achHolder: "...", achRouting: "...", achAccount: "...", achAccountType: "...", achHolderType: "..." }` - Reissue as ACH with bank details
7
+ */
8
+ export interface ReissuePaymentMethod {
9
+ /** Payment method type. Must be `"ach"`, `"check"`, or `"vcard"`. */
10
+ method: string;
11
+ /** Account holder name. Required when `method` is `"ach"`. */
12
+ achHolder?: string | undefined;
13
+ /** Bank routing number (9 digits). Required when `method` is `"ach"`. */
14
+ achRouting?: string | undefined;
15
+ /** Bank account number (8-17 digits). Required when `method` is `"ach"`. */
16
+ achAccount?: string | undefined;
17
+ /** Bank account type (`"checking"` or `"savings"`). Required when `method` is `"ach"`. */
18
+ achAccountType?: string | undefined;
19
+ achHolderType?: Payabli.AchHolderType | undefined;
20
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,7 @@
1
+ import type * as Payabli from "../../../index.mjs";
2
+ /**
3
+ * Request body for reissuing a payout transaction.
4
+ */
5
+ export interface ReissuePayoutBody {
6
+ paymentMethod: Payabli.ReissuePaymentMethod;
7
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,30 @@
1
+ import type * as Payabli from "../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * isSuccess: true,
6
+ * responseCode: 1,
7
+ * responseText: "Success",
8
+ * responseData: {
9
+ * transactionId: "130-220",
10
+ * status: "Authorized",
11
+ * originalTransactionId: "129-219"
12
+ * }
13
+ * }
14
+ */
15
+ export interface ReissuePayoutResponse {
16
+ isSuccess: Payabli.IsSuccess;
17
+ responseCode: Payabli.Responsecode;
18
+ responseText: Payabli.ResponseText;
19
+ responseData: ReissuePayoutResponse.ResponseData;
20
+ }
21
+ export declare namespace ReissuePayoutResponse {
22
+ interface ResponseData {
23
+ /** The transaction ID of the newly created payout. */
24
+ transactionId: string;
25
+ /** The status of the new transaction. */
26
+ status: string;
27
+ /** The transaction ID of the original payout that was reissued. */
28
+ originalTransactionId?: string | undefined;
29
+ }
30
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -8,4 +8,7 @@ export * from "./MethodElementOut.mjs";
8
8
  export * from "./MethodsListOut.mjs";
9
9
  export * from "./OperationResult.mjs";
10
10
  export * from "./PaymentLinkStatus.mjs";
11
+ export * from "./ReissuePaymentMethod.mjs";
12
+ export * from "./ReissuePayoutBody.mjs";
13
+ export * from "./ReissuePayoutResponse.mjs";
11
14
  export * from "./VCardGetResponse.mjs";
@@ -8,4 +8,7 @@ export * from "./MethodElementOut.mjs";
8
8
  export * from "./MethodsListOut.mjs";
9
9
  export * from "./OperationResult.mjs";
10
10
  export * from "./PaymentLinkStatus.mjs";
11
+ export * from "./ReissuePaymentMethod.mjs";
12
+ export * from "./ReissuePayoutBody.mjs";
13
+ export * from "./ReissuePayoutResponse.mjs";
11
14
  export * from "./VCardGetResponse.mjs";
@@ -0,0 +1,2 @@
1
+ export { NotificationClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { NotificationClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export { NotificationlogsClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { NotificationlogsClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export { OcrClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { OcrClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export { OrganizationClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { OrganizationClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -355,6 +355,8 @@ export declare class PaymentLinkClient {
355
355
  refreshPayLinkFromId(payLinkId: string, request?: Payabli.RefreshPayLinkFromIdRequest, requestOptions?: PaymentLinkClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponsePaymentLinks>;
356
356
  private __refreshPayLinkFromId;
357
357
  /**
358
+ * @deprecated
359
+ *
358
360
  * Sends a payment link to the specified email addresses.
359
361
  *
360
362
  * @param {string} payLinkId - ID for the payment link.
@@ -404,6 +406,8 @@ export declare class PaymentLinkClient {
404
406
  updatePayLinkFromId(payLinkId: string, request?: Payabli.PayLinkUpdateData, requestOptions?: PaymentLinkClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponsePaymentLinks>;
405
407
  private __updatePayLinkFromId;
406
408
  /**
409
+ * @beta This endpoint is in development and may change.
410
+ *
407
411
  * Generates a vendor payment link for a specific bill lot number. This allows you to pay all bills with the same lot number for a vendor with a single payment link.
408
412
  *
409
413
  * @param {string} lotNumber - Lot number of the bills to pay. All bills with this lot number will be included.
@@ -648,6 +648,8 @@ export class PaymentLinkClient {
648
648
  });
649
649
  }
650
650
  /**
651
+ * @deprecated
652
+ *
651
653
  * Sends a payment link to the specified email addresses.
652
654
  *
653
655
  * @param {string} payLinkId - ID for the payment link.
@@ -793,6 +795,8 @@ export class PaymentLinkClient {
793
795
  });
794
796
  }
795
797
  /**
798
+ * @beta This endpoint is in development and may change.
799
+ *
796
800
  * Generates a vendor payment link for a specific bill lot number. This allows you to pay all bills with the same lot number for a vendor with a single payment link.
797
801
  *
798
802
  * @param {string} lotNumber - Lot number of the bills to pay. All bills with this lot number will be included.
@@ -0,0 +1,2 @@
1
+ export { PaymentLinkClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { PaymentLinkClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export { PaymentMethodDomainClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { PaymentMethodDomainClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -0,0 +1,2 @@
1
+ export { PaypointClient } from "./client/Client.mjs";
2
+ export * from "./client/index.mjs";
@@ -0,0 +1,3 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export { PaypointClient } from "./client/Client.mjs";
3
+ export * from "./client/index.mjs";
@@ -89,7 +89,7 @@ export interface ListBatchDetailsOrgRequest {
89
89
  *
90
90
  * Example: `settledAmount(gt)=20` returns all records with a `settledAmount` greater than 20.00.
91
91
  */
92
- parameters?: Record<string, string | undefined>;
92
+ parameters?: Record<string, string>;
93
93
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
94
94
  sortBy?: string;
95
95
  }
@@ -90,7 +90,7 @@ export interface ListBatchDetailsRequest {
90
90
  *
91
91
  * Example: `settledAmount(gt)=20` returns all records with a `settledAmount` greater than 20.00.
92
92
  */
93
- parameters?: Record<string, string | undefined>;
93
+ parameters?: Record<string, string>;
94
94
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
95
95
  sortBy?: string;
96
96
  }
@@ -69,7 +69,7 @@ export interface ListBatchesOrgRequest {
69
69
  *
70
70
  * Example: `batchAmount(gt)=20` returns all records with a `batchAmount` greater than 20.00
71
71
  */
72
- parameters?: Record<string, string | undefined>;
72
+ parameters?: Record<string, string>;
73
73
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
74
74
  sortBy?: string;
75
75
  }
@@ -45,7 +45,7 @@ export interface ListBatchesOutOrgRequest {
45
45
  * - `paypointId` (ne, eq)
46
46
  * - `externalPaypointID` (ct, nct, eq, ne)
47
47
  */
48
- parameters?: Record<string, string | undefined>;
48
+ parameters?: Record<string, string>;
49
49
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
50
50
  sortBy?: string;
51
51
  }
@@ -30,7 +30,7 @@ export interface ListBatchesOutRequest {
30
30
  * - `paypointId` (ne, eq)
31
31
  * - `externalPaypointID` (ct, nct, eq, ne)
32
32
  */
33
- parameters?: Record<string, string | undefined>;
33
+ parameters?: Record<string, string>;
34
34
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
35
35
  sortBy?: string;
36
36
  }
@@ -69,7 +69,7 @@ export interface ListBatchesRequest {
69
69
  *
70
70
  * Example: `batchAmount(gt)=20` returns all records with a `batchAmount` greater than 20.00
71
71
  */
72
- parameters?: Record<string, string | undefined>;
72
+ parameters?: Record<string, string>;
73
73
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
74
74
  sortBy?: string;
75
75
  }
@@ -88,7 +88,7 @@ export interface ListChargebacksOrgRequest {
88
88
  *
89
89
  * Example: `netAmount(gt)=20` returns all records with a `netAmount` greater than 20.00
90
90
  */
91
- parameters?: Record<string, string | undefined>;
91
+ parameters?: Record<string, string>;
92
92
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
93
93
  sortBy?: string;
94
94
  }
@@ -86,7 +86,7 @@ export interface ListChargebacksRequest {
86
86
  *
87
87
  * Example: `netAmount(gt)=20` returns all records with a `netAmount` greater than 20.00
88
88
  */
89
- parameters?: Record<string, string | undefined>;
89
+ parameters?: Record<string, string>;
90
90
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
91
91
  sortBy?: string;
92
92
  }
@@ -80,7 +80,7 @@ export interface ListCustomersOrgRequest {
80
80
  * **Example Usage:**
81
81
  * `balance(gt)=20` will return all records with a balance greater than 20.00.
82
82
  */
83
- parameters?: Record<string, string | undefined>;
83
+ parameters?: Record<string, string>;
84
84
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
85
85
  sortBy?: string;
86
86
  }
@@ -80,7 +80,7 @@ export interface ListCustomersRequest {
80
80
  * **Example Usage:**
81
81
  * `balance(gt)=20` will return all records with a balance greater than 20.00.
82
82
  */
83
- parameters?: Record<string, string | undefined>;
83
+ parameters?: Record<string, string>;
84
84
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
85
85
  sortBy?: string;
86
86
  }
@@ -49,7 +49,7 @@ export interface ListNotificationReportsOrgRequest {
49
49
  *
50
50
  * Example: reportName(ct)=tr return all records containing the string "tr"
51
51
  */
52
- parameters?: Record<string, string | undefined>;
52
+ parameters?: Record<string, string>;
53
53
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
54
54
  sortBy?: string;
55
55
  }
@@ -51,7 +51,7 @@ export interface ListNotificationReportsRequest {
51
51
  *
52
52
  * Example: reportName(ct)=tr return all records containing the string "tr"
53
53
  */
54
- parameters?: Record<string, string | undefined>;
54
+ parameters?: Record<string, string>;
55
55
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
56
56
  sortBy?: string;
57
57
  }
@@ -53,7 +53,7 @@ export interface ListNotificationsOrgRequest {
53
53
  *
54
54
  * Example: totalAmount(gt)=20 return all records with totalAmount greater than 20.00
55
55
  */
56
- parameters?: Record<string, string | undefined>;
56
+ parameters?: Record<string, string>;
57
57
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
58
58
  sortBy?: string;
59
59
  }
@@ -53,7 +53,7 @@ export interface ListNotificationsRequest {
53
53
  *
54
54
  * Example: totalAmount(gt)=20 return all records with totalAmount greater than 20.00
55
55
  */
56
- parameters?: Record<string, string | undefined>;
56
+ parameters?: Record<string, string>;
57
57
  /** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
58
58
  sortBy?: string;
59
59
  }