@justifi/webcomponents 5.5.0 → 5.6.1

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 (617) hide show
  1. package/dist/cjs/ApiNew-DG13rvk6.js +86 -0
  2. package/dist/cjs/{Refund-DpKGhW3o.js → Refund-CpurRc4w.js} +79 -0
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  4. package/dist/cjs/{badge-BXpCpcer.js → badge-ByWVHNyJ.js} +2 -2
  5. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +7 -7
  6. package/dist/cjs/bank-account-form_9.cjs.entry.js +7 -7
  7. package/dist/cjs/{business-additional-questions-schema-mzZ2gYHQ.js → business-additional-questions-schema-gVepoR4V.js} +1 -1
  8. package/dist/cjs/business-details-core.cjs.entry.js +5 -5
  9. package/dist/cjs/{business.service-Crmkeulk.js → business.service-Vcq4kPU8.js} +4 -2
  10. package/dist/cjs/{button-KWTLx2LP.js → button-Bn9jOYbx.js} +2 -2
  11. package/dist/cjs/{check-pkg-version-CLsX6cK5.js → check-pkg-version-7gGchZzS.js} +1 -1
  12. package/dist/cjs/{checkout.service-r90INf2g.js → checkout.service-DP9FnXBx.js} +1 -1
  13. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
  14. package/dist/cjs/{payments-list-params-state-Cmfy_CND.js → checkouts-list-params-state-BvG5Ysrg.js} +1 -1
  15. package/dist/cjs/{checkouts-table-5jU4JUcM.js → checkouts-table-C_cpZa-i.js} +3 -3
  16. package/dist/cjs/config-state-Bm8-EuFE.js +42 -0
  17. package/dist/cjs/custom-popper_4.cjs.entry.js +9 -9
  18. package/dist/cjs/{dispute.service-CGgfmGU-.js → dispute.service-F-M8EJxq.js} +1 -1
  19. package/dist/cjs/{event-types-CJapDsYA.js → event-types-cB_-SsYZ.js} +3 -3
  20. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
  22. package/dist/cjs/form-control-date.cjs.entry.js +5 -5
  23. package/dist/cjs/{form-control-error-text-D19AMaOO.js → form-control-error-text-CBAVQoZ3.js} +2 -2
  24. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
  25. package/dist/cjs/{form-control-help-text-CbrDvt9D.js → form-control-help-text-DQz5O3wX.js} +2 -2
  26. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -4
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number.cjs.entry.js +6 -6
  31. package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
  32. package/dist/cjs/{get-business-BBzGEPBG.js → get-business-DHg5rpse.js} +2 -2
  33. package/dist/cjs/{get-payment-details-CKg1Lb3_.js → get-payment-details-DqvDYbnK.js} +3 -3
  34. package/dist/cjs/get-payout-csv-CXEQkjDm.js +24 -0
  35. package/dist/cjs/{get-subaccounts-YlFT-fBr.js → get-subaccounts-CasN5tDA.js} +9 -9
  36. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  37. package/dist/cjs/{header-1-ZNnpq6yT.js → header-1-Bl1S9jV8.js} +2 -2
  38. package/dist/cjs/{header-3-D6LxdW_A.js → header-3-DYzIjFIZ.js} +2 -2
  39. package/dist/cjs/{iframe-input-styles-state-CQL59u0d.js → iframe-input-styles-state-D9vhHzZQ.js} +1 -1
  40. package/dist/cjs/iframe-input.cjs.entry.js +9 -9
  41. package/dist/cjs/{index-DhcqPIbT.js → index-B8ljHEN1.js} +1 -1
  42. package/dist/cjs/{index-DtkhH7sB.js → index-BYd8IvAa.js} +1 -1
  43. package/dist/cjs/{insurance-state-q5eNmjIK.js → insurance-state-BbmHHQl0.js} +3 -3
  44. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +7 -7
  45. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -5
  46. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  47. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -7
  48. package/dist/cjs/justifi-business-form.cjs.entry.js +10 -10
  49. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  50. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  51. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
  52. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -7
  53. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -13
  54. package/dist/cjs/justifi-config-provider.cjs.entry.js +26 -0
  55. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  56. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
  58. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -12
  59. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  60. package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -20
  61. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -4
  62. package/dist/cjs/justifi-payment-details.cjs.entry.js +13 -12
  63. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -4
  65. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +196 -0
  66. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
  67. package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -17
  68. package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -12
  69. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +205 -0
  70. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
  71. package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -19
  72. package/dist/cjs/justifi-refund-payment.cjs.entry.js +22 -21
  73. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
  74. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  75. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -8
  76. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +20 -23
  77. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -7
  78. package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -18
  79. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +8 -8
  80. package/dist/cjs/loader.cjs.js +2 -2
  81. package/dist/cjs/{package-5B4P3NpD.js → package-CseQI95t.js} +1 -1
  82. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  83. package/dist/cjs/{parts-D_uKOPFe.js → parts-Du1T2dvF.js} +12 -3
  84. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  85. package/dist/cjs/payment.service-CAJSEb2x.js +21 -0
  86. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  87. package/dist/cjs/{payouts-list-params-state-Cmfy_CND.js → payments-list-params-state-BvG5Ysrg.js} +1 -1
  88. package/dist/cjs/{payments-status-DAzq_Z13.js → payments-status-hksfHuBH.js} +2 -2
  89. package/dist/cjs/{payments-table-BEpL6oJQ.js → payments-table-CmvP6owu.js} +3 -3
  90. package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
  91. package/dist/cjs/payout.service-wOnSu52a.js +26 -0
  92. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
  93. package/dist/cjs/{terminal-orders-list-params-state-Cmfy_CND.js → payouts-list-params-state-BvG5Ysrg.js} +1 -1
  94. package/dist/cjs/{payouts-status-CYrKPRld.js → payouts-status-DfNhfSsm.js} +2 -2
  95. package/dist/cjs/{payouts-table-Bbi23U5v.js → payouts-table-CpgWxl8A.js} +3 -3
  96. package/dist/cjs/{skeleton-C59M0QK2.js → skeleton-BFtuPBwQ.js} +2 -2
  97. package/dist/cjs/{spinner-736baCoH.js → spinner-C9z2tkh2.js} +2 -2
  98. package/dist/cjs/{styled-host-JifnTMIV.js → styled-host-udkBJV5h.js} +1 -1
  99. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  100. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
  101. package/dist/cjs/{checkouts-list-params-state-Cmfy_CND.js → terminal-orders-list-params-state-BvG5Ysrg.js} +1 -1
  102. package/dist/cjs/{terminal-orders-table-w4Yaf83b.js → terminal-orders-table-CpVY3VsQ.js} +4 -4
  103. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
  104. package/dist/cjs/terminal.service-cGQB3xiL.js +29 -0
  105. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
  106. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +22 -0
  107. package/dist/cjs/{terminals-table-F6pkR97i.js → terminals-table-DRQQjYAE.js} +3 -3
  108. package/dist/cjs/{utils-D3seTk2e.js → utils-B_Ol6YlL.js} +2 -2
  109. package/dist/cjs/webcomponents.cjs.js +3 -3
  110. package/dist/collection/actions/business/get-business.js +2 -2
  111. package/dist/collection/actions/payment/get-payment-details.js +2 -2
  112. package/dist/collection/actions/payment/get-payment-transactions.js +34 -0
  113. package/dist/collection/actions/payment/get-payments.js +2 -2
  114. package/dist/collection/actions/payout/get-payout-transactions.js +34 -0
  115. package/dist/collection/actions/payout/get-payouts.js +2 -2
  116. package/dist/collection/actions/refund/refund-actions.js +2 -2
  117. package/dist/collection/actions/sub-account/get-subaccounts.js +2 -2
  118. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  119. package/dist/collection/actions/terminal/get-terminal-orders.js +2 -2
  120. package/dist/collection/actions/terminal/get-terminals.js +2 -2
  121. package/dist/collection/api/ApiNew.js +82 -0
  122. package/dist/collection/api/PaymentBalanceTransaction.js +45 -0
  123. package/dist/collection/api/PayoutBalanceTransaction.js +35 -0
  124. package/dist/collection/api/index.js +2 -0
  125. package/dist/collection/api/services/business.service.js +4 -2
  126. package/dist/collection/api/services/payment.service.js +10 -6
  127. package/dist/collection/api/services/payout.service.js +13 -10
  128. package/dist/collection/api/services/refund.service.js +5 -4
  129. package/dist/collection/api/services/subaccounts.service.js +5 -5
  130. package/dist/collection/api/services/terminal.service.js +14 -15
  131. package/dist/collection/api/services/terminal_orders.service.js +5 -9
  132. package/dist/collection/collection-manifest.json +4 -1
  133. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +1 -1
  134. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  135. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  136. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  137. package/dist/collection/components/checkouts-list/checkouts-list.js +2 -3
  138. package/dist/collection/components/config-provider/config-provider.js +83 -0
  139. package/dist/collection/components/config-provider/config-state.js +36 -0
  140. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  153. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  154. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  155. package/dist/collection/components/order-terminals/order-terminals.js +4 -28
  156. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  157. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  158. package/dist/collection/components/payment-details/payment-details.js +1 -23
  159. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +226 -0
  160. package/dist/collection/components/payment-transactions-list/payment-transactions-table.js +45 -0
  161. package/dist/collection/components/payments-list/payments-list-core.js +2 -2
  162. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  163. package/dist/collection/components/payments-list/payments-list.js +2 -24
  164. package/dist/collection/components/payout-details/get-payout-csv.js +2 -2
  165. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  166. package/dist/collection/components/payout-details/payout-details.js +1 -23
  167. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +230 -0
  168. package/dist/collection/components/payout-transactions-list/payout-transactions-table.js +47 -0
  169. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  170. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  171. package/dist/collection/components/payouts-list/payouts-list.js +3 -26
  172. package/dist/collection/components/refund-payment/refund-payment.js +2 -25
  173. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  174. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  175. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +2 -24
  176. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  177. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  178. package/dist/collection/components/terminals-list/terminals-list.js +3 -26
  179. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  180. package/dist/collection/styles/parts.js +10 -3
  181. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  182. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  183. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  185. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  186. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  188. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  190. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  194. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  195. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  196. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
  197. package/dist/docs.json +347 -165
  198. package/dist/esm/ApiNew-UOnmIWcv.js +84 -0
  199. package/dist/esm/{Refund-t_P1yy9d.js → Refund-DOvd7RJp.js} +78 -1
  200. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  201. package/dist/esm/{badge-C4TzL9CB.js → badge-B191hCAo.js} +2 -2
  202. package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
  203. package/dist/esm/bank-account-form_9.entry.js +7 -7
  204. package/dist/esm/{business-additional-questions-schema-W6okG5Xu.js → business-additional-questions-schema-DWnZs60Z.js} +1 -1
  205. package/dist/esm/business-details-core.entry.js +5 -5
  206. package/dist/esm/{business.service-B136meVo.js → business.service-B1VD22Tz.js} +11 -9
  207. package/dist/esm/{button-CI85Rqy5.js → button-BRFA5syj.js} +2 -2
  208. package/dist/esm/{check-pkg-version-Wd4E_Njt.js → check-pkg-version-DpVT68Qo.js} +1 -1
  209. package/dist/esm/{checkout.service-4tnXBKGq.js → checkout.service-92ld4w-G.js} +1 -1
  210. package/dist/esm/checkouts-list-core.entry.js +10 -10
  211. package/dist/esm/{checkouts-list-params-state-Gbxdxjoi.js → checkouts-list-params-state-Bn7pL-8x.js} +1 -1
  212. package/dist/esm/{checkouts-table-CHM4YCCZ.js → checkouts-table-BIO5rpvV.js} +3 -3
  213. package/dist/esm/config-state-Bl6vWekp.js +38 -0
  214. package/dist/esm/custom-popper_4.entry.js +9 -9
  215. package/dist/esm/{dispute.service-Bwh8pBe9.js → dispute.service-H2Oaq2af.js} +1 -1
  216. package/dist/esm/{event-types-CooIFpFI.js → event-types-BIryDMGV.js} +3 -3
  217. package/dist/esm/form-alert_5.entry.js +2 -2
  218. package/dist/esm/form-control-checkbox.entry.js +6 -6
  219. package/dist/esm/form-control-date.entry.js +5 -5
  220. package/dist/esm/{form-control-error-text-3q5yVuMQ.js → form-control-error-text-CVPFeRt0.js} +2 -2
  221. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  222. package/dist/esm/{form-control-help-text-BplkZkPF.js → form-control-help-text-D-ReDn6e.js} +2 -2
  223. package/dist/esm/form-control-help-text.entry.js +1 -1
  224. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  225. package/dist/esm/form-control-monetary.entry.js +6 -6
  226. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  227. package/dist/esm/form-control-number.entry.js +6 -6
  228. package/dist/esm/form-control-radio.entry.js +4 -4
  229. package/dist/esm/{get-business-B3c5gg1D.js → get-business-CIKToQur.js} +2 -2
  230. package/dist/esm/{get-payment-details-BbZmEGge.js → get-payment-details-CXiGG9cO.js} +3 -3
  231. package/dist/esm/get-payout-csv-D7IYYqVL.js +22 -0
  232. package/dist/esm/{get-subaccounts-58LQOtEI.js → get-subaccounts-COe5GtaY.js} +9 -9
  233. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  234. package/dist/esm/{header-1-BX6i3__G.js → header-1-ClU-iUGF.js} +2 -2
  235. package/dist/esm/{header-3-D0Sy-7DJ.js → header-3-jLYjhsUb.js} +2 -2
  236. package/dist/esm/{iframe-input-styles-state-DyXIZw1A.js → iframe-input-styles-state-ibYqbF--.js} +1 -1
  237. package/dist/esm/iframe-input.entry.js +9 -9
  238. package/dist/esm/{index-Cuk6aIda.js → index-Cc3u0uDC.js} +1 -1
  239. package/dist/esm/{index-BUM1DfV9.js → index-D6FDxSyt.js} +1 -1
  240. package/dist/esm/{insurance-state-BhklYgGK.js → insurance-state-5MPrBdwI.js} +3 -3
  241. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +7 -7
  242. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +8 -5
  243. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  244. package/dist/esm/justifi-business-details.entry.js +10 -7
  245. package/dist/esm/justifi-business-form.entry.js +10 -10
  246. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  247. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  248. package/dist/esm/justifi-checkout.entry.js +5 -5
  249. package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
  250. package/dist/esm/justifi-checkouts-list.entry.js +15 -13
  251. package/dist/esm/justifi-config-provider.entry.js +24 -0
  252. package/dist/esm/justifi-details.entry.js +3 -3
  253. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  254. package/dist/esm/justifi-dispute-management.entry.js +6 -6
  255. package/dist/esm/justifi-dispute-notification_3.entry.js +12 -12
  256. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  257. package/dist/esm/justifi-order-terminals.entry.js +19 -20
  258. package/dist/esm/justifi-owner-form_3.entry.js +7 -4
  259. package/dist/esm/justifi-payment-details.entry.js +13 -12
  260. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  261. package/dist/esm/justifi-payment-provisioning.entry.js +7 -4
  262. package/dist/esm/justifi-payment-transactions-list.entry.js +194 -0
  263. package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
  264. package/dist/esm/justifi-payments-list.entry.js +18 -17
  265. package/dist/esm/justifi-payout-details.entry.js +13 -11
  266. package/dist/esm/justifi-payout-transactions-list.entry.js +203 -0
  267. package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
  268. package/dist/esm/justifi-payouts-list.entry.js +20 -19
  269. package/dist/esm/justifi-refund-payment.entry.js +22 -21
  270. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
  271. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  272. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
  273. package/dist/esm/justifi-terminal-orders-list.entry.js +20 -23
  274. package/dist/esm/justifi-terminals-list-filters.entry.js +7 -7
  275. package/dist/esm/justifi-terminals-list.entry.js +18 -18
  276. package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -8
  277. package/dist/esm/loader.js +3 -3
  278. package/dist/esm/{package-gAO-RwrF.js → package-D2EbqwBe.js} +1 -1
  279. package/dist/esm/pagination-menu.entry.js +5 -5
  280. package/dist/esm/{parts-CB88j97I.js → parts-CjO1GttX.js} +9 -4
  281. package/dist/esm/payment-details-core.entry.js +14 -14
  282. package/dist/esm/payment.service-B9_zvpM_.js +19 -0
  283. package/dist/esm/payments-list-core.entry.js +11 -11
  284. package/dist/esm/{payments-list-params-state-Gbxdxjoi.js → payments-list-params-state-Bn7pL-8x.js} +1 -1
  285. package/dist/esm/{payments-status-BLhcMfnC.js → payments-status-CQQH_5oM.js} +2 -2
  286. package/dist/esm/{payments-table-VcaC77NC.js → payments-table-BdQtWUO-.js} +3 -3
  287. package/dist/esm/payout-details-core.entry.js +9 -9
  288. package/dist/esm/payout.service-BGSaI-j9.js +24 -0
  289. package/dist/esm/payouts-list-core.entry.js +11 -11
  290. package/dist/esm/{payouts-list-params-state-Gbxdxjoi.js → payouts-list-params-state-Bn7pL-8x.js} +1 -1
  291. package/dist/esm/{payouts-status-B9SSljnL.js → payouts-status-Cz9DL-Ph.js} +2 -2
  292. package/dist/esm/{payouts-table-DWBaNPmV.js → payouts-table-bOrdlN_0.js} +3 -3
  293. package/dist/esm/{skeleton-B-oFGeeG.js → skeleton-t69TLGP9.js} +2 -2
  294. package/dist/esm/{spinner-ptEcaLdc.js → spinner-Bo1Ff3L8.js} +2 -2
  295. package/dist/esm/{styled-host-BHVh70Zk.js → styled-host-C7vaWLiB.js} +1 -1
  296. package/dist/esm/table-filters-menu.entry.js +4 -4
  297. package/dist/esm/terminal-orders-list-core.entry.js +10 -10
  298. package/dist/esm/{terminal-orders-list-params-state-Gbxdxjoi.js → terminal-orders-list-params-state-Bn7pL-8x.js} +1 -1
  299. package/dist/esm/{terminal-orders-table-fuxIpfJ2.js → terminal-orders-table-5gemV24y.js} +4 -4
  300. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  301. package/dist/esm/terminal.service-B0Rc9vED.js +27 -0
  302. package/dist/esm/terminals-list-core.entry.js +10 -10
  303. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +16 -0
  304. package/dist/esm/{terminals-table-Dn71oQMb.js → terminals-table-DFxuyQM-.js} +3 -3
  305. package/dist/esm/{utils-B4pV3GWr.js → utils-CK8L6CE7.js} +2 -2
  306. package/dist/esm/webcomponents.js +4 -4
  307. package/dist/module/ApiNew.js +84 -0
  308. package/dist/module/Refund.js +78 -1
  309. package/dist/module/additional-statement.js +2 -2
  310. package/dist/module/badge.js +1 -1
  311. package/dist/module/billing-form.js +1 -1
  312. package/dist/module/business-core-info-form-step-core.js +1 -1
  313. package/dist/module/business-core-info-schema.js +1 -1
  314. package/dist/module/business.service.js +11 -9
  315. package/dist/module/button.js +1 -1
  316. package/dist/module/cancellation-policy.js +2 -2
  317. package/dist/module/checkout-core.js +1 -1
  318. package/dist/module/checkouts-list-core2.js +2 -2
  319. package/dist/module/config-state.js +38 -0
  320. package/dist/module/custom-popper2.js +2 -2
  321. package/dist/module/customer-details.js +2 -2
  322. package/dist/module/dispute-management-core.js +1 -1
  323. package/dist/module/dispute-notification.js +2 -2
  324. package/dist/module/dispute-response-core.js +2 -2
  325. package/dist/module/dispute-response.js +1 -1
  326. package/dist/module/duplicate-charge.js +2 -2
  327. package/dist/module/electronic-evidence.js +2 -2
  328. package/dist/module/event-types3.js +1 -1
  329. package/dist/module/form-alert2.js +1 -1
  330. package/dist/module/form-control-checkbox2.js +3 -3
  331. package/dist/module/form-control-date2.js +2 -2
  332. package/dist/module/form-control-file-v22.js +1 -1
  333. package/dist/module/form-control-file2.js +2 -2
  334. package/dist/module/form-control-monetary-provisioning2.js +1 -1
  335. package/dist/module/form-control-monetary2.js +3 -3
  336. package/dist/module/form-control-number-masked2.js +2 -2
  337. package/dist/module/form-control-number.js +3 -3
  338. package/dist/module/form-control-radio2.js +3 -3
  339. package/dist/module/form-control-select2.js +2 -2
  340. package/dist/module/form-control-text2.js +2 -2
  341. package/dist/module/form-control-textarea2.js +3 -3
  342. package/dist/module/get-business.js +2 -2
  343. package/dist/module/get-payment-details.js +2 -2
  344. package/dist/module/get-payout-csv.js +3 -27
  345. package/dist/module/get-subaccounts.js +8 -8
  346. package/dist/module/gross-payment-chart-core2.js +1 -1
  347. package/dist/module/hidden-input2.js +2 -2
  348. package/dist/module/iframe-input2.js +4 -4
  349. package/dist/module/index.js +1 -1
  350. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  351. package/dist/module/justifi-checkouts-list.js +2 -3
  352. package/dist/module/justifi-config-provider.d.ts +11 -0
  353. package/dist/module/justifi-config-provider.js +45 -0
  354. package/dist/module/justifi-dispute-management.js +1 -1
  355. package/dist/module/justifi-order-terminals.js +8 -13
  356. package/dist/module/justifi-payment-details.js +1 -4
  357. package/dist/module/justifi-payment-transactions-list.d.ts +11 -0
  358. package/dist/module/justifi-payment-transactions-list.js +226 -0
  359. package/dist/module/justifi-payments-list-filters.js +3 -3
  360. package/dist/module/justifi-payments-list.js +4 -7
  361. package/dist/module/justifi-payout-details.js +3 -5
  362. package/dist/module/justifi-payout-transactions-list.d.ts +11 -0
  363. package/dist/module/justifi-payout-transactions-list.js +236 -0
  364. package/dist/module/justifi-payouts-list-filters.js +3 -3
  365. package/dist/module/justifi-payouts-list.js +7 -10
  366. package/dist/module/justifi-refund-payment.js +10 -13
  367. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  368. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  369. package/dist/module/justifi-terminal-orders-list.js +10 -17
  370. package/dist/module/justifi-terminals-list-filters.js +2 -2
  371. package/dist/module/justifi-terminals-list.js +5 -9
  372. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  373. package/dist/module/new-payment-method.js +1 -1
  374. package/dist/module/owner-form-core2.js +1 -1
  375. package/dist/module/package.js +1 -1
  376. package/dist/module/pagination-menu2.js +4 -4
  377. package/dist/module/parts.js +9 -4
  378. package/dist/module/payment-details-core2.js +7 -7
  379. package/dist/module/payment.service.js +10 -12
  380. package/dist/module/payments-list-core2.js +2 -2
  381. package/dist/module/payout-details-core2.js +1 -1
  382. package/dist/module/payout.service.js +24 -0
  383. package/dist/module/payouts-list-core2.js +2 -2
  384. package/dist/module/product-or-service.js +2 -2
  385. package/dist/module/refund-policy.js +2 -2
  386. package/dist/module/saved-payment-method.js +1 -1
  387. package/dist/module/sezzle-payment-method.js +1 -1
  388. package/dist/module/shipping-details.js +2 -2
  389. package/dist/module/spinner.js +1 -1
  390. package/dist/module/table-filters-menu2.js +2 -2
  391. package/dist/module/terminal-orders-list-core2.js +2 -2
  392. package/dist/module/terminal-quantity-selector2.js +2 -2
  393. package/dist/module/terminal.service.js +14 -21
  394. package/dist/module/terminals-list-core2.js +2 -2
  395. package/dist/types/actions/business/get-business.d.ts +1 -2
  396. package/dist/types/actions/payment/get-payment-details.d.ts +1 -2
  397. package/dist/types/actions/payment/get-payment-transactions.d.ts +10 -0
  398. package/dist/types/actions/payment/get-payments.d.ts +1 -2
  399. package/dist/types/actions/payout/get-payout-transactions.d.ts +10 -0
  400. package/dist/types/actions/payout/get-payouts.d.ts +1 -2
  401. package/dist/types/actions/refund/refund-actions.d.ts +1 -2
  402. package/dist/types/actions/sub-account/get-subaccounts.d.ts +1 -2
  403. package/dist/types/actions/terminal/get-terminal-models.d.ts +1 -2
  404. package/dist/types/actions/terminal/get-terminal-orders.d.ts +1 -2
  405. package/dist/types/actions/terminal/get-terminals.d.ts +1 -2
  406. package/dist/types/api/ApiNew.d.ts +61 -0
  407. package/dist/types/api/PaymentBalanceTransaction.d.ts +42 -0
  408. package/dist/types/api/PayoutBalanceTransaction.d.ts +46 -0
  409. package/dist/types/api/index.d.ts +2 -0
  410. package/dist/types/api/services/business.service.d.ts +1 -1
  411. package/dist/types/api/services/payment.service.d.ts +7 -5
  412. package/dist/types/api/services/payout.service.d.ts +10 -7
  413. package/dist/types/api/services/refund.service.d.ts +2 -2
  414. package/dist/types/api/services/subaccounts.service.d.ts +4 -3
  415. package/dist/types/api/services/terminal.service.d.ts +8 -8
  416. package/dist/types/api/services/terminal_orders.service.d.ts +2 -2
  417. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  418. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  419. package/dist/types/components/config-provider/config-provider.d.ts +7 -0
  420. package/dist/types/components/config-provider/config-state.d.ts +13 -0
  421. package/dist/types/components/order-terminals/order-terminals.d.ts +0 -1
  422. package/dist/types/components/payment-details/payment-details.d.ts +0 -1
  423. package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +31 -0
  424. package/dist/types/components/payment-transactions-list/payment-transactions-table.d.ts +43 -0
  425. package/dist/types/components/payments-list/payments-list.d.ts +0 -1
  426. package/dist/types/components/payout-details/get-payout-csv.d.ts +1 -2
  427. package/dist/types/components/payout-details/payout-details.d.ts +0 -1
  428. package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +32 -0
  429. package/dist/types/components/payout-transactions-list/payout-transactions-table.d.ts +45 -0
  430. package/dist/types/components/payouts-list/payouts-list.d.ts +0 -1
  431. package/dist/types/components/refund-payment/refund-payment.d.ts +0 -1
  432. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +0 -1
  433. package/dist/types/components/terminals-list/terminals-list.d.ts +0 -1
  434. package/dist/types/components.d.ts +93 -16
  435. package/dist/types/stencil-public-runtime.d.ts +19 -0
  436. package/dist/types/styles/parts.d.ts +10 -4
  437. package/dist/webcomponents/p-00eb2bc9.entry.js +1 -0
  438. package/dist/webcomponents/p-0c2f2ea9.entry.js +1 -0
  439. package/dist/webcomponents/p-11344996.entry.js +1 -0
  440. package/dist/webcomponents/{p-5a07a84c.entry.js → p-12674a89.entry.js} +1 -1
  441. package/dist/webcomponents/p-19581139.entry.js +1 -0
  442. package/dist/webcomponents/p-19d21f35.entry.js +1 -0
  443. package/dist/webcomponents/p-2294e63b.entry.js +1 -0
  444. package/dist/webcomponents/p-24e04f78.entry.js +1 -0
  445. package/dist/webcomponents/p-2P4kwjNi.js +1 -0
  446. package/dist/webcomponents/{p-a9eff0f2.entry.js → p-30466d27.entry.js} +1 -1
  447. package/dist/webcomponents/p-32c156c6.entry.js +1 -0
  448. package/dist/webcomponents/p-32ff6641.entry.js +1 -0
  449. package/dist/webcomponents/{p-063dd981.entry.js → p-38d6c034.entry.js} +1 -1
  450. package/dist/webcomponents/{p-3147bfe2.entry.js → p-3add8d1b.entry.js} +1 -1
  451. package/dist/webcomponents/{p-cf8f69de.entry.js → p-3c01edb0.entry.js} +1 -1
  452. package/dist/webcomponents/{p-eb31e5c7.entry.js → p-3cd9d9d8.entry.js} +1 -1
  453. package/dist/webcomponents/p-4028ccb0.entry.js +1 -0
  454. package/dist/webcomponents/p-43140695.entry.js +1 -0
  455. package/dist/webcomponents/{p-6d2a48f5.entry.js → p-493c9bd9.entry.js} +1 -1
  456. package/dist/webcomponents/p-4ac754e7.entry.js +1 -0
  457. package/dist/webcomponents/p-4afcb015.entry.js +1 -0
  458. package/dist/webcomponents/p-4c64b1e9.entry.js +1 -0
  459. package/dist/webcomponents/{p-f0301d11.entry.js → p-4e3aca7a.entry.js} +1 -1
  460. package/dist/webcomponents/p-4e489cf9.entry.js +1 -0
  461. package/dist/webcomponents/p-4e61f480.entry.js +1 -0
  462. package/dist/webcomponents/{p-9a9bb294.entry.js → p-4f98895d.entry.js} +1 -1
  463. package/dist/webcomponents/p-4fc851c0.entry.js +1 -0
  464. package/dist/webcomponents/p-526be31d.entry.js +1 -0
  465. package/dist/webcomponents/p-575fc637.entry.js +1 -0
  466. package/dist/webcomponents/p-581ca781.entry.js +1 -0
  467. package/dist/webcomponents/{p-7ddd7122.entry.js → p-5a1238a1.entry.js} +3 -3
  468. package/dist/webcomponents/p-5b4cbfd4.entry.js +1 -0
  469. package/dist/webcomponents/p-5d8d1818.entry.js +1 -0
  470. package/dist/webcomponents/{p-ab99e4c6.entry.js → p-5eb85754.entry.js} +1 -1
  471. package/dist/webcomponents/{p-332ce001.entry.js → p-5f02ec20.entry.js} +1 -1
  472. package/dist/webcomponents/p-6567b171.entry.js +1 -0
  473. package/dist/webcomponents/p-6d701784.entry.js +1 -0
  474. package/dist/webcomponents/p-6n7viK-J.js +1 -0
  475. package/dist/webcomponents/{p-4addd069.entry.js → p-78511d66.entry.js} +1 -1
  476. package/dist/webcomponents/p-7b649051.entry.js +1 -0
  477. package/dist/webcomponents/{p-34cfafed.entry.js → p-805269fd.entry.js} +1 -1
  478. package/dist/webcomponents/p-9d354918.entry.js +1 -0
  479. package/dist/webcomponents/p-AVaenhw9.js +1 -0
  480. package/dist/webcomponents/p-B4Bi1JkP.js +1 -0
  481. package/dist/webcomponents/p-BMDJA9xX.js +1 -0
  482. package/dist/webcomponents/{p-CwHcfOV7.js → p-BQEAUdoy.js} +1 -1
  483. package/dist/webcomponents/p-BS-e1gnL.js +1 -0
  484. package/dist/webcomponents/{p-DoH48u6u.js → p-BXey6mVj.js} +1 -1
  485. package/dist/webcomponents/{p-01wziNa9.js → p-BdNmdBIx.js} +1 -1
  486. package/dist/webcomponents/p-Bl3qFMoN.js +1 -0
  487. package/dist/webcomponents/p-Bl79NorO.js +1 -0
  488. package/dist/webcomponents/p-CN_YheWL.js +1 -0
  489. package/dist/webcomponents/p-CPXN4Ths.js +1 -0
  490. package/dist/webcomponents/p-CSwEbNEl.js +1 -0
  491. package/dist/webcomponents/p-CWpAvtGa.js +1 -0
  492. package/dist/webcomponents/{p-DhEfW-kS.js → p-C_9TcvwA.js} +1 -1
  493. package/dist/webcomponents/{p-BWFriesi.js → p-Cd06j2SL.js} +1 -1
  494. package/dist/webcomponents/p-CegkOiUz.js +1 -0
  495. package/dist/webcomponents/p-CiKdTI9h.js +1 -0
  496. package/dist/webcomponents/{p-0czqizJW.js → p-Cixn6QDS.js} +1 -1
  497. package/dist/webcomponents/p-CjO1GttX.js +1 -0
  498. package/dist/webcomponents/p-D2EbqwBe.js +1 -0
  499. package/dist/webcomponents/p-D5Sh88BE.js +1 -0
  500. package/dist/webcomponents/{p-BuYnqWwT.js → p-D9q8WsW5.js} +1 -1
  501. package/dist/webcomponents/p-DD14E0K0.js +1 -0
  502. package/dist/webcomponents/{p-CTBH4Lj9.js → p-DDEz7_ad.js} +1 -1
  503. package/dist/webcomponents/p-DJzjeg3x.js +1 -0
  504. package/dist/webcomponents/{p-DhQ2XlhY.js → p-DavDfnxI.js} +1 -1
  505. package/dist/webcomponents/p-DjGTAHJM.js +1 -0
  506. package/dist/webcomponents/p-DmIOVniD.js +1 -0
  507. package/dist/webcomponents/p-DniQ6yo6.js +1 -0
  508. package/dist/webcomponents/{p-eYaGyUvS.js → p-Dss1xCBW.js} +1 -1
  509. package/dist/webcomponents/{p-C3nDCvFQ.js → p-DuYlA4lj.js} +1 -1
  510. package/dist/webcomponents/p-Dumd8fMw.js +1 -0
  511. package/dist/webcomponents/{p-D89x2FYg.js → p-DyIEclkx.js} +1 -1
  512. package/dist/webcomponents/p-ERVEQjR2.js +1 -0
  513. package/dist/webcomponents/{p-sXe3gn-5.js → p-GTA6l_sT.js} +1 -1
  514. package/dist/webcomponents/p-KLQjERL5.js +1 -0
  515. package/dist/webcomponents/{p-QYQ4VLoz.js → p-OjYukdAC.js} +1 -1
  516. package/dist/webcomponents/p-_bsEVFir.js +1 -0
  517. package/dist/webcomponents/{p-d5675bf5.entry.js → p-a2f77373.entry.js} +1 -1
  518. package/dist/webcomponents/p-a4c08055.entry.js +1 -0
  519. package/dist/webcomponents/p-a93cceca.entry.js +1 -0
  520. package/dist/webcomponents/p-ab5cde61.entry.js +1 -0
  521. package/dist/webcomponents/p-ac98a15e.entry.js +1 -0
  522. package/dist/webcomponents/p-b0430518.entry.js +1 -0
  523. package/dist/webcomponents/{p-65345bd4.entry.js → p-b05693c6.entry.js} +1 -1
  524. package/dist/webcomponents/{p-2fe9576b.entry.js → p-b182796a.entry.js} +1 -1
  525. package/dist/webcomponents/{p-456f8c0a.entry.js → p-b25b8534.entry.js} +1 -1
  526. package/dist/webcomponents/p-b2db4fae.entry.js +1 -0
  527. package/dist/webcomponents/{p-e52d5ead.entry.js → p-b40108c0.entry.js} +1 -1
  528. package/dist/webcomponents/{p-c558725e.entry.js → p-bb5c9475.entry.js} +1 -1
  529. package/dist/webcomponents/p-bb97192f.entry.js +1 -0
  530. package/dist/webcomponents/{p-4ee6482d.entry.js → p-c77481fe.entry.js} +1 -1
  531. package/dist/webcomponents/p-c899df50.entry.js +1 -0
  532. package/dist/webcomponents/p-ca11ad58.entry.js +1 -0
  533. package/dist/webcomponents/p-d06f7faf.entry.js +1 -0
  534. package/dist/webcomponents/p-d2fbf7ea.entry.js +1 -0
  535. package/dist/webcomponents/p-d7a04fdd.entry.js +1 -0
  536. package/dist/webcomponents/p-d8f7a73b.entry.js +1 -0
  537. package/dist/webcomponents/p-d90b8cc2.entry.js +1 -0
  538. package/dist/webcomponents/p-e558eab8.entry.js +1 -0
  539. package/dist/webcomponents/{p-6c4927e7.entry.js → p-f2dc1405.entry.js} +1 -1
  540. package/dist/webcomponents/p-oPo_KSwO.js +1 -0
  541. package/dist/webcomponents/p-um3YdOwW.js +1 -0
  542. package/dist/webcomponents/p-wqUvt1PB.js +1 -0
  543. package/dist/webcomponents/webcomponents.esm.js +1 -1
  544. package/package.json +1 -1
  545. package/dist/cjs/get-payout-csv-DD9C5yMw.js +0 -49
  546. package/dist/cjs/payment.service-BrHUGHYs.js +0 -23
  547. package/dist/cjs/terminal.service-BjSo5Cm4.js +0 -36
  548. package/dist/cjs/terminals-list-params-state-Cmfy_CND.js +0 -22
  549. package/dist/esm/get-payout-csv-BKq22mOI.js +0 -46
  550. package/dist/esm/payment.service-Co_fPTvK.js +0 -21
  551. package/dist/esm/terminal.service-BLOZ-ZlR.js +0 -34
  552. package/dist/esm/terminals-list-params-state-Gbxdxjoi.js +0 -16
  553. package/dist/webcomponents/p-08d5b491.entry.js +0 -1
  554. package/dist/webcomponents/p-1049c0c5.entry.js +0 -1
  555. package/dist/webcomponents/p-2c2f6743.entry.js +0 -1
  556. package/dist/webcomponents/p-2d80f427.entry.js +0 -1
  557. package/dist/webcomponents/p-2f6c0a07.entry.js +0 -1
  558. package/dist/webcomponents/p-307a0db6.entry.js +0 -1
  559. package/dist/webcomponents/p-3995c8b8.entry.js +0 -1
  560. package/dist/webcomponents/p-3e084a0e.entry.js +0 -1
  561. package/dist/webcomponents/p-43c1c278.entry.js +0 -1
  562. package/dist/webcomponents/p-507f7a31.entry.js +0 -1
  563. package/dist/webcomponents/p-50aa4e4d.entry.js +0 -1
  564. package/dist/webcomponents/p-5dc3a795.entry.js +0 -1
  565. package/dist/webcomponents/p-62bdcca1.entry.js +0 -1
  566. package/dist/webcomponents/p-6a54d69b.entry.js +0 -1
  567. package/dist/webcomponents/p-7414b942.entry.js +0 -1
  568. package/dist/webcomponents/p-80dca817.entry.js +0 -1
  569. package/dist/webcomponents/p-815937bb.entry.js +0 -1
  570. package/dist/webcomponents/p-86fdc0a1.entry.js +0 -1
  571. package/dist/webcomponents/p-98111d03.entry.js +0 -1
  572. package/dist/webcomponents/p-9bbfde16.entry.js +0 -1
  573. package/dist/webcomponents/p-B7ErpLYA.js +0 -1
  574. package/dist/webcomponents/p-BHHWVg32.js +0 -1
  575. package/dist/webcomponents/p-BM61p7vG.js +0 -1
  576. package/dist/webcomponents/p-BODr6HXb.js +0 -1
  577. package/dist/webcomponents/p-BVwkHwTc.js +0 -1
  578. package/dist/webcomponents/p-Bo92MHrs.js +0 -1
  579. package/dist/webcomponents/p-BoPxMyJA.js +0 -1
  580. package/dist/webcomponents/p-BxPlB-C5.js +0 -1
  581. package/dist/webcomponents/p-CB88j97I.js +0 -1
  582. package/dist/webcomponents/p-CGz3XHQc.js +0 -1
  583. package/dist/webcomponents/p-CLBRsaLx.js +0 -1
  584. package/dist/webcomponents/p-CYsU0lEI.js +0 -1
  585. package/dist/webcomponents/p-CjunQqer.js +0 -1
  586. package/dist/webcomponents/p-CnyMKcfC.js +0 -1
  587. package/dist/webcomponents/p-D7s2671S.js +0 -1
  588. package/dist/webcomponents/p-D9t-X0IY.js +0 -1
  589. package/dist/webcomponents/p-DLpKiPxJ.js +0 -1
  590. package/dist/webcomponents/p-Dna7whFY.js +0 -1
  591. package/dist/webcomponents/p-DzPbgN8M.js +0 -1
  592. package/dist/webcomponents/p-JcczGkik.js +0 -1
  593. package/dist/webcomponents/p-ZUQEru6m.js +0 -1
  594. package/dist/webcomponents/p-a22974fd.entry.js +0 -1
  595. package/dist/webcomponents/p-a2bf5919.entry.js +0 -1
  596. package/dist/webcomponents/p-b7053613.entry.js +0 -1
  597. package/dist/webcomponents/p-bb8f7062.entry.js +0 -1
  598. package/dist/webcomponents/p-be04a09c.entry.js +0 -1
  599. package/dist/webcomponents/p-c38c742e.entry.js +0 -1
  600. package/dist/webcomponents/p-c6534f5f.entry.js +0 -1
  601. package/dist/webcomponents/p-c6cf707c.entry.js +0 -1
  602. package/dist/webcomponents/p-c70dcec1.entry.js +0 -1
  603. package/dist/webcomponents/p-c8d608a1.entry.js +0 -1
  604. package/dist/webcomponents/p-ce20d709.entry.js +0 -1
  605. package/dist/webcomponents/p-def42fc7.entry.js +0 -1
  606. package/dist/webcomponents/p-dfcf19f2.entry.js +0 -1
  607. package/dist/webcomponents/p-e0896deb.entry.js +0 -1
  608. package/dist/webcomponents/p-e3962860.entry.js +0 -1
  609. package/dist/webcomponents/p-e3cd72ad.entry.js +0 -1
  610. package/dist/webcomponents/p-eb677eb2.entry.js +0 -1
  611. package/dist/webcomponents/p-f51e4213.entry.js +0 -1
  612. package/dist/webcomponents/p-gAO-RwrF.js +0 -1
  613. package/dist/webcomponents/p-hkXaxw9l.js +0 -1
  614. package/dist/webcomponents/p-p7aAf5_m.js +0 -1
  615. package/dist/webcomponents/p-y-Ys7Rd-.js +0 -1
  616. package/dist/webcomponents/p-z1GJDdMW.js +0 -1
  617. /package/dist/webcomponents/{p-BUM1DfV9.js → p-D6FDxSyt.js} +0 -0
