@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.
- package/dist/cjs/ApiNew-DG13rvk6.js +86 -0
- package/dist/cjs/{Refund-DpKGhW3o.js → Refund-CpurRc4w.js} +79 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-BXpCpcer.js → badge-ByWVHNyJ.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +7 -7
- package/dist/cjs/bank-account-form_9.cjs.entry.js +7 -7
- package/dist/cjs/{business-additional-questions-schema-mzZ2gYHQ.js → business-additional-questions-schema-gVepoR4V.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{business.service-Crmkeulk.js → business.service-Vcq4kPU8.js} +4 -2
- package/dist/cjs/{button-KWTLx2LP.js → button-Bn9jOYbx.js} +2 -2
- package/dist/cjs/{check-pkg-version-CLsX6cK5.js → check-pkg-version-7gGchZzS.js} +1 -1
- package/dist/cjs/{checkout.service-r90INf2g.js → checkout.service-DP9FnXBx.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{payments-list-params-state-Cmfy_CND.js → checkouts-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{checkouts-table-5jU4JUcM.js → checkouts-table-C_cpZa-i.js} +3 -3
- package/dist/cjs/config-state-Bm8-EuFE.js +42 -0
- package/dist/cjs/custom-popper_4.cjs.entry.js +9 -9
- package/dist/cjs/{dispute.service-CGgfmGU-.js → dispute.service-F-M8EJxq.js} +1 -1
- package/dist/cjs/{event-types-CJapDsYA.js → event-types-cB_-SsYZ.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-control-date.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-error-text-D19AMaOO.js → form-control-error-text-CBAVQoZ3.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
- package/dist/cjs/{form-control-help-text-CbrDvt9D.js → form-control-help-text-DQz5O3wX.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +6 -6
- package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-BBzGEPBG.js → get-business-DHg5rpse.js} +2 -2
- package/dist/cjs/{get-payment-details-CKg1Lb3_.js → get-payment-details-DqvDYbnK.js} +3 -3
- package/dist/cjs/get-payout-csv-CXEQkjDm.js +24 -0
- package/dist/cjs/{get-subaccounts-YlFT-fBr.js → get-subaccounts-CasN5tDA.js} +9 -9
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-ZNnpq6yT.js → header-1-Bl1S9jV8.js} +2 -2
- package/dist/cjs/{header-3-D6LxdW_A.js → header-3-DYzIjFIZ.js} +2 -2
- package/dist/cjs/{iframe-input-styles-state-CQL59u0d.js → iframe-input-styles-state-D9vhHzZQ.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +9 -9
- package/dist/cjs/{index-DhcqPIbT.js → index-B8ljHEN1.js} +1 -1
- package/dist/cjs/{index-DtkhH7sB.js → index-BYd8IvAa.js} +1 -1
- package/dist/cjs/{insurance-state-q5eNmjIK.js → insurance-state-BbmHHQl0.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +7 -7
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -5
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -13
- package/dist/cjs/justifi-config-provider.cjs.entry.js +26 -0
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -12
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -20
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payment-details.cjs.entry.js +13 -12
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +196 -0
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -17
- package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +205 -0
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -19
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +22 -21
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +20 -23
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -18
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +8 -8
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-5B4P3NpD.js → package-CseQI95t.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
- package/dist/cjs/{parts-D_uKOPFe.js → parts-Du1T2dvF.js} +12 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment.service-CAJSEb2x.js +21 -0
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payouts-list-params-state-Cmfy_CND.js → payments-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{payments-status-DAzq_Z13.js → payments-status-hksfHuBH.js} +2 -2
- package/dist/cjs/{payments-table-BEpL6oJQ.js → payments-table-CmvP6owu.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
- package/dist/cjs/payout.service-wOnSu52a.js +26 -0
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{terminal-orders-list-params-state-Cmfy_CND.js → payouts-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{payouts-status-CYrKPRld.js → payouts-status-DfNhfSsm.js} +2 -2
- package/dist/cjs/{payouts-table-Bbi23U5v.js → payouts-table-CpgWxl8A.js} +3 -3
- package/dist/cjs/{skeleton-C59M0QK2.js → skeleton-BFtuPBwQ.js} +2 -2
- package/dist/cjs/{spinner-736baCoH.js → spinner-C9z2tkh2.js} +2 -2
- package/dist/cjs/{styled-host-JifnTMIV.js → styled-host-udkBJV5h.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{checkouts-list-params-state-Cmfy_CND.js → terminal-orders-list-params-state-BvG5Ysrg.js} +1 -1
- package/dist/cjs/{terminal-orders-table-w4Yaf83b.js → terminal-orders-table-CpVY3VsQ.js} +4 -4
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
- package/dist/cjs/terminal.service-cGQB3xiL.js +29 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +22 -0
- package/dist/cjs/{terminals-table-F6pkR97i.js → terminals-table-DRQQjYAE.js} +3 -3
- package/dist/cjs/{utils-D3seTk2e.js → utils-B_Ol6YlL.js} +2 -2
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/actions/business/get-business.js +2 -2
- package/dist/collection/actions/payment/get-payment-details.js +2 -2
- package/dist/collection/actions/payment/get-payment-transactions.js +34 -0
- package/dist/collection/actions/payment/get-payments.js +2 -2
- package/dist/collection/actions/payout/get-payout-transactions.js +34 -0
- package/dist/collection/actions/payout/get-payouts.js +2 -2
- package/dist/collection/actions/refund/refund-actions.js +2 -2
- package/dist/collection/actions/sub-account/get-subaccounts.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-orders.js +2 -2
- package/dist/collection/actions/terminal/get-terminals.js +2 -2
- package/dist/collection/api/ApiNew.js +82 -0
- package/dist/collection/api/PaymentBalanceTransaction.js +45 -0
- package/dist/collection/api/PayoutBalanceTransaction.js +35 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/business.service.js +4 -2
- package/dist/collection/api/services/payment.service.js +10 -6
- package/dist/collection/api/services/payout.service.js +13 -10
- package/dist/collection/api/services/refund.service.js +5 -4
- package/dist/collection/api/services/subaccounts.service.js +5 -5
- package/dist/collection/api/services/terminal.service.js +14 -15
- package/dist/collection/api/services/terminal_orders.service.js +5 -9
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +2 -3
- package/dist/collection/components/config-provider/config-provider.js +83 -0
- package/dist/collection/components/config-provider/config-state.js +36 -0
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +4 -28
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-details/payment-details.js +1 -23
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +226 -0
- package/dist/collection/components/payment-transactions-list/payment-transactions-table.js +45 -0
- package/dist/collection/components/payments-list/payments-list-core.js +2 -2
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +2 -24
- package/dist/collection/components/payout-details/get-payout-csv.js +2 -2
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +1 -23
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +230 -0
- package/dist/collection/components/payout-transactions-list/payout-transactions-table.js +47 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +3 -26
- package/dist/collection/components/refund-payment/refund-payment.js +2 -25
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +2 -24
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +3 -26
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/styles/parts.js +10 -3
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
- package/dist/docs.json +347 -165
- package/dist/esm/ApiNew-UOnmIWcv.js +84 -0
- package/dist/esm/{Refund-t_P1yy9d.js → Refund-DOvd7RJp.js} +78 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-C4TzL9CB.js → badge-B191hCAo.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
- package/dist/esm/bank-account-form_9.entry.js +7 -7
- package/dist/esm/{business-additional-questions-schema-W6okG5Xu.js → business-additional-questions-schema-DWnZs60Z.js} +1 -1
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business.service-B136meVo.js → business.service-B1VD22Tz.js} +11 -9
- package/dist/esm/{button-CI85Rqy5.js → button-BRFA5syj.js} +2 -2
- package/dist/esm/{check-pkg-version-Wd4E_Njt.js → check-pkg-version-DpVT68Qo.js} +1 -1
- package/dist/esm/{checkout.service-4tnXBKGq.js → checkout.service-92ld4w-G.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-list-params-state-Gbxdxjoi.js → checkouts-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{checkouts-table-CHM4YCCZ.js → checkouts-table-BIO5rpvV.js} +3 -3
- package/dist/esm/config-state-Bl6vWekp.js +38 -0
- package/dist/esm/custom-popper_4.entry.js +9 -9
- package/dist/esm/{dispute.service-Bwh8pBe9.js → dispute.service-H2Oaq2af.js} +1 -1
- package/dist/esm/{event-types-CooIFpFI.js → event-types-BIryDMGV.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-3q5yVuMQ.js → form-control-error-text-CVPFeRt0.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-BplkZkPF.js → form-control-help-text-D-ReDn6e.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{get-business-B3c5gg1D.js → get-business-CIKToQur.js} +2 -2
- package/dist/esm/{get-payment-details-BbZmEGge.js → get-payment-details-CXiGG9cO.js} +3 -3
- package/dist/esm/get-payout-csv-D7IYYqVL.js +22 -0
- package/dist/esm/{get-subaccounts-58LQOtEI.js → get-subaccounts-COe5GtaY.js} +9 -9
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-BX6i3__G.js → header-1-ClU-iUGF.js} +2 -2
- package/dist/esm/{header-3-D0Sy-7DJ.js → header-3-jLYjhsUb.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-DyXIZw1A.js → iframe-input-styles-state-ibYqbF--.js} +1 -1
- package/dist/esm/iframe-input.entry.js +9 -9
- package/dist/esm/{index-Cuk6aIda.js → index-Cc3u0uDC.js} +1 -1
- package/dist/esm/{index-BUM1DfV9.js → index-D6FDxSyt.js} +1 -1
- package/dist/esm/{insurance-state-BhklYgGK.js → insurance-state-5MPrBdwI.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +7 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +8 -5
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +10 -7
- package/dist/esm/justifi-business-form.entry.js +10 -10
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list.entry.js +15 -13
- package/dist/esm/justifi-config-provider.entry.js +24 -0
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +12 -12
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +19 -20
- package/dist/esm/justifi-owner-form_3.entry.js +7 -4
- package/dist/esm/justifi-payment-details.entry.js +13 -12
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +7 -4
- package/dist/esm/justifi-payment-transactions-list.entry.js +194 -0
- package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payments-list.entry.js +18 -17
- package/dist/esm/justifi-payout-details.entry.js +13 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +203 -0
- package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payouts-list.entry.js +20 -19
- package/dist/esm/justifi-refund-payment.entry.js +22 -21
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +20 -23
- package/dist/esm/justifi-terminals-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminals-list.entry.js +18 -18
- package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -8
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-gAO-RwrF.js → package-D2EbqwBe.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-CB88j97I.js → parts-CjO1GttX.js} +9 -4
- package/dist/esm/payment-details-core.entry.js +14 -14
- package/dist/esm/payment.service-B9_zvpM_.js +19 -0
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-list-params-state-Gbxdxjoi.js → payments-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{payments-status-BLhcMfnC.js → payments-status-CQQH_5oM.js} +2 -2
- package/dist/esm/{payments-table-VcaC77NC.js → payments-table-BdQtWUO-.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/payout.service-BGSaI-j9.js +24 -0
- package/dist/esm/payouts-list-core.entry.js +11 -11
- package/dist/esm/{payouts-list-params-state-Gbxdxjoi.js → payouts-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{payouts-status-B9SSljnL.js → payouts-status-Cz9DL-Ph.js} +2 -2
- package/dist/esm/{payouts-table-DWBaNPmV.js → payouts-table-bOrdlN_0.js} +3 -3
- package/dist/esm/{skeleton-B-oFGeeG.js → skeleton-t69TLGP9.js} +2 -2
- package/dist/esm/{spinner-ptEcaLdc.js → spinner-Bo1Ff3L8.js} +2 -2
- package/dist/esm/{styled-host-BHVh70Zk.js → styled-host-C7vaWLiB.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +10 -10
- package/dist/esm/{terminal-orders-list-params-state-Gbxdxjoi.js → terminal-orders-list-params-state-Bn7pL-8x.js} +1 -1
- package/dist/esm/{terminal-orders-table-fuxIpfJ2.js → terminal-orders-table-5gemV24y.js} +4 -4
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/terminal.service-B0Rc9vED.js +27 -0
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +16 -0
- package/dist/esm/{terminals-table-Dn71oQMb.js → terminals-table-DFxuyQM-.js} +3 -3
- package/dist/esm/{utils-B4pV3GWr.js → utils-CK8L6CE7.js} +2 -2
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/ApiNew.js +84 -0
- package/dist/module/Refund.js +78 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/billing-form.js +1 -1
- package/dist/module/business-core-info-form-step-core.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business.service.js +11 -9
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/checkouts-list-core2.js +2 -2
- package/dist/module/config-state.js +38 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/event-types3.js +1 -1
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +1 -1
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +3 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +2 -2
- package/dist/module/get-payout-csv.js +3 -27
- package/dist/module/get-subaccounts.js +8 -8
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/index.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -3
- package/dist/module/justifi-config-provider.d.ts +11 -0
- package/dist/module/justifi-config-provider.js +45 -0
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-order-terminals.js +8 -13
- package/dist/module/justifi-payment-details.js +1 -4
- package/dist/module/justifi-payment-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payment-transactions-list.js +226 -0
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +4 -7
- package/dist/module/justifi-payout-details.js +3 -5
- package/dist/module/justifi-payout-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payout-transactions-list.js +236 -0
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +7 -10
- package/dist/module/justifi-refund-payment.js +10 -13
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +10 -17
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +5 -9
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/new-payment-method.js +1 -1
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +9 -4
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment.service.js +10 -12
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payout.service.js +24 -0
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminal.service.js +14 -21
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/types/actions/business/get-business.d.ts +1 -2
- package/dist/types/actions/payment/get-payment-details.d.ts +1 -2
- package/dist/types/actions/payment/get-payment-transactions.d.ts +10 -0
- package/dist/types/actions/payment/get-payments.d.ts +1 -2
- package/dist/types/actions/payout/get-payout-transactions.d.ts +10 -0
- package/dist/types/actions/payout/get-payouts.d.ts +1 -2
- package/dist/types/actions/refund/refund-actions.d.ts +1 -2
- package/dist/types/actions/sub-account/get-subaccounts.d.ts +1 -2
- package/dist/types/actions/terminal/get-terminal-models.d.ts +1 -2
- package/dist/types/actions/terminal/get-terminal-orders.d.ts +1 -2
- package/dist/types/actions/terminal/get-terminals.d.ts +1 -2
- package/dist/types/api/ApiNew.d.ts +61 -0
- package/dist/types/api/PaymentBalanceTransaction.d.ts +42 -0
- package/dist/types/api/PayoutBalanceTransaction.d.ts +46 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/business.service.d.ts +1 -1
- package/dist/types/api/services/payment.service.d.ts +7 -5
- package/dist/types/api/services/payout.service.d.ts +10 -7
- package/dist/types/api/services/refund.service.d.ts +2 -2
- package/dist/types/api/services/subaccounts.service.d.ts +4 -3
- package/dist/types/api/services/terminal.service.d.ts +8 -8
- package/dist/types/api/services/terminal_orders.service.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/config-provider/config-provider.d.ts +7 -0
- package/dist/types/components/config-provider/config-state.d.ts +13 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +0 -1
- package/dist/types/components/payment-details/payment-details.d.ts +0 -1
- package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +31 -0
- package/dist/types/components/payment-transactions-list/payment-transactions-table.d.ts +43 -0
- package/dist/types/components/payments-list/payments-list.d.ts +0 -1
- package/dist/types/components/payout-details/get-payout-csv.d.ts +1 -2
- package/dist/types/components/payout-details/payout-details.d.ts +0 -1
- package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +32 -0
- package/dist/types/components/payout-transactions-list/payout-transactions-table.d.ts +45 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +0 -1
- package/dist/types/components/refund-payment/refund-payment.d.ts +0 -1
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +0 -1
- package/dist/types/components/terminals-list/terminals-list.d.ts +0 -1
- package/dist/types/components.d.ts +93 -16
- package/dist/types/stencil-public-runtime.d.ts +19 -0
- package/dist/types/styles/parts.d.ts +10 -4
- package/dist/webcomponents/p-00eb2bc9.entry.js +1 -0
- package/dist/webcomponents/p-0c2f2ea9.entry.js +1 -0
- package/dist/webcomponents/p-11344996.entry.js +1 -0
- package/dist/webcomponents/{p-5a07a84c.entry.js → p-12674a89.entry.js} +1 -1
- package/dist/webcomponents/p-19581139.entry.js +1 -0
- package/dist/webcomponents/p-19d21f35.entry.js +1 -0
- package/dist/webcomponents/p-2294e63b.entry.js +1 -0
- package/dist/webcomponents/p-24e04f78.entry.js +1 -0
- package/dist/webcomponents/p-2P4kwjNi.js +1 -0
- package/dist/webcomponents/{p-a9eff0f2.entry.js → p-30466d27.entry.js} +1 -1
- package/dist/webcomponents/p-32c156c6.entry.js +1 -0
- package/dist/webcomponents/p-32ff6641.entry.js +1 -0
- package/dist/webcomponents/{p-063dd981.entry.js → p-38d6c034.entry.js} +1 -1
- package/dist/webcomponents/{p-3147bfe2.entry.js → p-3add8d1b.entry.js} +1 -1
- package/dist/webcomponents/{p-cf8f69de.entry.js → p-3c01edb0.entry.js} +1 -1
- package/dist/webcomponents/{p-eb31e5c7.entry.js → p-3cd9d9d8.entry.js} +1 -1
- package/dist/webcomponents/p-4028ccb0.entry.js +1 -0
- package/dist/webcomponents/p-43140695.entry.js +1 -0
- package/dist/webcomponents/{p-6d2a48f5.entry.js → p-493c9bd9.entry.js} +1 -1
- package/dist/webcomponents/p-4ac754e7.entry.js +1 -0
- package/dist/webcomponents/p-4afcb015.entry.js +1 -0
- package/dist/webcomponents/p-4c64b1e9.entry.js +1 -0
- package/dist/webcomponents/{p-f0301d11.entry.js → p-4e3aca7a.entry.js} +1 -1
- package/dist/webcomponents/p-4e489cf9.entry.js +1 -0
- package/dist/webcomponents/p-4e61f480.entry.js +1 -0
- package/dist/webcomponents/{p-9a9bb294.entry.js → p-4f98895d.entry.js} +1 -1
- package/dist/webcomponents/p-4fc851c0.entry.js +1 -0
- package/dist/webcomponents/p-526be31d.entry.js +1 -0
- package/dist/webcomponents/p-575fc637.entry.js +1 -0
- package/dist/webcomponents/p-581ca781.entry.js +1 -0
- package/dist/webcomponents/{p-7ddd7122.entry.js → p-5a1238a1.entry.js} +3 -3
- package/dist/webcomponents/p-5b4cbfd4.entry.js +1 -0
- package/dist/webcomponents/p-5d8d1818.entry.js +1 -0
- package/dist/webcomponents/{p-ab99e4c6.entry.js → p-5eb85754.entry.js} +1 -1
- package/dist/webcomponents/{p-332ce001.entry.js → p-5f02ec20.entry.js} +1 -1
- package/dist/webcomponents/p-6567b171.entry.js +1 -0
- package/dist/webcomponents/p-6d701784.entry.js +1 -0
- package/dist/webcomponents/p-6n7viK-J.js +1 -0
- package/dist/webcomponents/{p-4addd069.entry.js → p-78511d66.entry.js} +1 -1
- package/dist/webcomponents/p-7b649051.entry.js +1 -0
- package/dist/webcomponents/{p-34cfafed.entry.js → p-805269fd.entry.js} +1 -1
- package/dist/webcomponents/p-9d354918.entry.js +1 -0
- package/dist/webcomponents/p-AVaenhw9.js +1 -0
- package/dist/webcomponents/p-B4Bi1JkP.js +1 -0
- package/dist/webcomponents/p-BMDJA9xX.js +1 -0
- package/dist/webcomponents/{p-CwHcfOV7.js → p-BQEAUdoy.js} +1 -1
- package/dist/webcomponents/p-BS-e1gnL.js +1 -0
- package/dist/webcomponents/{p-DoH48u6u.js → p-BXey6mVj.js} +1 -1
- package/dist/webcomponents/{p-01wziNa9.js → p-BdNmdBIx.js} +1 -1
- package/dist/webcomponents/p-Bl3qFMoN.js +1 -0
- package/dist/webcomponents/p-Bl79NorO.js +1 -0
- package/dist/webcomponents/p-CN_YheWL.js +1 -0
- package/dist/webcomponents/p-CPXN4Ths.js +1 -0
- package/dist/webcomponents/p-CSwEbNEl.js +1 -0
- package/dist/webcomponents/p-CWpAvtGa.js +1 -0
- package/dist/webcomponents/{p-DhEfW-kS.js → p-C_9TcvwA.js} +1 -1
- package/dist/webcomponents/{p-BWFriesi.js → p-Cd06j2SL.js} +1 -1
- package/dist/webcomponents/p-CegkOiUz.js +1 -0
- package/dist/webcomponents/p-CiKdTI9h.js +1 -0
- package/dist/webcomponents/{p-0czqizJW.js → p-Cixn6QDS.js} +1 -1
- package/dist/webcomponents/p-CjO1GttX.js +1 -0
- package/dist/webcomponents/p-D2EbqwBe.js +1 -0
- package/dist/webcomponents/p-D5Sh88BE.js +1 -0
- package/dist/webcomponents/{p-BuYnqWwT.js → p-D9q8WsW5.js} +1 -1
- package/dist/webcomponents/p-DD14E0K0.js +1 -0
- package/dist/webcomponents/{p-CTBH4Lj9.js → p-DDEz7_ad.js} +1 -1
- package/dist/webcomponents/p-DJzjeg3x.js +1 -0
- package/dist/webcomponents/{p-DhQ2XlhY.js → p-DavDfnxI.js} +1 -1
- package/dist/webcomponents/p-DjGTAHJM.js +1 -0
- package/dist/webcomponents/p-DmIOVniD.js +1 -0
- package/dist/webcomponents/p-DniQ6yo6.js +1 -0
- package/dist/webcomponents/{p-eYaGyUvS.js → p-Dss1xCBW.js} +1 -1
- package/dist/webcomponents/{p-C3nDCvFQ.js → p-DuYlA4lj.js} +1 -1
- package/dist/webcomponents/p-Dumd8fMw.js +1 -0
- package/dist/webcomponents/{p-D89x2FYg.js → p-DyIEclkx.js} +1 -1
- package/dist/webcomponents/p-ERVEQjR2.js +1 -0
- package/dist/webcomponents/{p-sXe3gn-5.js → p-GTA6l_sT.js} +1 -1
- package/dist/webcomponents/p-KLQjERL5.js +1 -0
- package/dist/webcomponents/{p-QYQ4VLoz.js → p-OjYukdAC.js} +1 -1
- package/dist/webcomponents/p-_bsEVFir.js +1 -0
- package/dist/webcomponents/{p-d5675bf5.entry.js → p-a2f77373.entry.js} +1 -1
- package/dist/webcomponents/p-a4c08055.entry.js +1 -0
- package/dist/webcomponents/p-a93cceca.entry.js +1 -0
- package/dist/webcomponents/p-ab5cde61.entry.js +1 -0
- package/dist/webcomponents/p-ac98a15e.entry.js +1 -0
- package/dist/webcomponents/p-b0430518.entry.js +1 -0
- package/dist/webcomponents/{p-65345bd4.entry.js → p-b05693c6.entry.js} +1 -1
- package/dist/webcomponents/{p-2fe9576b.entry.js → p-b182796a.entry.js} +1 -1
- package/dist/webcomponents/{p-456f8c0a.entry.js → p-b25b8534.entry.js} +1 -1
- package/dist/webcomponents/p-b2db4fae.entry.js +1 -0
- package/dist/webcomponents/{p-e52d5ead.entry.js → p-b40108c0.entry.js} +1 -1
- package/dist/webcomponents/{p-c558725e.entry.js → p-bb5c9475.entry.js} +1 -1
- package/dist/webcomponents/p-bb97192f.entry.js +1 -0
- package/dist/webcomponents/{p-4ee6482d.entry.js → p-c77481fe.entry.js} +1 -1
- package/dist/webcomponents/p-c899df50.entry.js +1 -0
- package/dist/webcomponents/p-ca11ad58.entry.js +1 -0
- package/dist/webcomponents/p-d06f7faf.entry.js +1 -0
- package/dist/webcomponents/p-d2fbf7ea.entry.js +1 -0
- package/dist/webcomponents/p-d7a04fdd.entry.js +1 -0
- package/dist/webcomponents/p-d8f7a73b.entry.js +1 -0
- package/dist/webcomponents/p-d90b8cc2.entry.js +1 -0
- package/dist/webcomponents/p-e558eab8.entry.js +1 -0
- package/dist/webcomponents/{p-6c4927e7.entry.js → p-f2dc1405.entry.js} +1 -1
- package/dist/webcomponents/p-oPo_KSwO.js +1 -0
- package/dist/webcomponents/p-um3YdOwW.js +1 -0
- package/dist/webcomponents/p-wqUvt1PB.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/get-payout-csv-DD9C5yMw.js +0 -49
- package/dist/cjs/payment.service-BrHUGHYs.js +0 -23
- package/dist/cjs/terminal.service-BjSo5Cm4.js +0 -36
- package/dist/cjs/terminals-list-params-state-Cmfy_CND.js +0 -22
- package/dist/esm/get-payout-csv-BKq22mOI.js +0 -46
- package/dist/esm/payment.service-Co_fPTvK.js +0 -21
- package/dist/esm/terminal.service-BLOZ-ZlR.js +0 -34
- package/dist/esm/terminals-list-params-state-Gbxdxjoi.js +0 -16
- package/dist/webcomponents/p-08d5b491.entry.js +0 -1
- package/dist/webcomponents/p-1049c0c5.entry.js +0 -1
- package/dist/webcomponents/p-2c2f6743.entry.js +0 -1
- package/dist/webcomponents/p-2d80f427.entry.js +0 -1
- package/dist/webcomponents/p-2f6c0a07.entry.js +0 -1
- package/dist/webcomponents/p-307a0db6.entry.js +0 -1
- package/dist/webcomponents/p-3995c8b8.entry.js +0 -1
- package/dist/webcomponents/p-3e084a0e.entry.js +0 -1
- package/dist/webcomponents/p-43c1c278.entry.js +0 -1
- package/dist/webcomponents/p-507f7a31.entry.js +0 -1
- package/dist/webcomponents/p-50aa4e4d.entry.js +0 -1
- package/dist/webcomponents/p-5dc3a795.entry.js +0 -1
- package/dist/webcomponents/p-62bdcca1.entry.js +0 -1
- package/dist/webcomponents/p-6a54d69b.entry.js +0 -1
- package/dist/webcomponents/p-7414b942.entry.js +0 -1
- package/dist/webcomponents/p-80dca817.entry.js +0 -1
- package/dist/webcomponents/p-815937bb.entry.js +0 -1
- package/dist/webcomponents/p-86fdc0a1.entry.js +0 -1
- package/dist/webcomponents/p-98111d03.entry.js +0 -1
- package/dist/webcomponents/p-9bbfde16.entry.js +0 -1
- package/dist/webcomponents/p-B7ErpLYA.js +0 -1
- package/dist/webcomponents/p-BHHWVg32.js +0 -1
- package/dist/webcomponents/p-BM61p7vG.js +0 -1
- package/dist/webcomponents/p-BODr6HXb.js +0 -1
- package/dist/webcomponents/p-BVwkHwTc.js +0 -1
- package/dist/webcomponents/p-Bo92MHrs.js +0 -1
- package/dist/webcomponents/p-BoPxMyJA.js +0 -1
- package/dist/webcomponents/p-BxPlB-C5.js +0 -1
- package/dist/webcomponents/p-CB88j97I.js +0 -1
- package/dist/webcomponents/p-CGz3XHQc.js +0 -1
- package/dist/webcomponents/p-CLBRsaLx.js +0 -1
- package/dist/webcomponents/p-CYsU0lEI.js +0 -1
- package/dist/webcomponents/p-CjunQqer.js +0 -1
- package/dist/webcomponents/p-CnyMKcfC.js +0 -1
- package/dist/webcomponents/p-D7s2671S.js +0 -1
- package/dist/webcomponents/p-D9t-X0IY.js +0 -1
- package/dist/webcomponents/p-DLpKiPxJ.js +0 -1
- package/dist/webcomponents/p-Dna7whFY.js +0 -1
- package/dist/webcomponents/p-DzPbgN8M.js +0 -1
- package/dist/webcomponents/p-JcczGkik.js +0 -1
- package/dist/webcomponents/p-ZUQEru6m.js +0 -1
- package/dist/webcomponents/p-a22974fd.entry.js +0 -1
- package/dist/webcomponents/p-a2bf5919.entry.js +0 -1
- package/dist/webcomponents/p-b7053613.entry.js +0 -1
- package/dist/webcomponents/p-bb8f7062.entry.js +0 -1
- package/dist/webcomponents/p-be04a09c.entry.js +0 -1
- package/dist/webcomponents/p-c38c742e.entry.js +0 -1
- package/dist/webcomponents/p-c6534f5f.entry.js +0 -1
- package/dist/webcomponents/p-c6cf707c.entry.js +0 -1
- package/dist/webcomponents/p-c70dcec1.entry.js +0 -1
- package/dist/webcomponents/p-c8d608a1.entry.js +0 -1
- package/dist/webcomponents/p-ce20d709.entry.js +0 -1
- package/dist/webcomponents/p-def42fc7.entry.js +0 -1
- package/dist/webcomponents/p-dfcf19f2.entry.js +0 -1
- package/dist/webcomponents/p-e0896deb.entry.js +0 -1
- package/dist/webcomponents/p-e3962860.entry.js +0 -1
- package/dist/webcomponents/p-e3cd72ad.entry.js +0 -1
- package/dist/webcomponents/p-eb677eb2.entry.js +0 -1
- package/dist/webcomponents/p-f51e4213.entry.js +0 -1
- package/dist/webcomponents/p-gAO-RwrF.js +0 -1
- package/dist/webcomponents/p-hkXaxw9l.js +0 -1
- package/dist/webcomponents/p-p7aAf5_m.js +0 -1
- package/dist/webcomponents/p-y-Ys7Rd-.js +0 -1
- package/dist/webcomponents/p-z1GJDdMW.js +0 -1
- /package/dist/webcomponents/{p-BUM1DfV9.js → p-D6FDxSyt.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentErrorSeverity, SubAccount } from "../../api";
|
|
2
2
|
import { getErrorCode, getErrorMessage } from "../../api/services/utils";
|
|
3
|
-
export const makeGetSubAccounts = ({ accountId, authToken, service
|
|
3
|
+
export const makeGetSubAccounts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
4
4
|
var _a, _b;
|
|
5
5
|
try {
|
|
6
|
-
const response = await service.fetchSubAccounts(accountId, authToken, params
|
|
6
|
+
const response = await service.fetchSubAccounts(accountId, authToken, params);
|
|
7
7
|
if (!response.error) {
|
|
8
8
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
9
9
|
const subAccounts = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new SubAccount(dataItem))) || [];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentErrorSeverity, TerminalModel } from "../../api";
|
|
2
2
|
import { getErrorCode, getErrorMessage } from "../../api/services/utils";
|
|
3
|
-
export const makeGetTerminalModels = ({ id, authToken, service
|
|
3
|
+
export const makeGetTerminalModels = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
4
4
|
var _a, _b, _c, _d;
|
|
5
5
|
try {
|
|
6
|
-
const response = await service.fetchTerminalModels(id, authToken
|
|
6
|
+
const response = await service.fetchTerminalModels(id, authToken);
|
|
7
7
|
if (!response.error) {
|
|
8
8
|
const terminals = ((_b = (_a = response.data) === null || _a === void 0 ? void 0 : _a.terminal_order_models) === null || _b === void 0 ? void 0 : _b.map((dataItem) => new TerminalModel(dataItem))) || [];
|
|
9
9
|
const orderLimit = (_c = response.data) === null || _c === void 0 ? void 0 : _c.order_limit;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TerminalOrder } from "../../api";
|
|
2
2
|
import { ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
3
|
import { getErrorCode, getErrorMessage } from "../../api/services/utils";
|
|
4
|
-
export const makeGetTerminalOrders = ({ id, authToken, service
|
|
4
|
+
export const makeGetTerminalOrders = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
|
|
5
5
|
var _a, _b;
|
|
6
6
|
try {
|
|
7
|
-
const response = await service.fetchTerminalOrders(id, authToken, params
|
|
7
|
+
const response = await service.fetchTerminalOrders(id, authToken, params);
|
|
8
8
|
if (!response.error) {
|
|
9
9
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
10
10
|
const terminalOrders = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new TerminalOrder(dataItem))) || [];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Terminal } from "../../api";
|
|
2
2
|
import { ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
3
|
import { getErrorCode, getErrorMessage } from "../../api/services/utils";
|
|
4
|
-
export const makeGetTerminals = ({ id, authToken, service
|
|
4
|
+
export const makeGetTerminals = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
5
5
|
var _a, _b;
|
|
6
6
|
try {
|
|
7
|
-
const response = await service.fetchTerminals(id, authToken, params
|
|
7
|
+
const response = await service.fetchTerminals(id, authToken, params);
|
|
8
8
|
if (!response.error) {
|
|
9
9
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
10
10
|
const terminals = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Terminal(dataItem))) || [];
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { waitForConfig, configState } from "../components/config-provider/config-state";
|
|
2
|
+
import { generateId } from "../utils/utils";
|
|
3
|
+
const Api = () => {
|
|
4
|
+
async function getAuthorizationHeader(authToken) {
|
|
5
|
+
if (!authToken) {
|
|
6
|
+
return {
|
|
7
|
+
'Content-Type': 'application/json',
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
return {
|
|
11
|
+
Authorization: `Bearer ${authToken}`,
|
|
12
|
+
'Idempotency-Key': generateId(),
|
|
13
|
+
'Content-Type': 'application/json',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
async function makeRequest(props) {
|
|
17
|
+
const { authToken, endpoint, method, params, body, signal, headers } = props;
|
|
18
|
+
await waitForConfig();
|
|
19
|
+
const apiOrigin = configState.apiOrigin;
|
|
20
|
+
const url = `${apiOrigin}/v1/${endpoint}`;
|
|
21
|
+
const requestUrl = params ? `${url}?${new URLSearchParams(params)}` : url;
|
|
22
|
+
const defaultHeaders = await getAuthorizationHeader(authToken);
|
|
23
|
+
const mergedHeaders = Object.assign(Object.assign({}, defaultHeaders), headers);
|
|
24
|
+
const response = await fetch(requestUrl, {
|
|
25
|
+
method: method,
|
|
26
|
+
headers: mergedHeaders,
|
|
27
|
+
body: body,
|
|
28
|
+
signal: signal,
|
|
29
|
+
});
|
|
30
|
+
if (response) {
|
|
31
|
+
return response.status === 204 ? {} : response.json();
|
|
32
|
+
}
|
|
33
|
+
handleError(requestUrl);
|
|
34
|
+
}
|
|
35
|
+
async function get(props) {
|
|
36
|
+
const { authToken, endpoint, params, signal, headers } = props;
|
|
37
|
+
return makeRequest({ authToken, endpoint, method: 'GET', params, signal, headers });
|
|
38
|
+
}
|
|
39
|
+
async function post(props) {
|
|
40
|
+
const { authToken, endpoint, body, params, signal, headers } = props;
|
|
41
|
+
return makeRequest({
|
|
42
|
+
authToken,
|
|
43
|
+
endpoint,
|
|
44
|
+
method: 'POST',
|
|
45
|
+
params,
|
|
46
|
+
body: JSON.stringify(body),
|
|
47
|
+
signal,
|
|
48
|
+
headers,
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
async function put(props) {
|
|
52
|
+
const { authToken, endpoint, body, params, signal } = props;
|
|
53
|
+
return makeRequest({
|
|
54
|
+
authToken,
|
|
55
|
+
endpoint,
|
|
56
|
+
method: 'PUT',
|
|
57
|
+
params,
|
|
58
|
+
body: JSON.stringify(body),
|
|
59
|
+
signal,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
async function patch(props) {
|
|
63
|
+
const { authToken, endpoint, body, params, signal } = props;
|
|
64
|
+
return makeRequest({
|
|
65
|
+
authToken,
|
|
66
|
+
endpoint,
|
|
67
|
+
method: 'PATCH',
|
|
68
|
+
params,
|
|
69
|
+
body: JSON.stringify(body),
|
|
70
|
+
signal,
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
async function destroy(props) {
|
|
74
|
+
const { authToken, endpoint, params, signal } = props;
|
|
75
|
+
return makeRequest({ authToken, endpoint, method: 'DELETE', params, signal });
|
|
76
|
+
}
|
|
77
|
+
return { get, post, put, patch, destroy };
|
|
78
|
+
};
|
|
79
|
+
function handleError(requestUrl) {
|
|
80
|
+
console.error(`Error fetching from ${requestUrl}`);
|
|
81
|
+
}
|
|
82
|
+
export default Api;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { formatCurrency } from "../utils/utils";
|
|
2
|
+
export var PaymentBalanceTxnType;
|
|
3
|
+
(function (PaymentBalanceTxnType) {
|
|
4
|
+
PaymentBalanceTxnType["payment"] = "payment";
|
|
5
|
+
PaymentBalanceTxnType["paymentFee"] = "payment_fee";
|
|
6
|
+
PaymentBalanceTxnType["payout"] = "payout";
|
|
7
|
+
PaymentBalanceTxnType["refund"] = "refund";
|
|
8
|
+
PaymentBalanceTxnType["feeRefund"] = "fee_refund";
|
|
9
|
+
PaymentBalanceTxnType["dispute"] = "dispute";
|
|
10
|
+
PaymentBalanceTxnType["disputeFee"] = "dispute_fee";
|
|
11
|
+
PaymentBalanceTxnType["disputeFeeRefund"] = "dispute_fee_refund";
|
|
12
|
+
PaymentBalanceTxnType["disputeRefund"] = "dispute_refund";
|
|
13
|
+
PaymentBalanceTxnType["applicationFeeReturned"] = "application_fee_returned";
|
|
14
|
+
})(PaymentBalanceTxnType || (PaymentBalanceTxnType = {}));
|
|
15
|
+
export class PaymentBalanceTransaction {
|
|
16
|
+
constructor(balanceTransaction) {
|
|
17
|
+
this.id = balanceTransaction.id;
|
|
18
|
+
this.amount = balanceTransaction.amount;
|
|
19
|
+
this.balance = balanceTransaction.balance;
|
|
20
|
+
this.currency = balanceTransaction.currency;
|
|
21
|
+
this.financial_transaction_id = balanceTransaction.financial_transaction_id;
|
|
22
|
+
this.payment_id = balanceTransaction.payment_id;
|
|
23
|
+
this.payment_balance_txn_type = balanceTransaction.payment_balance_txn_type;
|
|
24
|
+
this.source_id = balanceTransaction.source_id;
|
|
25
|
+
this.source_type = balanceTransaction.source_type;
|
|
26
|
+
this.created_at = balanceTransaction.created_at;
|
|
27
|
+
this.updated_at = balanceTransaction.updated_at;
|
|
28
|
+
}
|
|
29
|
+
get displayTransactionId() {
|
|
30
|
+
if (this.payment_balance_txn_type === PaymentBalanceTxnType.paymentFee) {
|
|
31
|
+
return '--';
|
|
32
|
+
}
|
|
33
|
+
else if (this.payment_balance_txn_type === PaymentBalanceTxnType.applicationFeeReturned) {
|
|
34
|
+
return '--';
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
return this.source_id;
|
|
38
|
+
}
|
|
39
|
+
;
|
|
40
|
+
}
|
|
41
|
+
formattedPaymentAmount(amount) {
|
|
42
|
+
return formatCurrency(amount, this.currency);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { formatCurrency } from "../utils/utils";
|
|
2
|
+
export var PayoutBalanceTransactionType;
|
|
3
|
+
(function (PayoutBalanceTransactionType) {
|
|
4
|
+
PayoutBalanceTransactionType["fee"] = "fee";
|
|
5
|
+
PayoutBalanceTransactionType["payment"] = "payment";
|
|
6
|
+
PayoutBalanceTransactionType["payout"] = "payout";
|
|
7
|
+
PayoutBalanceTransactionType["sellerPaymentRefund"] = "seller_payment_refund";
|
|
8
|
+
PayoutBalanceTransactionType["disputeAmountCollected"] = "dispute_amount_collected";
|
|
9
|
+
PayoutBalanceTransactionType["disputeFeeCollected"] = "dispute_fee_collected";
|
|
10
|
+
PayoutBalanceTransactionType["sellerPayment"] = "seller_payment";
|
|
11
|
+
PayoutBalanceTransactionType["transfer"] = "transfer";
|
|
12
|
+
PayoutBalanceTransactionType["partnerPlatformProceedsCredit"] = "partner_platform_proceeds_credit";
|
|
13
|
+
})(PayoutBalanceTransactionType || (PayoutBalanceTransactionType = {}));
|
|
14
|
+
export class PayoutBalanceTransaction {
|
|
15
|
+
constructor(balanceTransaction) {
|
|
16
|
+
this.id = balanceTransaction.id;
|
|
17
|
+
this.account_id = balanceTransaction.account_id;
|
|
18
|
+
this.payout_id = balanceTransaction.payout_id;
|
|
19
|
+
this.financial_transaction_id = balanceTransaction.financial_transaction_id;
|
|
20
|
+
this.amount = balanceTransaction.amount;
|
|
21
|
+
this.fee = balanceTransaction.fee;
|
|
22
|
+
this.net = balanceTransaction.net;
|
|
23
|
+
this.currency = balanceTransaction.currency;
|
|
24
|
+
this.source_id = balanceTransaction.source_id;
|
|
25
|
+
this.description = balanceTransaction.description;
|
|
26
|
+
this.txn_type = balanceTransaction.txn_type;
|
|
27
|
+
this.created_at = balanceTransaction.created_at;
|
|
28
|
+
this.available_on = balanceTransaction.available_on;
|
|
29
|
+
this.updated_at = balanceTransaction.updated_at;
|
|
30
|
+
}
|
|
31
|
+
formattedPaymentAmount(amount) {
|
|
32
|
+
return formatCurrency(amount, this.currency);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
;
|
|
@@ -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';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Api from "../Api";
|
|
2
|
+
import NewApi from "../ApiNew";
|
|
2
3
|
export class BusinessService {
|
|
3
|
-
async fetchBusiness(businessId, authToken
|
|
4
|
+
async fetchBusiness(businessId, authToken) {
|
|
5
|
+
const api = NewApi();
|
|
4
6
|
const endpoint = `entities/business/${businessId}`;
|
|
5
|
-
return
|
|
7
|
+
return api.get({ endpoint, authToken });
|
|
6
8
|
}
|
|
7
9
|
async patchBusiness(authToken, businessId, payload) {
|
|
8
10
|
const endpoint = `entities/business/${businessId}`;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Api from "../ApiNew";
|
|
2
|
+
const api = Api();
|
|
2
3
|
export class PaymentService {
|
|
3
|
-
async fetchPayments(accountId, authToken, params
|
|
4
|
-
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
4
|
+
async fetchPayments(accountId, authToken, params) {
|
|
5
5
|
const endpoint = `account/${accountId}/payments`;
|
|
6
|
-
return api.get({ endpoint, params });
|
|
6
|
+
return api.get({ endpoint, params, authToken });
|
|
7
7
|
}
|
|
8
|
-
async fetchPayment(paymentId, authToken
|
|
8
|
+
async fetchPayment(paymentId, authToken) {
|
|
9
9
|
const endpoint = `payments/${paymentId}`;
|
|
10
|
-
return
|
|
10
|
+
return api.get({ endpoint, authToken });
|
|
11
|
+
}
|
|
12
|
+
async fetchPaymentTransactions(paymentId, authToken, params) {
|
|
13
|
+
const endpoint = `payments/${paymentId}/payment_balance_transactions`;
|
|
14
|
+
return api.get({ endpoint, params, authToken });
|
|
11
15
|
}
|
|
12
16
|
}
|
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Api from "../ApiNew";
|
|
2
|
+
const api = Api();
|
|
2
3
|
export class PayoutService {
|
|
3
|
-
async fetchPayouts(accountId, authToken, params
|
|
4
|
-
const api = Api({ authToken, apiOrigin });
|
|
4
|
+
async fetchPayouts(accountId, authToken, params) {
|
|
5
5
|
const endpoint = `account/${accountId}/payouts`;
|
|
6
|
-
return api.get({ endpoint, params });
|
|
6
|
+
return api.get({ authToken, endpoint, params });
|
|
7
7
|
}
|
|
8
|
-
async fetchPayout(payoutId, authToken
|
|
9
|
-
const api = Api({ authToken, apiOrigin });
|
|
8
|
+
async fetchPayout(payoutId, authToken) {
|
|
10
9
|
const endpoint = `payouts/${payoutId}`;
|
|
11
|
-
return api.get({ endpoint });
|
|
10
|
+
return api.get({ authToken, endpoint });
|
|
12
11
|
}
|
|
13
|
-
async fetchCSV(payoutId, authToken
|
|
14
|
-
const api = Api({ authToken, apiOrigin });
|
|
12
|
+
async fetchCSV(payoutId, authToken) {
|
|
15
13
|
const endpoint = `reports/payouts/${payoutId}`;
|
|
16
|
-
return api.get({ endpoint });
|
|
14
|
+
return api.get({ authToken, endpoint });
|
|
15
|
+
}
|
|
16
|
+
async fetchPayoutTransactions(accountId, authToken, params) {
|
|
17
|
+
const endpoint = `balance_transactions`;
|
|
18
|
+
const headers = { 'sub-account': accountId };
|
|
19
|
+
return api.get({ authToken, endpoint, params, headers });
|
|
17
20
|
}
|
|
18
21
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Api from "../ApiNew";
|
|
2
|
+
const api = Api();
|
|
2
3
|
;
|
|
3
4
|
export class RefundService {
|
|
4
|
-
async postRefund(paymentId, accountId, authToken, refundBody
|
|
5
|
-
const api = Api({ authToken, apiOrigin });
|
|
5
|
+
async postRefund(paymentId, accountId, authToken, refundBody) {
|
|
6
6
|
const endpoint = `payments/${paymentId}/refunds`;
|
|
7
7
|
const headers = { 'Sub-Account': accountId };
|
|
8
|
-
|
|
8
|
+
const body = refundBody;
|
|
9
|
+
return api.post({ endpoint, headers, body, authToken });
|
|
9
10
|
}
|
|
10
11
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Api from "../ApiNew";
|
|
2
|
+
const api = Api();
|
|
2
3
|
export class SubAccountService {
|
|
3
|
-
async fetchSubAccounts(accountId, authToken, params
|
|
4
|
-
const headers = { Account: accountId };
|
|
5
|
-
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
4
|
+
async fetchSubAccounts(accountId, authToken, params) {
|
|
6
5
|
const endpoint = 'sub_accounts';
|
|
7
|
-
|
|
6
|
+
const headers = { Account: accountId };
|
|
7
|
+
return api.get({ authToken, endpoint, params, headers });
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Api from "../ApiNew";
|
|
2
|
+
const api = Api();
|
|
2
3
|
export class TerminalService {
|
|
3
|
-
async fetchTerminals(accountId, authToken, params
|
|
4
|
-
const headers = { Account: accountId };
|
|
5
|
-
const api = Api({ authToken, apiOrigin });
|
|
4
|
+
async fetchTerminals(accountId, authToken, params) {
|
|
6
5
|
const endpoint = 'terminals';
|
|
7
|
-
|
|
6
|
+
const headers = { Account: accountId };
|
|
7
|
+
return api.get({ endpoint, params, headers, authToken });
|
|
8
8
|
}
|
|
9
|
-
async fetchTerminal(terminalId, authToken
|
|
9
|
+
async fetchTerminal(terminalId, authToken) {
|
|
10
10
|
const endpoint = `terminals/${terminalId}`;
|
|
11
|
-
return
|
|
11
|
+
return api.get({ endpoint, authToken });
|
|
12
12
|
}
|
|
13
|
-
async fetchTerminalModels(accountId, authToken
|
|
14
|
-
const headers = { 'sub-account': accountId };
|
|
15
|
-
const api = Api({ authToken, apiOrigin });
|
|
13
|
+
async fetchTerminalModels(accountId, authToken) {
|
|
16
14
|
const endpoint = 'terminals/order_models';
|
|
17
|
-
|
|
15
|
+
const headers = { 'sub-account': accountId };
|
|
16
|
+
return api.get({ endpoint, headers, authToken });
|
|
18
17
|
}
|
|
19
|
-
async orderTerminals(authToken, terminalOrder
|
|
20
|
-
const headers = { 'sub-account': terminalOrder.sub_account_id };
|
|
21
|
-
const api = Api({ authToken, apiOrigin });
|
|
18
|
+
async orderTerminals(authToken, terminalOrder) {
|
|
22
19
|
const endpoint = 'terminals/orders';
|
|
23
|
-
|
|
20
|
+
const body = terminalOrder;
|
|
21
|
+
const headers = { 'sub-account': terminalOrder.sub_account_id };
|
|
22
|
+
return api.post({ endpoint, body, headers, authToken });
|
|
24
23
|
}
|
|
25
24
|
}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Api from "../ApiNew";
|
|
2
|
+
const api = Api();
|
|
2
3
|
export class TerminalOrderService {
|
|
3
|
-
async fetchTerminalOrders(accountId, authToken, params
|
|
4
|
-
const headers = { account: accountId };
|
|
5
|
-
const api = Api({ authToken, apiOrigin });
|
|
4
|
+
async fetchTerminalOrders(accountId, authToken, params) {
|
|
6
5
|
const endpoint = 'terminals/orders';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
params,
|
|
10
|
-
headers,
|
|
11
|
-
});
|
|
6
|
+
const headers = { account: accountId };
|
|
7
|
+
return api.get({ endpoint, params, headers, authToken });
|
|
12
8
|
}
|
|
13
9
|
}
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"components/checkouts-list/checkouts-list.js",
|
|
56
56
|
"ui-components/filters/table-filters-menu.js",
|
|
57
57
|
"ui-components/form/form-control-select.js",
|
|
58
|
+
"components/config-provider/config-provider.js",
|
|
58
59
|
"components/dispute-management/dispute-management-core.js",
|
|
59
60
|
"components/dispute-management/dispute-management.js",
|
|
60
61
|
"components/dispute-management/dispute-notification.js",
|
|
@@ -76,11 +77,13 @@
|
|
|
76
77
|
"components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js",
|
|
77
78
|
"components/payment-details/payment-details-core.js",
|
|
78
79
|
"components/payment-details/payment-details.js",
|
|
80
|
+
"components/payment-transactions-list/payment-transactions-list.js",
|
|
79
81
|
"components/payments-list/payments-list-core.js",
|
|
80
82
|
"components/payments-list/payments-list-filters.js",
|
|
81
83
|
"components/payments-list/payments-list.js",
|
|
82
84
|
"components/payout-details/payout-details-core.js",
|
|
83
85
|
"components/payout-details/payout-details.js",
|
|
86
|
+
"components/payout-transactions-list/payout-transactions-list.js",
|
|
84
87
|
"components/payouts-list/payouts-list-core.js",
|
|
85
88
|
"components/payouts-list/payouts-list-filters.js",
|
|
86
89
|
"components/payouts-list/payouts-list.js",
|
|
@@ -111,7 +114,7 @@
|
|
|
111
114
|
],
|
|
112
115
|
"compiler": {
|
|
113
116
|
"name": "@stencil/core",
|
|
114
|
-
"version": "4.
|
|
117
|
+
"version": "4.31.0",
|
|
115
118
|
"typescriptVersion": "5.5.4"
|
|
116
119
|
},
|
|
117
120
|
"collections": [],
|
|
@@ -82,7 +82,7 @@ export class BusinessCoreInfoFormStepCore {
|
|
|
82
82
|
if (this.isLoading) {
|
|
83
83
|
return h(PaymentProvisioningLoading, null);
|
|
84
84
|
}
|
|
85
|
-
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, maxLength: 9, helpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns." })), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
85
|
+
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, maxLength: 9, helpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes." })), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "justifi-business-core-info-form-step-core"; }
|
|
88
88
|
static get properties() {
|
|
@@ -9,7 +9,7 @@ export const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
|
9
9
|
doing_business_as: doingBusinessAsValidation.nullable(),
|
|
10
10
|
classification: businessClassificationValidation.required('Select business classification'),
|
|
11
11
|
industry: industryValidation.required('Enter a business industry'),
|
|
12
|
-
tax_id: taxIdValidation.required('Enter tax
|
|
12
|
+
tax_id: taxIdValidation.required('Enter valid tax ID (SSN or EIN) without dashes'),
|
|
13
13
|
date_of_incorporation: dateOfIncorporationValidation.required('Enter date of incorporation'),
|
|
14
14
|
});
|
|
15
15
|
const easySchema = object({
|
|
@@ -119,7 +119,7 @@ export class CheckoutsListCore {
|
|
|
119
119
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
|
-
return (h("div", { key: '
|
|
122
|
+
return (h("div", { key: '0dd82ae052b98ada5c277a6472c43992d43485a5', class: "table-wrapper" }, h("table", { key: 'd8bc8f4a0fe8cb778397529704d86815876e831c', class: "table table-hover", part: table }, h("thead", { key: 'b38366e22402d695e20bb713a0c4e38d06e5043f', class: "table-head sticky-top" }, h("tr", { key: '8a82e88f24aaa6bec09de27ec439083572cf617c', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'fc09f4d4263d588fc1002657f6f535097069c16b', class: "table-body" }, h(TableLoadingState, { key: 'beb188a8b7e19eb8516c84727b365e38fb9f07b2', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '5b8945e459c72cb21da62a1ad24f5a409b442137', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '39b99e63e8759221589be8053a88b74d37d78013', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: '8effcd26c82977391f8487b80fabe954694338f8', class: "sticky-bottom" }, h("tr", { key: 'cc95a3c59060b0cbc44a39a66c8061912f4c995f', class: "table-light align-middle" }, h("td", { key: '54850b1384a006b4a0a70d465bfac1c94698be9a', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'b3f5da967dbd19bf1018fea9a926885ed0f40865', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
123
123
|
}
|
|
124
124
|
static get is() { return "checkouts-list-core"; }
|
|
125
125
|
static get properties() {
|
|
@@ -38,7 +38,7 @@ export class CheckoutsListFilters {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
41
|
+
return (h(StyledHost, { key: 'bcae6fee83117dde40a29ebcab8e85089bcdc37e' }, h("table-filters-menu", { key: '56c6a5d205836fe010917f0f0d978507cf227a3f', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'c82691f9b863368a2b7523dc7d9d348c3fe2e776', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '9abbb01e53139ebd376a638400b199d88288b175', class: "p-2" }, h("form-control-select", { key: '3859777cf1f4ee451a65440a90dfe9e5f4a2f069', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '3c23d4b820ea2424d6ddc01e6952c8c46cd7d975', class: "p-2" }, h("form-control-select", { key: 'c376228f82419b959b3fefa6b32d25c584c6ea3b', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "justifi-checkouts-list-filters"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,13 +56,12 @@ export class CheckoutsList {
|
|
|
56
56
|
this.getSubAccounts = makeGetSubAccounts({
|
|
57
57
|
accountId: this.accountId,
|
|
58
58
|
authToken: this.authToken,
|
|
59
|
-
service: new SubAccountService()
|
|
60
|
-
apiOrigin: this.apiOrigin
|
|
59
|
+
service: new SubAccountService()
|
|
61
60
|
});
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
render() {
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: '4cf97b877324bc48ec5bcdae0f342d2b1fb0daca' }, h("checkouts-list-core", { key: '395f0b1ad4a6bdcaaaa8dc095fae6cad164bbdad', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
66
65
|
}
|
|
67
66
|
static get is() { return "justifi-checkouts-list"; }
|
|
68
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { setConfigState } from "./config-state";
|
|
2
|
+
export class ConfigProvider {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
5
|
+
this.iFrameOrigin = IFRAME_ORIGIN;
|
|
6
|
+
this.accountId = '';
|
|
7
|
+
}
|
|
8
|
+
componentWillLoad() {
|
|
9
|
+
setConfigState({
|
|
10
|
+
apiOrigin: this.apiOrigin,
|
|
11
|
+
iFrameOrigin: this.iFrameOrigin,
|
|
12
|
+
accountId: this.accountId
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "justifi-config-provider"; }
|
|
19
|
+
static get properties() {
|
|
20
|
+
return {
|
|
21
|
+
"apiOrigin": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"attribute": "api-origin",
|
|
24
|
+
"mutable": false,
|
|
25
|
+
"complexType": {
|
|
26
|
+
"original": "string",
|
|
27
|
+
"resolved": "string",
|
|
28
|
+
"references": {}
|
|
29
|
+
},
|
|
30
|
+
"required": false,
|
|
31
|
+
"optional": true,
|
|
32
|
+
"docs": {
|
|
33
|
+
"tags": [],
|
|
34
|
+
"text": ""
|
|
35
|
+
},
|
|
36
|
+
"getter": false,
|
|
37
|
+
"setter": false,
|
|
38
|
+
"reflect": false,
|
|
39
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
40
|
+
},
|
|
41
|
+
"iFrameOrigin": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"attribute": "i-frame-origin",
|
|
44
|
+
"mutable": false,
|
|
45
|
+
"complexType": {
|
|
46
|
+
"original": "string",
|
|
47
|
+
"resolved": "string",
|
|
48
|
+
"references": {}
|
|
49
|
+
},
|
|
50
|
+
"required": false,
|
|
51
|
+
"optional": true,
|
|
52
|
+
"docs": {
|
|
53
|
+
"tags": [],
|
|
54
|
+
"text": ""
|
|
55
|
+
},
|
|
56
|
+
"getter": false,
|
|
57
|
+
"setter": false,
|
|
58
|
+
"reflect": false,
|
|
59
|
+
"defaultValue": "IFRAME_ORIGIN"
|
|
60
|
+
},
|
|
61
|
+
"accountId": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"attribute": "account-id",
|
|
64
|
+
"mutable": false,
|
|
65
|
+
"complexType": {
|
|
66
|
+
"original": "string",
|
|
67
|
+
"resolved": "string",
|
|
68
|
+
"references": {}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": true,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": ""
|
|
75
|
+
},
|
|
76
|
+
"getter": false,
|
|
77
|
+
"setter": false,
|
|
78
|
+
"reflect": false,
|
|
79
|
+
"defaultValue": "''"
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createStore } from "@stencil/store";
|
|
2
|
+
const initialState = {
|
|
3
|
+
apiOrigin: PROXY_API_ORIGIN,
|
|
4
|
+
iFrameOrigin: IFRAME_ORIGIN,
|
|
5
|
+
accountId: '',
|
|
6
|
+
};
|
|
7
|
+
const configStore = createStore(() => initialState);
|
|
8
|
+
const { state: configState, on: onConfigChange } = configStore;
|
|
9
|
+
// resolver for the “ready” promise
|
|
10
|
+
let resolveConfigReady;
|
|
11
|
+
// initial “handshake” promise
|
|
12
|
+
const configReady = new Promise(r => {
|
|
13
|
+
resolveConfigReady = r;
|
|
14
|
+
});
|
|
15
|
+
// called by <justifi-config-provider>
|
|
16
|
+
const setConfigState = (vals) => {
|
|
17
|
+
Object.assign(configState, vals);
|
|
18
|
+
resolveConfigReady();
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Wait for configProvider to run, but safe guard against never mounting.
|
|
22
|
+
* @param timeoutMs max time to wait before resolving with default values
|
|
23
|
+
*/
|
|
24
|
+
const waitForConfig = (timeoutMs = 200) => {
|
|
25
|
+
return new Promise(resolve => {
|
|
26
|
+
const timer = setTimeout(() => {
|
|
27
|
+
// timeout expired, proceed with default config state values
|
|
28
|
+
resolve();
|
|
29
|
+
}, timeoutMs);
|
|
30
|
+
configReady.then(() => {
|
|
31
|
+
clearTimeout(timer);
|
|
32
|
+
resolve();
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
export { configState, onConfigChange, setConfigState, waitForConfig };
|