@payabli/sdk-node 0.0.109 → 0.0.114

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 (295) hide show
  1. package/README.md +4 -0
  2. package/dist/cjs/Client.d.ts +5 -2
  3. package/dist/cjs/Client.js +33 -28
  4. package/dist/cjs/api/resources/bill/client/Client.d.ts +2 -2
  5. package/dist/cjs/api/resources/bill/types/BillResponse.d.ts +1 -1
  6. package/dist/cjs/api/resources/bill/types/EditBillResponse.d.ts +1 -1
  7. package/dist/cjs/api/resources/bill/types/GetBillResponse.d.ts +1 -1
  8. package/dist/cjs/api/resources/boarding/client/Client.d.ts +2 -2
  9. package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.ts +1 -2
  11. package/dist/cjs/api/{types → resources/chargeBacks/types}/ChargeBackResponse.d.ts +1 -1
  12. package/dist/cjs/api/resources/chargeBacks/types/ChargebackMessage.d.ts +21 -0
  13. package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.d.ts +69 -0
  14. package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.js +5 -0
  15. package/dist/cjs/api/resources/chargeBacks/types/index.d.ts +3 -0
  16. package/dist/cjs/api/resources/chargeBacks/types/index.js +3 -0
  17. package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +2 -2
  18. package/dist/cjs/api/resources/cloud/client/Client.d.ts +2 -2
  19. package/dist/cjs/api/resources/customer/client/Client.d.ts +2 -2
  20. package/dist/cjs/api/resources/export/client/Client.d.ts +2 -2
  21. package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +2 -2
  22. package/dist/cjs/api/resources/import/client/Client.d.ts +2 -2
  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 +2 -2
  26. package/dist/cjs/api/resources/lineItem/client/Client.d.ts +2 -2
  27. package/dist/cjs/api/resources/lineItem/types/DeleteItemResponse.d.ts +2 -2
  28. package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +2 -2
  29. package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +1 -1
  30. package/dist/cjs/api/resources/moneyIn/types/ReceiptResponse.d.ts +1 -1
  31. package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +8 -10
  32. package/dist/cjs/api/resources/moneyOut/client/Client.js +6 -8
  33. package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +6 -8
  34. package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.ts +30 -0
  35. package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.js +5 -0
  36. package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +3 -10
  37. package/dist/cjs/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.ts +1 -1
  38. package/dist/cjs/api/resources/moneyOutTypes/types/VCardGetResponse.d.ts +2 -0
  39. package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/moneyOutTypes/types/index.js +1 -0
  41. package/dist/cjs/api/resources/notification/client/Client.d.ts +2 -2
  42. package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +118 -0
  43. package/dist/cjs/api/resources/notificationlogs/client/Client.js +370 -0
  44. package/dist/cjs/api/resources/notificationlogs/client/index.d.ts +2 -0
  45. package/dist/cjs/api/resources/notificationlogs/client/index.js +17 -0
  46. package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.ts +23 -0
  47. package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.js +5 -0
  48. package/dist/cjs/api/resources/notificationlogs/client/requests/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/notificationlogs/client/requests/index.js +2 -0
  50. package/dist/cjs/api/resources/notificationlogs/index.d.ts +2 -0
  51. package/dist/cjs/api/resources/notificationlogs/index.js +18 -0
  52. package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.d.ts +7 -0
  53. package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.js +5 -0
  54. package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.d.ts +7 -0
  55. package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.js +5 -0
  56. package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.d.ts +29 -0
  57. package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.js +5 -0
  58. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.d.ts +9 -0
  59. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.js +5 -0
  60. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.ts +17 -0
  61. package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.js +5 -0
  62. package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.d.ts +7 -0
  63. package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.js +5 -0
  64. package/dist/cjs/api/resources/notificationlogs/types/index.d.ts +6 -0
  65. package/dist/cjs/api/resources/notificationlogs/types/index.js +22 -0
  66. package/dist/cjs/api/resources/ocr/client/Client.d.ts +2 -2
  67. package/dist/cjs/api/resources/ocr/types/PayabliApiResponseOcr.d.ts +3 -3
  68. package/dist/cjs/api/resources/organization/client/Client.d.ts +2 -2
  69. package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.d.ts +1 -2
  70. package/dist/cjs/api/resources/organization/types/AddOrganizationResponse.d.ts +1 -1
  71. package/dist/cjs/api/resources/organization/types/DeleteOrganizationResponse.d.ts +1 -1
  72. package/dist/cjs/api/resources/organization/types/EditOrganizationResponse.d.ts +2 -2
  73. package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +2 -2
  74. package/dist/cjs/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.ts +2 -2
  75. package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +2 -2
  76. package/dist/cjs/api/resources/paypoint/client/Client.d.ts +2 -2
  77. package/dist/cjs/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.ts +2 -2
  78. package/dist/cjs/api/resources/paypoint/types/GetBasicEntryResponse.d.ts +2 -2
  79. package/dist/cjs/api/resources/paypoint/types/GetEntryConfigResponse.d.ts +2 -2
  80. package/dist/cjs/api/resources/paypoint/types/MigratePaypointResponse.d.ts +2 -2
  81. package/dist/cjs/api/resources/query/client/Client.d.ts +2 -2
  82. package/dist/cjs/api/resources/query/client/requests/ListTransfersRequest.d.ts +3 -0
  83. package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +0 -2
  84. package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +0 -2
  85. package/dist/cjs/api/resources/queryTypes/types/ListOrganizationsResponse.d.ts +2 -2
  86. package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.ts +7 -7
  87. package/dist/cjs/api/resources/queryTypes/types/QueryBatchesResponse.d.ts +10 -10
  88. package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +72 -72
  89. package/dist/cjs/api/resources/queryTypes/types/QueryTransferResponse.d.ts +2 -2
  90. package/dist/cjs/api/resources/queryTypes/types/QueryTransferSummary.d.ts +23 -18
  91. package/dist/cjs/api/resources/statistic/client/Client.d.ts +2 -2
  92. package/dist/cjs/api/resources/subscription/client/Client.d.ts +2 -2
  93. package/dist/cjs/api/resources/subscription/types/AddSubscriptionResponse.d.ts +1 -1
  94. package/dist/cjs/api/resources/subscription/types/RemoveSubscriptionResponse.d.ts +1 -1
  95. package/dist/cjs/api/resources/subscription/types/UpdateSubscriptionResponse.d.ts +1 -1
  96. package/dist/cjs/api/resources/templates/client/Client.d.ts +2 -2
  97. package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +2 -2
  98. package/dist/cjs/api/resources/tokenStorage/types/AddMethodResponse.d.ts +5 -5
  99. package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +1 -1
  100. package/dist/cjs/api/resources/user/client/Client.d.ts +2 -2
  101. package/dist/cjs/api/resources/user/types/AddUserResponse.d.ts +1 -1
  102. package/dist/cjs/api/resources/user/types/AuthResetUserResponse.d.ts +1 -1
  103. package/dist/cjs/api/resources/user/types/ChangePswUserResponse.d.ts +1 -1
  104. package/dist/cjs/api/resources/user/types/DeleteUserResponse.d.ts +1 -1
  105. package/dist/cjs/api/resources/user/types/EditMfaUserResponse.d.ts +1 -1
  106. package/dist/cjs/api/resources/user/types/LogoutUserResponse.d.ts +1 -1
  107. package/dist/cjs/api/resources/vendor/client/Client.d.ts +2 -2
  108. package/dist/cjs/api/resources/wallet/client/Client.d.ts +2 -2
  109. package/dist/cjs/api/types/AdditionalData.d.ts +1 -1
  110. package/dist/cjs/api/types/BoardingLinkApiResponse.d.ts +1 -1
  111. package/dist/cjs/api/types/CloudQueryApiResponse.d.ts +1 -1
  112. package/dist/cjs/api/types/ConfigureApplePayOrganizationApiResponse.d.ts +1 -1
  113. package/dist/cjs/api/types/ConfigureApplePaypointApiResponse.d.ts +1 -1
  114. package/dist/cjs/api/types/IdempotencyKey.d.ts +1 -1
  115. package/dist/cjs/api/types/NotificationStandardRequest.d.ts +75 -1
  116. package/dist/cjs/api/types/NotificationStandardRequest.js +74 -0
  117. package/dist/cjs/api/types/PayabliApiResponse.d.ts +1 -1
  118. package/dist/cjs/api/types/PayabliApiResponse0.d.ts +1 -1
  119. package/dist/cjs/api/types/PayabliApiResponse00.d.ts +1 -1
  120. package/dist/cjs/api/types/PayabliApiResponse0000.d.ts +1 -1
  121. package/dist/cjs/api/types/PayabliApiResponse00Responsedatanonobject.d.ts +1 -1
  122. package/dist/cjs/api/types/PayabliApiResponse6.d.ts +1 -1
  123. package/dist/cjs/api/types/PayabliApiResponseCustomerQuery.d.ts +1 -1
  124. package/dist/cjs/api/types/PayabliApiResponseGeneric2Part.d.ts +1 -1
  125. package/dist/cjs/api/types/PayabliApiResponseImport.d.ts +1 -1
  126. package/dist/cjs/api/types/PayabliApiResponseMfaBasic.d.ts +1 -1
  127. package/dist/cjs/api/types/PayabliApiResponseNotifications.d.ts +1 -1
  128. package/dist/cjs/api/types/PayabliApiResponsePaymethodDelete.d.ts +1 -1
  129. package/dist/cjs/api/types/PayabliApiResponseTemplateId.d.ts +1 -1
  130. package/dist/cjs/api/types/PayabliApiResponseUserMfa.d.ts +1 -1
  131. package/dist/cjs/api/types/PayabliApiResponseVendors.d.ts +1 -1
  132. package/dist/cjs/api/types/PaymentMethodDomainGeneralResponse.d.ts +1 -1
  133. package/dist/cjs/api/types/Transfer.d.ts +31 -16
  134. package/dist/cjs/api/types/TransferMessage.d.ts +8 -8
  135. package/dist/cjs/api/types/TransferMessageProperties.d.ts +2 -2
  136. package/dist/cjs/api/types/TransferQueryResponse.d.ts +11 -6
  137. package/dist/cjs/api/types/VCardRecord.d.ts +43 -0
  138. package/dist/cjs/api/types/index.d.ts +3 -5
  139. package/dist/cjs/api/types/index.js +3 -5
  140. package/dist/cjs/core/fetcher/Fetcher.d.ts +1 -1
  141. package/dist/cjs/core/fetcher/requestWithRetries.js +34 -2
  142. package/dist/cjs/core/headers.d.ts +2 -2
  143. package/dist/cjs/version.d.ts +1 -1
  144. package/dist/cjs/version.js +1 -1
  145. package/dist/esm/Client.d.mts +5 -2
  146. package/dist/esm/Client.mjs +7 -2
  147. package/dist/esm/api/resources/bill/client/Client.d.mts +2 -2
  148. package/dist/esm/api/resources/bill/types/BillResponse.d.mts +1 -1
  149. package/dist/esm/api/resources/bill/types/EditBillResponse.d.mts +1 -1
  150. package/dist/esm/api/resources/bill/types/GetBillResponse.d.mts +1 -1
  151. package/dist/esm/api/resources/boarding/client/Client.d.mts +2 -2
  152. package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +2 -2
  153. package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.mts +1 -2
  154. package/dist/esm/api/{types → resources/chargeBacks/types}/ChargeBackResponse.d.mts +1 -1
  155. package/dist/esm/api/resources/chargeBacks/types/ChargebackMessage.d.mts +21 -0
  156. package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.d.mts +69 -0
  157. package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.mjs +4 -0
  158. package/dist/esm/api/resources/chargeBacks/types/index.d.mts +3 -0
  159. package/dist/esm/api/resources/chargeBacks/types/index.mjs +3 -0
  160. package/dist/esm/api/resources/checkCapture/client/Client.d.mts +2 -2
  161. package/dist/esm/api/resources/cloud/client/Client.d.mts +2 -2
  162. package/dist/esm/api/resources/customer/client/Client.d.mts +2 -2
  163. package/dist/esm/api/resources/export/client/Client.d.mts +2 -2
  164. package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +2 -2
  165. package/dist/esm/api/resources/import/client/Client.d.mts +2 -2
  166. package/dist/esm/api/resources/index.d.mts +3 -0
  167. package/dist/esm/api/resources/index.mjs +3 -0
  168. package/dist/esm/api/resources/invoice/client/Client.d.mts +2 -2
  169. package/dist/esm/api/resources/lineItem/client/Client.d.mts +2 -2
  170. package/dist/esm/api/resources/lineItem/types/DeleteItemResponse.d.mts +2 -2
  171. package/dist/esm/api/resources/moneyIn/client/Client.d.mts +2 -2
  172. package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +1 -1
  173. package/dist/esm/api/resources/moneyIn/types/ReceiptResponse.d.mts +1 -1
  174. package/dist/esm/api/resources/moneyOut/client/Client.d.mts +8 -10
  175. package/dist/esm/api/resources/moneyOut/client/Client.mjs +6 -8
  176. package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +6 -8
  177. package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.mts +30 -0
  178. package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.mjs +4 -0
  179. package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +3 -10
  180. package/dist/esm/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.mts +1 -1
  181. package/dist/esm/api/resources/moneyOutTypes/types/VCardGetResponse.d.mts +2 -0
  182. package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +1 -0
  183. package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +1 -0
  184. package/dist/esm/api/resources/notification/client/Client.d.mts +2 -2
  185. package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +118 -0
  186. package/dist/esm/api/resources/notificationlogs/client/Client.mjs +333 -0
  187. package/dist/esm/api/resources/notificationlogs/client/index.d.mts +2 -0
  188. package/dist/esm/api/resources/notificationlogs/client/index.mjs +1 -0
  189. package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.mts +23 -0
  190. package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.mjs +4 -0
  191. package/dist/esm/api/resources/notificationlogs/client/requests/index.d.mts +1 -0
  192. package/dist/esm/api/resources/notificationlogs/client/requests/index.mjs +1 -0
  193. package/dist/esm/api/resources/notificationlogs/index.d.mts +2 -0
  194. package/dist/esm/api/resources/notificationlogs/index.mjs +2 -0
  195. package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.d.mts +7 -0
  196. package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.mjs +4 -0
  197. package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.d.mts +7 -0
  198. package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.mjs +4 -0
  199. package/dist/esm/api/resources/notificationlogs/types/NotificationLog.d.mts +29 -0
  200. package/dist/esm/api/resources/notificationlogs/types/NotificationLog.mjs +4 -0
  201. package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.d.mts +9 -0
  202. package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.mjs +4 -0
  203. package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.mts +17 -0
  204. package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.mjs +4 -0
  205. package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.d.mts +7 -0
  206. package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.mjs +4 -0
  207. package/dist/esm/api/resources/notificationlogs/types/index.d.mts +6 -0
  208. package/dist/esm/api/resources/notificationlogs/types/index.mjs +6 -0
  209. package/dist/esm/api/resources/ocr/client/Client.d.mts +2 -2
  210. package/dist/esm/api/resources/ocr/types/PayabliApiResponseOcr.d.mts +3 -3
  211. package/dist/esm/api/resources/organization/client/Client.d.mts +2 -2
  212. package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.d.mts +1 -2
  213. package/dist/esm/api/resources/organization/types/AddOrganizationResponse.d.mts +1 -1
  214. package/dist/esm/api/resources/organization/types/DeleteOrganizationResponse.d.mts +1 -1
  215. package/dist/esm/api/resources/organization/types/EditOrganizationResponse.d.mts +2 -2
  216. package/dist/esm/api/resources/paymentLink/client/Client.d.mts +2 -2
  217. package/dist/esm/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.mts +2 -2
  218. package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +2 -2
  219. package/dist/esm/api/resources/paypoint/client/Client.d.mts +2 -2
  220. package/dist/esm/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.mts +2 -2
  221. package/dist/esm/api/resources/paypoint/types/GetBasicEntryResponse.d.mts +2 -2
  222. package/dist/esm/api/resources/paypoint/types/GetEntryConfigResponse.d.mts +2 -2
  223. package/dist/esm/api/resources/paypoint/types/MigratePaypointResponse.d.mts +2 -2
  224. package/dist/esm/api/resources/query/client/Client.d.mts +2 -2
  225. package/dist/esm/api/resources/query/client/requests/ListTransfersRequest.d.mts +3 -0
  226. package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +0 -2
  227. package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +0 -2
  228. package/dist/esm/api/resources/queryTypes/types/ListOrganizationsResponse.d.mts +2 -2
  229. package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.mts +7 -7
  230. package/dist/esm/api/resources/queryTypes/types/QueryBatchesResponse.d.mts +10 -10
  231. package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +72 -72
  232. package/dist/esm/api/resources/queryTypes/types/QueryTransferResponse.d.mts +2 -2
  233. package/dist/esm/api/resources/queryTypes/types/QueryTransferSummary.d.mts +23 -18
  234. package/dist/esm/api/resources/statistic/client/Client.d.mts +2 -2
  235. package/dist/esm/api/resources/subscription/client/Client.d.mts +2 -2
  236. package/dist/esm/api/resources/subscription/types/AddSubscriptionResponse.d.mts +1 -1
  237. package/dist/esm/api/resources/subscription/types/RemoveSubscriptionResponse.d.mts +1 -1
  238. package/dist/esm/api/resources/subscription/types/UpdateSubscriptionResponse.d.mts +1 -1
  239. package/dist/esm/api/resources/templates/client/Client.d.mts +2 -2
  240. package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +2 -2
  241. package/dist/esm/api/resources/tokenStorage/types/AddMethodResponse.d.mts +5 -5
  242. package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +1 -1
  243. package/dist/esm/api/resources/user/client/Client.d.mts +2 -2
  244. package/dist/esm/api/resources/user/types/AddUserResponse.d.mts +1 -1
  245. package/dist/esm/api/resources/user/types/AuthResetUserResponse.d.mts +1 -1
  246. package/dist/esm/api/resources/user/types/ChangePswUserResponse.d.mts +1 -1
  247. package/dist/esm/api/resources/user/types/DeleteUserResponse.d.mts +1 -1
  248. package/dist/esm/api/resources/user/types/EditMfaUserResponse.d.mts +1 -1
  249. package/dist/esm/api/resources/user/types/LogoutUserResponse.d.mts +1 -1
  250. package/dist/esm/api/resources/vendor/client/Client.d.mts +2 -2
  251. package/dist/esm/api/resources/wallet/client/Client.d.mts +2 -2
  252. package/dist/esm/api/types/AdditionalData.d.mts +1 -1
  253. package/dist/esm/api/types/BoardingLinkApiResponse.d.mts +1 -1
  254. package/dist/esm/api/types/CloudQueryApiResponse.d.mts +1 -1
  255. package/dist/esm/api/types/ConfigureApplePayOrganizationApiResponse.d.mts +1 -1
  256. package/dist/esm/api/types/ConfigureApplePaypointApiResponse.d.mts +1 -1
  257. package/dist/esm/api/types/IdempotencyKey.d.mts +1 -1
  258. package/dist/esm/api/types/NotificationStandardRequest.d.mts +75 -1
  259. package/dist/esm/api/types/NotificationStandardRequest.mjs +74 -0
  260. package/dist/esm/api/types/PayabliApiResponse.d.mts +1 -1
  261. package/dist/esm/api/types/PayabliApiResponse0.d.mts +1 -1
  262. package/dist/esm/api/types/PayabliApiResponse00.d.mts +1 -1
  263. package/dist/esm/api/types/PayabliApiResponse0000.d.mts +1 -1
  264. package/dist/esm/api/types/PayabliApiResponse00Responsedatanonobject.d.mts +1 -1
  265. package/dist/esm/api/types/PayabliApiResponse6.d.mts +1 -1
  266. package/dist/esm/api/types/PayabliApiResponseCustomerQuery.d.mts +1 -1
  267. package/dist/esm/api/types/PayabliApiResponseGeneric2Part.d.mts +1 -1
  268. package/dist/esm/api/types/PayabliApiResponseImport.d.mts +1 -1
  269. package/dist/esm/api/types/PayabliApiResponseMfaBasic.d.mts +1 -1
  270. package/dist/esm/api/types/PayabliApiResponseNotifications.d.mts +1 -1
  271. package/dist/esm/api/types/PayabliApiResponsePaymethodDelete.d.mts +1 -1
  272. package/dist/esm/api/types/PayabliApiResponseTemplateId.d.mts +1 -1
  273. package/dist/esm/api/types/PayabliApiResponseUserMfa.d.mts +1 -1
  274. package/dist/esm/api/types/PayabliApiResponseVendors.d.mts +1 -1
  275. package/dist/esm/api/types/PaymentMethodDomainGeneralResponse.d.mts +1 -1
  276. package/dist/esm/api/types/Transfer.d.mts +31 -16
  277. package/dist/esm/api/types/TransferMessage.d.mts +8 -8
  278. package/dist/esm/api/types/TransferMessageProperties.d.mts +2 -2
  279. package/dist/esm/api/types/TransferQueryResponse.d.mts +11 -6
  280. package/dist/esm/api/types/VCardRecord.d.mts +43 -0
  281. package/dist/esm/api/types/index.d.mts +3 -5
  282. package/dist/esm/api/types/index.mjs +3 -5
  283. package/dist/esm/core/fetcher/Fetcher.d.mts +1 -1
  284. package/dist/esm/core/fetcher/requestWithRetries.mjs +34 -2
  285. package/dist/esm/core/headers.d.mts +2 -2
  286. package/dist/esm/version.d.mts +1 -1
  287. package/dist/esm/version.mjs +1 -1
  288. package/package.json +1 -1
  289. package/reference.md +278 -0
  290. package/dist/cjs/api/types/ChargebackQueryRecords.d.ts +0 -54
  291. package/dist/esm/api/types/ChargebackQueryRecords.d.mts +0 -54
  292. /package/dist/cjs/api/{types → resources/chargeBacks/types}/ChargeBackResponse.js +0 -0
  293. /package/dist/cjs/api/{types/ChargebackQueryRecords.js → resources/chargeBacks/types/ChargebackMessage.js} +0 -0
  294. /package/dist/esm/api/{types → resources/chargeBacks/types}/ChargeBackResponse.mjs +0 -0
  295. /package/dist/esm/api/{types/ChargebackQueryRecords.mjs → resources/chargeBacks/types/ChargebackMessage.mjs} +0 -0
