@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
@@ -3,12 +3,12 @@
3
3
  */
4
4
  import * as Payabli from "../index.mjs";
5
5
  export interface TransferMessage {
6
- Id?: number;
7
- RoomId?: number;
8
- UserId?: number;
9
- UserName?: string;
10
- Content?: string;
11
- CreatedAt?: string;
12
- MessageType?: number;
13
- MessageProperties?: Payabli.TransferMessageProperties;
6
+ Id: number | null;
7
+ RoomId: number | null;
8
+ UserId: number | null;
9
+ UserName: string | null;
10
+ Content: string | null;
11
+ CreatedAt: string | null;
12
+ MessageType: number | null;
13
+ MessageProperties: Payabli.TransferMessageProperties | null;
14
14
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface TransferMessageProperties {
5
- originalTransferStatus?: string;
6
- currentTransferStatus?: string;
5
+ originalTransferStatus: string | null;
6
+ currentTransferStatus: string | null;
7
7
  }
@@ -13,10 +13,15 @@ import * as Payabli from "../index.mjs";
13
13
  * batchRecords: 1,
14
14
  * transferIdentifier: "bbcbfed7-e535-45fe-8d62-000000",
15
15
  * batchId: 111430,
16
- * paypointEntryName: "example_entry",
17
- * paypointLegalName: "Example Company LLC",
18
- * paypointDbaName: "Example Company",
16
+ * paypointEntryName: "47ae3de37",
17
+ * paypointLegalName: "Gruzya Outdoor Outfitters LLC",
18
+ * paypointDbaName: "Gruzya Outdoor Outfitters",
19
19
  * paypointLogo: "https://example.com/logo.png",
20
+ * parentOrgName: "Pilgrim Planner",
21
+ * parentOrgId: 12345,
22
+ * parentOrgEntryName: "43aebc000",
23
+ * parentOrgLogo: "https://example.com/parent-logo.png",
24
+ * externalPaypointID: "ext-12345",
20
25
  * bankAccount: {
21
26
  * accountNumber: "****1234",
22
27
  * routingNumber: "123456789"
@@ -24,15 +29,15 @@ import * as Payabli from "../index.mjs";
24
29
  * transferDate: "2024-11-17T08:20:07.288+00:00",
25
30
  * processor: "gp",
26
31
  * transferStatus: 2,
27
- * grossAmount: 0,
28
- * chargeBackAmount: 0,
32
+ * grossAmount: 1029,
33
+ * chargeBackAmount: 25,
29
34
  * returnedAmount: 0,
30
35
  * holdAmount: 0,
31
36
  * releasedAmount: 0,
32
37
  * billingFeesAmount: 0,
33
38
  * thirdPartyPaidAmount: 0,
34
39
  * adjustmentsAmount: 0,
35
- * netTransferAmount: 2,
40
+ * netTransferAmount: 1004,
36
41
  * eventsData: [{
37
42
  * description: "Transfer Created",
38
43
  * eventTime: "2024-11-16T08:15:33.4364067Z",
@@ -2,6 +2,47 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Payabli from "../index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * vcardSent: true,
9
+ * cardToken: "vcrd_5Ty8NrBzXjKuqHm9DwElfP",
10
+ * cardNumber: "44XX XXXX XXXX 1234",
11
+ * cvc: "XXX",
12
+ * expirationDate: "2025-12",
13
+ * status: "Active",
14
+ * amount: 500,
15
+ * currentBalance: 375.25,
16
+ * expenseLimit: 100,
17
+ * expenseLimitPeriod: "monthly",
18
+ * maxNumberOfUses: 10,
19
+ * currentNumberOfUses: 3,
20
+ * exactAmount: false,
21
+ * mcc: "5812",
22
+ * tcc: "T01",
23
+ * misc1: "Invoice #12345",
24
+ * misc2: "Project: Office Supplies",
25
+ * dateCreated: "2023-01-15T09:30:00Z",
26
+ * dateModified: "2023-02-20T14:15:22Z",
27
+ * associatedVendor: {
28
+ * VendorNumber: "V-12345",
29
+ * Name1: "Office Supply Co.",
30
+ * EIN: "XXXXX6789",
31
+ * Email: "billing@officesupply.example.com",
32
+ * VendorId: 1542
33
+ * },
34
+ * associatedCustomer: {
35
+ * firstname: "Acme",
36
+ * lastname: "Corporation"
37
+ * },
38
+ * PaypointDbaname: "Global Factory LLC",
39
+ * PaypointLegalname: "Global Factory LLC",
40
+ * PaypointEntryname: "4872acb376a",
41
+ * externalPaypointID: "pay-10",
42
+ * ParentOrgName: "SupplyPro",
43
+ * paypointId: 236
44
+ * }
45
+ */
5
46
  export interface VCardRecord {
6
47
  /** When `true`, the vCard has been sent. */
7
48
  vcardSent?: boolean;
@@ -42,4 +83,6 @@ export interface VCardRecord {
42
83
  /** The paypoint's entry name (entrypoint). */
43
84
  PaypointEntryname?: Payabli.Entrypointfield;
44
85
  externalPaypointID?: Payabli.ExternalPaypointId;
86
+ /** The paypoint's unique identifier. */
87
+ paypointId?: number;
45
88
  }
@@ -151,8 +151,6 @@ export * from "./CascadeJobDetails.mjs";
151
151
  export * from "./Cash.mjs";
152
152
  export * from "./Category.mjs";
153
153
  export * from "./ChargebackId.mjs";
154
- export * from "./ChargebackQueryRecords.mjs";
155
- export * from "./ChargeBackResponse.mjs";
156
154
  export * from "./Check.mjs";
157
155
  export * from "./CityNullable.mjs";
158
156
  export * from "./CList.mjs";
@@ -532,11 +530,11 @@ export * from "./TransactionQueryRecords.mjs";
532
530
  export * from "./TransactionTime.mjs";
533
531
  export * from "./TransferIdentifier.mjs";
534
532
  export * from "./Transfer.mjs";
535
- export * from "./TransferSummary.mjs";
536
- export * from "./TransferQueryResponse.mjs";
537
533
  export * from "./TransferBankAccount.mjs";
538
- export * from "./TransferMessageProperties.mjs";
539
534
  export * from "./TransferMessage.mjs";
535
+ export * from "./TransferMessageProperties.mjs";
536
+ export * from "./TransferSummary.mjs";
537
+ export * from "./TransferQueryResponse.mjs";
540
538
  export * from "./TransStatus.mjs";
541
539
  export * from "./PaymentTransStatusDescription.mjs";
542
540
  export * from "./TypeAccount.mjs";
@@ -151,8 +151,6 @@ export * from "./CascadeJobDetails.mjs";
151
151
  export * from "./Cash.mjs";
152
152
  export * from "./Category.mjs";
153
153
  export * from "./ChargebackId.mjs";
154
- export * from "./ChargebackQueryRecords.mjs";
155
- export * from "./ChargeBackResponse.mjs";
156
154
  export * from "./Check.mjs";
157
155
  export * from "./CityNullable.mjs";
158
156
  export * from "./CList.mjs";
@@ -532,11 +530,11 @@ export * from "./TransactionQueryRecords.mjs";
532
530
  export * from "./TransactionTime.mjs";
533
531
  export * from "./TransferIdentifier.mjs";
534
532
  export * from "./Transfer.mjs";
535
- export * from "./TransferSummary.mjs";
536
- export * from "./TransferQueryResponse.mjs";
537
533
  export * from "./TransferBankAccount.mjs";
538
- export * from "./TransferMessageProperties.mjs";
539
534
  export * from "./TransferMessage.mjs";
535
+ export * from "./TransferMessageProperties.mjs";
536
+ export * from "./TransferSummary.mjs";
537
+ export * from "./TransferQueryResponse.mjs";
540
538
  export * from "./TransStatus.mjs";
541
539
  export * from "./PaymentTransStatusDescription.mjs";
542
540
  export * from "./TypeAccount.mjs";
@@ -6,7 +6,7 @@ export declare namespace Fetcher {
6
6
  url: string;
7
7
  method: string;
8
8
  contentType?: string;
9
- headers?: Record<string, string | Supplier<string | undefined> | undefined>;
9
+ headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
10
10
  queryParameters?: Record<string, unknown>;
11
11
  body?: unknown;
12
12
  timeoutMs?: number;
@@ -16,13 +16,45 @@ function addJitter(delay) {
16
16
  const jitterMultiplier = 1 + (Math.random() * 2 - 1) * JITTER_FACTOR;
17
17
  return delay * jitterMultiplier;
18
18
  }
19
+ function getRetryDelayFromHeaders(response, retryAttempt) {
20
+ // Check for Retry-After header first (RFC 7231)
21
+ const retryAfter = response.headers.get("Retry-After");
22
+ if (retryAfter) {
23
+ // Parse as number of seconds...
24
+ const retryAfterSeconds = parseInt(retryAfter, 10);
25
+ if (!isNaN(retryAfterSeconds)) {
26
+ // Convert seconds to milliseconds and cap at MAX_RETRY_DELAY
27
+ return Math.min(retryAfterSeconds * 1000, MAX_RETRY_DELAY);
28
+ }
29
+ // ...or as an HTTP date; both are valid
30
+ const retryAfterDate = new Date(retryAfter);
31
+ if (!isNaN(retryAfterDate.getTime())) {
32
+ const delay = retryAfterDate.getTime() - Date.now();
33
+ return Math.min(Math.max(delay, 0), MAX_RETRY_DELAY);
34
+ }
35
+ }
36
+ // Then check for industry-standard X-RateLimit-Reset header
37
+ const rateLimitReset = response.headers.get("X-RateLimit-Reset");
38
+ if (rateLimitReset) {
39
+ const resetTime = parseInt(rateLimitReset, 10);
40
+ if (!isNaN(resetTime)) {
41
+ // Assume Unix timestamp in epoch seconds
42
+ const delay = resetTime * 1000 - Date.now();
43
+ if (delay > 0) {
44
+ return Math.min(delay, MAX_RETRY_DELAY);
45
+ }
46
+ }
47
+ }
48
+ // Fall back to exponential backoff
49
+ return Math.min(INITIAL_RETRY_DELAY * Math.pow(2, retryAttempt), MAX_RETRY_DELAY);
50
+ }
19
51
  export function requestWithRetries(requestFn_1) {
20
52
  return __awaiter(this, arguments, void 0, function* (requestFn, maxRetries = DEFAULT_MAX_RETRIES) {
21
53
  let response = yield requestFn();
22
54
  for (let i = 0; i < maxRetries; ++i) {
23
55
  if ([408, 429].includes(response.status) || response.status >= 500) {
24
- // Calculate base delay using exponential backoff (in milliseconds)
25
- const baseDelay = Math.min(INITIAL_RETRY_DELAY * Math.pow(2, i), MAX_RETRY_DELAY);
56
+ // Get delay from headers or fall back to exponential backoff
57
+ const baseDelay = getRetryDelayFromHeaders(response, i);
26
58
  // Add jitter to the delay
27
59
  const delayWithJitter = addJitter(baseDelay);
28
60
  yield new Promise((resolve) => setTimeout(resolve, delayWithJitter));
@@ -1,3 +1,3 @@
1
1
  import * as core from "./index.mjs";
2
- export declare function mergeHeaders(...headersArray: (Record<string, string | core.Supplier<string | undefined> | undefined> | undefined)[]): Record<string, string | core.Supplier<string | undefined>>;
3
- export declare function mergeOnlyDefinedHeaders(...headersArray: (Record<string, string | core.Supplier<string | undefined> | undefined> | undefined)[]): Record<string, string | core.Supplier<string | undefined>>;
2
+ export declare function mergeHeaders(...headersArray: (Record<string, string | core.Supplier<string | null | undefined> | null | undefined> | null | undefined)[]): Record<string, string | core.Supplier<string | null | undefined>>;
3
+ export declare function mergeOnlyDefinedHeaders(...headersArray: (Record<string, string | core.Supplier<string | null | undefined> | null | undefined> | null | undefined)[]): Record<string, string | core.Supplier<string | null | undefined>>;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.109";
1
+ export declare const SDK_VERSION = "0.0.114";
@@ -1 +1 @@
1
- export const SDK_VERSION = "0.0.109";
1
+ export const SDK_VERSION = "0.0.114";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payabli/sdk-node",
3
- "version": "0.0.109",
3
+ "version": "0.0.114",
4
4
  "private": false,
5
5
  "repository": "github:payabli/sdk-node",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -8693,6 +8693,284 @@ await client.notification.getReportFile(1000000);
8693
8693
  </dl>
8694
8694
  </details>
8695
8695
 
8696
+ ## Notificationlogs
8697
+
8698
+ <details><summary><code>client.notificationlogs.<a href="/src/api/resources/notificationlogs/client/Client.ts">searchNotificationLogs</a>({ ...params }) -> Payabli.NotificationLog[]</code></summary>
8699
+ <dl>
8700
+ <dd>
8701
+
8702
+ #### 📝 Description
8703
+
8704
+ <dl>
8705
+ <dd>
8706
+
8707
+ <dl>
8708
+ <dd>
8709
+
8710
+ Search notification logs with filtering and pagination.
8711
+
8712
+ - Start date and end date cannot be more than 30 days apart
8713
+ - Either `orgId` or `paypointId` must be provided
8714
+
8715
+ This endpoint requires the `notifications_create` OR `notifications_read` permission.
8716
+
8717
+ </dd>
8718
+ </dl>
8719
+ </dd>
8720
+ </dl>
8721
+
8722
+ #### 🔌 Usage
8723
+
8724
+ <dl>
8725
+ <dd>
8726
+
8727
+ <dl>
8728
+ <dd>
8729
+
8730
+ ```typescript
8731
+ await client.notificationlogs.searchNotificationLogs({
8732
+ PageSize: 20,
8733
+ body: {
8734
+ startDate: "2024-01-01T00:00:00Z",
8735
+ endDate: "2024-01-31T23:59:59Z",
8736
+ orgId: 12345,
8737
+ notificationEvent: "ActivatedMerchant",
8738
+ succeeded: true,
8739
+ },
8740
+ });
8741
+ ```
8742
+
8743
+ </dd>
8744
+ </dl>
8745
+ </dd>
8746
+ </dl>
8747
+
8748
+ #### ⚙️ Parameters
8749
+
8750
+ <dl>
8751
+ <dd>
8752
+
8753
+ <dl>
8754
+ <dd>
8755
+
8756
+ **request:** `Payabli.SearchNotificationLogsRequest`
8757
+
8758
+ </dd>
8759
+ </dl>
8760
+
8761
+ <dl>
8762
+ <dd>
8763
+
8764
+ **requestOptions:** `Notificationlogs.RequestOptions`
8765
+
8766
+ </dd>
8767
+ </dl>
8768
+ </dd>
8769
+ </dl>
8770
+
8771
+ </dd>
8772
+ </dl>
8773
+ </details>
8774
+
8775
+ <details><summary><code>client.notificationlogs.<a href="/src/api/resources/notificationlogs/client/Client.ts">getNotificationLog</a>(uuid) -> Payabli.NotificationLogDetail</code></summary>
8776
+ <dl>
8777
+ <dd>
8778
+
8779
+ #### 📝 Description
8780
+
8781
+ <dl>
8782
+ <dd>
8783
+
8784
+ <dl>
8785
+ <dd>
8786
+
8787
+ Get detailed information for a specific notification log entry.
8788
+ This endpoint requires the `notifications_create` OR `notifications_read` permission.
8789
+
8790
+ </dd>
8791
+ </dl>
8792
+ </dd>
8793
+ </dl>
8794
+
8795
+ #### 🔌 Usage
8796
+
8797
+ <dl>
8798
+ <dd>
8799
+
8800
+ <dl>
8801
+ <dd>
8802
+
8803
+ ```typescript
8804
+ await client.notificationlogs.getNotificationLog("550e8400-e29b-41d4-a716-446655440000");
8805
+ ```
8806
+
8807
+ </dd>
8808
+ </dl>
8809
+ </dd>
8810
+ </dl>
8811
+
8812
+ #### ⚙️ Parameters
8813
+
8814
+ <dl>
8815
+ <dd>
8816
+
8817
+ <dl>
8818
+ <dd>
8819
+
8820
+ **uuid:** `string` — The notification log entry.
8821
+
8822
+ </dd>
8823
+ </dl>
8824
+
8825
+ <dl>
8826
+ <dd>
8827
+
8828
+ **requestOptions:** `Notificationlogs.RequestOptions`
8829
+
8830
+ </dd>
8831
+ </dl>
8832
+ </dd>
8833
+ </dl>
8834
+
8835
+ </dd>
8836
+ </dl>
8837
+ </details>
8838
+
8839
+ <details><summary><code>client.notificationlogs.<a href="/src/api/resources/notificationlogs/client/Client.ts">retryNotificationLog</a>(uuid) -> Payabli.NotificationLogDetail</code></summary>
8840
+ <dl>
8841
+ <dd>
8842
+
8843
+ #### 📝 Description
8844
+
8845
+ <dl>
8846
+ <dd>
8847
+
8848
+ <dl>
8849
+ <dd>
8850
+
8851
+ Retry sending a specific notification.
8852
+
8853
+ **Permissions:** notifications_create
8854
+
8855
+ </dd>
8856
+ </dl>
8857
+ </dd>
8858
+ </dl>
8859
+
8860
+ #### 🔌 Usage
8861
+
8862
+ <dl>
8863
+ <dd>
8864
+
8865
+ <dl>
8866
+ <dd>
8867
+
8868
+ ```typescript
8869
+ await client.notificationlogs.retryNotificationLog("550e8400-e29b-41d4-a716-446655440000");
8870
+ ```
8871
+
8872
+ </dd>
8873
+ </dl>
8874
+ </dd>
8875
+ </dl>
8876
+
8877
+ #### ⚙️ Parameters
8878
+
8879
+ <dl>
8880
+ <dd>
8881
+
8882
+ <dl>
8883
+ <dd>
8884
+
8885
+ **uuid:** `string` — Unique id
8886
+
8887
+ </dd>
8888
+ </dl>
8889
+
8890
+ <dl>
8891
+ <dd>
8892
+
8893
+ **requestOptions:** `Notificationlogs.RequestOptions`
8894
+
8895
+ </dd>
8896
+ </dl>
8897
+ </dd>
8898
+ </dl>
8899
+
8900
+ </dd>
8901
+ </dl>
8902
+ </details>
8903
+
8904
+ <details><summary><code>client.notificationlogs.<a href="/src/api/resources/notificationlogs/client/Client.ts">bulkRetryNotificationLogs</a>({ ...params }) -> void</code></summary>
8905
+ <dl>
8906
+ <dd>
8907
+
8908
+ #### 📝 Description
8909
+
8910
+ <dl>
8911
+ <dd>
8912
+
8913
+ <dl>
8914
+ <dd>
8915
+
8916
+ Retry sending multiple notifications (maximum 50 IDs).
8917
+ This is an async process, so use the search endpoint again to check the notification status.
8918
+
8919
+ This endpoint requires the `notifications_create` permission.
8920
+
8921
+ </dd>
8922
+ </dl>
8923
+ </dd>
8924
+ </dl>
8925
+
8926
+ #### 🔌 Usage
8927
+
8928
+ <dl>
8929
+ <dd>
8930
+
8931
+ <dl>
8932
+ <dd>
8933
+
8934
+ ```typescript
8935
+ await client.notificationlogs.bulkRetryNotificationLogs([
8936
+ "550e8400-e29b-41d4-a716-446655440000",
8937
+ "550e8400-e29b-41d4-a716-446655440001",
8938
+ "550e8400-e29b-41d4-a716-446655440002",
8939
+ ]);
8940
+ ```
8941
+
8942
+ </dd>
8943
+ </dl>
8944
+ </dd>
8945
+ </dl>
8946
+
8947
+ #### ⚙️ Parameters
8948
+
8949
+ <dl>
8950
+ <dd>
8951
+
8952
+ <dl>
8953
+ <dd>
8954
+
8955
+ **request:** `Payabli.BulkRetryRequest`
8956
+
8957
+ </dd>
8958
+ </dl>
8959
+
8960
+ <dl>
8961
+ <dd>
8962
+
8963
+ **requestOptions:** `Notificationlogs.RequestOptions`
8964
+
8965
+ </dd>
8966
+ </dl>
8967
+ </dd>
8968
+ </dl>
8969
+
8970
+ </dd>
8971
+ </dl>
8972
+ </details>
8973
+
8696
8974
  ## Ocr
8697
8975
 
8698
8976
  <details><summary><code>client.ocr.<a href="/src/api/resources/ocr/client/Client.ts">ocrDocumentForm</a>(typeResult, { ...params }) -> Payabli.PayabliApiResponseOcr</code></summary>
@@ -1,54 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Payabli from "../index.js";
5
- export interface ChargebackQueryRecords {
6
- accountType?: Payabli.Accounttype;
7
- /** Number of case assigned to the chargeback. */
8
- caseNumber?: string;
9
- /** Date of chargeback in format YYYY-MM-DD or MM/DD/YYYY. */
10
- chargebackDate?: string;
11
- /** Timestamp when the register was created, in UTC. */
12
- createdAt?: Payabli.CreatedAt;
13
- customer?: Payabli.QueryTransactionPayorData;
14
- /** Identifier of chargeback or return. */
15
- id?: number;
16
- /** Last 4 digits of card or bank account involved in chargeback or return. */
17
- lastFour: string;
18
- /** Type of payment vehicle: **ach** or **card**. */
19
- method: string;
20
- /** Net amount in chargeback or ACH return. */
21
- netAmount?: Payabli.Netamountnullable | undefined;
22
- orderId?: Payabli.OrderId;
23
- parentOrgName?: Payabli.OrgParentName;
24
- paymentData?: Payabli.QueryPaymentData;
25
- /** ReferenceId of the transaction in Payabli. */
26
- PaymentId?: string;
27
- /** The paypoint's DBA name. */
28
- paypointDbaname?: Payabli.Dbaname;
29
- /** The paypoint's entryname. */
30
- paypointEntryname?: Payabli.Entrypointfield;
31
- /** The paypoint's legal name. */
32
- paypointLegalname?: Payabli.Legalname;
33
- /** Text describing the chargeback or ACH return reason. */
34
- reason?: string;
35
- /** R code for returned ACH or custom code identifying the reason. */
36
- reasonCode?: string;
37
- /** Processor reference number to the chargeback. */
38
- referenceNumber?: string;
39
- /** Chargeback response records. */
40
- responses?: Payabli.ChargeBackResponse[];
41
- /**
42
- * Status for chargeback or ACH return
43
- *
44
- * - 0: Open (chargebacks only)
45
- * - 1: Pending (chargebacks only)
46
- * - 2: Closed-Won (chargebacks only)
47
- * - 3: Closed-Lost (chargebacks only)
48
- * - 4: ACH Return (ACH only)
49
- * - 5: ACH Dispute, Not Authorized (ACH only)
50
- */
51
- status?: number;
52
- transaction?: Payabli.TransactionQueryRecords;
53
- transactionTime?: Payabli.TransactionTime;
54
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Payabli from "../index.mjs";
5
- export interface ChargebackQueryRecords {
6
- accountType?: Payabli.Accounttype;
7
- /** Number of case assigned to the chargeback. */
8
- caseNumber?: string;
9
- /** Date of chargeback in format YYYY-MM-DD or MM/DD/YYYY. */
10
- chargebackDate?: string;
11
- /** Timestamp when the register was created, in UTC. */
12
- createdAt?: Payabli.CreatedAt;
13
- customer?: Payabli.QueryTransactionPayorData;
14
- /** Identifier of chargeback or return. */
15
- id?: number;
16
- /** Last 4 digits of card or bank account involved in chargeback or return. */
17
- lastFour: string;
18
- /** Type of payment vehicle: **ach** or **card**. */
19
- method: string;
20
- /** Net amount in chargeback or ACH return. */
21
- netAmount?: Payabli.Netamountnullable | undefined;
22
- orderId?: Payabli.OrderId;
23
- parentOrgName?: Payabli.OrgParentName;
24
- paymentData?: Payabli.QueryPaymentData;
25
- /** ReferenceId of the transaction in Payabli. */
26
- PaymentId?: string;
27
- /** The paypoint's DBA name. */
28
- paypointDbaname?: Payabli.Dbaname;
29
- /** The paypoint's entryname. */
30
- paypointEntryname?: Payabli.Entrypointfield;
31
- /** The paypoint's legal name. */
32
- paypointLegalname?: Payabli.Legalname;
33
- /** Text describing the chargeback or ACH return reason. */
34
- reason?: string;
35
- /** R code for returned ACH or custom code identifying the reason. */
36
- reasonCode?: string;
37
- /** Processor reference number to the chargeback. */
38
- referenceNumber?: string;
39
- /** Chargeback response records. */
40
- responses?: Payabli.ChargeBackResponse[];
41
- /**
42
- * Status for chargeback or ACH return
43
- *
44
- * - 0: Open (chargebacks only)
45
- * - 1: Pending (chargebacks only)
46
- * - 2: Closed-Won (chargebacks only)
47
- * - 3: Closed-Lost (chargebacks only)
48
- * - 4: ACH Return (ACH only)
49
- * - 5: ACH Dispute, Not Authorized (ACH only)
50
- */
51
- status?: number;
52
- transaction?: Payabli.TransactionQueryRecords;
53
- transactionTime?: Payabli.TransactionTime;
54
- }