@justifi/webcomponents 6.1.0 → 6.2.0-rc.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/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-additional-questions-schema-b8P-0T0O.js → business-additional-questions-schema-CetDMUp7.js} +26 -4
- package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
- package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
- package/dist/cjs/{business.service-Cj_NUZsr.js → business.service-DRZurAMP.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-C7b-OLb5.js → check-pkg-version-W_AFeiO6.js} +2 -2
- package/dist/cjs/{checkout.service-Bc8L9ixO.js → checkout.service-vZbSE3A3.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/country-config-MCOhn8o3.js +68 -0
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +2 -22
- package/dist/cjs/{dispute.service-DhO_tuDc.js → dispute.service-DV9a61Tu.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +23 -4
- package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
- package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
- package/dist/cjs/{get-payment-details-BinT-ZEP.js → get-payment-details-AYzxPu-X.js} +1 -1
- package/dist/cjs/{get-subaccounts-BoTVdl7v.js → get-subaccounts-C_KD197w.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +121 -64
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +8 -10
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +16 -17
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -12
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +14 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +22 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +36 -21
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -7
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -5
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BHmdO9eK.js → package-BADgkv50.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -11
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-C9thkR4g.js → payment.service-1t60I69m.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-CGZxpQMq.js → payout.service-CQEXfufW.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/{schema-validations-Bj7eYNO8.js → schema-validations-0mjPveQ0.js} +45 -6
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -5
- package/dist/cjs/{terminal-orders-table-7ew1vCKk.js → terminal-orders-table-B4ZXHj3w.js} +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-BkKxH-k4.js → terminal.service-BlW-CJ67.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/BankAccount.js +4 -0
- package/dist/collection/api/Business.js +16 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -4
- package/dist/collection/components/business-forms/business-form/business-form.js +6 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +46 -9
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +32 -10
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +26 -6
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +29 -3
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +48 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +88 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +2 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +36 -5
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +47 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +43 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +33 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +35 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +39 -20
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +34 -6
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
- package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
- package/dist/collection/components/business-forms/utils/country-config.js +47 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.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 +1 -1
- 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/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -4
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- 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 +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -4
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.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 +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/country-codes.js +5 -0
- package/dist/collection/utils/form-input-masks.js +8 -0
- package/dist/collection/utils/province-options.js +20 -0
- package/dist/docs.json +1129 -147
- package/dist/esm/{Api-DhiA2e_P.js → Api-K9QH1Aki.js} +1 -1
- package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
- package/dist/esm/{Refund-B-iOTRxz.js → Refund-L_muwEAh.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-CtdO-tEY.js → badge-B8fF98jp.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business-additional-questions-schema-9FAJSx_D.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
- package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
- package/dist/esm/{business.service-D55OVyco.js → business.service-BJcGEUDH.js} +3 -3
- package/dist/esm/{button-DtTaQHMK.js → button-DZoLTGMB.js} +1 -1
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-xM0uWxbL.js → check-pkg-version-CG8qzhGl.js} +4 -4
- package/dist/esm/{checkout.service-fwbqSq8g.js → checkout.service-aymuZDC9.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +9 -11
- package/dist/esm/{checkouts-table-B6gGDtOr.js → checkouts-table-B8k-Aylm.js} +3 -3
- package/dist/esm/country-config-BQ4D46Lb.js +64 -0
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +3 -22
- package/dist/esm/{dispute.service-Cdq3_yRo.js → dispute.service-DiPbsswm.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +25 -15
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-bprS-t9d.js → form-control-error-text-BmD6bGbR.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-Bvnp-IAG.js → form-control-help-text-DbIhIcc6.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_3.entry.js +115 -0
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +25 -7
- package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
- package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
- package/dist/esm/{get-payment-details-sGoWyAat.js → get-payment-details-DcC5v85s.js} +2 -2
- package/dist/esm/{get-subaccounts-BsJSlShO.js → get-subaccounts-CMJMDwSP.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-C1Hnxki8.js → header-1-umkpdspt.js} +1 -1
- package/dist/esm/{header-3-Bq8fpjm-.js → header-3-CD5K5vCa.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
- package/dist/esm/{insurance-state-CVme82j7.js → insurance-state-sR5DrCdu.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +127 -70
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -23
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +16 -18
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +22 -23
- package/dist/esm/justifi-business-details.entry.js +10 -12
- package/dist/esm/justifi-business-form.entry.js +23 -19
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +15 -7
- package/dist/esm/justifi-checkout.entry.js +9 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -7
- package/dist/esm/justifi-checkouts-list.entry.js +12 -14
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +8 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -10
- package/dist/esm/justifi-order-terminals.entry.js +12 -14
- package/dist/esm/justifi-owner-form_3.entry.js +27 -18
- package/dist/esm/justifi-payment-details.entry.js +10 -12
- package/dist/esm/justifi-payment-provisioning-core.entry.js +38 -23
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -14
- package/dist/esm/justifi-payout-details.entry.js +9 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -15
- package/dist/esm/justifi-refund-payment.entry.js +11 -13
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -7
- package/dist/esm/justifi-terminals-list.entry.js +12 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DL-q4EcN.js → package-yiqa5abX.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-xDbRW9xn.js → parts-Dj_zevuD.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -18
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment.service-BoQ1MW1k.js → payment.service-C0xnydJ8.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +10 -12
- package/dist/esm/{payments-status-cvtVmtY5.js → payments-status-CzazNnFv.js} +1 -1
- package/dist/esm/{payments-table-D_BlyU1F.js → payments-table-BPKxBAJ0.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-xcBdom3q.js → payout.service-Cl4yxnrx.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +10 -12
- package/dist/esm/{payouts-status-D-vjrqBb.js → payouts-status-rKlX41bK.js} +1 -1
- package/dist/esm/{payouts-table-Clj8YGLV.js → payouts-table-C6ZDcd_-.js} +3 -3
- package/dist/esm/{schema-validations-B9dmY7ME.js → schema-validations-BFoU1cR8.js} +41 -6
- package/dist/esm/{skeleton-B8EUwt4b.js → skeleton-BEoPu3My.js} +1 -1
- package/dist/esm/{spinner-CYXkn1fh.js → spinner-Ac-w5zWg.js} +1 -1
- package/dist/esm/{table-Bj20uWfu.js → table-BCwizIf9.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +9 -11
- package/dist/esm/{terminal-orders-table-DzBpIW8i.js → terminal-orders-table-BBQsoUh8.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-l6zTIPZ3.js → terminal.service-mwaS-Mbj.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +9 -11
- package/dist/esm/{terminals-table-BMS5tazC.js → terminals-table-ByiFdTfy.js} +3 -3
- package/dist/esm/{utils-BOijEGPV.js → utils-CIaHqjQt.js} +1 -1
- package/dist/esm/{utils-DRwofES0.js → utils-KBIYAa0D.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +290 -3
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
- package/dist/module/bank-account-form-inputs-canada.js +6 -0
- package/dist/module/bank-account-form-inputs-canada2.js +68 -0
- package/dist/module/bank-account-form-inputs2.js +9 -2
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value.d.ts +11 -0
- package/dist/module/bank-account-read-only-value.js +6 -0
- package/dist/module/bank-account-read-only-value2.js +33 -0
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-address-schema.js +40 -20
- package/dist/module/business-bank-account-form-step-core.js +101 -48
- package/dist/module/business-bank-account-form-step.js +18 -5
- package/dist/module/business-core-info-form-step-core.js +22 -7
- package/dist/module/business-core-info-form-step.js +2 -1
- package/dist/module/business-core-info-schema.js +26 -5
- package/dist/module/business-core-info.js +12 -4
- package/dist/module/business-identity-schema.js +52 -25
- package/dist/module/business-owners-form-step-core.js +20 -13
- package/dist/module/business-owners-form-step.js +22 -15
- package/dist/module/business-representative-form-inputs.js +34 -17
- package/dist/module/business-representative-form-step-core.js +29 -18
- package/dist/module/business-representative-form-step.js +24 -17
- package/dist/module/business-representative.js +37 -19
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/country-config.js +64 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- 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/form-address-fields.js +65 -0
- package/dist/module/form-control-checkbox2.js +2 -2
- 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 +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- 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 +2 -2
- package/dist/module/form-input-masks.js +9 -3
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +16 -14
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-business-form.js +41 -29
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-form-address-fields.d.ts +11 -0
- package/dist/module/justifi-form-address-fields.js +6 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-provisioning.js +67 -49
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/legal-address-form-step-core.js +26 -19
- package/dist/module/legal-address-form-step.js +16 -9
- package/dist/module/legal-address-form.js +18 -15
- package/dist/module/modular-checkout.js +1 -1
- package/dist/module/owner-form-core2.js +23 -15
- package/dist/module/owner-form-inputs2.js +34 -15
- package/dist/module/owner-form.js +20 -13
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +104 -69
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +75 -54
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +41 -6
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/types/api/BankAccount.d.ts +6 -0
- package/dist/types/api/Business.d.ts +9 -0
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +165 -7
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
- package/dist/types/components.d.ts +119 -10
- package/dist/types/utils/country-codes.d.ts +4 -0
- package/dist/types/utils/form-input-masks.d.ts +1 -0
- package/dist/types/utils/province-options.d.ts +5 -0
- package/dist/webcomponents/p-0926c397.entry.js +1 -0
- package/dist/webcomponents/p-09aaaf03.entry.js +1 -0
- package/dist/webcomponents/p-0b36f1a8.entry.js +1 -0
- package/dist/webcomponents/p-10537b60.entry.js +1 -0
- package/dist/webcomponents/p-164fe6d3.entry.js +1 -0
- package/dist/webcomponents/{p-0eb69f41.entry.js → p-1c362f36.entry.js} +1 -1
- package/dist/webcomponents/{p-0217783c.entry.js → p-221ec54e.entry.js} +4 -4
- package/dist/webcomponents/p-24621c40.entry.js +1 -0
- package/dist/webcomponents/{p-cff5dd60.entry.js → p-2ebc8539.entry.js} +1 -1
- package/dist/webcomponents/p-30848456.entry.js +1 -0
- package/dist/webcomponents/p-3b43f8c0.entry.js +1 -0
- package/dist/webcomponents/p-4a0f34de.entry.js +1 -0
- package/dist/webcomponents/p-4d243123.entry.js +1 -0
- package/dist/webcomponents/p-4d6e0ebe.entry.js +1 -0
- package/dist/webcomponents/p-4e57359c.entry.js +1 -0
- package/dist/webcomponents/p-5277f2a6.entry.js +1 -0
- package/dist/webcomponents/p-54cea29e.entry.js +1 -0
- package/dist/webcomponents/{p-7c8deca8.entry.js → p-580f3bb6.entry.js} +1 -1
- package/dist/webcomponents/p-5de4d9e4.entry.js +1 -0
- package/dist/webcomponents/p-5fcfedb2.entry.js +1 -0
- package/dist/webcomponents/p-6190fbb7.entry.js +1 -0
- package/dist/webcomponents/p-620ec409.entry.js +1 -0
- package/dist/webcomponents/p-65090485.entry.js +1 -0
- package/dist/webcomponents/p-66833631.entry.js +1 -0
- package/dist/webcomponents/p-68aeb5bd.entry.js +1 -0
- package/dist/webcomponents/p-6d61092c.entry.js +1 -0
- package/dist/webcomponents/p-72f5e234.entry.js +1 -0
- package/dist/webcomponents/p-7498759d.entry.js +1 -0
- package/dist/webcomponents/p-760e739c.entry.js +1 -0
- package/dist/webcomponents/p-81099469.entry.js +1 -0
- package/dist/webcomponents/p-82723f07.entry.js +1 -0
- package/dist/webcomponents/p-86372164.entry.js +1 -0
- package/dist/webcomponents/{p-b608add9.entry.js → p-8896ab68.entry.js} +1 -1
- package/dist/webcomponents/p-89052ce0.entry.js +1 -0
- package/dist/webcomponents/{p-ClvhB3WW.js → p-890S0Nwr.js} +1 -1
- package/dist/webcomponents/{p-37a93597.entry.js → p-8a156528.entry.js} +1 -1
- package/dist/webcomponents/p-8a68be8f.entry.js +1 -0
- package/dist/webcomponents/p-91b09245.entry.js +1 -0
- package/dist/webcomponents/p-9ce44689.entry.js +1 -0
- package/dist/webcomponents/p-B5rtFhtR.js +1 -0
- package/dist/webcomponents/{p-CEk3bv0x.js → p-B9MN_vv4.js} +1 -1
- package/dist/webcomponents/p-BIcS6lTe.js +1 -0
- package/dist/webcomponents/{p-BBx_EQqR.js → p-BRbqaU66.js} +1 -1
- package/dist/webcomponents/{p-Bgnhf5c9.js → p-BS7OgSQe.js} +1 -1
- package/dist/webcomponents/p-BT473_5I.js +1 -0
- package/dist/webcomponents/p-BXMAoCNA.js +1 -0
- package/dist/webcomponents/{p-B6IWa9Ph.js → p-BYrSeoci.js} +1 -1
- package/dist/webcomponents/{p-CCmDcLao.js → p-BdmYH_IK.js} +1 -1
- package/dist/webcomponents/p-BkaPXFTl.js +1 -0
- package/dist/webcomponents/{p-hbWSMN3O.js → p-Bm8T-MOQ.js} +1 -1
- package/dist/webcomponents/p-BwBb2Opu.js +1 -0
- package/dist/webcomponents/p-C6g4MbnB.js +1 -0
- package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
- package/dist/webcomponents/p-CJ9qo7_g.js +1 -0
- package/dist/webcomponents/{p-C98BC5W5.js → p-CPKSE7M4.js} +1 -1
- package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
- package/dist/webcomponents/p-CQQ0H4Pb.js +1 -0
- package/dist/webcomponents/p-CTAOJGVx.js +1 -0
- package/dist/webcomponents/p-CVaOFfrI.js +1 -0
- package/dist/webcomponents/p-CVtpEQBE.js +1 -0
- package/dist/webcomponents/p-D9Yus-je.js +1 -0
- package/dist/webcomponents/p-DIdnZUSh.js +1 -0
- package/dist/webcomponents/{p-CH8Y3GSr.js → p-DSCBoCn-.js} +1 -1
- package/dist/webcomponents/p-DfKxeSrC.js +1 -0
- package/dist/webcomponents/{p-D5Jb9OcR.js → p-DfsX5bt_.js} +1 -1
- package/dist/webcomponents/{p-xDbRW9xn.js → p-Dj_zevuD.js} +1 -1
- package/dist/webcomponents/p-DqPvh0aN.js +1 -0
- package/dist/webcomponents/p-DxVCqvBt.js +1 -0
- package/dist/webcomponents/p-DxnXyWPn.js +1 -0
- package/dist/webcomponents/p-Dy3-IlQ3.js +1 -0
- package/dist/webcomponents/p-Dyk0thEr.js +1 -0
- package/dist/webcomponents/p-DzWLLt4t.js +1 -0
- package/dist/webcomponents/{p-CmBCj61h.js → p-F6TcNeK4.js} +1 -1
- package/dist/webcomponents/{p-au49QgoI.js → p-IYf7zn5J.js} +1 -1
- package/dist/webcomponents/{p-C0wTyoTh.js → p-UUJudj_5.js} +1 -1
- package/dist/webcomponents/{p-0cac8468.entry.js → p-a2344efb.entry.js} +1 -1
- package/dist/webcomponents/p-a42ec25b.entry.js +1 -0
- package/dist/webcomponents/p-a81f9fc3.entry.js +1 -0
- package/dist/webcomponents/p-aa51c9e6.entry.js +1 -0
- package/dist/webcomponents/p-af31dc6d.entry.js +1 -0
- package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
- package/dist/webcomponents/p-b4bb6fa6.entry.js +1 -0
- package/dist/webcomponents/p-b72794e3.entry.js +1 -0
- package/dist/webcomponents/p-be0cbdf9.entry.js +1 -0
- package/dist/webcomponents/p-c4d919be.entry.js +1 -0
- package/dist/webcomponents/p-c796f813.entry.js +1 -0
- package/dist/webcomponents/p-c8656d20.entry.js +1 -0
- package/dist/webcomponents/{p-0cf71cbd.entry.js → p-c8e94ab9.entry.js} +1 -1
- package/dist/webcomponents/p-c9bed02a.entry.js +1 -0
- package/dist/webcomponents/p-cca865be.entry.js +1 -0
- package/dist/webcomponents/p-cd108cae.entry.js +1 -0
- package/dist/webcomponents/p-cfd3035e.entry.js +1 -0
- package/dist/webcomponents/p-d7558874.entry.js +1 -0
- package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
- package/dist/webcomponents/p-e2ab3f61.entry.js +1 -0
- package/dist/webcomponents/p-e4e6f3b8.entry.js +1 -0
- package/dist/webcomponents/p-e60e7f6a.entry.js +1 -0
- package/dist/webcomponents/p-ef8ac9f4.entry.js +1 -0
- package/dist/webcomponents/p-f4a1d3da.entry.js +1 -0
- package/dist/webcomponents/p-f72f67ef.entry.js +1 -0
- package/dist/webcomponents/p-fcb185fd.entry.js +1 -0
- package/dist/webcomponents/p-fdf5a349.entry.js +1 -0
- package/dist/webcomponents/{p-C8k7a6D-.js → p-i--LPP1s.js} +1 -1
- package/dist/webcomponents/p-sCHf--Vc.js +1 -0
- package/dist/webcomponents/{p-DdZLLkQ5.js → p-ty1sI-fI.js} +1 -1
- package/dist/webcomponents/p-yiqa5abX.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/LICENSE +0 -21
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
- package/dist/cjs/business-identity-schema-aFUle0C9.js +0 -51
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
- package/dist/cjs/helpers-B5OCqlIM.js +0 -35
- package/dist/cjs/state-options-CIT9xdTz.js +0 -246
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
- package/dist/esm/business-identity-schema-CDJzknbg.js +0 -48
- package/dist/esm/form-control-number-masked_2.entry.js +0 -104
- package/dist/esm/helpers-Mu7LQT-w.js +0 -29
- package/dist/esm/state-options-BX8GieXu.js +0 -244
- package/dist/module/helpers.js +0 -29
- package/dist/module/state-options.js +0 -244
- package/dist/webcomponents/p-0256af65.entry.js +0 -1
- package/dist/webcomponents/p-0af5269e.entry.js +0 -1
- package/dist/webcomponents/p-0f47f052.entry.js +0 -1
- package/dist/webcomponents/p-28a3bf32.entry.js +0 -1
- package/dist/webcomponents/p-2b568e8e.entry.js +0 -1
- package/dist/webcomponents/p-2d300faa.entry.js +0 -1
- package/dist/webcomponents/p-30856338.entry.js +0 -1
- package/dist/webcomponents/p-328117e4.entry.js +0 -1
- package/dist/webcomponents/p-32978110.entry.js +0 -1
- package/dist/webcomponents/p-47997bc2.entry.js +0 -1
- package/dist/webcomponents/p-50701f16.entry.js +0 -1
- package/dist/webcomponents/p-5235230f.entry.js +0 -1
- package/dist/webcomponents/p-526b7442.entry.js +0 -1
- package/dist/webcomponents/p-5aae36f3.entry.js +0 -1
- package/dist/webcomponents/p-5b5d7a8f.entry.js +0 -1
- package/dist/webcomponents/p-5bd3d86e.entry.js +0 -1
- package/dist/webcomponents/p-66db858a.entry.js +0 -1
- package/dist/webcomponents/p-720a2324.entry.js +0 -1
- package/dist/webcomponents/p-78cb62a8.entry.js +0 -1
- package/dist/webcomponents/p-7dc9ef8a.entry.js +0 -1
- package/dist/webcomponents/p-84551ee4.entry.js +0 -1
- package/dist/webcomponents/p-854b3db0.entry.js +0 -1
- package/dist/webcomponents/p-85a2eac6.entry.js +0 -1
- package/dist/webcomponents/p-8663e8bd.entry.js +0 -1
- package/dist/webcomponents/p-89f6ad8f.entry.js +0 -1
- package/dist/webcomponents/p-8S_ROmnq.js +0 -1
- package/dist/webcomponents/p-8ca21fab.entry.js +0 -1
- package/dist/webcomponents/p-8cebc84b.entry.js +0 -1
- package/dist/webcomponents/p-8f8dfd4b.entry.js +0 -1
- package/dist/webcomponents/p-94237472.entry.js +0 -1
- package/dist/webcomponents/p-9ad7d724.entry.js +0 -1
- package/dist/webcomponents/p-B-iV5cYd.js +0 -1
- package/dist/webcomponents/p-BX8GieXu.js +0 -1
- package/dist/webcomponents/p-BjNuRWXK.js +0 -1
- package/dist/webcomponents/p-BlJnA265.js +0 -1
- package/dist/webcomponents/p-BoQ6_4Ks.js +0 -1
- package/dist/webcomponents/p-C9EQ459H.js +0 -1
- package/dist/webcomponents/p-C9iide2W.js +0 -1
- package/dist/webcomponents/p-CCLgieAN.js +0 -1
- package/dist/webcomponents/p-D0Peuz-m.js +0 -1
- package/dist/webcomponents/p-D6BImiVi.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DL-q4EcN.js +0 -1
- package/dist/webcomponents/p-DQZ5VHTZ.js +0 -1
- package/dist/webcomponents/p-DWn9BiNn.js +0 -1
- package/dist/webcomponents/p-DfV3dFDB.js +0 -1
- package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
- package/dist/webcomponents/p-NAjz1Xfo.js +0 -1
- package/dist/webcomponents/p-PSJOKMWp.js +0 -1
- package/dist/webcomponents/p-RQzxYnz_.js +0 -1
- package/dist/webcomponents/p-T2yENPvU.js +0 -1
- package/dist/webcomponents/p-a5c70eee.entry.js +0 -1
- package/dist/webcomponents/p-aa14cc74.entry.js +0 -1
- package/dist/webcomponents/p-ae7054bf.entry.js +0 -1
- package/dist/webcomponents/p-ae8ae5bb.entry.js +0 -1
- package/dist/webcomponents/p-b095c781.entry.js +0 -1
- package/dist/webcomponents/p-b36adce3.entry.js +0 -1
- package/dist/webcomponents/p-b612d870.entry.js +0 -1
- package/dist/webcomponents/p-baf0d3e7.entry.js +0 -1
- package/dist/webcomponents/p-bb53e2e9.entry.js +0 -1
- package/dist/webcomponents/p-be05d450.entry.js +0 -1
- package/dist/webcomponents/p-c089fb5f.entry.js +0 -1
- package/dist/webcomponents/p-ce652ff9.entry.js +0 -1
- package/dist/webcomponents/p-d0a2035f.entry.js +0 -1
- package/dist/webcomponents/p-d1bceac6.entry.js +0 -1
- package/dist/webcomponents/p-d37d752e.entry.js +0 -1
- package/dist/webcomponents/p-d4476052.entry.js +0 -1
- package/dist/webcomponents/p-d7f91c48.entry.js +0 -1
- package/dist/webcomponents/p-d84f0122.entry.js +0 -1
- package/dist/webcomponents/p-e55a161f.entry.js +0 -1
- package/dist/webcomponents/p-e6be4e19.entry.js +0 -1
- package/dist/webcomponents/p-ec9514f8.entry.js +0 -1
- package/dist/webcomponents/p-f11a74c3.entry.js +0 -1
- package/dist/webcomponents/p-f705fc49.entry.js +0 -1
- package/dist/webcomponents/p-f930acaa.entry.js +0 -1
- package/dist/webcomponents/p-fe8c2243.entry.js +0 -1
- package/dist/webcomponents/p-fedfe376.entry.js +0 -1
- package/dist/webcomponents/p-ffefa09c.entry.js +0 -1
- package/dist/webcomponents/p-h5pyZngT.js +0 -1
- package/dist/webcomponents/p-tYuXMkCd.js +0 -1
- package/dist/webcomponents/p-wQgEEOq_.js +0 -1
|
@@ -7,6 +7,8 @@ export interface IBankAccount {
|
|
|
7
7
|
acct_last_four?: string;
|
|
8
8
|
account_number_last4?: string;
|
|
9
9
|
routing_number?: string;
|
|
10
|
+
institution_number?: string;
|
|
11
|
+
transit_number?: string;
|
|
10
12
|
bank_name?: string;
|
|
11
13
|
country?: string;
|
|
12
14
|
currency?: string;
|
|
@@ -26,6 +28,8 @@ export declare class BankAccount implements IBankAccount {
|
|
|
26
28
|
acct_last_four?: string;
|
|
27
29
|
account_number_last4?: string;
|
|
28
30
|
routing_number?: string;
|
|
31
|
+
institution_number?: string;
|
|
32
|
+
transit_number?: string;
|
|
29
33
|
bank_name?: string;
|
|
30
34
|
country?: string;
|
|
31
35
|
currency?: string;
|
|
@@ -41,6 +45,8 @@ export declare class BankAccount implements IBankAccount {
|
|
|
41
45
|
account_type: string;
|
|
42
46
|
account_number: string;
|
|
43
47
|
routing_number: string;
|
|
48
|
+
institution_number: string;
|
|
49
|
+
transit_number: string;
|
|
44
50
|
bank_name: string;
|
|
45
51
|
nickname: string;
|
|
46
52
|
business_id: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Identity } from './Identity';
|
|
2
2
|
import { IDocument } from './Document';
|
|
3
3
|
import { IBankAccount } from './BankAccount';
|
|
4
|
+
import { CountryCode } from '../utils/country-codes';
|
|
4
5
|
export declare enum BusinessFormServerErrors {
|
|
5
6
|
fetchData = "Error retrieving business data",
|
|
6
7
|
patchData = "Error updating business data"
|
|
@@ -89,6 +90,7 @@ export interface ICoreBusinessInfo {
|
|
|
89
90
|
doing_business_as?: string;
|
|
90
91
|
industry?: string;
|
|
91
92
|
tax_id?: string;
|
|
93
|
+
tax_id_last4?: string;
|
|
92
94
|
website_url?: string;
|
|
93
95
|
email?: string;
|
|
94
96
|
phone?: string;
|
|
@@ -100,6 +102,7 @@ export declare class CoreBusinessInfo implements ICoreBusinessInfo {
|
|
|
100
102
|
doing_business_as: string;
|
|
101
103
|
industry: string;
|
|
102
104
|
tax_id: string;
|
|
105
|
+
tax_id_last4: string;
|
|
103
106
|
website_url: string;
|
|
104
107
|
email: string;
|
|
105
108
|
phone: string;
|
|
@@ -137,10 +140,12 @@ export interface IBusiness {
|
|
|
137
140
|
product_categories: ProductCategories;
|
|
138
141
|
representative?: Identity | null;
|
|
139
142
|
tax_id: string;
|
|
143
|
+
tax_id_last4: string;
|
|
140
144
|
terms_conditions_accepted: boolean;
|
|
141
145
|
updated_at: string;
|
|
142
146
|
website_url: string;
|
|
143
147
|
date_of_incorporation?: string;
|
|
148
|
+
country_of_establishment?: CountryCode;
|
|
144
149
|
}
|
|
145
150
|
export declare class Business implements IBusiness {
|
|
146
151
|
additional_questions: IAdditionalQuestions;
|
|
@@ -161,11 +166,13 @@ export declare class Business implements IBusiness {
|
|
|
161
166
|
platform_account_id: string;
|
|
162
167
|
representative?: Identity | null;
|
|
163
168
|
tax_id: string;
|
|
169
|
+
tax_id_last4: string;
|
|
164
170
|
terms_conditions_accepted: boolean;
|
|
165
171
|
updated_at: string;
|
|
166
172
|
website_url: string;
|
|
167
173
|
date_of_incorporation?: string;
|
|
168
174
|
product_categories: ProductCategories;
|
|
175
|
+
country_of_establishment?: CountryCode;
|
|
169
176
|
constructor(business: IBusiness);
|
|
170
177
|
get payload(): {
|
|
171
178
|
additional_questions: {
|
|
@@ -220,8 +227,10 @@ export declare class Business implements IBusiness {
|
|
|
220
227
|
title: string;
|
|
221
228
|
};
|
|
222
229
|
tax_id: string;
|
|
230
|
+
tax_id_last4: string;
|
|
223
231
|
website_url: string;
|
|
224
232
|
date_of_incorporation: string;
|
|
233
|
+
country_of_establishment: CountryCode;
|
|
225
234
|
};
|
|
226
235
|
}
|
|
227
236
|
export interface IProductReadiness {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FormController } from '../../../../ui-components/form/form';
|
|
2
2
|
import { ICoreBusinessInfo } from '../../../../api/Business';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
/**
|
|
4
5
|
*
|
|
5
6
|
* The difference between this component and business-core-info-details
|
|
@@ -9,8 +10,10 @@ import { ICoreBusinessInfo } from '../../../../api/Business';
|
|
|
9
10
|
*/
|
|
10
11
|
export declare class BusinessCoreInfo {
|
|
11
12
|
formController: FormController;
|
|
13
|
+
country: CountryCode;
|
|
12
14
|
errors: any;
|
|
13
15
|
coreInfo: ICoreBusinessInfo;
|
|
16
|
+
isEditingTaxId: boolean;
|
|
14
17
|
constructor();
|
|
15
18
|
componentDidLoad(): void;
|
|
16
19
|
inputHandler(name: string, value: string): void;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
import { BusinessFormServerErrors, IBusiness } from '../../../api/Business';
|
|
3
3
|
import JustifiAnalytics from '../../../api/Analytics';
|
|
4
|
+
import { CountryCode } from '../../../utils/country-codes';
|
|
4
5
|
import { ComponentClickEvent, ComponentErrorEvent, ComponentSubmitEvent } from '../../../api/ComponentEvents';
|
|
5
6
|
export declare class BusinessForm {
|
|
6
7
|
isLoading: boolean;
|
|
7
8
|
isSaving: boolean;
|
|
8
9
|
errorMessage: BusinessFormServerErrors;
|
|
10
|
+
country: CountryCode;
|
|
9
11
|
authToken: string;
|
|
10
12
|
businessId: string;
|
|
11
13
|
hideErrors?: boolean;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { FormController } from '../../../../components';
|
|
2
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
2
3
|
export declare class BusinessRepresentative {
|
|
3
4
|
formController: FormController;
|
|
4
5
|
errors: any;
|
|
5
6
|
representative: any;
|
|
6
|
-
|
|
7
|
+
country: CountryCode;
|
|
8
|
+
isEditingIdentification: boolean;
|
|
9
|
+
get identificationNumberLabel(): "SSN" | "SSN (optional)" | "SIN" | "SIN (optional)";
|
|
7
10
|
componentDidLoad(): void;
|
|
8
11
|
inputHandler: (name: string, value: string) => void;
|
|
9
12
|
onAddressFormUpdate: (values: any) => void;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { FormController } from '../../../../components';
|
|
2
2
|
import { IAddress } from '../../../../api/Business';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
export declare class LegalAddressForm {
|
|
4
5
|
formController: FormController;
|
|
5
6
|
errors: any;
|
|
6
7
|
legal_address: IAddress;
|
|
8
|
+
country: CountryCode;
|
|
7
9
|
constructor();
|
|
8
10
|
componentDidLoad(): void;
|
|
9
11
|
inputHandler(name: string, value: string): void;
|
package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
1
2
|
import { IAddress } from '../../../../api/Business';
|
|
2
3
|
export declare class IdentityAddressForm {
|
|
3
4
|
handleFormUpdate: (values: any) => void;
|
|
4
5
|
errors: any;
|
|
5
6
|
defaultValues: any;
|
|
7
|
+
country: CountryCode;
|
|
6
8
|
address: IAddress;
|
|
7
9
|
handleAddressChange(newValues: any): void;
|
|
8
10
|
inputHandler: (name: string, value: string) => void;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../../stencil-public-runtime';
|
|
|
2
2
|
import { FormController } from '../../../ui-components/form/form';
|
|
3
3
|
import { Identity, Owner } from '../../../api/Identity';
|
|
4
4
|
import { ComponentClickEvent, ComponentErrorEvent } from '../../../api/ComponentEvents';
|
|
5
|
+
import { CountryCode } from '../../../utils/country-codes';
|
|
5
6
|
export declare class BusinessOwnerFormCore {
|
|
6
7
|
isLoading: boolean;
|
|
7
8
|
formController: FormController;
|
|
@@ -16,6 +17,7 @@ export declare class BusinessOwnerFormCore {
|
|
|
16
17
|
removeOwner: (id: string) => void;
|
|
17
18
|
newFormOpen?: boolean;
|
|
18
19
|
ownersLength?: number;
|
|
20
|
+
country: CountryCode;
|
|
19
21
|
loadingWatcher(): void;
|
|
20
22
|
clickEvent: EventEmitter<ComponentClickEvent>;
|
|
21
23
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { FormController } from '../../../components';
|
|
2
|
+
import { CountryCode } from '../../../utils/country-codes';
|
|
2
3
|
export declare class BusinessOwnerFormInputs {
|
|
3
4
|
ownerDefaultValue: any;
|
|
4
5
|
errors: any;
|
|
5
6
|
formController: FormController;
|
|
7
|
+
country: CountryCode;
|
|
8
|
+
isEditingIdentification: boolean;
|
|
6
9
|
inputHandler: (name: string, value: string) => void;
|
|
7
10
|
onAddressFormUpdate: (values: any) => void;
|
|
8
11
|
render(): any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentErrorEvent } from '../../../api/ComponentEvents';
|
|
3
|
+
import { CountryCode } from '../../../utils/country-codes';
|
|
3
4
|
export declare class BusinessOwnerForm {
|
|
4
5
|
coreComponent: HTMLOwnerFormCoreElement;
|
|
5
6
|
getOwner: Function;
|
|
@@ -12,6 +13,7 @@ export declare class BusinessOwnerForm {
|
|
|
12
13
|
removeOwner: (id: string) => void;
|
|
13
14
|
newFormOpen?: boolean;
|
|
14
15
|
ownersLength?: number;
|
|
16
|
+
country: CountryCode;
|
|
15
17
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
16
18
|
validate(): Promise<boolean>;
|
|
17
19
|
submit(): Promise<boolean>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
2
3
|
import { FormController } from '../../../../ui-components/form/form';
|
|
3
4
|
import { IBankAccount, EntityDocument, EntityDocumentStorage, FileSelectEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent } from '../../../../api';
|
|
4
5
|
export declare class BusinessBankAccountFormStepCore {
|
|
@@ -13,6 +14,7 @@ export declare class BusinessBankAccountFormStepCore {
|
|
|
13
14
|
postBankAccount: Function;
|
|
14
15
|
postDocumentRecord: Function;
|
|
15
16
|
allowOptionalFields?: boolean;
|
|
17
|
+
country: CountryCode;
|
|
16
18
|
stepCompleteEvent: EventEmitter<ComponentFormStepCompleteEvent>;
|
|
17
19
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
18
20
|
formLoading: EventEmitter<boolean>;
|
|
@@ -20,6 +22,7 @@ export declare class BusinessBankAccountFormStepCore {
|
|
|
20
22
|
validateAndSubmit({ onSuccess }: {
|
|
21
23
|
onSuccess: any;
|
|
22
24
|
}): Promise<void>;
|
|
25
|
+
private getSchema;
|
|
23
26
|
componentWillLoad(): void;
|
|
24
27
|
componentDidLoad(): void;
|
|
25
28
|
initializeFormController: () => void;
|
|
@@ -30,6 +33,8 @@ export declare class BusinessBankAccountFormStepCore {
|
|
|
30
33
|
account_type: string;
|
|
31
34
|
account_number: string;
|
|
32
35
|
routing_number: string;
|
|
36
|
+
institution_number: string;
|
|
37
|
+
transit_number: string;
|
|
33
38
|
bank_name: string;
|
|
34
39
|
nickname: string;
|
|
35
40
|
business_id: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentErrorEvent } from '../../../../api';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
export declare class BusinessBankAccountFormStep {
|
|
4
5
|
coreComponent: HTMLJustifiBusinessBankAccountFormStepCoreElement;
|
|
5
6
|
getBusiness: Function;
|
|
@@ -9,6 +10,7 @@ export declare class BusinessBankAccountFormStep {
|
|
|
9
10
|
authToken: string;
|
|
10
11
|
businessId: string;
|
|
11
12
|
allowOptionalFields?: boolean;
|
|
13
|
+
country: CountryCode;
|
|
12
14
|
propChanged(): void;
|
|
13
15
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
14
16
|
validateAndSubmit({ onSuccess }: {
|
|
@@ -2,15 +2,18 @@ import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
|
2
2
|
import { FormController } from '../../../../ui-components/form/form';
|
|
3
3
|
import { ICoreBusinessInfo } from '../../../../api/Business';
|
|
4
4
|
import { ComponentErrorEvent, ComponentFormStepCompleteEvent } from '../../../../api/ComponentEvents';
|
|
5
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
5
6
|
export declare class BusinessCoreInfoFormStepCore {
|
|
6
7
|
formController: FormController;
|
|
7
8
|
errors: any;
|
|
8
9
|
coreInfo: ICoreBusinessInfo;
|
|
9
10
|
isLoading: boolean;
|
|
11
|
+
isEditingTaxId: boolean;
|
|
10
12
|
businessId: string;
|
|
11
13
|
getBusiness: Function;
|
|
12
14
|
patchBusiness: Function;
|
|
13
15
|
allowOptionalFields?: boolean;
|
|
16
|
+
country: CountryCode;
|
|
14
17
|
stepCompleteEvent: EventEmitter<ComponentFormStepCompleteEvent>;
|
|
15
18
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
16
19
|
formLoading: EventEmitter<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentErrorEvent } from '../../../../api/ComponentEvents';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
export declare class BusinessCoreInfoFormStep {
|
|
4
5
|
coreComponent: HTMLJustifiBusinessCoreInfoFormStepCoreElement;
|
|
5
6
|
getBusiness: Function;
|
|
@@ -7,6 +8,7 @@ export declare class BusinessCoreInfoFormStep {
|
|
|
7
8
|
authToken: string;
|
|
8
9
|
businessId: string;
|
|
9
10
|
allowOptionalFields?: boolean;
|
|
11
|
+
country: CountryCode;
|
|
10
12
|
propChanged(): void;
|
|
11
13
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
12
14
|
validateAndSubmit({ onSuccess }: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentErrorEvent, ComponentClickEvent, ComponentFormStepCompleteEvent } from '../../../../api/ComponentEvents';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
interface ownerPayloadItem {
|
|
4
5
|
id: string;
|
|
5
6
|
}
|
|
@@ -13,6 +14,7 @@ export declare class BusinessOwnersFormStepCore {
|
|
|
13
14
|
getBusiness: Function;
|
|
14
15
|
patchBusiness: Function;
|
|
15
16
|
allowOptionalFields?: boolean;
|
|
17
|
+
country: CountryCode;
|
|
16
18
|
clickEvent: EventEmitter<ComponentClickEvent>;
|
|
17
19
|
stepCompleteEvent: EventEmitter<ComponentFormStepCompleteEvent>;
|
|
18
20
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentErrorEvent } from '../../../../api/ComponentEvents';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
export declare class BusinessOwnersFormStep {
|
|
4
5
|
coreComponent: HTMLJustifiBusinessOwnersFormStepCoreElement;
|
|
5
6
|
getBusiness: Function;
|
|
@@ -7,6 +8,7 @@ export declare class BusinessOwnersFormStep {
|
|
|
7
8
|
authToken: string;
|
|
8
9
|
businessId: string;
|
|
9
10
|
allowOptionalFields?: boolean;
|
|
11
|
+
country: CountryCode;
|
|
10
12
|
propChanged(): void;
|
|
11
13
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
12
14
|
validateAndSubmit({ onSuccess }: {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { FormController } from '../../../../ui-components/form/form';
|
|
2
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
2
3
|
export declare class RepresentativeFormInputs {
|
|
3
4
|
representativeDefaultValue: any;
|
|
4
5
|
errors: any;
|
|
5
6
|
formController: FormController;
|
|
7
|
+
country: CountryCode;
|
|
8
|
+
isEditingIdentification: boolean;
|
|
6
9
|
inputHandler: (name: string, value: string) => void;
|
|
7
10
|
onAddressFormUpdate: (values: any) => void;
|
|
8
11
|
render(): any;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
|
2
2
|
import { Identity } from '../../../../api/Identity';
|
|
3
3
|
import { FormController } from '../../../../ui-components/form/form';
|
|
4
4
|
import { ComponentErrorEvent, ComponentFormStepCompleteEvent } from '../../../../api/ComponentEvents';
|
|
5
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
5
6
|
export declare class BusinessRepresentativeFormStepCore {
|
|
6
7
|
formController: FormController;
|
|
7
8
|
errors: any;
|
|
@@ -10,6 +11,7 @@ export declare class BusinessRepresentativeFormStepCore {
|
|
|
10
11
|
getBusiness: Function;
|
|
11
12
|
patchBusiness: Function;
|
|
12
13
|
allowOptionalFields?: boolean;
|
|
14
|
+
country: CountryCode;
|
|
13
15
|
stepCompleteEvent: EventEmitter<ComponentFormStepCompleteEvent>;
|
|
14
16
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
15
17
|
formLoading: EventEmitter<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentErrorEvent } from '../../../../api/ComponentEvents';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
export declare class BusinessRepresentativeFormStep {
|
|
4
5
|
coreComponent: HTMLJustifiBusinessRepresentativeFormStepCoreElement;
|
|
5
6
|
getBusiness: Function;
|
|
@@ -7,6 +8,7 @@ export declare class BusinessRepresentativeFormStep {
|
|
|
7
8
|
authToken: string;
|
|
8
9
|
businessId: string;
|
|
9
10
|
allowOptionalFields?: boolean;
|
|
11
|
+
country?: CountryCode;
|
|
10
12
|
propChanged(): void;
|
|
11
13
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
12
14
|
validateAndSubmit({ onSuccess }: {
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
|
2
2
|
import { FormController } from '../../../../ui-components/form/form';
|
|
3
3
|
import { IAddress } from '../../../../api/Business';
|
|
4
4
|
import { ComponentErrorEvent, ComponentFormStepCompleteEvent } from '../../../../api/ComponentEvents';
|
|
5
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
5
6
|
export declare class LegalAddressFormStepCore {
|
|
6
7
|
formController: FormController;
|
|
7
8
|
errors: any;
|
|
@@ -10,6 +11,7 @@ export declare class LegalAddressFormStepCore {
|
|
|
10
11
|
getBusiness: Function;
|
|
11
12
|
patchBusiness: Function;
|
|
12
13
|
allowOptionalFields?: boolean;
|
|
14
|
+
country: CountryCode;
|
|
13
15
|
stepCompleteEvent: EventEmitter<ComponentFormStepCompleteEvent>;
|
|
14
16
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
15
17
|
formLoading: EventEmitter<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentErrorEvent } from '../../../../api/ComponentEvents';
|
|
3
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
4
|
export declare class LegalAddressFormStep {
|
|
4
5
|
coreComponent: HTMLJustifiLegalAddressFormStepCoreElement;
|
|
5
6
|
getBusiness: Function;
|
|
@@ -7,6 +8,7 @@ export declare class LegalAddressFormStep {
|
|
|
7
8
|
authToken: string;
|
|
8
9
|
businessId: string;
|
|
9
10
|
allowOptionalFields?: boolean;
|
|
11
|
+
country?: CountryCode;
|
|
10
12
|
propChanged(): void;
|
|
11
13
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
12
14
|
validateAndSubmit({ onSuccess }: {
|
package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
import { ComponentClickEvent, ComponentErrorEvent, ComponentSubmitEvent } from '../../../api/ComponentEvents';
|
|
3
|
+
import { CountryCode } from '../../../utils/country-codes';
|
|
3
4
|
export declare class PaymentProvisioningCore {
|
|
4
5
|
loading: boolean;
|
|
5
6
|
businessProvisioned: boolean;
|
|
6
7
|
currentStep: number;
|
|
7
8
|
errorMessage: string;
|
|
9
|
+
country: CountryCode;
|
|
8
10
|
businessId: string;
|
|
9
11
|
authToken: string;
|
|
10
12
|
allowOptionalFields?: boolean;
|
|
@@ -15,8 +17,8 @@ export declare class PaymentProvisioningCore {
|
|
|
15
17
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
16
18
|
submitEvent: EventEmitter<ComponentSubmitEvent>;
|
|
17
19
|
handleFormCompleted(): void;
|
|
18
|
-
componentWillLoad(): void
|
|
19
|
-
setBusinessProvisioned: () => void
|
|
20
|
+
componentWillLoad(): Promise<void>;
|
|
21
|
+
setBusinessProvisioned: () => Promise<void>;
|
|
20
22
|
postProvisioningData: () => void;
|
|
21
23
|
private coreInfoRef;
|
|
22
24
|
private legalAddressRef;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { CountryCode } from '../../../utils/country-codes';
|
|
1
2
|
export declare class PaymentProvisioningFormSteps {
|
|
2
3
|
businessId: string;
|
|
3
4
|
authToken: string;
|
|
4
5
|
refs: any[];
|
|
5
6
|
currentStep: number;
|
|
6
7
|
allowOptionalFields?: boolean;
|
|
8
|
+
country?: CountryCode;
|
|
7
9
|
handleFormLoading: (e: CustomEvent) => void;
|
|
8
10
|
get currentStepComponent(): any;
|
|
9
11
|
componentStepMapping: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBusiness } from '../../../../api/Business';
|
|
2
|
+
import { CountryCode } from '../../../../utils/country-codes';
|
|
3
|
+
/**
|
|
4
|
+
* Creates mock business data with 2-character country codes (as they come from API)
|
|
5
|
+
* This allows us to test the normalization that happens in the Business constructor
|
|
6
|
+
*/
|
|
7
|
+
export declare const createMockBusinessData: (countryCode: string) => IBusiness;
|
|
8
|
+
/**
|
|
9
|
+
* Helper to get normalized country codes as they would appear in real usage
|
|
10
|
+
* This simulates what happens when the Business constructor processes API data
|
|
11
|
+
*/
|
|
12
|
+
export declare const getNormalizedCountry: (inputCountryCode: string) => CountryCode;
|
|
@@ -1,15 +1,67 @@
|
|
|
1
|
+
export declare const addressSchemaUSA: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
2
|
+
line1: string;
|
|
3
|
+
line2: string;
|
|
4
|
+
city: string;
|
|
5
|
+
state: string;
|
|
6
|
+
postal_code: string;
|
|
7
|
+
}, import("yup").AnyObject, {
|
|
8
|
+
line1: undefined;
|
|
9
|
+
line2: undefined;
|
|
10
|
+
city: undefined;
|
|
11
|
+
state: undefined;
|
|
12
|
+
postal_code: undefined;
|
|
13
|
+
}, "">;
|
|
14
|
+
export declare const addressSchemaCAN: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
15
|
+
line1: string;
|
|
16
|
+
line2: string;
|
|
17
|
+
city: string;
|
|
18
|
+
state: string;
|
|
19
|
+
postal_code: string;
|
|
20
|
+
}, import("yup").AnyObject, {
|
|
21
|
+
line1: undefined;
|
|
22
|
+
line2: undefined;
|
|
23
|
+
city: undefined;
|
|
24
|
+
state: undefined;
|
|
25
|
+
postal_code: undefined;
|
|
26
|
+
}, "">;
|
|
1
27
|
export declare const addressSchema: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
2
28
|
line1: string;
|
|
3
29
|
line2: string;
|
|
4
30
|
city: string;
|
|
5
31
|
state: string;
|
|
6
32
|
postal_code: string;
|
|
7
|
-
country: string;
|
|
8
33
|
}, import("yup").AnyObject, {
|
|
9
34
|
line1: undefined;
|
|
10
35
|
line2: undefined;
|
|
11
36
|
city: undefined;
|
|
12
37
|
state: undefined;
|
|
13
38
|
postal_code: undefined;
|
|
14
|
-
country: undefined;
|
|
15
39
|
}, "">;
|
|
40
|
+
export declare const addressSchemaByCountry: {
|
|
41
|
+
readonly USA: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
42
|
+
line1: string;
|
|
43
|
+
line2: string;
|
|
44
|
+
city: string;
|
|
45
|
+
state: string;
|
|
46
|
+
postal_code: string;
|
|
47
|
+
}, import("yup").AnyObject, {
|
|
48
|
+
line1: undefined;
|
|
49
|
+
line2: undefined;
|
|
50
|
+
city: undefined;
|
|
51
|
+
state: undefined;
|
|
52
|
+
postal_code: undefined;
|
|
53
|
+
}, "">;
|
|
54
|
+
readonly CAN: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
55
|
+
line1: string;
|
|
56
|
+
line2: string;
|
|
57
|
+
city: string;
|
|
58
|
+
state: string;
|
|
59
|
+
postal_code: string;
|
|
60
|
+
}, import("yup").AnyObject, {
|
|
61
|
+
line1: undefined;
|
|
62
|
+
line2: undefined;
|
|
63
|
+
city: undefined;
|
|
64
|
+
state: undefined;
|
|
65
|
+
postal_code: undefined;
|
|
66
|
+
}, "">;
|
|
67
|
+
};
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
+
import { CountryCode } from '../../../utils/country-codes';
|
|
2
|
+
export declare const businessBankAccountSchemaUSA: (documents: any[], allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
}, import("yup").AnyObject, {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}, "">;
|
|
7
|
+
export declare const businessBankAccountSchemaCAN: (documents: any[], allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}, import("yup").AnyObject, {
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
}, "">;
|
|
1
12
|
export declare const businessBankAccountSchema: (documents: any[], allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
2
|
-
|
|
3
|
-
nickname: string;
|
|
4
|
-
account_owner_name: string;
|
|
5
|
-
account_type: string;
|
|
6
|
-
account_number: string;
|
|
7
|
-
routing_number: string;
|
|
8
|
-
voided_check: {};
|
|
9
|
-
bank_statement: {};
|
|
13
|
+
[x: string]: any;
|
|
10
14
|
}, import("yup").AnyObject, {
|
|
11
|
-
|
|
12
|
-
nickname: undefined;
|
|
13
|
-
account_owner_name: undefined;
|
|
14
|
-
account_type: undefined;
|
|
15
|
-
account_number: undefined;
|
|
16
|
-
routing_number: undefined;
|
|
17
|
-
voided_check: undefined;
|
|
18
|
-
bank_statement: undefined;
|
|
15
|
+
[x: string]: any;
|
|
19
16
|
}, "">;
|
|
17
|
+
export declare const bankAccountSchemaByCountry: Record<CountryCode, (allowOptionalFields?: boolean, documents?: any[]) => any>;
|