@@ -0,0 +1,24 @@
1
+ import { A as Api } from './ApiNew.js';
2
+
3
+ const api = Api();
4
+ class PayoutService {
5
+ async fetchPayouts(accountId, authToken, params) {
6
+ const endpoint = `account/${accountId}/payouts`;
7
+ return api.get({ authToken, endpoint, params });
8
+ }
9
+ async fetchPayout(payoutId, authToken) {
10
+ const endpoint = `payouts/${payoutId}`;
11
+ return api.get({ authToken, endpoint });
12
+ }
13
+ async fetchCSV(payoutId, authToken) {
14
+ const endpoint = `reports/payouts/${payoutId}`;
15
+ return api.get({ authToken, endpoint });
16
+ }
17
+ async fetchPayoutTransactions(accountId, authToken, params) {
18
+ const endpoint = `balance_transactions`;
19
+ const headers = { 'sub-account': accountId };
20
+ return api.get({ authToken, endpoint, params, headers });
21
+ }
22
+ }
23
+
24
+ export { PayoutService as P };
@@ -6,7 +6,7 @@ import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
9
+ import { n as tableHeadCell, a5 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
10
10
  import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
11
11
  import './details.js';
12
12
  import { M as MapPayoutStatusToBadge } from './payouts-status.js';
@@ -172,7 +172,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
172
172
  return !this.showEmptyState && !this.showErrorState && !this.loading;
173
173
  }