@@ -11,7 +11,7 @@ export declare namespace CheckCapture {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace CheckCapture {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class CheckCapture {
@@ -11,7 +11,7 @@ export declare namespace Cloud {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace Cloud {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class Cloud {
@@ -11,7 +11,7 @@ export declare namespace Customer {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace Customer {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class Customer {
@@ -11,7 +11,7 @@ export declare namespace Export {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace Export {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class Export {
@@ -11,7 +11,7 @@ export declare namespace HostedPaymentPages {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace HostedPaymentPages {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class HostedPaymentPages {
@@ -11,7 +11,7 @@ export declare namespace Import {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace Import {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class Import {
@@ -22,6 +22,8 @@ export * as moneyIn from "./moneyIn/index.mjs";
22
22
  export * from "./moneyIn/types/index.mjs";
23
23
  export * as notification from "./notification/index.mjs";
24
24
  export * from "./notification/types/index.mjs";
25
+ export * as notificationlogs from "./notificationlogs/index.mjs";
26
+ export * from "./notificationlogs/types/index.mjs";
25
27
  export * as ocr from "./ocr/index.mjs";
26
28
  export * from "./ocr/types/index.mjs";
27
29
  export * as organization from "./organization/index.mjs";
@@ -62,6 +64,7 @@ export * from "./invoice/client/requests/index.mjs";
62
64
  export * from "./lineItem/client/requests/index.mjs";
63
65
  export * from "./moneyIn/client/requests/index.mjs";
64
66
  export * from "./moneyOut/client/requests/index.mjs";
67
+ export * from "./notificationlogs/client/requests/index.mjs";
65
68
  export * from "./organization/client/requests/index.mjs";
66
69
  export * from "./paymentLink/client/requests/index.mjs";
67
70
  export * from "./paymentMethodDomain/client/requests/index.mjs";
@@ -22,6 +22,8 @@ export * as moneyIn from "./moneyIn/index.mjs";
22
22
  export * from "./moneyIn/types/index.mjs";
23
23
  export * as notification from "./notification/index.mjs";
24
24
  export * from "./notification/types/index.mjs";
25
+ export * as notificationlogs from "./notificationlogs/index.mjs";
26
+ export * from "./notificationlogs/types/index.mjs";
25
27
  export * as ocr from "./ocr/index.mjs";
26
28
  export * from "./ocr/types/index.mjs";
27
29
  export * as organization from "./organization/index.mjs";
@@ -62,6 +64,7 @@ export * from "./invoice/client/requests/index.mjs";
62
64
  export * from "./lineItem/client/requests/index.mjs";
63
65
  export * from "./moneyIn/client/requests/index.mjs";
64
66
  export * from "./moneyOut/client/requests/index.mjs";
67
+ export * from "./notificationlogs/client/requests/index.mjs";
65
68
  export * from "./organization/client/requests/index.mjs";
66
69
  export * from "./paymentLink/client/requests/index.mjs";
67
70
  export * from "./paymentMethodDomain/client/requests/index.mjs";
@@ -11,7 +11,7 @@ export declare namespace Invoice {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace Invoice {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class Invoice {
@@ -11,7 +11,7 @@ export declare namespace LineItem {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace LineItem {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class LineItem {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Payabli from "../../../index.mjs";
5
5
  export interface DeleteItemResponse {
6
- isSuccess?: Payabli.IsSuccess;
7
- responseText?: Payabli.ResponseText;
6
+ isSuccess: Payabli.IsSuccess;
7
+ responseText: Payabli.ResponseText;
8
8
  }
@@ -11,7 +11,7 @@ export declare namespace MoneyIn {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace MoneyIn {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class MoneyIn {
@@ -6,7 +6,7 @@ export class CaptureError extends errors.PayabliError {
6
6
  constructor(body, rawResponse) {
7
7
  super({
8
8
  message: "CaptureError",
9
- statusCode: 423,
9
+ statusCode: 400,
10
10
  body: body,
11
11
  rawResponse: rawResponse,
12
12
  });
@@ -8,5 +8,5 @@ import * as Payabli from "../../../index.mjs";
8
8
  export interface ReceiptResponse {
9
9
  isSuccess?: Payabli.IsSuccess;
10
10
  pageIdentifier?: Payabli.PageIdentifier;
11
- responseText?: Payabli.ResponseText;
11
+ responseText: Payabli.ResponseText;
12
12
  }
@@ -11,7 +11,7 @@ export declare namespace MoneyOut {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace MoneyOut {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class MoneyOut {
@@ -112,7 +112,12 @@ export declare class MoneyOut {
112
112
  * body: {
113
113
  * entryPoint: "47ced57b",
114
114
  * paymentMethod: {
115
- * method: "ach"
115
+ * method: "ach",
116
+ * achHolder: "John Doe",
117
+ * achRouting: "011401533",
118
+ * achAccount: "123456789",
119
+ * achAccountType: "checking",
120
+ * achHolderType: "business"
116
121
  * },
117
122
  * paymentDetails: {
118
123
  * totalAmount: 978.32
@@ -136,13 +141,6 @@ export declare class MoneyOut {
136
141
  * contactEmail: "Mandy65@heritagepro.com",
137
142
  * contactPhone: "996-325-5420 x31028"
138
143
  * }],
139
- * billingData: {
140
- * bankName: "Chase",
141
- * routingAccount: "011401533",
142
- * accountNumber: "1237658922",
143
- * typeAccount: "Savings",
144
- * bankAccountHolderName: "Payabli"
145
- * },
146
144
  * vendorStatus: 1,
147
145
  * remitAddress1: "727 Terrell Streets",
148
146
  * remitAddress2: "Apt. 773",
@@ -102,7 +102,12 @@ export class MoneyOut {
102
102
  * body: {
103
103
  * entryPoint: "47ced57b",
104
104
  * paymentMethod: {
105
- * method: "ach"
105
+ * method: "ach",
106
+ * achHolder: "John Doe",
107
+ * achRouting: "011401533",
108
+ * achAccount: "123456789",
109
+ * achAccountType: "checking",
110
+ * achHolderType: "business"
106
111
  * },
107
112
  * paymentDetails: {
108
113
  * totalAmount: 978.32
@@ -126,13 +131,6 @@ export class MoneyOut {
126
131
  * contactEmail: "Mandy65@heritagepro.com",
127
132
  * contactPhone: "996-325-5420 x31028"
128
133
  * }],
129
- * billingData: {
130
- * bankName: "Chase",
131
- * routingAccount: "011401533",
132
- * accountNumber: "1237658922",
133
- * typeAccount: "Savings",
134
- * bankAccountHolderName: "Payabli"
135
- * },
136
134
  * vendorStatus: 1,
137
135
  * remitAddress1: "727 Terrell Streets",
138
136
  * remitAddress2: "Apt. 773",
@@ -75,7 +75,12 @@ import * as Payabli from "../../../../index.mjs";
75
75
  * body: {
76
76
  * entryPoint: "47ced57b",
77
77
  * paymentMethod: {
78
- * method: "ach"
78
+ * method: "ach",
79
+ * achHolder: "John Doe",
80
+ * achRouting: "011401533",
81
+ * achAccount: "123456789",
82
+ * achAccountType: "checking",
83
+ * achHolderType: "business"
79
84
  * },
80
85
  * paymentDetails: {
81
86
  * totalAmount: 978.32
@@ -99,13 +104,6 @@ import * as Payabli from "../../../../index.mjs";
99
104
  * contactEmail: "Mandy65@heritagepro.com",
100
105
  * contactPhone: "996-325-5420 x31028"
101
106
  * }],
102
- * billingData: {
103
- * bankName: "Chase",
104
- * routingAccount: "011401533",
105
- * accountNumber: "1237658922",
106
- * typeAccount: "Savings",
107
- * bankAccountHolderName: "Payabli"
108
- * },
109
107
  * vendorStatus: 1,
110
108
  * remitAddress1: "727 Terrell Streets",
111
109
  * remitAddress2: "Apt. 773",
@@ -0,0 +1,30 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Payabli from "../../../index.mjs";
5
+ /**
6
+ * Payment method object for vendor payouts.
7
+ * - `{ method: "managed" }` - Managed payment method
8
+ * - `{ method: "vcard" }` - Virtual card payment method
9
+ * - `{ method: "check" }` - Check payment method
10
+ * - `{ method: "ach", achHolder: "...", achRouting: "...", achAccount: "...", achAccountType: "..." }` - ACH payment method with bank details
11
+ * - `{ method: "ach", storedMethodId: "..." }` - ACH payment method using stored method ID
12
+ */
13
+ export interface AuthorizePaymentMethod {
14
+ /** Payment method type - "managed", "vcard", "check", or "ach" */
15
+ method: string;
16
+ /** Account holder name for ACH payments. Required when method is "ach" and not using `storedMethodId`. */
17
+ achHolder?: string;
18
+ /** Bank routing number for ACH payments. Required when method is "ach" and not using `storedMethodId`. */
19
+ achRouting?: string;
20
+ /** Bank account number for ACH payments. Required when method is "ach" and not using `storedMethodId`. */
21
+ achAccount?: string;
22
+ /** Account type for ACH payments ("checking" or "savings"). Required when method is "ach" and not using `storedMethodId`. */
23
+ achAccountType?: string;
24
+ achCode?: Payabli.AchSecCode;
25
+ achHolderType?: Payabli.AchHolderType;
26
+ /** ID of the stored ACH payment method. Only applicable when method is `ach`. Use this to reference a previously saved ACH method instead of providing bank details directly. */
27
+ storedMethodId?: string;
28
+ initiator?: Payabli.Initiator;
29
+ storedMethodUsageType?: Payabli.StoredMethodUsageType;
30
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -7,17 +7,10 @@ export interface AuthorizePayoutBody {
7
7
  source?: Payabli.Source;
8
8
  orderId?: Payabli.OrderId;
9
9
  orderDescription?: Payabli.Orderdescription;
10
- paymentMethod: Payabli.VendorPaymentMethod;
10
+ paymentMethod: Payabli.AuthorizePaymentMethod;
11
11
  /** Object containing payment details. */
12
12
  paymentDetails: AuthorizePayoutBody.PaymentDetails;
13
- /**
14
- * Object containing vendor data.
15
- * <Note>
16
- * When creating a new vendor in a payout authorization, the system first checks `billingData` for the vendor's billing information.
17
- * If `billingData` is empty, it falls back to the `paymentMethod` object information.
18
- * For existing vendors, `paymentMethod` is ignored unless a `storedMethodId` is provided.
19
- * </Note>
20
- */
13
+ /** Object containing vendor data. */
21
14
  vendorData: AuthorizePayoutBody.VendorData;
22
15
  /** Array of bills associated to the transaction */
23
16
  invoiceData: AuthorizePayoutBody.InvoiceData.Item[];
@@ -77,7 +70,7 @@ export declare namespace AuthorizePayoutBody {
77
70
  }
78
71
  namespace VendorData {
79
72
  /**
80
- * Object containing vendor's bank information.
73
+ * Object containing vendor's bank information. This object is deprecated for this endpoint. Use the `paymentMethod` object in payout authorize requests instead.
81
74
  */
82
75
  interface BillingData {
83
76
  bankName?: Payabli.BankName;
@@ -8,7 +8,7 @@ export interface CaptureAllOutResponse {
8
8
  responseCode?: Payabli.Responsecode;
9
9
  /** Array of objects describing the transactions. */
10
10
  responseData?: CaptureAllOutResponse.ResponseData.Item[];
11
- responseText?: Payabli.ResponseText;
11
+ responseText: Payabli.ResponseText;
12
12
  }
13
13
  export declare namespace CaptureAllOutResponse {
14
14
  type ResponseData = ResponseData.Item[];
@@ -54,6 +54,8 @@ export interface VCardGetResponse {
54
54
  /** Entry name for the Paypoint, if applicable. */
55
55
  PaypointEntryname?: string;
56
56
  externalPaypointID?: Payabli.ExternalPaypointId;
57
+ /** The unique identifier for the paypoint. */
58
+ paypointId?: number;
57
59
  }
58
60
  export declare namespace VCardGetResponse {
59
61
  /**
@@ -1,5 +1,6 @@
1
1
  export * from "./LotNumber.mjs";
2
2
  export * from "./AuthorizePayoutBody.mjs";
3
+ export * from "./AuthorizePaymentMethod.mjs";
3
4
  export * from "./AuthCapturePayoutResponse.mjs";
4
5
  export * from "./CaptureAllOutResponse.mjs";
5
6
  export * from "./VCardGetResponse.mjs";
@@ -1,5 +1,6 @@
1
1
  export * from "./LotNumber.mjs";
2
2
  export * from "./AuthorizePayoutBody.mjs";
3
+ export * from "./AuthorizePaymentMethod.mjs";
3
4
  export * from "./AuthCapturePayoutResponse.mjs";
4
5
  export * from "./CaptureAllOutResponse.mjs";
5
6
  export * from "./VCardGetResponse.mjs";
@@ -11,7 +11,7 @@ export declare namespace Notification {
11
11
  baseUrl?: core.Supplier<string>;
12
12
  apiKey?: core.Supplier<string | undefined>;
13
13
  /** Additional headers to include in requests. */
14
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
15
  }
16
16
  interface RequestOptions {
17
17
  /** The maximum time to wait for a response in seconds. */
@@ -23,7 +23,7 @@ export declare namespace Notification {
23
23
  /** Additional query string parameters to include in the request. */
24
24
  queryParams?: Record<string, unknown>;
25
25
  /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
27
  }
28
28
  }
29
29
  export declare class Notification {
@@ -0,0 +1,118 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments.mjs";
5
+ import * as core from "../../../../core/index.mjs";
6
+ import * as Payabli from "../../../index.mjs";
7
+ export declare namespace Notificationlogs {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.PayabliEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ apiKey?: core.Supplier<string | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ }
16
+ interface RequestOptions {
17
+ /** The maximum time to wait for a response in seconds. */
18
+ timeoutInSeconds?: number;
19
+ /** The number of times to retry the request. Defaults to 2. */
20
+ maxRetries?: number;
21
+ /** A hook to abort the request. */
22
+ abortSignal?: AbortSignal;
23
+ /** Additional query string parameters to include in the request. */
24
+ queryParams?: Record<string, unknown>;
25
+ /** Additional headers to include in the request. */
26
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
+ }
28
+ }
29
+ export declare class Notificationlogs {
30
+ protected readonly _options: Notificationlogs.Options;
31
+ constructor(_options?: Notificationlogs.Options);
32
+ /**
33
+ * Search notification logs with filtering and pagination.
34
+ * - Start date and end date cannot be more than 30 days apart
35
+ * - Either `orgId` or `paypointId` must be provided
36
+ *
37
+ * This endpoint requires the `notifications_create` OR `notifications_read` permission.
38
+ *
39
+ * @param {Payabli.SearchNotificationLogsRequest} request
40
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
41
+ *
42
+ * @throws {@link Payabli.BadRequestError}
43
+ * @throws {@link Payabli.UnauthorizedError}
44
+ * @throws {@link Payabli.InternalServerError}
45
+ * @throws {@link Payabli.ServiceUnavailableError}
46
+ *
47
+ * @example
48
+ * await client.notificationlogs.searchNotificationLogs({
49
+ * PageSize: 20,
50
+ * body: {
51
+ * startDate: "2024-01-01T00:00:00Z",
52
+ * endDate: "2024-01-31T23:59:59Z",
53
+ * orgId: 12345,
54
+ * notificationEvent: "ActivatedMerchant",
55
+ * succeeded: true
56
+ * }
57
+ * })
58
+ */
59
+ searchNotificationLogs(request: Payabli.SearchNotificationLogsRequest, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLog[]>;
60
+ private __searchNotificationLogs;
61
+ /**
62
+ * Get detailed information for a specific notification log entry.
63
+ * This endpoint requires the `notifications_create` OR `notifications_read` permission.
64
+ *
65
+ * @param {string} uuid - The notification log entry.
66
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
67
+ *
68
+ * @throws {@link Payabli.BadRequestError}
69
+ * @throws {@link Payabli.UnauthorizedError}
70
+ * @throws {@link Payabli.InternalServerError}
71
+ * @throws {@link Payabli.ServiceUnavailableError}
72
+ *
73
+ * @example
74
+ * await client.notificationlogs.getNotificationLog("550e8400-e29b-41d4-a716-446655440000")
75
+ */
76
+ getNotificationLog(uuid: string, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLogDetail>;
77
+ private __getNotificationLog;
78
+ /**
79
+ * Retry sending a specific notification.
80
+ *
81
+ * **Permissions:** notifications_create
82
+ *
83
+ * @param {string} uuid - Unique id
84
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
85
+ *
86
+ * @throws {@link Payabli.BadRequestError}
87
+ * @throws {@link Payabli.UnauthorizedError}
88
+ * @throws {@link Payabli.InternalServerError}
89
+ * @throws {@link Payabli.ServiceUnavailableError}
90
+ *
91
+ * @example
92
+ * await client.notificationlogs.retryNotificationLog("550e8400-e29b-41d4-a716-446655440000")
93
+ */
94
+ retryNotificationLog(uuid: string, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLogDetail>;
95
+ private __retryNotificationLog;
96
+ /**
97
+ * Retry sending multiple notifications (maximum 50 IDs).
98
+ * This is an async process, so use the search endpoint again to check the notification status.
99
+ *
100
+ * This endpoint requires the `notifications_create` permission.
101
+ *
102
+ * @param {Payabli.BulkRetryRequest} request
103
+ * @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
104
+ *
105
+ * @throws {@link Payabli.BadRequestError}
106
+ * @throws {@link Payabli.UnauthorizedError}
107
+ * @throws {@link Payabli.InternalServerError}
108
+ * @throws {@link Payabli.ServiceUnavailableError}
109
+ *
110
+ * @example
111
+ * await client.notificationlogs.bulkRetryNotificationLogs(["550e8400-e29b-41d4-a716-446655440000", "550e8400-e29b-41d4-a716-446655440001", "550e8400-e29b-41d4-a716-446655440002"])
112
+ */
113
+ bulkRetryNotificationLogs(request: Payabli.BulkRetryRequest, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<void>;
114
+ private __bulkRetryNotificationLogs;
115
+ protected _getCustomAuthorizationHeaders(): Promise<{
116
+ requestToken: string | undefined;
117
+ }>;
118
+ }