@justifi/webcomponents 5.7.1 → 5.7.3
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/{Api-C8nf_gS9.js → Api-CJ1_RDQW.js} +2 -2
- package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
- package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
- package/dist/cjs/{Document-CL5Zc72Q.js → Payment-D5UynU2f.js} +1 -57
- package/dist/cjs/{Refund-CYxocU06.js → Refund-BFE-2OxN.js} +57 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -15
- package/dist/cjs/{badge-BxoJOyTJ.js → badge-ByHiVqEE.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -12
- package/dist/cjs/bank-account-form_9.cjs.entry.js +40 -29
- package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-e3GCIHk5.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +5 -6
- package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/{business-identity-schema-BYaCsboD.js → business-identity-schema-Diqj_WVQ.js} +1 -1
- package/dist/cjs/{business.service-C2rg_zSw.js → business.service-CsKKWn0g.js} +5 -5
- package/dist/cjs/{button-BPFSRx4d.js → button-DXvFLf3b.js} +1 -1
- package/dist/cjs/{check-pkg-version-BqC8BOhm.js → check-pkg-version-BqLxQqZQ.js} +6 -6
- package/dist/cjs/{checkout.service-CyvIIMeq.js → checkout.service-CugpgJy_.js} +5 -5
- package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-BV-36YfA.js} +3 -3
- package/dist/cjs/{config-state-D7p-XunE.js → config-state-BH7lf2ok.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-CKPR1vFS.js → dispute.service-B8vLwAZm.js} +5 -5
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-B-3qE49U.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-BlYVOrII.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +3 -3
- package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
- package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
- package/dist/cjs/{get-payment-details-C9HqIv-M.js → get-payment-details-CudOQBpU.js} +7 -7
- package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-DjwsQffs.js} +7 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-auSUfIpO.js → header-1-agnQ4uEf.js} +1 -1
- package/dist/cjs/{header-3-B-bXHCpC.js → header-3-BAx5OhvM.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-D9vhHzZQ.js → iframe-input-styles-state-CFjq45QT.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +5 -5
- package/dist/cjs/{index-B8ljHEN1.js → index-oahmQhrI.js} +1 -1
- package/dist/cjs/{index-BYd8IvAa.js → index-y-rskGFM.js} +1 -1
- package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-CCo-Gmfe.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +50 -23
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -13
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +21 -16
- package/dist/cjs/justifi-business-form.cjs.entry.js +20 -20
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -12
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +12 -12
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +12 -12
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -16
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -17
- package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -17
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -11
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +15 -16
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-Biee4Hdo.js → package-a_vXN-Ly.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +7 -7
- package/dist/cjs/{payment.service-C996aLGw.js → payment.service-aqlDvgDe.js} +5 -5
- package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-CWK1uHtj.js} +2 -2
- package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-CP8LGibG.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-CL-hcMGg.js} +5 -5
- package/dist/cjs/payouts-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → payouts-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-Jz2Mh3JP.js} +2 -2
- package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DyuoNtFw.js} +3 -3
- package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-BSeMee-o.js} +5 -29
- package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-CgT0siC5.js} +1 -1
- package/dist/cjs/{spinner-BTyIjlMM.js → spinner-Cz4By3FY.js} +1 -1
- package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-LD5MpzHs.js} +1 -1
- package/dist/cjs/{table-DKVauFHc.js → table-Cvr8-PLT.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{terminal-orders-table-CxY1ykZ7.js → terminal-orders-table-CslE3Ojj.js} +8 -8
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service-3geWla42.js} +5 -5
- package/dist/cjs/terminals-list-core.cjs.entry.js +13 -13
- package/dist/cjs/terminals-list-params-state-BZPc3hJS.js +22 -0
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-DlZSKdHC.js} +3 -3
- package/dist/cjs/{utils-5lco6NzU.js → utils-B4fXt0os.js} +1 -1
- package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Business.js +3 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
- package/dist/collection/components/business-details/business-details-core.js +1 -2
- package/dist/collection/components/business-details/business-details.js +10 -3
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
- package/dist/collection/components/business-forms/schemas/schema-validations.js +7 -54
- package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
- package/dist/collection/components/checkout/new-payment-method.js +17 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -5
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -5
- package/dist/collection/ui-components/details/details.js +2 -2
- package/dist/collection/utils/utils.js +3 -0
- package/dist/docs.json +349 -122
- package/dist/esm/{Api-KYhsw8Nv.js → Api-CZhQlPMs.js} +2 -2
- package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
- package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/{Document-cNXrKmGy.js → Payment-BGiKmQYR.js} +3 -57
- package/dist/esm/{Refund-2YJqP9qX.js → Refund-DDIEc_gu.js} +56 -2
- package/dist/esm/additional-questions-details_5.entry.js +14 -15
- package/dist/esm/{badge-Du9GTXoB.js → badge-Bbh4S1LJ.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
- package/dist/esm/bank-account-form_9.entry.js +33 -22
- package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-uQlQ8fXQ.js} +1 -1
- package/dist/esm/business-details-core.entry.js +5 -6
- package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
- package/dist/esm/{business-identity-schema-BjuQ6ajL.js → business-identity-schema-BsrgqgDl.js} +1 -1
- package/dist/esm/{business.service-ClD_YDeT.js → business.service-CUWiJ5Un.js} +6 -6
- package/dist/esm/{button-CjH5C0pG.js → button-BrZXQ8gb.js} +1 -1
- package/dist/esm/{check-pkg-version-DxnKX9GQ.js → check-pkg-version-CxnnjoM3.js} +7 -7
- package/dist/esm/{checkout.service-DfzkmIe4.js → checkout.service-DqXrjRw7.js} +6 -6
- package/dist/esm/checkouts-list-core.entry.js +14 -14
- package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-p7UZFB5v.js} +3 -3
- package/dist/esm/{config-state-CkKrqnpZ.js → config-state-ecb1EsvM.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +2 -2
- package/dist/esm/{dispute.service-BTOWqnmk.js → dispute.service-DpgnWZA1.js} +6 -6
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-lGsxANkt.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-DjU4NWmt.js} +1 -1
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +4 -4
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
- package/dist/esm/{get-payment-details-D-prcfRc.js → get-payment-details-ChRlNtIz.js} +7 -7
- package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-DiROU10G.js} +8 -8
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-D2gZb3iT.js → header-1-Xbhp2rfA.js} +1 -1
- package/dist/esm/{header-3-DAg8Vh4B.js → header-3-DwjHOg3C.js} +1 -1
- package/dist/esm/{iframe-input-styles-state-ibYqbF--.js → iframe-input-styles-state-BEips-at.js} +1 -1
- package/dist/esm/iframe-input.entry.js +5 -5
- package/dist/esm/{index-Cc3u0uDC.js → index-Dc7aGxx-.js} +1 -1
- package/dist/esm/{index-D6FDxSyt.js → index-DeiW2BDb.js} +1 -1
- package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-CiK3s-Fy.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +50 -23
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -14
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +22 -17
- package/dist/esm/justifi-business-form.entry.js +21 -21
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +9 -9
- package/dist/esm/justifi-checkout.entry.js +13 -13
- package/dist/esm/justifi-checkouts-list-filters.entry.js +11 -11
- package/dist/esm/justifi-checkouts-list.entry.js +17 -17
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- 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 +13 -13
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -13
- package/dist/esm/justifi-order-terminals.entry.js +17 -17
- package/dist/esm/justifi-owner-form_3.entry.js +15 -15
- package/dist/esm/justifi-payment-details.entry.js +15 -15
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +13 -13
- package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +17 -17
- package/dist/esm/justifi-payout-details.entry.js +14 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +18 -18
- package/dist/esm/justifi-refund-payment.entry.js +17 -17
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -12
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -11
- package/dist/esm/justifi-terminal-orders-list.entry.js +15 -15
- package/dist/esm/justifi-terminals-list-filters.entry.js +11 -11
- package/dist/esm/justifi-terminals-list.entry.js +17 -17
- package/dist/esm/justifi-tokenize-payment-method.entry.js +16 -17
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-DPiTQ9dr.js → package-DCoo9Ds8.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/payment-details-core.entry.js +7 -7
- package/dist/esm/{payment.service-CgwLo1_s.js → payment.service-BV8Gg3vY.js} +6 -6
- package/dist/esm/payments-list-core.entry.js +15 -15
- package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-DIH2IxWy.js} +2 -2
- package/dist/esm/{payments-table-BBf5fV74.js → payments-table-DiEtudGk.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-DA9Y4buU.js} +6 -6
- package/dist/esm/payouts-list-core.entry.js +15 -15
- package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-ZOiWvFE-.js} +2 -2
- package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-DbzIHwgZ.js} +3 -3
- package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-DLWfpHyI.js} +7 -29
- package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-B9rUHFom.js} +1 -1
- package/dist/esm/{spinner-onCBxbdo.js → spinner-CrzsUbgI.js} +1 -1
- package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-_2J3PYDn.js} +1 -1
- package/dist/esm/{table-p4dOlFPi.js → table-CqDcXJpP.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +14 -14
- package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{terminal-orders-table-BopP465z.js → terminal-orders-table-D7EOk3GS.js} +9 -9
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-VdIvwUEC.js} +6 -6
- package/dist/esm/terminals-list-core.entry.js +14 -14
- package/dist/esm/terminals-list-params-state-BI3u1DYG.js +16 -0
- package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-C-fA-3eP.js} +3 -3
- package/dist/esm/{utils-BpP_VJGf.js → utils-CcleFgVO.js} +1 -1
- package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Business.js +3 -1
- package/dist/module/Refund.js +55 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/bank-account-document-inputs.js +1 -2
- package/dist/module/billing-form.js +4 -3
- package/dist/module/business-bank-account-form-step-core.js +37 -11
- package/dist/module/business-bank-account-form-step.js +0 -1
- package/dist/module/business-details-core2.js +11 -7
- package/dist/module/business-terms-conditions-form-step.js +3 -4
- package/dist/module/business.service.js +0 -1
- package/dist/module/check-pkg-version.js +0 -1
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkouts-list-core2.js +0 -1
- package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
- package/dist/module/core-info-details.js +6 -0
- package/dist/module/core-info-details2.js +34 -0
- package/dist/module/details.js +2 -2
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/form.js +1 -1
- package/dist/module/get-payment-details.js +0 -1
- package/dist/module/get-subaccounts.js +0 -1
- package/dist/module/justifi-business-details.js +20 -9
- package/dist/module/justifi-business-form.js +0 -1
- package/dist/module/justifi-checkouts-list-filters.js +0 -1
- package/dist/module/justifi-checkouts-list.js +0 -1
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-order-terminals.js +1 -2
- package/dist/module/justifi-payment-provisioning.js +0 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -2
- package/dist/module/justifi-payments-list.js +0 -1
- package/dist/module/justifi-payout-details.js +0 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -2
- package/dist/module/justifi-payouts-list.js +0 -1
- package/dist/module/justifi-refund-payment.js +1 -2
- package/dist/module/justifi-season-interruption-insurance.js +0 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -2
- package/dist/module/justifi-terminals-list-filters.js +0 -1
- package/dist/module/justifi-terminals-list.js +1 -2
- package/dist/module/justifi-tokenize-payment-method.js +2 -4
- package/dist/module/legal-address-details2.js +3 -3
- package/dist/module/new-payment-method.js +15 -4
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +0 -1
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +0 -1
- package/dist/module/representative-details2.js +3 -3
- package/dist/module/schema-validations.js +6 -28
- package/dist/module/terminal-orders-list-core2.js +0 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +0 -1
- package/dist/module/utils2.js +3 -0
- package/dist/types/components/business-details/business-details.d.ts +1 -0
- package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
- package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
- package/dist/types/components.d.ts +285 -21
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/webcomponents/p--B09FkmB.js +1 -0
- package/dist/webcomponents/p-070a74b0.entry.js +1 -0
- package/dist/webcomponents/{p-4194214c.entry.js → p-0bab65ad.entry.js} +1 -1
- package/dist/webcomponents/{p-5e467788.entry.js → p-0e3122fd.entry.js} +1 -1
- package/dist/webcomponents/{p-ceefc483.entry.js → p-0f4572d3.entry.js} +1 -1
- package/dist/webcomponents/{p-3abc8eab.entry.js → p-19f24867.entry.js} +1 -1
- package/dist/webcomponents/{p-799000c1.entry.js → p-214d8301.entry.js} +1 -1
- package/dist/webcomponents/{p-40541e0c.entry.js → p-217c0657.entry.js} +1 -1
- package/dist/webcomponents/{p-83154291.entry.js → p-2182e23d.entry.js} +1 -1
- package/dist/webcomponents/p-2648b61f.entry.js +1 -0
- package/dist/webcomponents/{p-3a979295.entry.js → p-29402bea.entry.js} +1 -1
- package/dist/webcomponents/p-30e036bd.entry.js +1 -0
- package/dist/webcomponents/p-342016ec.entry.js +1 -0
- package/dist/webcomponents/{p-916ea4fc.entry.js → p-35299b25.entry.js} +1 -1
- package/dist/webcomponents/{p-2b8ac00a.entry.js → p-388e3afc.entry.js} +1 -1
- package/dist/webcomponents/{p-19b9c96a.entry.js → p-3ef0b42b.entry.js} +1 -1
- package/dist/webcomponents/{p-b40108c0.entry.js → p-410b3f65.entry.js} +1 -1
- package/dist/webcomponents/p-4d4aed9d.entry.js +1 -0
- package/dist/webcomponents/p-5023d221.entry.js +1 -0
- package/dist/webcomponents/{p-d1331dbb.entry.js → p-57ec45d9.entry.js} +1 -1
- package/dist/webcomponents/{p-54281359.entry.js → p-5886b41e.entry.js} +1 -1
- package/dist/webcomponents/{p-6429afb4.entry.js → p-61daf152.entry.js} +1 -1
- package/dist/webcomponents/{p-bf3e8295.entry.js → p-6a89c4c8.entry.js} +1 -1
- package/dist/webcomponents/{p-cab175e9.entry.js → p-70b87e0c.entry.js} +1 -1
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/{p-25ea4450.entry.js → p-7ba945a9.entry.js} +1 -1
- package/dist/webcomponents/{p-n2YROtpe.js → p-8qo1QTjv.js} +1 -1
- package/dist/webcomponents/{p-d9c70010.entry.js → p-9154c9ae.entry.js} +1 -1
- package/dist/webcomponents/p-95d4c1ec.entry.js +1 -0
- package/dist/webcomponents/{p-3e94cf62.entry.js → p-9633ee66.entry.js} +1 -1
- package/dist/webcomponents/{p-b2192f8b.entry.js → p-9814a858.entry.js} +1 -1
- package/dist/webcomponents/p-9c7574a3.entry.js +1 -0
- package/dist/webcomponents/{p-7733b67b.entry.js → p-9c9bef60.entry.js} +1 -1
- package/dist/webcomponents/p-B0b_XePt.js +1 -0
- package/dist/webcomponents/p-B50n1fKP.js +1 -0
- package/dist/webcomponents/p-B9zTkzgI.js +1 -0
- package/dist/webcomponents/{p-C0UUR9CN.js → p-BC1dBUlF.js} +1 -1
- package/dist/webcomponents/p-BNqn5ta3.js +1 -0
- package/dist/webcomponents/p-BUJ--tSs.js +1 -0
- package/dist/webcomponents/p-BdTK0wi9.js +1 -0
- package/dist/webcomponents/{p-DDEz7_ad.js → p-BeW-xdck.js} +1 -1
- package/dist/webcomponents/{p-D5XSsLKb.js → p-Bjf1_zhy.js} +1 -1
- package/dist/webcomponents/p-Bkffx_rQ.js +1 -0
- package/dist/webcomponents/{p-DuYlA4lj.js → p-Bl3ch-Ez.js} +1 -1
- package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
- package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
- package/dist/webcomponents/p-BpDYt_Ep.js +1 -0
- package/dist/webcomponents/{p-CgxzrbM_.js → p-C1uPQOvi.js} +1 -1
- package/dist/webcomponents/p-C2HQYreI.js +1 -0
- package/dist/webcomponents/p-CJ5VkiBV.js +1 -0
- package/dist/webcomponents/{p-ByRPlUBS.js → p-CKAgqwwJ.js} +1 -1
- package/dist/webcomponents/{p-cNABKY0P.js → p-CaGTuT2-.js} +1 -1
- package/dist/webcomponents/{p-CQdeVKF8.js → p-CeSHqD1r.js} +1 -1
- package/dist/webcomponents/{p-Cd06j2SL.js → p-CgSqi8wc.js} +1 -1
- package/dist/webcomponents/{p-OSmuQKbK.js → p-ChL8tkhB.js} +1 -1
- package/dist/webcomponents/p-ClM8H2uM.js +1 -0
- package/dist/webcomponents/p-CoZ_5FVT.js +1 -0
- package/dist/webcomponents/p-CopnqpXU.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-D9siq_gL.js +1 -0
- package/dist/webcomponents/p-DCoo9Ds8.js +1 -0
- package/dist/webcomponents/{p-BiPRf6d2.js → p-DGg9nHVL.js} +1 -1
- package/dist/webcomponents/{p-ZE1NEnP3.js → p-DMNpawhg.js} +1 -1
- package/dist/webcomponents/p-DQCcSXwL.js +1 -0
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-DXhY2Usd.js} +1 -1
- package/dist/webcomponents/p-Ddc5F_89.js +1 -0
- package/dist/webcomponents/{p-l3o3Ndc0.js → p-DyCvl10I.js} +1 -1
- package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
- package/dist/webcomponents/{p-C0WFYqwq.js → p-EbNktJEa.js} +1 -1
- package/dist/webcomponents/p-HiTlvG5T.js +1 -0
- package/dist/webcomponents/p-JOSiCHl7.js +1 -0
- package/dist/webcomponents/{p-82kiZkHt.js → p-SoKRLnnI.js} +1 -1
- package/dist/webcomponents/{p-d-_oUZor.js → p-XBoMjcoi.js} +1 -1
- package/dist/webcomponents/p-_5PRoEe6.js +1 -0
- package/dist/webcomponents/p-a32ae525.entry.js +1 -0
- package/dist/webcomponents/p-a60abc68.entry.js +1 -0
- package/dist/webcomponents/{p-24792e8e.entry.js → p-aa539239.entry.js} +1 -1
- package/dist/webcomponents/{p-22a0b397.entry.js → p-aa949920.entry.js} +1 -1
- package/dist/webcomponents/{p-d2dc6f22.entry.js → p-ab1353b0.entry.js} +3 -3
- package/dist/webcomponents/p-ac5f5d89.entry.js +1 -0
- package/dist/webcomponents/{p-bb50155f.entry.js → p-b0d1afd7.entry.js} +1 -1
- package/dist/webcomponents/p-b17ed568.entry.js +1 -0
- package/dist/webcomponents/p-b59fc73d.entry.js +1 -0
- package/dist/webcomponents/{p-3babed12.entry.js → p-b5c7c78d.entry.js} +1 -1
- package/dist/webcomponents/p-b72eca25.entry.js +1 -0
- package/dist/webcomponents/{p-3368d3d5.entry.js → p-b9283a1b.entry.js} +1 -1
- package/dist/webcomponents/{p-0deb6a38.entry.js → p-b95a7dc5.entry.js} +1 -1
- package/dist/webcomponents/p-bO_FomzV.js +1 -0
- package/dist/webcomponents/p-bd1df685.entry.js +1 -0
- package/dist/webcomponents/p-bfb2bad3.entry.js +1 -0
- package/dist/webcomponents/{p-935bbc62.entry.js → p-c13538df.entry.js} +1 -1
- package/dist/webcomponents/{p-9105f700.entry.js → p-c535a165.entry.js} +1 -1
- package/dist/webcomponents/{p-639baa7d.entry.js → p-c7a1439a.entry.js} +1 -1
- package/dist/webcomponents/{p-4ee0cd96.entry.js → p-c80d077b.entry.js} +1 -1
- package/dist/webcomponents/{p-a4dd3835.entry.js → p-ccd256f5.entry.js} +1 -1
- package/dist/webcomponents/{p-947239a6.entry.js → p-cfb4491e.entry.js} +1 -1
- package/dist/webcomponents/p-d049acb4.entry.js +1 -0
- package/dist/webcomponents/p-d0b3a10e.entry.js +1 -0
- package/dist/webcomponents/p-d3f5c51e.entry.js +1 -0
- package/dist/webcomponents/{p-90c24cda.entry.js → p-d3ff71df.entry.js} +1 -1
- package/dist/webcomponents/p-d6a66b58.entry.js +1 -0
- package/dist/webcomponents/{p-CCGhF18e.js → p-d6tXI5Iw.js} +1 -1
- package/dist/webcomponents/p-d8f92442.entry.js +1 -0
- package/dist/webcomponents/{p-59abf1de.entry.js → p-da6c0277.entry.js} +1 -1
- package/dist/webcomponents/{p-f389c2aa.entry.js → p-e0e3a939.entry.js} +1 -1
- package/dist/webcomponents/p-e3a07cb8.entry.js +1 -0
- package/dist/webcomponents/{p-1a85f26f.entry.js → p-f03acabd.entry.js} +1 -1
- package/dist/webcomponents/{p-ad85bd0d.entry.js → p-f1e54daa.entry.js} +1 -1
- package/dist/webcomponents/{p-99b080d9.entry.js → p-f3d3070a.entry.js} +1 -1
- package/dist/webcomponents/p-hG0Fy7E9.js +1 -0
- package/dist/webcomponents/p-vTsHmSQQ.js +1 -0
- package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
- package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
- package/dist/module/Document.js +0 -55
- package/dist/module/generic-info-details.js +0 -6
- package/dist/module/generic-info-details2.js +0 -34
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
- package/dist/webcomponents/p-0ab2f675.entry.js +0 -1
- package/dist/webcomponents/p-0b57ecc3.entry.js +0 -1
- package/dist/webcomponents/p-16adfe77.entry.js +0 -1
- package/dist/webcomponents/p-1b22572d.entry.js +0 -1
- package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
- package/dist/webcomponents/p-2adda453.entry.js +0 -1
- package/dist/webcomponents/p-2dbc4b19.entry.js +0 -1
- package/dist/webcomponents/p-43d6bbed.entry.js +0 -1
- package/dist/webcomponents/p-44d8c2b1.entry.js +0 -1
- package/dist/webcomponents/p-4749e0d0.entry.js +0 -1
- package/dist/webcomponents/p-6n7viK-J.js +0 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
- package/dist/webcomponents/p-82515f70.entry.js +0 -1
- package/dist/webcomponents/p-84d27581.entry.js +0 -1
- package/dist/webcomponents/p-935fa555.entry.js +0 -1
- package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
- package/dist/webcomponents/p-B190pN0v.js +0 -1
- package/dist/webcomponents/p-BM5lviat.js +0 -1
- package/dist/webcomponents/p-BWJ7zamv.js +0 -1
- package/dist/webcomponents/p-BmWpHZ-Z.js +0 -1
- package/dist/webcomponents/p-BzPi8Ea_.js +0 -1
- package/dist/webcomponents/p-C0IqfGFc.js +0 -1
- package/dist/webcomponents/p-CffckWWF.js +0 -1
- package/dist/webcomponents/p-D0ptm6-3.js +0 -1
- package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
- package/dist/webcomponents/p-D5Sh88BE.js +0 -1
- package/dist/webcomponents/p-DJzjeg3x.js +0 -1
- package/dist/webcomponents/p-DNt_pMGt.js +0 -1
- package/dist/webcomponents/p-DPiTQ9dr.js +0 -1
- package/dist/webcomponents/p-DZfxGQ1I.js +0 -1
- package/dist/webcomponents/p-DgfzEZny.js +0 -1
- package/dist/webcomponents/p-DjGTAHJM.js +0 -1
- package/dist/webcomponents/p-DuBhW0xA.js +0 -1
- package/dist/webcomponents/p-M61ygz6l.js +0 -1
- package/dist/webcomponents/p-U30-0DaA.js +0 -1
- package/dist/webcomponents/p-a46730eb.entry.js +0 -1
- package/dist/webcomponents/p-af2c38f7.entry.js +0 -1
- package/dist/webcomponents/p-afa54e39.entry.js +0 -1
- package/dist/webcomponents/p-dd05cce1.entry.js +0 -1
- package/dist/webcomponents/p-e00aeb33.entry.js +0 -1
- package/dist/webcomponents/p-e1c5ee0a.entry.js +0 -1
- package/dist/webcomponents/p-ea8dd3e7.entry.js +0 -1
- package/dist/webcomponents/p-f8b205f7.entry.js +0 -1
- package/dist/webcomponents/p-o_73WSki.js +0 -1
- package/dist/webcomponents/p-um3YdOwW.js +0 -1
- package/dist/webcomponents/p-vb3fTJEZ.js +0 -1
- package/dist/webcomponents/p-wqUvt1PB.js +0 -1
- /package/dist/webcomponents/{p-D6FDxSyt.js → p-DeiW2BDb.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configState = require('./config-state-
|
|
4
|
-
var utils = require('./utils-
|
|
3
|
+
var configState = require('./config-state-BH7lf2ok.js');
|
|
4
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
5
5
|
|
|
6
6
|
const Api = () => {
|
|
7
7
|
async function getAuthorizationHeader(authToken) {
|
|
@@ -179,7 +179,9 @@ class CoreBusinessInfo {
|
|
|
179
179
|
}
|
|
180
180
|
class Business {
|
|
181
181
|
constructor(business) {
|
|
182
|
-
this.additional_questions =
|
|
182
|
+
this.additional_questions = business.additional_questions
|
|
183
|
+
? new AdditionalQuestions(business.additional_questions)
|
|
184
|
+
: null;
|
|
183
185
|
this.associated_accounts = business.associated_accounts;
|
|
184
186
|
this.classification = business.classification;
|
|
185
187
|
this.bank_accounts = business.bank_accounts;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
3
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
4
4
|
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
5
5
|
|
|
6
6
|
var CaptureStrategy;
|
|
@@ -148,60 +148,4 @@ class Payment {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
exports.EntityDocumentType = void 0;
|
|
152
|
-
(function (EntityDocumentType) {
|
|
153
|
-
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
154
|
-
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
155
|
-
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
156
|
-
EntityDocumentType["governmentId"] = "government_id";
|
|
157
|
-
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
158
|
-
EntityDocumentType["taxReturn"] = "tax_return";
|
|
159
|
-
EntityDocumentType["other"] = "other";
|
|
160
|
-
})(exports.EntityDocumentType || (exports.EntityDocumentType = {}));
|
|
161
|
-
var EntityDocumentStatus;
|
|
162
|
-
(function (EntityDocumentStatus) {
|
|
163
|
-
EntityDocumentStatus["pending"] = "pending";
|
|
164
|
-
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
165
|
-
EntityDocumentStatus["canceled"] = "canceled";
|
|
166
|
-
EntityDocumentStatus["needed"] = "needed";
|
|
167
|
-
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
168
|
-
class EntityDocumentStorage {
|
|
169
|
-
constructor() {
|
|
170
|
-
this.voided_check = [];
|
|
171
|
-
this.balance_sheet = [];
|
|
172
|
-
this.bank_statement = [];
|
|
173
|
-
this.government_id = [];
|
|
174
|
-
this.profit_and_loss_statement = [];
|
|
175
|
-
this.tax_return = [];
|
|
176
|
-
this.other = [];
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
class EntityDocument {
|
|
180
|
-
constructor(fileData, business_id) {
|
|
181
|
-
this.file = fileData.file;
|
|
182
|
-
this.fileString = this.getFileString();
|
|
183
|
-
this.document_type = fileData.document_type;
|
|
184
|
-
this.presigned_url = null;
|
|
185
|
-
this.record_data = {
|
|
186
|
-
business_id: business_id,
|
|
187
|
-
document_type: this.document_type,
|
|
188
|
-
file_name: this.file.name,
|
|
189
|
-
file_type: this.file.type,
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
getFileString() {
|
|
193
|
-
let reader = new FileReader();
|
|
194
|
-
reader.onload = (e) => {
|
|
195
|
-
this.fileString = e.target.result;
|
|
196
|
-
};
|
|
197
|
-
reader.readAsDataURL(this.file);
|
|
198
|
-
return this.fileString;
|
|
199
|
-
}
|
|
200
|
-
setPresignedUrl(url) {
|
|
201
|
-
this.presigned_url = url;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
exports.EntityDocument = EntityDocument;
|
|
206
|
-
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
207
151
|
exports.Payment = Payment;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
3
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
4
4
|
|
|
5
5
|
var PaymentBalanceTxnType;
|
|
6
6
|
(function (PaymentBalanceTxnType) {
|
|
@@ -258,6 +258,60 @@ class SubAccount {
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
exports.EntityDocumentType = void 0;
|
|
262
|
+
(function (EntityDocumentType) {
|
|
263
|
+
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
264
|
+
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
265
|
+
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
266
|
+
EntityDocumentType["governmentId"] = "government_id";
|
|
267
|
+
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
268
|
+
EntityDocumentType["taxReturn"] = "tax_return";
|
|
269
|
+
EntityDocumentType["other"] = "other";
|
|
270
|
+
})(exports.EntityDocumentType || (exports.EntityDocumentType = {}));
|
|
271
|
+
var EntityDocumentStatus;
|
|
272
|
+
(function (EntityDocumentStatus) {
|
|
273
|
+
EntityDocumentStatus["pending"] = "pending";
|
|
274
|
+
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
275
|
+
EntityDocumentStatus["canceled"] = "canceled";
|
|
276
|
+
EntityDocumentStatus["needed"] = "needed";
|
|
277
|
+
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
278
|
+
class EntityDocumentStorage {
|
|
279
|
+
constructor() {
|
|
280
|
+
this.voided_check = [];
|
|
281
|
+
this.balance_sheet = [];
|
|
282
|
+
this.bank_statement = [];
|
|
283
|
+
this.government_id = [];
|
|
284
|
+
this.profit_and_loss_statement = [];
|
|
285
|
+
this.tax_return = [];
|
|
286
|
+
this.other = [];
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
class EntityDocument {
|
|
290
|
+
constructor(fileData, business_id) {
|
|
291
|
+
this.file = fileData.file;
|
|
292
|
+
this.fileString = this.getFileString();
|
|
293
|
+
this.document_type = fileData.document_type;
|
|
294
|
+
this.presigned_url = null;
|
|
295
|
+
this.record_data = {
|
|
296
|
+
business_id: business_id,
|
|
297
|
+
document_type: this.document_type,
|
|
298
|
+
file_name: this.file.name,
|
|
299
|
+
file_type: this.file.type,
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
getFileString() {
|
|
303
|
+
let reader = new FileReader();
|
|
304
|
+
reader.onload = (e) => {
|
|
305
|
+
this.fileString = e.target.result;
|
|
306
|
+
};
|
|
307
|
+
reader.readAsDataURL(this.file);
|
|
308
|
+
return this.fileString;
|
|
309
|
+
}
|
|
310
|
+
setPresignedUrl(url) {
|
|
311
|
+
this.presigned_url = url;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
261
315
|
var RefundStatuses;
|
|
262
316
|
(function (RefundStatuses) {
|
|
263
317
|
RefundStatuses["succeeded"] = "succeeded";
|
|
@@ -278,6 +332,8 @@ class RefundPayload {
|
|
|
278
332
|
}
|
|
279
333
|
}
|
|
280
334
|
|
|
335
|
+
exports.EntityDocument = EntityDocument;
|
|
336
|
+
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
281
337
|
exports.PaymentBalanceTransaction = PaymentBalanceTransaction;
|
|
282
338
|
exports.Payout = Payout;
|
|
283
339
|
exports.PayoutBalanceTransaction = PayoutBalanceTransaction;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils$1 = require('./utils-
|
|
5
|
-
var utils = require('./utils-
|
|
3
|
+
var index = require('./index-y-rskGFM.js');
|
|
4
|
+
var utils$1 = require('./utils-B4fXt0os.js');
|
|
5
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
6
6
|
require('./parts-9jMf1erK.js');
|
|
7
7
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
8
8
|
|
|
@@ -11,22 +11,21 @@ const AdditionalQuestionsDetails = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
|
|
15
|
-
if (utils.isEmptyObject(this.additionalQuestions))
|
|
14
|
+
if (!this.additionalQuestions || utils.isEmptyObject(this.additionalQuestions))
|
|
16
15
|
return null;
|
|
17
|
-
return (index.h(
|
|
16
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Additional Questions" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Business Revenue", value: this.additionalQuestions.business_revenue }), index.h(utils$1.DetailItem, { title: "Business Payment Volume", value: this.additionalQuestions.business_payment_volume }))))));
|
|
18
17
|
}
|
|
19
18
|
};
|
|
20
19
|
|
|
21
|
-
const
|
|
20
|
+
const CoreInfoDetails = class {
|
|
22
21
|
constructor(hostRef) {
|
|
23
22
|
index.registerInstance(this, hostRef);
|
|
24
23
|
}
|
|
25
24
|
render() {
|
|
26
|
-
|
|
27
|
-
if (!this.business)
|
|
25
|
+
if (!this.business) {
|
|
28
26
|
return null;
|
|
29
|
-
|
|
27
|
+
}
|
|
28
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Business Core Info Details" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Legal Name", value: this.business.legal_name }), index.h(utils$1.DetailItem, { title: "Doing Business As (DBA)", value: this.business.doing_business_as }), index.h(utils$1.DetailItem, { title: "Business Classification", value: utils.snakeCaseToHumanReadable(this.business.classification) }), index.h(utils$1.DetailItem, { title: "Industry", value: this.business.industry })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Tax ID", value: this.business.tax_id }), index.h(utils$1.DetailItem, { title: "Website URL", value: this.business.website_url }), index.h(utils$1.DetailItem, { title: "Email Address", value: this.business.email }), index.h(utils$1.DetailItem, { title: "Phone Number", value: this.business.phone }))))));
|
|
30
29
|
}
|
|
31
30
|
};
|
|
32
31
|
|
|
@@ -36,9 +35,9 @@ const LegalAddressDetails = class {
|
|
|
36
35
|
}
|
|
37
36
|
render() {
|
|
38
37
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
39
|
-
if (utils.isEmptyObject(this.legalAddress))
|
|
38
|
+
if (!this.legalAddress || utils.isEmptyObject(this.legalAddress))
|
|
40
39
|
return null;
|
|
41
|
-
return (index.h(
|
|
40
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Business Legal Address Details" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Country", value: (_a = this.legalAddress) === null || _a === void 0 ? void 0 : _a.country }), index.h(utils$1.DetailItem, { title: "Legal Address", value: (_b = this.legalAddress) === null || _b === void 0 ? void 0 : _b.line1 }), index.h(utils$1.DetailItem, { title: "Address Line 2", value: (_c = this.legalAddress) === null || _c === void 0 ? void 0 : _c.line2 })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "City", value: (_d = this.legalAddress) === null || _d === void 0 ? void 0 : _d.city }), index.h(utils$1.DetailItem, { title: "State", value: (_e = this.legalAddress) === null || _e === void 0 ? void 0 : _e.state }), index.h(utils$1.DetailItem, { title: "Postal Code", value: (_g = (_f = this.legalAddress) === null || _f === void 0 ? void 0 : _f.postal_code) === null || _g === void 0 ? void 0 : _g.toString() }))))));
|
|
42
41
|
}
|
|
43
42
|
};
|
|
44
43
|
|
|
@@ -66,14 +65,14 @@ const JustifiRepresentativeDetails = class {
|
|
|
66
65
|
}
|
|
67
66
|
render() {
|
|
68
67
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
69
|
-
if (utils.isEmptyObject(this.representative))
|
|
68
|
+
if (!this.representative || utils.isEmptyObject(this.representative))
|
|
70
69
|
return null;
|
|
71
|
-
return (index.h(
|
|
70
|
+
return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Representative Details" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), index.h(utils$1.DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), index.h(utils$1.DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), index.h(utils$1.DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && utils.formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), index.h(utils$1.DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), index.h(utils$1.DetailItem, { title: "Date Of Birth", value: this.representative && utils.formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), index.h(utils$1.DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), index.h(utils$1.DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), index.h(utils$1.DetailItem, { title: "Updated At", value: this.representative && utils.formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
73
|
|
|
75
74
|
exports.additional_questions_details = AdditionalQuestionsDetails;
|
|
76
|
-
exports.
|
|
75
|
+
exports.core_info_details = CoreInfoDetails;
|
|
77
76
|
exports.legal_address_details = LegalAddressDetails;
|
|
78
77
|
exports.owner_details = OwnerDetails;
|
|
79
78
|
exports.representative_details = JustifiRepresentativeDetails;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
require('./config-state-
|
|
5
|
-
var utils$1 = require('./utils-
|
|
3
|
+
var index = require('./index-y-rskGFM.js');
|
|
4
|
+
require('./config-state-BH7lf2ok.js');
|
|
5
|
+
var utils$1 = require('./utils-qOon0GWm.js');
|
|
6
6
|
require('./ComponentError-C4MdBBMe.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-TZnRz3-3.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
|
-
|
|
10
|
-
require('./Refund-
|
|
11
|
-
require('./Business-
|
|
9
|
+
require('./Payment-D5UynU2f.js');
|
|
10
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
11
|
+
require('./Business-DCRzZf0w.js');
|
|
12
12
|
require('./Dispute-CruQTF6_.js');
|
|
13
|
-
var businessFormOptions = require('./business-form-options-
|
|
13
|
+
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
14
14
|
require('./event-types-DNOUef41.js');
|
|
15
15
|
var utils = require('./utils-DAyWinG2.js');
|
|
16
16
|
var parts = require('./parts-9jMf1erK.js');
|
|
17
|
-
var skeleton = require('./skeleton-
|
|
17
|
+
var skeleton = require('./skeleton-CgT0siC5.js');
|
|
18
18
|
require('./event-types-YOY5TKUN.js');
|
|
19
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
20
|
-
require('./index-
|
|
19
|
+
var formControlErrorText = require('./form-control-error-text-B-3qE49U.js');
|
|
20
|
+
require('./index-oahmQhrI.js');
|
|
21
21
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
22
22
|
require('./helpers-B5OCqlIM.js');
|
|
23
23
|
require('./state-options-CIT9xdTz.js');
|
|
@@ -27,7 +27,7 @@ const BankAccountDocumentFormInputs = class {
|
|
|
27
27
|
index.registerInstance(this, hostRef);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (index.h("div", { key: 'a3ff8b1ff23923beb847e66d6c56a39de9a86434', class: "row gy-3" }, index.h("div", { key: '86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5', class: "col-12" }, index.h("form-control-file", { key: '9cc2bc21414c8e3f4b25ac47b76340a4ce569c42', name: "voided_check", label: "Voided Check", documentType:
|
|
30
|
+
return (index.h("div", { key: 'a3ff8b1ff23923beb847e66d6c56a39de9a86434', class: "row gy-3" }, index.h("div", { key: '86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5', class: "col-12" }, index.h("form-control-file", { key: '9cc2bc21414c8e3f4b25ac47b76340a4ce569c42', name: "voided_check", label: "Voided Check", documentType: Refund.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: 'bee72d6c63514cdbd3200910d3a53b045c60d05d', class: "col-12" }, index.h("form-control-file", { key: '80a79f352d078cd210768b4060cad7014b1060c5', name: "bank_statement", label: "Bank Statement", documentType: Refund.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var skeleton = require('./skeleton-
|
|
5
|
-
var configState = require('./config-state-
|
|
6
|
-
var iframeInputStylesState = require('./iframe-input-styles-state-
|
|
3
|
+
var index = require('./index-y-rskGFM.js');
|
|
4
|
+
var skeleton = require('./skeleton-CgT0siC5.js');
|
|
5
|
+
var configState = require('./config-state-BH7lf2ok.js');
|
|
6
|
+
var iframeInputStylesState = require('./iframe-input-styles-state-CFjq45QT.js');
|
|
7
7
|
var parts = require('./parts-9jMf1erK.js');
|
|
8
8
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
9
|
-
var schemaValidations = require('./schema-validations-
|
|
10
|
-
var header3 = require('./header-3-
|
|
9
|
+
var schemaValidations = require('./schema-validations-BSeMee-o.js');
|
|
10
|
+
var header3 = require('./header-3-BAx5OhvM.js');
|
|
11
11
|
require('./event-types-YOY5TKUN.js');
|
|
12
12
|
var utils = require('./utils-DAyWinG2.js');
|
|
13
13
|
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
14
|
-
var
|
|
15
|
-
var utils$1 = require('./utils-
|
|
16
|
-
require('./index-
|
|
14
|
+
var Payment = require('./Payment-D5UynU2f.js');
|
|
15
|
+
var utils$1 = require('./utils-qOon0GWm.js');
|
|
16
|
+
require('./index-oahmQhrI.js');
|
|
17
17
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
18
|
-
require('./business-form-options-
|
|
19
|
-
require('./Business-
|
|
18
|
+
require('./business-form-options-CMII7nIK.js');
|
|
19
|
+
require('./Business-DCRzZf0w.js');
|
|
20
20
|
require('./helpers-B5OCqlIM.js');
|
|
21
21
|
require('./Dispute-CruQTF6_.js');
|
|
22
22
|
|
|
@@ -264,13 +264,14 @@ const BillingForm = class {
|
|
|
264
264
|
this.formController.setInitialValues(fields);
|
|
265
265
|
}
|
|
266
266
|
async validate() {
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
const isValid = await this.formController.validate();
|
|
268
|
+
const errors = this.formController.errors.getValue();
|
|
269
|
+
return { isValid, errors };
|
|
269
270
|
}
|
|
270
271
|
render() {
|
|
271
272
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
272
273
|
const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
|
|
273
|
-
return (index.h(index.Host, { key: '
|
|
274
|
+
return (index.h(index.Host, { key: 'df86239c476aadde3af18742bbf643d61825c051' }, index.h("div", { key: '186f3ef6c2295223da888b7645a0af7aa8df4535', part: parts.billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && index.h(header3.Header3, { key: '72284e3fcea18cbdfe879989fb7f1b007e2a37df', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), index.h("form", { key: '9479d696a0486e63edfad4bd0dbe374a21cb7b8c' }, index.h("fieldset", { key: 'b780abf09a714f2e9588670ad149c3ca999cbc87' }, this.legend && index.h("legend", { key: 'f102dc51722fe2f050c951e7b56117c9577f3b83' }, this.legend), index.h("div", { key: '00d6c7e35d768f3357cc17836c916e2bf24e3a7e', class: "row gy-3" }, index.h("div", { key: 'cb2b29aa769c97ccab246dc74e463d389497edbd', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: '3cb8ca5e3ecd0817f8e16aafbb5d3ca5ee7824ed', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '781338b1c79fd815d2ab2dbc15e7b56b534a2278', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: '682a37c6b417fbc0edf76b89122b5bf618603360', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), index.h("div", { key: '50d657891e492c8568bf179d752b9aadf10f2387', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: 'ce1f04bfc3307af7a025390bcbcce6a6b3da6fab', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), index.h("div", { key: 'ddb45c1cbdc6aa5d27c6a0c4b6f29366ed0e8eba', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-text", { key: '410efdbcd5381bdf61d9c752f292f794d8e12670', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), index.h("div", { key: 'a65811acc25443a07cdb1401231ce1e703096fd4', class: "col-12", hidden: this.isPostalOnlyMode }, index.h("form-control-select", { key: 'bed28d564c9e5a2ebfc10b6ab47e43e2b17bd6e6', name: 'address_state', label: 'State', options: stateOptions.StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), index.h("div", { key: '8aca307d318e87b17e09122fa91e817c0a59c8d5', class: "col-12", hidden: this.hideAllBillingFields }, index.h("form-control-text", { key: '4dd06dc9ae01fc2953780e52f9e9c918a38a7bbd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: utils.numberOnlyHandler }))))))));
|
|
274
275
|
}
|
|
275
276
|
};
|
|
276
277
|
|
|
@@ -299,9 +300,18 @@ const NewPaymentMethod = class {
|
|
|
299
300
|
if (!this.paymentMethodFormRef || !this.billingFormRef)
|
|
300
301
|
return;
|
|
301
302
|
try {
|
|
302
|
-
const isValid = await this.validate();
|
|
303
|
+
const { isValid, errors } = await this.validate();
|
|
303
304
|
if (!isValid || !insuranceValidation.isValid) {
|
|
304
|
-
|
|
305
|
+
// get propety value from first property in errors object
|
|
306
|
+
const message = `${Object.values(errors)[0] || 'Validation error'}`;
|
|
307
|
+
return {
|
|
308
|
+
validationError: true,
|
|
309
|
+
error: {
|
|
310
|
+
code: 'validation_error',
|
|
311
|
+
message,
|
|
312
|
+
decline_code: undefined
|
|
313
|
+
}
|
|
314
|
+
};
|
|
305
315
|
}
|
|
306
316
|
const tokenizeResponse = await this.tokenize();
|
|
307
317
|
if (tokenizeResponse.error) {
|
|
@@ -322,7 +332,9 @@ const NewPaymentMethod = class {
|
|
|
322
332
|
async validate() {
|
|
323
333
|
const billingFormValidation = await this.billingFormRef.validate();
|
|
324
334
|
const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
|
|
325
|
-
|
|
335
|
+
const isValid = billingFormValidation.isValid && paymentMethodFormValidation.isValid;
|
|
336
|
+
const errors = Object.assign(Object.assign({}, billingFormValidation.errors), paymentMethodFormValidation.errors);
|
|
337
|
+
return { isValid, errors };
|
|
326
338
|
}
|
|
327
339
|
async tokenize() {
|
|
328
340
|
try {
|
|
@@ -352,7 +364,7 @@ const NewPaymentMethod = class {
|
|
|
352
364
|
}
|
|
353
365
|
render() {
|
|
354
366
|
var _a, _b;
|
|
355
|
-
return (index.h(index.Host, { key: '
|
|
367
|
+
return (index.h(index.Host, { key: '137378e62a729bd2287b1bdf89cb85c702cd4e12', class: "payment-method" }, index.h("div", { key: 'dabfcf5c56169708a8968a16aeaafefb43ca3ab8', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, index.h("form-control-radio", { key: 'd098e2b8f6e1230fc16fdc2cbfd616559bcf2b89', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
356
368
|
}
|
|
357
369
|
};
|
|
358
370
|
|
|
@@ -397,17 +409,17 @@ const PaymentMethodOptions = class {
|
|
|
397
409
|
.map((paymentMethod) => new PaymentMethodOption(paymentMethod))
|
|
398
410
|
.filter((paymentMethod) => {
|
|
399
411
|
// Don't saved card or bank account if they are disabled
|
|
400
|
-
return ((this.showCard || paymentMethod.type !==
|
|
401
|
-
(this.showAch || paymentMethod.type !==
|
|
412
|
+
return ((this.showCard || paymentMethod.type !== Payment.PaymentMethodTypes.card) &&
|
|
413
|
+
(this.showAch || paymentMethod.type !== Payment.PaymentMethodTypes.bankAccount));
|
|
402
414
|
});
|
|
403
415
|
if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
|
|
404
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
416
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Payment.PaymentMethodTypes.sezzle }));
|
|
405
417
|
}
|
|
406
418
|
if (this.showCard) {
|
|
407
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
419
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Payment.PaymentMethodTypes.card }));
|
|
408
420
|
}
|
|
409
421
|
if (this.showAch) {
|
|
410
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id:
|
|
422
|
+
this.paymentMethodOptions.push(new PaymentMethodOption({ id: Payment.PaymentMethodTypes.bankAccount }));
|
|
411
423
|
}
|
|
412
424
|
if (!this.selectedPaymentMethodId) {
|
|
413
425
|
this.selectedPaymentMethodId = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
|
|
@@ -422,16 +434,15 @@ const PaymentMethodOptions = class {
|
|
|
422
434
|
}
|
|
423
435
|
async validate() {
|
|
424
436
|
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
425
|
-
|
|
426
|
-
return { isValid: isValid };
|
|
437
|
+
return newPaymentMethodElement.validate();
|
|
427
438
|
}
|
|
428
439
|
render() {
|
|
429
440
|
var _a;
|
|
430
|
-
return (index.h(index.Host, { key: '
|
|
431
|
-
const newCard = paymentMethodOption.id ===
|
|
432
|
-
const newBankAccount = paymentMethodOption.id ===
|
|
441
|
+
return (index.h(index.Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
442
|
+
const newCard = paymentMethodOption.id === Payment.PaymentMethodTypes.card;
|
|
443
|
+
const newBankAccount = paymentMethodOption.id === Payment.PaymentMethodTypes.bankAccount;
|
|
433
444
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
434
|
-
const sezzle = paymentMethodOption.id ===
|
|
445
|
+
const sezzle = paymentMethodOption.id === Payment.PaymentMethodTypes.sezzle;
|
|
435
446
|
if (newCard || newBankAccount) {
|
|
436
447
|
return (index.h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
|
|
437
448
|
if (isSelected) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
4
|
+
var schemaValidations = require('./schema-validations-BSeMee-o.js');
|
|
5
5
|
|
|
6
6
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils = require('./utils-
|
|
5
|
-
var styledHost = require('./styled-host-
|
|
3
|
+
var index = require('./index-y-rskGFM.js');
|
|
4
|
+
var utils = require('./utils-B4fXt0os.js');
|
|
5
|
+
var styledHost = require('./styled-host-LD5MpzHs.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var skeleton = require('./skeleton-
|
|
7
|
+
var skeleton = require('./skeleton-CgT0siC5.js');
|
|
8
8
|
require('./parts-9jMf1erK.js');
|
|
9
9
|
|
|
10
10
|
const BusinessDetailsLoading = () => {
|
|
@@ -38,7 +38,6 @@ const BusinessDetailsCore = class {
|
|
|
38
38
|
index.registerInstance(this, hostRef);
|
|
39
39
|
this.errorEvent = index.createEvent(this, "error-event");
|
|
40
40
|
this.renderState = RENDER_STATES.LOADING;
|
|
41
|
-
this.errorMessage = 'An error ocurred.';
|
|
42
41
|
}
|
|
43
42
|
async componentWillLoad() {
|
|
44
43
|
if (this.getBusiness) {
|
|
@@ -70,7 +69,7 @@ const BusinessDetailsCore = class {
|
|
|
70
69
|
if (this.renderState === RENDER_STATES.ERROR) {
|
|
71
70
|
return index.h(styledHost.StyledHost, null, utils.ErrorState(this.errorMessage));
|
|
72
71
|
}
|
|
73
|
-
return (index.h(styledHost.StyledHost, null, index.h("
|
|
72
|
+
return (index.h(styledHost.StyledHost, null, index.h("justifi-details", { "error-message": this.errorMessage }, index.h("div", { slot: 'detail-sections' }, index.h("core-info-details", { business: this.business }), index.h("legal-address-details", { legalAddress: this.business.legal_address }), index.h("representative-details", { representative: this.business.representative }), index.h("owner-details", { owners: this.business.owners }), index.h("additional-questions-details", { additionalQuestions: this.business.additional_questions })))));
|
|
74
73
|
}
|
|
75
74
|
};
|
|
76
75
|
|
package/dist/cjs/{business-identity-schema-BYaCsboD.js → business-identity-schema-Diqj_WVQ.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
4
|
+
var schemaValidations = require('./schema-validations-BSeMee-o.js');
|
|
5
5
|
|
|
6
6
|
const addressSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
3
|
+
var Api = require('./Api-CJ1_RDQW.js');
|
|
4
4
|
require('./ComponentError-C4MdBBMe.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-TZnRz3-3.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./
|
|
8
|
-
require('./Refund-
|
|
9
|
-
require('./Business-
|
|
7
|
+
require('./Payment-D5UynU2f.js');
|
|
8
|
+
require('./Refund-BFE-2OxN.js');
|
|
9
|
+
require('./Business-DCRzZf0w.js');
|
|
10
10
|
require('./Dispute-CruQTF6_.js');
|
|
11
11
|
|
|
12
12
|
const api = Api.Api();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-y-rskGFM.js');
|
|
4
4
|
var parts = require('./parts-9jMf1erK.js');
|
|
5
5
|
|
|
6
6
|
const ButtonSpinner = () => (index.h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
4
|
-
var Api = require('./Api-
|
|
3
|
+
var _package = require('./package-a_vXN-Ly.js');
|
|
4
|
+
var Api = require('./Api-CJ1_RDQW.js');
|
|
5
5
|
require('./ComponentError-C4MdBBMe.js');
|
|
6
|
-
require('./Checkout-
|
|
6
|
+
require('./Checkout-TZnRz3-3.js');
|
|
7
7
|
require('./Pagination-Dediz133.js');
|
|
8
|
-
require('./
|
|
9
|
-
require('./Refund-
|
|
10
|
-
require('./Business-
|
|
8
|
+
require('./Payment-D5UynU2f.js');
|
|
9
|
+
require('./Refund-BFE-2OxN.js');
|
|
10
|
+
require('./Business-DCRzZf0w.js');
|
|
11
11
|
require('./Dispute-CruQTF6_.js');
|
|
12
12
|
|
|
13
13
|
const api = Api.Api();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
3
|
+
var Api = require('./Api-CJ1_RDQW.js');
|
|
4
4
|
require('./ComponentError-C4MdBBMe.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-TZnRz3-3.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./
|
|
8
|
-
require('./Refund-
|
|
9
|
-
require('./Business-
|
|
7
|
+
require('./Payment-D5UynU2f.js');
|
|
8
|
+
require('./Refund-BFE-2OxN.js');
|
|
9
|
+
require('./Business-DCRzZf0w.js');
|
|
10
10
|
require('./Dispute-CruQTF6_.js');
|
|
11
11
|
|
|
12
12
|
const api = Api.Api();
|