174
174
  render() {
175
- return (h("div", { key: '68e0b1581a72a78c12fa0e6239d62920d3b5d9a2' }, h("div", { key: 'f59a292ac975c941520a841fa51c5610c8e60f54', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: 'be74e83accf6a9de9c6505f0136bfdf68bd64586', class: "table table-hover", part: table }, h("thead", { key: '3e59e5053c2be342c3ba6bc1d28695cf302dadbf', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '1c714c3f40fdcf4e45c37ce2098cd90eb93c9121', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: '4fcbaed0667f3eaac4b7bfc628a2374f8978352e', class: "table-body" }, h(TableLoadingState, { key: '0dcf9c3bfbb228d93b9bac815704453b42aae923', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd0bd0eaf65faf8d1ce9b2634885fb0be0456459d', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'ff4621c3efa8bb45214a8e571babe17bae0d05d3', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'eaf66860e8d302af6bb5e09ea843ce2a2938e06b', class: "sticky-bottom" }, h("tr", { key: '8b6f094a8ac40924a32f613cff0bbcc6b0e19def', class: "table-light align-middle" }, h("td", { key: '6d90ebe89ec368d70fed97dc19b8d20382f5b862', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '836998c60c8e029131b0e83d45b9ce9fb4c36d8c', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
175
+ return (h("div", { key: '7269ad62dd229e55dac396c718469b5e2b923458', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: '52ab8f9384d328d8d1094573545c7e1e112f58c0', class: "table table-hover", part: table }, h("thead", { key: '4fde6f2d3c152d04c35967c1e63ed5520e6c5b64', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '4665781ce140f86394a20a454de94a4ecf19871f', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: '4e673dda87af1a204abba225de77864dd8e60cf6', class: "table-body" }, h(TableLoadingState, { key: 'b54e1e43c91b51d0364bf88198d6070569557ebb', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '45a64238e45671ff3d1a0c636d3ff7afe29dc93d', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '37d9fa23b47e7b77dbd90bbe6759b0c8763cc490', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '04875b5b8414a20e53035c4356d5c6d6e2da1389', class: "sticky-bottom" }, h("tr", { key: '6fd4b360e4449f441b33028e06a1595395cc15e4', class: "table-light align-middle" }, h("td", { key: '3830e46c5e838830c163023f4d904db74421f0e0', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'a3f9cdf107672f067a23c8c3d15b14422606d221', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
176
176
  }
177
177
  static get watchers() { return {
178
178
  "pagingParams": ["updateOnPropChange"],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { W as heading5 } from './parts.js';
4
+ import { Z as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$4 } from './form-control-date2.js';
7
7
  import { d as defineCustomElement$3 } from './form-control-file-v22.js';
@@ -39,7 +39,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
39
39
  }
40
40
  render() {
41
41
  var _a, _b, _c;
42
- return (h("div", { key: '8a6a190848964c16b947093eadd0b0496c86a3f6' }, h("div", { key: 'df6c7de15d25c39b63bba017835c82743679770c', class: "row gy-3" }, h("div", { key: '928aa9285444f905ba3958de0a5a2663946e698f', class: "col-12" }, h("h2", { key: '10d1005631fa68fe52c7e1d6793c4d1a4e9eb0df', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '69ad4e4d6a9a3088f50c00f332dc9b2509560b73', class: "col-12" }, h("form-control-text", { key: '9678d4e8714d1076aed58a7aa81dc8aa0981c5d1', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '245b69ba2746c869aed2bfa5088550de2bf528c0', class: "col-12" }, h("form-control-date", { key: '49ed65ee6c3f45d6cbbecb5547e93e451935c1c7', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '4fd14509e520248d6f7a98eadfb0d65294cad295', class: "col-12" }, h("form-control-file-v2", { key: 'e0b7c1d0a9d9df468bd816c48c649b7d041c523d', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
42
+ return (h("div", { key: '0e2648d399af18f7959bed2e0fff56fd63b541df' }, h("div", { key: '4322c227617147721ab7cf33a5e75a09bc370a0c', class: "row gy-3" }, h("div", { key: 'e2bc9f0642356a864e7fa323262ead13d4825fdc', class: "col-12" }, h("h2", { key: '88af660c9add83da7edc7758d4645db796c80fdf', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'dcfb0f64e1b611eb8d53f97950d5922f7358a64c', class: "col-12" }, h("form-control-text", { key: '42959d4b7c03d14fdef29a656a5f18d0d89d3b2e', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2', class: "col-12" }, h("form-control-date", { key: '6e8bab228b3a23655cbf71fe6dc72a850b38947c', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '2e32f65cc5388302d067fb1a8db34e3e529435c2', class: "col-12" }, h("form-control-file-v2", { key: 'f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
43
43
  }
44
44
  }, [0, "justifi-product-or-service", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { W as heading5 } from './parts.js';
4
+ import { Z as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$4 } from './form-control-file-v22.js';
7
7
  import { d as defineCustomElement$3 } from './form-control-help-text2.js';
@@ -39,7 +39,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
39
39
  }
40
40
  render() {
41
41
  var _a, _b, _c, _d;
42
- return (h("div", { key: '555919c6fe54695c5f4410dfcdb25a4a841a51c6' }, h("div", { key: '73d5a11307041f416ffb90acbe1ecbbd524d51e8', class: "row gy-3" }, h("div", { key: 'c6a60fffff0e40f274abdc855e68a2354e219769', class: "col-12" }, h("h2", { key: '42c21e6b072c5dce901ef31f2f15b9c0696e913c', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '343c7065f8f56a07f61a1a11d581879196e4ffa3', class: "col-12" }, h("form-control-textarea", { key: 'e5efc4251a705d28ba1071b2314cbe6c92c21b83', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '4c78794d8d9a83bd2d6b9ff0a9d97421a9256fe4', class: "col-12" }, h("form-control-textarea", { key: 'e3e0ac85a2675b4eca76f7054ac91e60f1afe006', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'f0fe0a0d045e1797f24161f1a2844b896b9b05a3', class: "col-12" }, h("form-control-file-v2", { key: '57137e5fd1f874ae616e2bd9a491a994be84ec4b', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'c020fd2f747660caa1a5c83af9a40ff1fc804641', class: "col-12" }, h("form-control-file-v2", { key: '72b0fae5f880715bffe856a168509c92799d64c5', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
42
+ return (h("div", { key: '882eb01880bcfdde30abe10465fecd7390654ed6' }, h("div", { key: 'de2f238310e4b80976888d147e90047688ad5ada', class: "row gy-3" }, h("div", { key: '305af62aa762ae6abff0678998132e8f56707550', class: "col-12" }, h("h2", { key: '6e224996b82639c426d129bfd28633f3d3839f6f', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'b2b8d444c594bf92d04fed6640230745c5fb49ba', class: "col-12" }, h("form-control-textarea", { key: 'f75c6c360c485ac5253164be5d4941d859deb902', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '1788d1e6ba1ddbe82795ce1a41b901a81c055f6d', class: "col-12" }, h("form-control-textarea", { key: 'f47fac9b8e0d6b9766311b13c760129bb6335ddd', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'd96552fee8b4cdddf31148b2d3783a4e1dfb031b', class: "col-12" }, h("form-control-file-v2", { key: '3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'ec2271dd9646596df3106f56c6e96f618196046a', class: "col-12" }, h("form-control-file-v2", { key: '48f956f2580187fc7baecc5426d5ed0a1050150b', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
43
43
  }
44
44
  }, [0, "justifi-refund-policy", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { d as snakeToCamel } from './utils2.js';
3
- import { T as radioListItem } from './parts.js';
3
+ import { W as radioListItem } from './parts.js';
4
4
  import { d as defineCustomElement$2 } from './form-control-help-text2.js';
5
5
  import { d as defineCustomElement$1 } from './form-control-radio2.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
2
2
  import { f as formatCurrency } from './utils2.js';
3
- import { T as radioListItem } from './parts.js';
3
+ import { W as radioListItem } from './parts.js';
4
4
  import { d as defineCustomElement$2 } from './form-control-help-text2.js';
5
5
  import { d as defineCustomElement$1 } from './form-control-radio2.js';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { W as heading5 } from './parts.js';
4
+ import { Z as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$7 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$6 } from './form-control-date2.js';
7
7
  import { d as defineCustomElement$5 } from './form-control-file-v22.js';
@@ -44,7 +44,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
44
44
  }
45
45
  render() {
46
46
  var _a, _b, _c, _d, _e;
47
- return (h("div", { key: '204408d4baba27becdef46c7a122fe3bbc27011b' }, h("div", { key: 'e50767be9ec99c5a8d242d48782a6f3f9aea29ff', class: "row gy-3" }, h("div", { key: '537592d2a92257064a9f0819b2365e430a433b11', class: "col-12" }, h("h2", { key: '780e169d16e081a2a3e4bd62dd672bf75e36bc9e', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '378381450d27255773a8e700aeabc651f7028b2b', class: "col-12" }, h("form-control-text", { key: '6c9141ff2a4f6c5a31701e9faa8e9bd2613a88c0', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '408f82d887bae8f874315c1cb1cfc6433b38e633', class: "col-12" }, h("form-control-text", { key: '05473d5da46d51922f74cf75e74e51885be9743a', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '68fd0086e25b62e44c449308d03b6c0527de37bb', class: "col-12" }, h("form-control-date", { key: 'a0d3242f6dfa4ac473e29e4a443d0545bec88b2c', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '0df2accd286fa9d2023d1aace30d90297ce1221e', class: "col-12" }, h("form-control-textarea", { key: 'eb13c952c184bc19d5e188295ec89098d16024f6', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'e958315b88aef8a3830dde2f2a5dc9912fbc7433', class: "col-12" }, h("form-control-file-v2", { key: '97f30c55b70bbfb75342b35ea4e5f832bd78e819', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
47
+ return (h("div", { key: '90641cea619de697d7a90e6e397790f79ceb9376' }, h("div", { key: '52d939e26bd26e99240d100897a530b89553e727', class: "row gy-3" }, h("div", { key: '01755fbca3430bd3066377e9481038370c49b2d8', class: "col-12" }, h("h2", { key: 'd273fbe6ff8b7815ba5c2369748a3a20548b0a4d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '595f4e63dff85591713a4c895acb6628c8ef8214', class: "col-12" }, h("form-control-text", { key: '958169d07544237a72facdc016d4d12ac64a4c48', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '1d3020a30f95c5ced652871a635aba0152bbc4e3', class: "col-12" }, h("form-control-text", { key: '088af20353ec2efcb65a4e597a1fb4aec23cfcbb', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '536ee74c42d326d7f7f698274c846bfebf0d34dd', class: "col-12" }, h("form-control-date", { key: '71ef44bd4c810a567162b7fe92199eceff9be470', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '8887e0daf44be31486563e85cd989eef1da5f5ce', class: "col-12" }, h("form-control-textarea", { key: 'c34093bc4ee65f4fb092c377a98e01cd69bdbc7c', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '469a5d8c7e28fa2ad430f104f08f387448f70048', class: "col-12" }, h("form-control-file-v2", { key: 'a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
48
48
  }
49
49
  }, [0, "justifi-shipping-details", {
50
50
  "disputeResponse": [8, "dispute-response"],
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
- import { r as loadingSpinner } from './parts.js';
2
+ import { w as loadingSpinner } from './parts.js';
3
3
 
4
4
  const Spinner = () => {
5
5
  return (h("div", { class: "d-flex justify-content-center" },
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { B as Button } from './button.js';
3
- import { a1 as dropdownMenu } from './parts.js';
3
+ import { a4 as dropdownMenu } from './parts.js';
4
4
  import { d as defineCustomElement$1 } from './custom-popper2.js';
5
5
 
6
6
  const hasFilters = (params) => {
@@ -29,7 +29,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
29
29
  this.showClearButton = hasFilters(this.params);
30
30
  }
31
31
  render() {
32
- return (h("div", { key: '2f32310a56d15e05ea3d67f3ba0ebfcceeac3cd5', class: "d-flex gap-2" }, h("div", { key: '5c4c2eb818718e48671715444669bc35d6a8bdd0', class: "dropdown pb-3" }, h(Button, { key: 'b9a925e818f08ae06fb9b01cb1dc2952ea80090b', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'faf3cb404faec7b7ad66766ded250553b59cf554', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '7b246ab892bf311ace647ca3708252ecd9293088', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'f1f260d783d47941f0c6b9b90d4b028188b27ec8' })))), h("div", { key: '1eb9a2abd1b4194472474e6d7ac926662019a5e6' }, h(Button, { key: '02e1cd5bc0c043deae704edd65ded465dd5ef9bf', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
32
+ return (h("div", { key: 'b55be2aa2f9d4677989da12bb114f620a9ec2e45', class: "d-flex gap-2" }, h("div", { key: 'dffb2be68ead3abb60a8740869e48bb48bbf558c', class: "dropdown pb-3" }, h(Button, { key: '2e7b2d3afc80963abfe9c8c2690a61b911a1b747', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '9e2b1b988bc5440f18d26c5b8402f5e30e73cdad', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '573161a7515d1b16665138ba739133379b9b6850', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '9597e79f125e1e41c343fa3d2d583b5cf7ab9c31' })))), h("div", { key: '67ed29ac8e10f3ae1380514ae1a1e1e8aed7d9b6' }, h(Button, { key: '9b3dc6176c11226e82ecb1f9f88705ad40bf6e32', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
33
33
  }
34
34
  static get watchers() { return {
35
35
  "params": ["watchParamsHandler"]
@@ -1,6 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
3
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
3
+ import { n as tableHeadCell, a5 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
4
4
  import './details.js';
5
5
  import { h as convertToLocal } from './utils2.js';
6
6
  import './ComponentError.js';
@@ -165,7 +165,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
165
165
  return !this.showEmptyState && !this.showErrorState && !this.loading;
166
166
  }
167
167
  render() {
168
- return (h("div", { key: '22211fd032271f20083a7b85904b7150e1f83fdc' }, h("div", { key: '0f76ac5866f5fc50e2b3fe7889d837e9cb792fbf', class: "table-wrapper" }, h("table", { key: 'c5c0d1fad6791191e7e8b3c0fc1f571886cde243', class: "table table-hover", part: table }, h("thead", { key: 'fc99465274e660c4e78ece7d303d6c11e4a21a2d', class: "table-head sticky-top" }, h("tr", { key: 'ed7e76e48bc34ed0a69a9b5e980181245153b155', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), h("tbody", { key: '5d5b95d48ef93a2d30e9af2acc8a80a3a77f8a4a', class: "table-body" }, h(TableLoadingState, { key: '4a409f123dd9fe7e40ba3088137f722ce803a4cc', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'ab1007e8c417730b91aade5035791126d33fbc73', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '1fd6094de024b38c4037abee441d697a3cbe21f7', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '2a0ea46390d4a2b1c3a18e7d03f1c303f1919310', class: "sticky-bottom" }, h("tr", { key: '299790ab5ba6f64859823d2f83302a5cb08c94fa', class: "table-light align-middle" }, h("td", { key: '6efbdc2b9bb55817a542affaf5a246a36c528af4', part: tableCell, colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '2df3ccd696a3bc59bf2dc485596dff00e0825dcd', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
168
+ return (h("div", { key: '0ae3bd80e00bf8df8f966503bb9e66ebe906a014', class: "table-wrapper" }, h("table", { key: '3f258156e4fa1e7c20ecd594e4965cf1db12db29', class: "table table-hover", part: table }, h("thead", { key: '4a79db4aa98fb270de205ca1b42b648b8f2326eb', class: "table-head sticky-top" }, h("tr", { key: '530320d6061afb4c342a52203257a0f1bc567223', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), h("tbody", { key: '855f54afcb88a51b25fa6ffb55f8ac12df59ede3', class: "table-body" }, h(TableLoadingState, { key: '4d9eef8945c60c4bf0b2f839244e2077cabce5f4', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '3aa523d3e14151dc076e35a7a7818ae39e9f194f', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'f00598602f310205f050b96e3d7419327e7d3ca4', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '523b5e2a99aa51e509295aa7dd743951bfd88bf0', class: "sticky-bottom" }, h("tr", { key: 'b568e6dff207cce3f0960f86cd8086ff20a9cc6c', class: "table-light align-middle" }, h("td", { key: 'deff80464cc797e10343fe3a4746131e341294c1', part: tableCell, colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'd730b13b813bb6880b81a5ba39f6573e16e76bfb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
169
169
  }
170
170
  static get watchers() { return {
171
171
  "pagingParams": ["updateOnPropChange"],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { k as card, V as image, p as buttonLink } from './parts.js';
2
+ import { k as card, Y as image, p as buttonLink } from './parts.js';
3
3
  import { d as defineCustomElement$2 } from './custom-popper2.js';
4
4
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
5
5
 
@@ -24,7 +24,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
24
24
  };
25
25
  }
26
26
  render() {
27
- return (h("div", { key: 'b1beb8bf42e51a46170d968a773f44a5ad70d192', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'd577a7dcb6f065dc2e9f4ae62213dc140f3c5332', class: "d-flex gap-3" }, h("div", { key: 'c6c2a3ad7548af6f2a97d1961fe936b6a11931fd', class: "d-flex align-items-center" }, h("img", { key: '34389c41c40e9665abb781ab71de2e02ad57756d', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '598e28694854767c98fe89a3516fbdc980dc6365', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '66dcdb30e300a5f79a807911bd167bb4b3c3cc57', class: "row" }, h("div", { key: '683b9eb30c4a5bff878551f2f22309a3615941ab', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '4446db6e9f9f2a1557b1693e2f92a0493a1851df', helpText: this.description })), h("div", { key: 'c425f4dc3df14a697739d8a8fe98d890dc8abcb8', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'edb7d30cd3e583a482671f17d36b4974f842ec1a', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '484e27c0b4ceb8c50ee09bc7bf74b8b681a397ae', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'd6d39955ab4705d157c25a4bcfa7f67edc02a3ee', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
27
+ return (h("div", { key: '5bbf669ab479523290b2d8a9f5b6ec2000ff0f96', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '47ead96654c97aeae6b24058a4f7759918d3d0ad', class: "d-flex gap-3" }, h("div", { key: '3763eda68e7849c87f0e67b905e09267c10481c8', class: "d-flex align-items-center" }, h("img", { key: 'ef0a61d5c1d27c600fd93813b594ec2ec2fadec3', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '5a632f69e2045fbfcd35932af3c5fd027dcca66f', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'be00d142f07945a15e882d2da4c505ffbf67fe88', class: "row" }, h("div", { key: '1c434628ae872d22efa7d2adb611b04868c85eb1', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '21f571a1b0e5ba7d528727f6476e134b9657e124', helpText: this.description })), h("div", { key: 'f4077bfa6beb4f0070bdbf4bd28021f88bcaf5b1', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '7dc6853fb7641b99a9a9ee82dcb3db8fce1d6c01', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'faab14e72773f12f69ea69e855bafb27ef3328b8', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '390e6b4b049fa64e2b7354a3676621844291feb0', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
28
28
  }
29
29
  }, [0, "terminal-quantity-selector", {
30
30
  "modelName": [1, "model-name"],
@@ -1,33 +1,26 @@
1
- import { A as Api } from './Api.js';
2
- import './ComponentError.js';
3
- import './Checkout.js';
4
- import './Pagination.js';
5
- import './Payment.js';
6
- import './Refund.js';
7
- import './Document.js';
1
+ import { A as Api } from './ApiNew.js';
8
2
 
3
+ const api = Api();
9
4
  class TerminalService {
10
- async fetchTerminals(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
11
- const headers = { Account: accountId };
12
- const api = Api({ authToken, apiOrigin });
5
+ async fetchTerminals(accountId, authToken, params) {
13
6
  const endpoint = 'terminals';
14
- return api.get({ endpoint, params, headers });
7
+ const headers = { Account: accountId };
8
+ return api.get({ endpoint, params, headers, authToken });
15
9
  }
16
- async fetchTerminal(terminalId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
10
+ async fetchTerminal(terminalId, authToken) {
17
11
  const endpoint = `terminals/${terminalId}`;
18
- return Api({ authToken, apiOrigin: apiOrigin }).get({ endpoint });
12
+ return api.get({ endpoint, authToken });
19
13
  }
20
- async fetchTerminalModels(accountId, authToken, apiOrigin = "") {
21
- const headers = { 'sub-account': accountId };
22
- const api = Api({ authToken, apiOrigin });
14
+ async fetchTerminalModels(accountId, authToken) {
23
15
  const endpoint = 'terminals/order_models';
24
- return api.get({ endpoint, headers });
16
+ const headers = { 'sub-account': accountId };
17
+ return api.get({ endpoint, headers, authToken });
25
18
  }
26
- async orderTerminals(authToken, terminalOrder, apiOrigin = "") {
27
- const headers = { 'sub-account': terminalOrder.sub_account_id };
28
- const api = Api({ authToken, apiOrigin });
19
+ async orderTerminals(authToken, terminalOrder) {
29
20
  const endpoint = 'terminals/orders';
30
- return api.post({ endpoint, body: terminalOrder, headers });
21
+ const body = terminalOrder;
22
+ const headers = { 'sub-account': terminalOrder.sub_account_id };
23
+ return api.post({ endpoint, body, headers, authToken });
31
24
  }
32
25
  }
33
26
 
@@ -6,7 +6,7 @@ import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
9
+ import { n as tableHeadCell, a5 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
10
10
  import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
11
11
  import './details.js';
12
12
  import { B as Badge, a as BadgeVariant } from './badge.js';
@@ -179,7 +179,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
179
179
  return !this.showEmptyState && !this.showErrorState && !this.loading;
180
180
  }
181
181
  render() {
182
- return (h("div", { key: '8831cfa38f962ba4dcf8903eca44931a800a9285' }, h("div", { key: '01d26a4aff98204ccc0fd4db8beb2cc2b021e386', class: "table-wrapper" }, h("table", { key: '036d4a14c61db9b406157425504112dabf4b04bd', class: "table table-hover", part: table }, h("thead", { key: '3782f1b66e447836d93e8b3cc28c09e4fe466ac7', class: "table-head sticky-top" }, h("tr", { key: '3842ccaaadbc3acf0c6caf8e8407aad17d91cae4', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: 'e9f5f7ef0eca1da8ba7e684ba937f7357c8b341a', class: "table-body" }, h(TableLoadingState, { key: '2902cbb3cfa87cdc2ae242ef2cd1001b9b491503', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'f596f3498b67dd40d3a93cd6dfa091cbc67a4cc1', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'e6e67b174a7d8ca353990ae85decbe89539ea504', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '353ba88161fe40528c8ef21271b0ec1a23237264', class: "sticky-bottom" }, h("tr", { key: '6f16d82697452ef4bc1aafa27bb5076e1bb1af54', class: "table-light align-middle" }, h("td", { key: 'bec74cc91feea7eef3bdcd290c2d2e77f6852ad1', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'a7667abca02d28a40ef4c58d8b869b48f9746105', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
182
+ return (h("div", { key: '0bcf251e9a5000e43e78f34311f6be77cf68e352', class: "table-wrapper" }, h("table", { key: '08e48373265fbfe456950b58feda77a941a37acd', class: "table table-hover", part: table }, h("thead", { key: '28f35a8208b90658051434268eeff8a16c30b2f9', class: "table-head sticky-top" }, h("tr", { key: '586c256ee022c9d48e620bb16bad356ea77e73f7', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: 'c2e0488fa871b882e1d05e330048cbdc1d416d12', class: "table-body" }, h(TableLoadingState, { key: '9cd99869854f038b973893335a9d04b0e57cb3c4', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'be37cded55782881d44b426db5a9616c00a06ac8', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2b9cc41992f95b5af083b9bed92ddbab15de8198', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'e72060a2ccf7a0e49b1e64bb7eb0b1ea35b67b38', class: "sticky-bottom" }, h("tr", { key: '9a87f6051212ae8b1e40d4c89be69e9babebe25d', class: "table-light align-middle" }, h("td", { key: 'e485c478dbff6d9ba48febec69f337582fdd7910', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '2ef9119930e7111384533258d9d132f6879e3099', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
183
183
  }
184
184
  static get watchers() { return {
185
185
  "pagingParams": ["updateOnPropChange"],
@@ -1,8 +1,7 @@
1
- export declare const makeGetBusiness: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetBusiness: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin?: string;
6
5
  }) => ({ onSuccess, onError }: {
7
6
  onSuccess: any;
8
7
  onError: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetPaymentDetails: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetPaymentDetails: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ onSuccess, onError, final }: {
7
6
  onSuccess: any;
8
7
  onError: any;
@@ -0,0 +1,10 @@
1
+ export declare const makeGetPaymentTransactions: ({ id, authToken, service }: {
2
+ id: any;
3
+ authToken: any;
4
+ service: any;
5
+ }) => ({ params, onSuccess, onError, final }: {
6
+ params: any;
7
+ onSuccess: any;
8
+ onError: any;
9
+ final: any;
10
+ }) => Promise<void>;
@@ -1,8 +1,7 @@
1
- export declare const makeGetPayments: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetPayments: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError, final }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -0,0 +1,10 @@
1
+ export declare const makeGetPayoutTransactions: ({ accountId, authToken, service }: {
2
+ accountId: any;
3
+ authToken: any;
4
+ service: any;
5
+ }) => ({ params, onSuccess, onError, final }: {
6
+ params: any;
7
+ onSuccess: any;
8
+ onError: any;
9
+ final: any;
10
+ }) => Promise<void>;
@@ -1,8 +1,7 @@
1
- export declare const makeGetPayouts: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetPayouts: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -1,9 +1,8 @@
1
- export declare const makePostRefund: ({ authToken, accountId, paymentId, service, apiOrigin }: {
1
+ export declare const makePostRefund: ({ authToken, accountId, paymentId, service }: {
2
2
  authToken: any;
3
3
  accountId: any;
4
4
  paymentId: any;
5
5
  service: any;
6
- apiOrigin: any;
7
6
  }) => ({ refundBody, onSuccess, onError, final }: {
8
7
  refundBody: any;
9
8
  onSuccess: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetSubAccounts: ({ accountId, authToken, service, apiOrigin }: {
1
+ export declare const makeGetSubAccounts: ({ accountId, authToken, service }: {
2
2
  accountId: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetTerminalModels: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetTerminalModels: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ onSuccess, onError }: {
7
6
  onSuccess: any;
8
7
  onError: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetTerminalOrders: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetTerminalOrders: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError, final }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetTerminals: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetTerminals: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -0,0 +1,61 @@
1
+ import { PagingInfo } from './Pagination';
2
+ export interface IApiResponse<T> {
3
+ data: T;
4
+ error?: IErrorObject | IServerError;
5
+ page_info?: PagingInfo;
6
+ errors?: string[];
7
+ id: number | string;
8
+ type: string;
9
+ }
10
+ export type IServerError = string;
11
+ export interface IErrorObject {
12
+ message: string;
13
+ code: string;
14
+ param?: string;
15
+ }
16
+ export interface IApiResponseCollection<T> extends IApiResponse<T> {
17
+ page_info: PagingInfo;
18
+ }
19
+ interface GetProps {
20
+ authToken: string;
21
+ endpoint: string;
22
+ params?: any;
23
+ signal?: AbortSignal;
24
+ headers?: HeadersInit;
25
+ }
26
+ interface PostProps {
27
+ authToken: string;
28
+ endpoint: string;
29
+ body?: any;
30
+ params?: any;
31
+ signal?: AbortSignal;
32
+ headers?: HeadersInit;
33
+ }
34
+ interface PutProps {
35
+ authToken: string;
36
+ endpoint: string;
37
+ body?: any;
38
+ params?: any;
39
+ signal?: AbortSignal;
40
+ }
41
+ interface PatchProps {
42
+ authToken: string;
43
+ endpoint: string;
44
+ body?: any;
45
+ params?: any;
46
+ signal?: AbortSignal;
47
+ }
48
+ interface DestroyProps {
49
+ authToken: string;
50
+ endpoint: string;
51
+ params?: any;
52
+ signal?: AbortSignal;
53
+ }
54
+ declare const Api: () => {
55
+ get: (props: GetProps) => Promise<any>;
56
+ post: (props: PostProps) => Promise<any>;
57
+ put: (props: PutProps) => Promise<any>;
58
+ patch: (props: PatchProps) => Promise<any>;
59
+ destroy: (props: DestroyProps) => Promise<any>;
60
+ };
61
+ export default Api;
@@ -0,0 +1,42 @@
1
+ import { CurrencyTypes } from "./Payment";
2
+ export declare enum PaymentBalanceTxnType {
3
+ payment = "payment",
4
+ paymentFee = "payment_fee",
5
+ payout = "payout",
6
+ refund = "refund",
7
+ feeRefund = "fee_refund",
8
+ dispute = "dispute",
9
+ disputeFee = "dispute_fee",
10
+ disputeFeeRefund = "dispute_fee_refund",
11
+ disputeRefund = "dispute_refund",
12
+ applicationFeeReturned = "application_fee_returned"
13
+ }
14
+ export interface IPaymentBalanceTransaction {
15
+ id: string;
16
+ amount: number;
17
+ balance: number;
18
+ currency: CurrencyTypes;
19
+ financial_transaction_id: string;
20
+ payment_id: string;
21
+ payment_balance_txn_type: PaymentBalanceTxnType;
22
+ source_id: string;
23
+ source_type: string;
24
+ created_at: string;
25
+ updated_at: string;
26
+ }
27
+ export declare class PaymentBalanceTransaction implements IPaymentBalanceTransaction {
28
+ id: string;
29
+ amount: number;
30
+ balance: number;
31
+ currency: CurrencyTypes;
32
+ financial_transaction_id: string;
33
+ payment_id: string;
34
+ payment_balance_txn_type: PaymentBalanceTxnType;
35
+ source_id: string;
36
+ source_type: string;
37
+ created_at: string;
38
+ updated_at: string;
39
+ constructor(balanceTransaction: IPaymentBalanceTransaction);
40
+ get displayTransactionId(): string;
41
+ formattedPaymentAmount(amount: number): string;
42
+ }
@@ -0,0 +1,46 @@
1
+ import { CurrencyTypes } from "./Payment";
2
+ export declare enum PayoutBalanceTransactionType {
3
+ fee = "fee",
4
+ payment = "payment",
5
+ payout = "payout",
6
+ sellerPaymentRefund = "seller_payment_refund",
7
+ disputeAmountCollected = "dispute_amount_collected",
8
+ disputeFeeCollected = "dispute_fee_collected",
9
+ sellerPayment = "seller_payment",
10
+ transfer = "transfer",
11
+ partnerPlatformProceedsCredit = "partner_platform_proceeds_credit"
12
+ }
13
+ export interface IPayoutBalanceTransaction {
14
+ id: string;
15
+ account_id: string;
16
+ payout_id: string;
17
+ financial_transaction_id: string;
18
+ amount: number;
19
+ fee: number;
20
+ net: number;
21
+ currency: CurrencyTypes;
22
+ description: string;
23
+ source_id: string;
24
+ txn_type: PayoutBalanceTransactionType;
25
+ created_at: string;
26
+ available_on: string;
27
+ updated_at: string;
28
+ }
29
+ export declare class PayoutBalanceTransaction implements IPayoutBalanceTransaction {
30
+ id: string;
31
+ account_id: string;
32
+ payout_id: string;
33
+ financial_transaction_id: string;
34
+ amount: number;
35
+ fee: number;
36
+ net: number;
37
+ currency: CurrencyTypes;
38
+ description: string;
39
+ source_id: string;
40
+ txn_type: PayoutBalanceTransactionType;
41
+ created_at: string;
42
+ available_on: string;
43
+ updated_at: string;
44
+ constructor(balanceTransaction: IPayoutBalanceTransaction);
45
+ formattedPaymentAmount(amount: number): string;
46
+ }
@@ -6,7 +6,9 @@ export * from './Checkout';
6
6
  export * from './Insurance';
7
7
  export * from './Pagination';
8
8
  export * from './Payment';
9
+ export * from './PaymentBalanceTransaction';
9
10
  export * from './Payout';
11
+ export * from './PayoutBalanceTransaction';
10
12
  export * from './Terminal';
11
13
  export * from './TerminalOrder';
12
14
  export * from './TerminalModel';
@@ -8,7 +8,7 @@ export interface IBusinessService {
8
8
  patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
9
9
  }
10
10
  export declare class BusinessService implements IBusinessService {
11
- fetchBusiness(businessId: string, authToken: string, apiOrigin?: string): Promise<IApiResponse<IBusiness>>;
11
+ fetchBusiness(businessId: string, authToken: string): Promise<IApiResponse<IBusiness>>;
12
12
  patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
13
13
  }
14
14
  export interface IdentityService {
@@ -1,9 +1,11 @@
1
- import { IApiResponseCollection, IApiResponse, IPayment } from '..';
1
+ import { IApiResponseCollection, IApiResponse, IPayment, IPaymentBalanceTransaction } from '..';
2
2
  export interface IPaymentService {
3
- fetchPayments(accountId: string, authToken: string, params: any, apiOrigin?: string): Promise<IApiResponseCollection<IPayment[]>>;
4
- fetchPayment(paymentId: string, authToken: string, apiOrigin?: string): Promise<IApiResponse<IPayment>>;
3
+ fetchPayments(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<IPayment[]>>;
4
+ fetchPayment(paymentId: string, authToken: string): Promise<IApiResponse<IPayment>>;
5
+ fetchPaymentTransactions(paymentId: string, params: any, authToken: string): Promise<IApiResponseCollection<any>>;
5
6
  }
6
7
  export declare class PaymentService implements IPaymentService {
7
- fetchPayments(accountId: string, authToken: string, params: any, apiOrigin?: string): Promise<IApiResponseCollection<IPayment[]>>;
8
- fetchPayment(paymentId: string, authToken: string, apiOrigin?: string): Promise<IApiResponse<IPayment>>;
8
+ fetchPayments(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<IPayment[]>>;
9
+ fetchPayment(paymentId: string, authToken: string): Promise<IApiResponse<IPayment>>;
10
+ fetchPaymentTransactions(paymentId: string, authToken: string, params: any): Promise<IApiResponseCollection<IPaymentBalanceTransaction[]>>;
9
11
  }