@justifi/webcomponents 5.2.0 → 5.3.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/{Api-b0e4be29.js → Api-089e7501.js} +1 -0
- package/dist/cjs/{Checkout-2ff4f9c8.js → Checkout-0f1c8abe.js} +1 -1
- package/dist/cjs/Document-0b828345.js +58 -0
- package/dist/cjs/{Payment-84817e2d.js → Payment-c47ed1e1.js} +1 -1
- package/dist/cjs/{SubAccount-f236913b.js → SubAccount-509ebf93.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-fbf58cb9.js → badge-ccfe03bf.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +130 -0
- package/dist/cjs/bank-account-form_9.cjs.entry.js +18 -14
- package/dist/cjs/billing-form_3.cjs.entry.js +8 -7
- package/dist/cjs/{business-additional-questions-schema-caa23e95.js → business-additional-questions-schema-2f66f025.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-0c537067.js → business-identity-schema-be495474.js} +1 -1
- package/dist/cjs/{business.service-ffb6f478.js → business.service-33d7c7f2.js} +8 -1
- package/dist/cjs/{button-e7796b07.js → button-8b634147.js} +1 -1
- package/dist/cjs/{check-pkg-version-dee8dbb7.js → check-pkg-version-526a9ce5.js} +2 -2
- package/dist/cjs/{checkout.service-e9c05c15.js → checkout.service-d9047ddb.js} +6 -4
- package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -10
- package/dist/cjs/{checkouts-table-0f19c1e6.js → checkouts-table-efa1cbab.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-9272a2a6.js → dispute.service-739631c7.js} +6 -4
- package/dist/cjs/{event-types-aa1a9be1.js → event-types-34b103b4.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-c1f49f35.js → form-control-error-text-46a7f2dd.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-e6cc71a7.js → form-control-help-text-98c882e3.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-payout-csv-778db023.js → get-payout-csv-bdaff21b.js} +6 -5
- package/dist/cjs/{get-subaccounts-b087fa39.js → get-subaccounts-2db9fc01.js} +6 -5
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-96b97cab.js → header-1-4c21f7ca.js} +1 -1
- package/dist/cjs/{header-3-ce77b96b.js → header-3-130206cc.js} +1 -1
- package/dist/cjs/{insurance-state-8959c7c7.js → insurance-state-21fde44f.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +833 -0
- package/dist/cjs/{justifi-additional-questions-form-step_10.cjs.entry.js → justifi-additional-questions-form-step_9.cjs.entry.js} +30 -227
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -9
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +25 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +8 -6
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +7 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-8b9059cc.js → package-45874555.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-addf2176.js → parts-b2ff8b68.js} +14 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment-provisioning-actions-fbd30d1b.js → payment-provisioning-actions-382ab48c.js} +33 -2
- package/dist/cjs/{payment.service-042c7c99.js → payment.service-87924c1a.js} +6 -4
- package/dist/cjs/payments-list-core.cjs.entry.js +22 -19
- package/dist/cjs/payments-list-params-state-442d9944.js +22 -0
- package/dist/cjs/{payments-status-411c325c.js → payments-status-ec12ee6a.js} +1 -1
- package/dist/cjs/{payments-table-16f3f95e.js → payments-table-f3aa174d.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +13 -12
- package/dist/cjs/{payouts-status-0951e39d.js → payouts-status-9f2e9a3a.js} +1 -1
- package/dist/cjs/{payouts-table-bc15179c.js → payouts-table-4efa53fa.js} +3 -3
- package/dist/cjs/{schema-validations-0be8068a.js → schema-validations-cc4e6071.js} +5 -92
- package/dist/cjs/{skeleton-c4903a53.js → skeleton-0353466d.js} +1 -1
- package/dist/cjs/{spinner-aac395e3.js → spinner-4fc60a51.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -10
- package/dist/cjs/{terminals-table-3c19847b.js → terminals-table-5e4bce93.js} +2 -2
- package/dist/cjs/{utils-a05a8bf6.js → utils-134dda01.js} +1 -1
- package/dist/cjs/{utils-5fb95d31.js → utils-337befa9.js} +0 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/index.js +5 -0
- package/dist/collection/api/services/business.service.js +6 -0
- package/dist/collection/collection-manifest.json +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/{document-uploads/business-document-upload-input-group.js → bank-account/bank-account-document-inputs.js} +19 -58
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +85 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +207 -47
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +15 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +63 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +32 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -1
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +8 -4
- package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -4
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +25 -1
- package/dist/collection/components/checkout/card-form/card-form.js +25 -1
- package/dist/collection/components/checkout/checkout-core.js +20 -2
- package/dist/collection/components/checkout/checkout.js +22 -2
- package/dist/collection/components/checkout/new-payment-method.js +20 -2
- package/dist/collection/components/checkout/payment-method-options.js +20 -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/checkout/sezzle-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/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/get-payments.js +4 -1
- package/dist/collection/components/payments-list/payments-list-core.js +10 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +113 -3
- package/dist/collection/components/payments-list/payments-list-params-state.js +11 -5
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.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 +1 -1
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-form/refund-form.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 +21 -1
- package/dist/collection/styles/parts.js +9 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/config.js +1 -0
- package/dist/docs.json +680 -469
- package/dist/esm/{Api-0cac5b8a.js → Api-97801a4b.js} +1 -0
- package/dist/esm/{Checkout-d476bb83.js → Checkout-8325c97a.js} +1 -1
- package/dist/esm/Document-1907c0d4.js +55 -0
- package/dist/esm/{Payment-47630113.js → Payment-82d2f453.js} +1 -1
- package/dist/esm/{SubAccount-f31349a9.js → SubAccount-a73bf971.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-b034e71b.js → badge-938ba4b1.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +123 -0
- package/dist/esm/bank-account-form_9.entry.js +18 -14
- package/dist/esm/billing-form_3.entry.js +8 -7
- package/dist/esm/{business-additional-questions-schema-aba9747e.js → business-additional-questions-schema-212a96ed.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-8b0f1619.js → business-identity-schema-05bd2a5f.js} +1 -1
- package/dist/esm/{business.service-ab2663a3.js → business.service-45c7df3c.js} +8 -2
- package/dist/esm/{button-8a02823c.js → button-4b3f3934.js} +1 -1
- package/dist/esm/{check-pkg-version-51d2616b.js → check-pkg-version-f91ed31f.js} +2 -2
- package/dist/esm/{checkout.service-c275270e.js → checkout.service-36e3355e.js} +6 -4
- package/dist/esm/checkouts-list-core.entry.js +12 -10
- package/dist/esm/{checkouts-table-115bacc4.js → checkouts-table-1634366d.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-882e35ed.js → dispute.service-9b9b87e5.js} +6 -4
- package/dist/esm/{event-types-948c3b14.js → event-types-fd7a05d9.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +1 -1
- 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-066cdad4.js → form-control-error-text-b3d14e92.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/{form-control-help-text-3b6f5980.js → form-control-help-text-7b07fc37.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-payout-csv-50aea928.js → get-payout-csv-80210301.js} +6 -5
- package/dist/esm/{get-subaccounts-ab3dd32c.js → get-subaccounts-d3eeb85d.js} +6 -5
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-75c284dd.js → header-1-4db0c986.js} +1 -1
- package/dist/esm/{header-3-4a327395.js → header-3-fd150ccf.js} +1 -1
- package/dist/esm/{insurance-state-b495be64.js → insurance-state-529e2d0d.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +824 -0
- package/dist/esm/{justifi-additional-questions-form-step_10.entry.js → justifi-additional-questions-form-step_9.entry.js} +32 -228
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +16 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +10 -9
- package/dist/esm/justifi-checkout.entry.js +12 -10
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +15 -14
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +10 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +15 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-owner-form_3.entry.js +8 -7
- package/dist/esm/justifi-payment-details.entry.js +12 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list-filters.entry.js +25 -4
- package/dist/esm/justifi-payments-list.entry.js +19 -15
- package/dist/esm/justifi-payout-details.entry.js +12 -11
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +15 -14
- package/dist/esm/justifi-refund-form.entry.js +8 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +13 -12
- package/dist/esm/justifi-tokenize-payment-method.entry.js +7 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-5eedfd72.js → package-2b7c7bc0.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-93f379ab.js → parts-ab2bb4b5.js} +9 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment-provisioning-actions-a262ee82.js → payment-provisioning-actions-726795a0.js} +33 -3
- package/dist/esm/{payment.service-92b90855.js → payment.service-c847c1f6.js} +6 -4
- package/dist/esm/payments-list-core.entry.js +22 -19
- package/dist/esm/payments-list-params-state-d05b24aa.js +16 -0
- package/dist/esm/{payments-status-82466054.js → payments-status-abf1724b.js} +1 -1
- package/dist/esm/{payments-table-c0bb25b6.js → payments-table-88fbab49.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/payouts-list-core.entry.js +13 -12
- package/dist/esm/{payouts-status-b98c8297.js → payouts-status-d9987a8a.js} +1 -1
- package/dist/esm/{payouts-table-4382a264.js → payouts-table-055d3633.js} +3 -3
- package/dist/esm/{schema-validations-5b0ac96b.js → schema-validations-ccea6a06.js} +4 -84
- package/dist/esm/{skeleton-3bcb2b5d.js → skeleton-ee7c3b32.js} +1 -1
- package/dist/esm/{spinner-b83f3a87.js → spinner-8ec6669a.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminals-list-core.entry.js +12 -10
- package/dist/esm/{terminals-table-8f1c2146.js → terminals-table-2963e65b.js} +2 -2
- package/dist/esm/{utils-7fb6331d.js → utils-c2dc83b2.js} +1 -1
- package/dist/esm/{utils-b76d791e.js → utils-c37124fc.js} +1 -4
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +1 -1
- package/dist/module/Payment.js +1 -1
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-form-inputs.d.ts +11 -0
- package/dist/module/bank-account-document-form-inputs.js +6 -0
- package/dist/module/bank-account-document-inputs.js +58 -0
- package/dist/module/bank-account-form-inputs.d.ts +11 -0
- package/dist/module/bank-account-form-inputs.js +6 -0
- package/dist/module/bank-account-form-inputs2.js +63 -0
- package/dist/module/bank-account-form2.js +3 -1
- package/dist/module/billing-form-wrapper.js +1 -1
- package/dist/module/business-additional-questions-form-step-core.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +239 -64
- package/dist/module/business-bank-account-form-step.js +42 -5
- package/dist/module/business-core-info-form-step-core.js +2 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-documents-on-file.d.ts +11 -0
- package/dist/module/business-documents-on-file.js +4 -36
- package/dist/module/business-documents-on-file2.js +45 -0
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +9 -11
- package/dist/module/business.service.js +7 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-form2.js +3 -1
- package/dist/module/checkout-core.js +5 -3
- package/dist/module/checkout.service.js +2 -0
- package/dist/module/checkouts-list-core2.js +6 -4
- package/dist/module/config.js +1 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +2 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/event-types.js +22 -61
- package/dist/module/event-types2.js +61 -22
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-error-text.js +1 -1
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +3 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +3 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/get-payout-csv.js +2 -1
- package/dist/module/get-subaccounts.js +2 -1
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/justifi-business-form.js +3 -1
- package/dist/module/justifi-checkout.js +5 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +3 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +50 -56
- package/dist/module/justifi-payments-list-filters.js +32 -5
- package/dist/module/justifi-payments-list.js +7 -3
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +2 -1
- package/dist/module/justifi-refund-form.js +3 -1
- package/dist/module/justifi-season-interruption-insurance.js +3 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +2 -1
- package/dist/module/justifi-tokenize-payment-method.js +4 -1
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +4 -2
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core2.js +2 -2
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +9 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-options.js +4 -2
- package/dist/module/payment-provisioning-actions.js +33 -3
- package/dist/module/payment-provisioning-core.js +50 -56
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +51 -58
- package/dist/module/payment.service.js +2 -0
- package/dist/module/payments-list-core2.js +15 -13
- package/dist/module/payments-list-params-state.js +11 -5
- package/dist/module/payout-details-core2.js +2 -2
- package/dist/module/payouts-list-core2.js +6 -5
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +2 -2
- package/dist/module/schema-validations.js +4 -31
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/module/sezzle-payment-method.js +2 -2
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminals-list-core2.js +5 -3
- package/dist/module/utils2.js +1 -4
- package/dist/types/api/index.d.ts +4 -0
- package/dist/types/api/services/business.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +18 -6
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/payment-provisioning/{document-uploads → bank-account}/business-documents-on-file.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -1
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +5 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -1
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout-core.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/payments-list/get-payments.d.ts +2 -1
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payments-list/payments-list-filters.d.ts +5 -0
- package/dist/types/components/payments-list/payments-list-params-state.d.ts +4 -3
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
- package/dist/types/components.d.ts +95 -101
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +8 -0
- package/dist/webcomponents/p-00c32bb9.entry.js +1 -0
- package/dist/webcomponents/{p-2ce40098.js → p-01d4e35a.js} +1 -1
- package/dist/webcomponents/{p-d1f78cb5.js → p-0277c1b2.js} +1 -1
- package/dist/webcomponents/p-045d4ebf.entry.js +1 -0
- package/dist/webcomponents/p-08d87a52.entry.js +1 -0
- package/dist/webcomponents/p-0e68b7d6.entry.js +1 -0
- package/dist/webcomponents/{p-7b1fcab5.entry.js → p-0f6ae5ea.entry.js} +1 -1
- package/dist/webcomponents/p-131db5d1.entry.js +1 -0
- package/dist/webcomponents/p-1603fe4d.js +1 -0
- package/dist/webcomponents/p-1820fd87.entry.js +1 -0
- package/dist/webcomponents/p-189affee.entry.js +1 -0
- package/dist/webcomponents/p-18a7a9e6.entry.js +1 -0
- package/dist/webcomponents/p-1e8a1e01.entry.js +1 -0
- package/dist/webcomponents/{p-4c4f9e3b.js → p-21431a04.js} +1 -1
- package/dist/webcomponents/{p-09fd4ee2.entry.js → p-2916bb62.entry.js} +1 -1
- package/dist/webcomponents/p-298e290e.js +1 -0
- package/dist/webcomponents/{p-74736657.js → p-2ca5b5e4.js} +1 -1
- package/dist/webcomponents/p-2f94d478.entry.js +1 -0
- package/dist/webcomponents/p-31cbc05a.entry.js +1 -0
- package/dist/webcomponents/p-31e2d12c.entry.js +1 -0
- package/dist/webcomponents/{p-2bd8650b.js → p-35b00a0d.js} +1 -1
- package/dist/webcomponents/p-3e0f3d87.entry.js +1 -0
- package/dist/webcomponents/{p-f65abd18.js → p-3e716e03.js} +1 -1
- package/dist/webcomponents/p-40e23b13.js +1 -0
- package/dist/webcomponents/p-415deed1.entry.js +1 -0
- package/dist/webcomponents/p-44d2c762.entry.js +1 -0
- package/dist/webcomponents/{p-c6051278.entry.js → p-47a3003c.entry.js} +1 -1
- package/dist/webcomponents/p-4bad3621.js +1 -0
- package/dist/webcomponents/{p-c2efe406.js → p-4c820f81.js} +1 -1
- package/dist/webcomponents/p-58f5e37b.entry.js +1 -0
- package/dist/webcomponents/{p-d86c1f11.entry.js → p-5afefc50.entry.js} +2 -2
- package/dist/webcomponents/{p-92d78790.js → p-5b72bab7.js} +1 -1
- package/dist/webcomponents/{p-7db2a4d5.entry.js → p-5baec916.entry.js} +1 -1
- package/dist/webcomponents/{p-f76a7f9c.entry.js → p-5bf4535a.entry.js} +1 -1
- package/dist/webcomponents/p-61f0a2ce.js +1 -0
- package/dist/webcomponents/{p-e0f21a47.entry.js → p-62696f63.entry.js} +1 -1
- package/dist/webcomponents/p-63caad6e.entry.js +1 -0
- package/dist/webcomponents/p-66b6c56b.js +1 -0
- package/dist/webcomponents/p-6d2c8be2.entry.js +1 -0
- package/dist/webcomponents/p-72992c97.entry.js +1 -0
- package/dist/webcomponents/p-72ff0d5f.entry.js +1 -0
- package/dist/webcomponents/p-74014392.entry.js +1 -0
- package/dist/webcomponents/p-7542ebd6.entry.js +1 -0
- package/dist/webcomponents/p-778e9dd0.entry.js +1 -0
- package/dist/webcomponents/p-7b04f492.entry.js +1 -0
- package/dist/webcomponents/p-7bcec768.entry.js +1 -0
- package/dist/webcomponents/{p-5d0763a5.js → p-7c31ec70.js} +1 -1
- package/dist/webcomponents/p-85b5eeb6.entry.js +1 -0
- package/dist/webcomponents/p-8815bf82.entry.js +1 -0
- package/dist/webcomponents/{p-44604a45.js → p-8f25f016.js} +1 -1
- package/dist/webcomponents/{p-411382f3.js → p-938993c7.js} +1 -1
- package/dist/webcomponents/{p-d6e51c2f.js → p-94eba309.js} +1 -1
- package/dist/webcomponents/p-9540d2f2.js +1 -0
- package/dist/webcomponents/p-960a8ec2.js +1 -0
- package/dist/webcomponents/{p-83aa33f0.js → p-9894484a.js} +1 -1
- package/dist/webcomponents/p-98dad117.entry.js +1 -0
- package/dist/webcomponents/{p-f5a7a7d1.entry.js → p-991df3a1.entry.js} +1 -1
- package/dist/webcomponents/p-9ad6e792.entry.js +1 -0
- package/dist/webcomponents/p-a2076a0e.js +1 -0
- package/dist/webcomponents/p-aa02cf71.js +1 -0
- package/dist/webcomponents/p-ab1504b6.entry.js +1 -0
- package/dist/webcomponents/p-ab254da1.entry.js +1 -0
- package/dist/webcomponents/p-af66f580.entry.js +1 -0
- package/dist/webcomponents/p-b15ad5df.js +1 -0
- package/dist/webcomponents/p-b2209632.entry.js +1 -0
- package/dist/webcomponents/p-b6e90400.entry.js +1 -0
- package/dist/webcomponents/{p-2b081961.entry.js → p-bada4783.entry.js} +1 -1
- package/dist/webcomponents/{p-eb644cb7.js → p-c5c03d88.js} +1 -1
- package/dist/webcomponents/p-ca361ef6.entry.js +1 -0
- package/dist/webcomponents/p-ccd91d8a.entry.js +1 -0
- package/dist/webcomponents/p-d07c45e6.entry.js +1 -0
- package/dist/webcomponents/p-d0bde1cb.js +1 -0
- package/dist/webcomponents/p-d8c04275.js +1 -0
- package/dist/webcomponents/{p-9069fab5.js → p-d91c46dc.js} +1 -1
- package/dist/webcomponents/{p-541b7c36.entry.js → p-db37b175.entry.js} +1 -1
- package/dist/webcomponents/p-dd867d1f.js +1 -0
- package/dist/webcomponents/p-ddcd2ff7.entry.js +1 -0
- package/dist/webcomponents/p-de13f23c.js +1 -0
- package/dist/webcomponents/p-dec18cc4.js +1 -0
- package/dist/webcomponents/{p-39177d5a.js → p-e63fdbca.js} +1 -1
- package/dist/webcomponents/{p-730e8425.js → p-e8c3c23f.js} +1 -1
- package/dist/webcomponents/p-eae512f0.entry.js +1 -0
- package/dist/webcomponents/p-f0c0cbc8.entry.js +1 -0
- package/dist/webcomponents/{p-24a9c773.js → p-f19f9f61.js} +1 -1
- package/dist/webcomponents/p-f28ddbe8.entry.js +1 -0
- package/dist/webcomponents/p-f2f2e20e.js +1 -0
- package/dist/webcomponents/p-f694e1c8.js +1 -0
- package/dist/webcomponents/p-fa2b405c.entry.js +1 -0
- package/dist/webcomponents/{p-bf07d5d0.entry.js → p-facada09.entry.js} +1 -1
- package/dist/webcomponents/p-fdbcd486.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/form-control-file.cjs.entry.js +0 -67
- package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
- package/dist/cjs/justifi-additional-questions-form-step-core_9.cjs.entry.js +0 -800
- package/dist/cjs/payments-list-params-state-0ff968a7.js +0 -14
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +0 -338
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +0 -40
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +0 -52
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +0 -8
- package/dist/collection/components/business-forms/schemas/business-document-upload-schema.js +0 -23
- package/dist/esm/form-control-file.entry.js +0 -63
- package/dist/esm/form-control-select_3.entry.js +0 -139
- package/dist/esm/justifi-additional-questions-form-step-core_9.entry.js +0 -788
- package/dist/esm/payments-list-params-state-b3dab8bc.js +0 -10
- package/dist/module/business-document-upload-form-step.js +0 -272
- package/dist/module/business-document-upload-input-group.js +0 -128
- package/dist/module/business-terms-conditions-text.js +0 -28
- package/dist/module/justifi-business-document-upload-form-step.d.ts +0 -11
- package/dist/module/justifi-business-document-upload-form-step.js +0 -6
- package/dist/module/justifi-business-document-upload-input-group.d.ts +0 -11
- package/dist/module/justifi-business-document-upload-input-group.js +0 -6
- package/dist/module/justifi-business-documents-on-file.d.ts +0 -11
- package/dist/module/justifi-business-documents-on-file.js +0 -6
- package/dist/module/justifi-business-terms-conditions-text.d.ts +0 -11
- package/dist/module/justifi-business-terms-conditions-text.js +0 -6
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +0 -42
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.d.ts +0 -21
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/input-configurations.d.ts +0 -45
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.d.ts +0 -3
- package/dist/types/components/business-forms/schemas/business-document-upload-schema.d.ts +0 -17
- package/dist/webcomponents/p-04ce1f82.js +0 -1
- package/dist/webcomponents/p-0544f4a4.entry.js +0 -1
- package/dist/webcomponents/p-060ff1a1.js +0 -1
- package/dist/webcomponents/p-0658b707.entry.js +0 -1
- package/dist/webcomponents/p-0d7e7957.js +0 -1
- package/dist/webcomponents/p-10cface4.entry.js +0 -1
- package/dist/webcomponents/p-10f9ff7b.entry.js +0 -1
- package/dist/webcomponents/p-12233a57.entry.js +0 -1
- package/dist/webcomponents/p-135e24c0.js +0 -1
- package/dist/webcomponents/p-1a27f22e.js +0 -1
- package/dist/webcomponents/p-1e2526c8.entry.js +0 -1
- package/dist/webcomponents/p-270033ba.entry.js +0 -1
- package/dist/webcomponents/p-2a17a29c.entry.js +0 -1
- package/dist/webcomponents/p-2c7441ea.entry.js +0 -1
- package/dist/webcomponents/p-2d27d054.entry.js +0 -1
- package/dist/webcomponents/p-2d801915.js +0 -1
- package/dist/webcomponents/p-332bd5ab.entry.js +0 -1
- package/dist/webcomponents/p-351c7fa3.entry.js +0 -1
- package/dist/webcomponents/p-3f209fcc.entry.js +0 -1
- package/dist/webcomponents/p-427881b1.entry.js +0 -1
- package/dist/webcomponents/p-46769ec3.entry.js +0 -1
- package/dist/webcomponents/p-47cd431c.js +0 -1
- package/dist/webcomponents/p-4acfed0d.entry.js +0 -1
- package/dist/webcomponents/p-4bcfdb99.entry.js +0 -1
- package/dist/webcomponents/p-4e122ace.js +0 -1
- package/dist/webcomponents/p-5d177a30.js +0 -1
- package/dist/webcomponents/p-64a1ae2c.entry.js +0 -1
- package/dist/webcomponents/p-67aef066.entry.js +0 -1
- package/dist/webcomponents/p-6ad11a9f.entry.js +0 -1
- package/dist/webcomponents/p-6bc01617.js +0 -1
- package/dist/webcomponents/p-6e8be579.entry.js +0 -1
- package/dist/webcomponents/p-72a90154.entry.js +0 -1
- package/dist/webcomponents/p-73323a41.entry.js +0 -1
- package/dist/webcomponents/p-73619f0a.js +0 -1
- package/dist/webcomponents/p-74d6e182.entry.js +0 -1
- package/dist/webcomponents/p-7aff48a1.entry.js +0 -1
- package/dist/webcomponents/p-7bddbee4.js +0 -1
- package/dist/webcomponents/p-87ce7b69.js +0 -1
- package/dist/webcomponents/p-8d61499c.entry.js +0 -1
- package/dist/webcomponents/p-948b7710.entry.js +0 -1
- package/dist/webcomponents/p-96bc127e.entry.js +0 -1
- package/dist/webcomponents/p-98b027b7.entry.js +0 -1
- package/dist/webcomponents/p-a3df6c3e.entry.js +0 -1
- package/dist/webcomponents/p-a5008b32.entry.js +0 -1
- package/dist/webcomponents/p-a59636ed.js +0 -1
- package/dist/webcomponents/p-a7b04e24.js +0 -1
- package/dist/webcomponents/p-ac2588af.entry.js +0 -1
- package/dist/webcomponents/p-b78da082.entry.js +0 -1
- package/dist/webcomponents/p-b86e804e.entry.js +0 -1
- package/dist/webcomponents/p-ba202e33.js +0 -1
- package/dist/webcomponents/p-bb842885.entry.js +0 -1
- package/dist/webcomponents/p-c358b253.entry.js +0 -1
- package/dist/webcomponents/p-ca6214ca.entry.js +0 -1
- package/dist/webcomponents/p-cb8f7bf4.js +0 -1
- package/dist/webcomponents/p-ce2de434.entry.js +0 -1
- package/dist/webcomponents/p-d5dace8b.entry.js +0 -1
- package/dist/webcomponents/p-dc6e1e5f.entry.js +0 -1
- package/dist/webcomponents/p-f2158e48.entry.js +0 -1
- package/dist/webcomponents/p-f3867b82.entry.js +0 -1
- package/dist/webcomponents/p-fc3daedd.js +0 -1
- package/dist/webcomponents/p-fd6619d0.entry.js +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
4
4
|
const utils = require('./utils-7a478c37.js');
|
|
5
5
|
|
|
6
|
-
// Entity API Actions
|
|
6
|
+
// Business / Entity API Actions
|
|
7
7
|
const makeGetBusiness = ({ authToken, businessId, service }) => async ({ onSuccess, onError, final = () => { } }) => {
|
|
8
8
|
var _a;
|
|
9
9
|
try {
|
|
@@ -88,7 +88,7 @@ const makePostProvisioning = ({ authToken, businessId, product, service }) => as
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
// Identity API Actions
|
|
91
|
+
// Business Identity API Actions
|
|
92
92
|
const makeGetIdentity = ({ authToken, identityId, service }) => async ({ onSuccess, onError, final = () => { } }) => {
|
|
93
93
|
var _a;
|
|
94
94
|
try {
|
|
@@ -206,11 +206,42 @@ const makePostBankAccount = ({ authToken, service }) => async ({ payload, onSucc
|
|
|
206
206
|
return final();
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
|
+
// Business Document API Actions
|
|
210
|
+
const makePostDocumentRecord = ({ authToken, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
211
|
+
var _a;
|
|
212
|
+
try {
|
|
213
|
+
const response = await service.postDocumentRecord(authToken, payload);
|
|
214
|
+
if (!response.error) {
|
|
215
|
+
onSuccess(response);
|
|
216
|
+
}
|
|
217
|
+
else {
|
|
218
|
+
const responseError = utils.getErrorMessage(response.error);
|
|
219
|
+
const code = utils.getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
220
|
+
return onError({
|
|
221
|
+
error: responseError,
|
|
222
|
+
code,
|
|
223
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
catch (error) {
|
|
228
|
+
const code = utils.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
229
|
+
return onError({
|
|
230
|
+
error: error.message || error,
|
|
231
|
+
code,
|
|
232
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
finally {
|
|
236
|
+
return final();
|
|
237
|
+
}
|
|
238
|
+
};
|
|
209
239
|
|
|
210
240
|
exports.makeGetBusiness = makeGetBusiness;
|
|
211
241
|
exports.makeGetIdentity = makeGetIdentity;
|
|
212
242
|
exports.makePatchBusiness = makePatchBusiness;
|
|
213
243
|
exports.makePatchIdentity = makePatchIdentity;
|
|
214
244
|
exports.makePostBankAccount = makePostBankAccount;
|
|
245
|
+
exports.makePostDocumentRecord = makePostDocumentRecord;
|
|
215
246
|
exports.makePostIdentity = makePostIdentity;
|
|
216
247
|
exports.makePostProvisioning = makePostProvisioning;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const Api = require('./Api-
|
|
4
|
-
require('./
|
|
3
|
+
const Api = require('./Api-089e7501.js');
|
|
4
|
+
require('./ComponentError-233ac749.js');
|
|
5
|
+
require('./Checkout-0f1c8abe.js');
|
|
5
6
|
require('./Pagination-0da8f095.js');
|
|
6
|
-
require('./Payment-
|
|
7
|
-
require('./SubAccount-
|
|
7
|
+
require('./Payment-c47ed1e1.js');
|
|
8
|
+
require('./SubAccount-509ebf93.js');
|
|
9
|
+
require('./Document-0b828345.js');
|
|
8
10
|
|
|
9
11
|
class PaymentService {
|
|
10
12
|
async fetchPayments(accountId, authToken, params, apiOrigin) {
|
|
@@ -3,19 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
require('./
|
|
6
|
+
require('./ComponentError-233ac749.js');
|
|
7
|
+
require('./Checkout-0f1c8abe.js');
|
|
7
8
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
8
|
-
require('./Payment-
|
|
9
|
-
require('./SubAccount-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
require('./
|
|
9
|
+
require('./Payment-c47ed1e1.js');
|
|
10
|
+
require('./SubAccount-509ebf93.js');
|
|
11
|
+
require('./Document-0b828345.js');
|
|
12
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
13
|
+
const eventTypes = require('./event-types-34b103b4.js');
|
|
14
|
+
const paymentsTable = require('./payments-table-f3aa174d.js');
|
|
15
|
+
const paymentsListParamsState = require('./payments-list-params-state-442d9944.js');
|
|
16
|
+
require('./utils-337befa9.js');
|
|
15
17
|
require('./Dispute-eb6bad54.js');
|
|
16
|
-
require('./spinner-
|
|
17
|
-
require('./payments-status-
|
|
18
|
-
require('./badge-
|
|
18
|
+
require('./spinner-4fc60a51.js');
|
|
19
|
+
require('./payments-status-ec12ee6a.js');
|
|
20
|
+
require('./badge-ccfe03bf.js');
|
|
19
21
|
require('./index-d2d0b181.js');
|
|
20
22
|
|
|
21
23
|
const PaymentsListCore = class {
|
|
@@ -66,12 +68,11 @@ const PaymentsListCore = class {
|
|
|
66
68
|
fetchData() {
|
|
67
69
|
this.loading = true;
|
|
68
70
|
this.getPayments({
|
|
69
|
-
params: this.
|
|
71
|
+
params: this.params,
|
|
70
72
|
onSuccess: ({ payments, pagingInfo }) => {
|
|
71
73
|
this.payments = payments;
|
|
72
74
|
this.paging = pagingInfo;
|
|
73
75
|
this.paymentsTable.collectionData = this.payments;
|
|
74
|
-
this.loading = false;
|
|
75
76
|
},
|
|
76
77
|
onError: ({ error, code, severity }) => {
|
|
77
78
|
this.errorMessage = error;
|
|
@@ -80,8 +81,10 @@ const PaymentsListCore = class {
|
|
|
80
81
|
message: error,
|
|
81
82
|
severity,
|
|
82
83
|
});
|
|
83
|
-
this.loading = false;
|
|
84
84
|
},
|
|
85
|
+
final: () => {
|
|
86
|
+
this.loading = false;
|
|
87
|
+
}
|
|
85
88
|
});
|
|
86
89
|
}
|
|
87
90
|
get entityId() {
|
|
@@ -96,15 +99,15 @@ const PaymentsListCore = class {
|
|
|
96
99
|
get showRowData() {
|
|
97
100
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
98
101
|
}
|
|
99
|
-
get
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
+
get params() {
|
|
103
|
+
const requestParams = paymentsListParamsState.getRequestParams();
|
|
104
|
+
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
105
|
+
return params;
|
|
102
106
|
}
|
|
103
107
|
render() {
|
|
104
|
-
return (index.h("div", { key: '
|
|
108
|
+
return (index.h("div", { key: 'a3a996622a365ecf9960a36f249dcd3a8cea3106' }, index.h("div", { key: '79b86ae4a59b6c50ff72ee1dddb7d9660220e003', class: "table-wrapper" }, index.h("table", { key: '0f0904d5db86c1e7e3141e991bb20dade2bfb46b', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'a5895f88cea8962b31aed180b24fc8a287664d56', class: "table-head sticky-top" }, index.h("tr", { key: 'e883f164efc6a77eea64482974d4e667d264110d', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), index.h("tbody", { key: 'bbb65c479ca06b02d711d510516432db815b3fac', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: 'a212a7fc190e5bede2ff98e7dad737260b94fc9c', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: '41543e33097fbcc753ab11fad1214b6dd06c4f78', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), index.h(eventTypes.TableErrorState, { key: '06862d555775195430f95fa3efc41d301444cc4e', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '7453d140f8f9ca941be9cf5b9dad4491ace10095', class: "sticky-bottom" }, index.h("tr", { key: '5299d703ca1c741687e1340b98876cabc4c3636d', class: "table-light align-middle" }, index.h("td", { key: '96f9f447db74126b92f3f3f657d4253617c0b85b', part: parts.tableCell, colSpan: this.paymentsTable.columnData.length }, index.h("pagination-menu", { key: '19a8da89dfc77c2d97b3b726f9a27a72825eafe3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
105
109
|
}
|
|
106
110
|
static get watchers() { return {
|
|
107
|
-
"queryParams": ["updateOnPropChange"],
|
|
108
111
|
"pagingParams": ["updateOnPropChange"],
|
|
109
112
|
"getPayments": ["updateOnPropChange"],
|
|
110
113
|
"columns": ["updateOnPropChange"]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-d2d0b181.js');
|
|
4
|
+
|
|
5
|
+
const filterParamsInitialState = {};
|
|
6
|
+
const propsParamsInitialState = {};
|
|
7
|
+
const filterParamsStore = index.createStore(() => filterParamsInitialState);
|
|
8
|
+
const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
|
|
9
|
+
const propsParamsStore = index.createStore(() => propsParamsInitialState);
|
|
10
|
+
const { state: propsParams } = propsParamsStore;
|
|
11
|
+
const getRequestParams = () => {
|
|
12
|
+
return Object.assign(Object.assign({}, filterParams), propsParams);
|
|
13
|
+
};
|
|
14
|
+
const clearParams = () => {
|
|
15
|
+
filterParamsStore.reset();
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.clearParams = clearParams;
|
|
19
|
+
exports.filterParams = filterParams;
|
|
20
|
+
exports.getRequestParams = getRequestParams;
|
|
21
|
+
exports.onQueryParamsChange = onQueryParamsChange;
|
|
22
|
+
exports.propsParams = propsParams;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const paymentsStatus = require('./payments-status-
|
|
5
|
-
const utils = require('./utils-
|
|
6
|
-
const parts = require('./parts-
|
|
4
|
+
const paymentsStatus = require('./payments-status-ec12ee6a.js');
|
|
5
|
+
const utils = require('./utils-337befa9.js');
|
|
6
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
7
7
|
|
|
8
8
|
const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits';
|
|
9
9
|
const paymentTableColumns = {
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const utils$1 = require('./utils-
|
|
7
|
-
const utils = require('./utils-
|
|
8
|
-
const button = require('./button-
|
|
6
|
+
const utils$1 = require('./utils-337befa9.js');
|
|
7
|
+
const utils = require('./utils-134dda01.js');
|
|
8
|
+
const button = require('./button-8b634147.js');
|
|
9
9
|
const styledHost = require('./styled-host-94309bab.js');
|
|
10
|
-
const payoutsStatus = require('./payouts-status-
|
|
11
|
-
const skeleton = require('./skeleton-
|
|
12
|
-
require('./parts-
|
|
13
|
-
require('./badge-
|
|
10
|
+
const payoutsStatus = require('./payouts-status-9f2e9a3a.js');
|
|
11
|
+
const skeleton = require('./skeleton-0353466d.js');
|
|
12
|
+
require('./parts-b2ff8b68.js');
|
|
13
|
+
require('./badge-ccfe03bf.js');
|
|
14
14
|
|
|
15
15
|
const PayoutDetailsLoading = () => (index.h("div", { class: "row gap-3" },
|
|
16
16
|
index.h("div", { class: "col-12" },
|
|
@@ -78,7 +78,7 @@ const PayoutDetailsCore = class {
|
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
80
|
var _a;
|
|
81
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
81
|
+
return (index.h(styledHost.StyledHost, { key: '4549ec693037f9a88ce74520fd227022d4a2db43' }, this.loading && index.h(PayoutDetailsLoading, { key: '36017a6e0faef41b11d79605177e215e614a3aa1' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && this.payout && (index.h("justifi-details", { key: 'c85f8ade3faf633fe0901d9500eb3353ca37bb2b', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: 'cd855de095506f7002e2e1c0188250b227927a17', slot: "head-info", badge: payoutsStatus.MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, index.h(utils.EntityHeadInfoItem, { key: 'acfb6cf5f22e321fa20af3b17a8efb2fad959b84', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payout.updated_at)} ${utils$1.formatTime(this.payout.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: 'a5a642616006a55cd7c1b0a6782b4400fceb930c', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payout.created_at)} ${utils$1.formatTime(this.payout.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '239d10bb38e0f583ce9f40182ebd06d0a0ea7435', title: "ID", value: this.payout.id }), index.h("div", { key: '6863a35b9f6d5490ede7ee6fa82987691615b3e2', class: "m-4" }, index.h(button.Button, { key: '1760a4e1666aa8d8de5997c29c3c127a4e36f4b5', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), index.h("div", { key: '32adb626ca04e368ef4b194f198ebffd3b04222e', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: '9e4ad804af83027bcf5a3c338bda5e70e97cc892', sectionTitle: "Details" }), index.h("div", { key: 'c927105a44b2da4c54d1a37ae67284f0674551c9', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: 'e1870dc67a0d4868670d8be56c918e78b50f905d', title: "Date paid", value: utils$1.formatDate(this.payout.deposits_at) }), index.h(utils.DetailItem, { key: '5fc96b304fc547112cd73eb4fb2630dd428830e7', title: "Statement Description", value: this.payout.description }), index.h(utils.DetailItem, { key: 'da6ef701996e84cd8e6a07d78a25a5e9a79b9ea8', title: "Payout Method", value: this.payout.delivery_method }), index.h(utils.DetailItem, { key: '9e64e4d9dcfcb061bcaa7cece2420ebf345b8000', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), index.h(utils.DetailItem, { key: '4a86a9dd33c22d08f05ec2728478a787a00a8322', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), index.h(utils.DetailSectionTitle, { key: 'db556a34c5d00c4d3e92c1cf4d01387bff3ee51d', sectionTitle: "Account" }), index.h("div", { key: '650b29a42b66a5c6472175c2908e3e3bedacf5d3', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: 'dc66788666c8171a88712615b3b9972c3b4b0d3f', title: "ID", value: this.payout.account_id }), index.h(utils.DetailItem, { key: '203f2cf47a4ef904cec14e1c513f4e7debd8fce8', title: "Account Type", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: 'de0b55071cf0303666f6f586de3c409684cb6a7d', title: "Institution", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: 'c844ae5678df1b9181e7ecc75d96b166b75afe64', title: "Routing Number", value: this.payout.bank_account.routing_number }), index.h(utils.DetailItem, { key: '0d53d6165128f2783bb2d2a16fe736fa89b3f897', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), index.h(utils.DetailSectionTitle, { key: '32578f8453ceb9f8196c393b6d729bbf9e287e04', sectionTitle: 'Metadata' }), index.h("div", { key: 'fdacbd0d6ce9c91557043a797d41a82e88d8ad61', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: '97ec42b9a84d270166a634e15cf8c3aa4d9ff532', metadata: this.payout.metadata })))))));
|
|
82
82
|
}
|
|
83
83
|
static get watchers() { return {
|
|
84
84
|
"getPayout": ["getPayoutWatcher"]
|
|
@@ -3,20 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
require('./Checkout-2ff4f9c8.js');
|
|
7
|
-
const Pagination = require('./Pagination-0da8f095.js');
|
|
8
|
-
require('./Payment-84817e2d.js');
|
|
9
|
-
require('./SubAccount-f236913b.js');
|
|
10
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
|
|
7
|
+
require('./Checkout-0f1c8abe.js');
|
|
8
|
+
const Pagination = require('./Pagination-0da8f095.js');
|
|
9
|
+
require('./Payment-c47ed1e1.js');
|
|
10
|
+
require('./SubAccount-509ebf93.js');
|
|
11
|
+
require('./Document-0b828345.js');
|
|
12
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
13
|
+
const eventTypes = require('./event-types-34b103b4.js');
|
|
14
|
+
const payoutsTable = require('./payouts-table-4efa53fa.js');
|
|
14
15
|
const payoutsListParamsState = require('./payouts-list-params-state-16348184.js');
|
|
15
|
-
require('./utils-
|
|
16
|
+
require('./utils-337befa9.js');
|
|
16
17
|
require('./Dispute-eb6bad54.js');
|
|
17
|
-
require('./spinner-
|
|
18
|
-
require('./payouts-status-
|
|
19
|
-
require('./badge-
|
|
18
|
+
require('./spinner-4fc60a51.js');
|
|
19
|
+
require('./payouts-status-9f2e9a3a.js');
|
|
20
|
+
require('./badge-ccfe03bf.js');
|
|
20
21
|
require('./index-d2d0b181.js');
|
|
21
22
|
|
|
22
23
|
const PayoutsListCore = class {
|
|
@@ -152,7 +153,7 @@ const PayoutsListCore = class {
|
|
|
152
153
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
153
154
|
}
|
|
154
155
|
render() {
|
|
155
|
-
return (index.h("div", { key: '
|
|
156
|
+
return (index.h("div", { key: '80d7b9e09153270375ef79961996ed56f0ee6ba2' }, index.h("div", { key: 'bb769ab3fc09acea181a231f98f5aa99be24e675', class: "table-wrapper", part: "table-wrapper" }, index.h("table", { key: 'b008fd21153c738b85e1a37c2e43932e13b8f58d', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'f4c7146142cc714f24dccddda4404d5534e068b5', class: "table-head sticky-top", part: "table-head" }, index.h("tr", { key: 'bfd485e191f11725681a1055b049c7c11eda7858', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), index.h("tbody", { key: '77797d4d7ebfed8206fb5b693d973c8fb539f1b8', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: 'd8c55ac393e2952b9cde96b8fcb45cf88978d90b', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: '4122715eaa2363e9a21a3dec18a935bc98ac530e', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), index.h(eventTypes.TableErrorState, { key: '5017f0eca302fe6c80d62d8e9af73b68d04db658', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: 'da997bb2d356800bdc918415a60c03d09ab0d158', class: "sticky-bottom" }, index.h("tr", { key: '22a61b245c6aeb630bb3887525d826d5b3589c7c', class: "table-light align-middle" }, index.h("td", { key: 'f378c94db17592855e94066113bc064d0f936d45', part: parts.tableCell, colSpan: this.payoutsTable.columnData.length }, index.h("pagination-menu", { key: '32f8c9fc1a401a5f7f40669d56be3f703a3fdd40', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
156
157
|
}
|
|
157
158
|
static get watchers() { return {
|
|
158
159
|
"queryParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const utils = require('./utils-
|
|
5
|
-
const payoutsStatus = require('./payouts-status-
|
|
6
|
-
const parts = require('./parts-
|
|
4
|
+
const utils = require('./utils-337befa9.js');
|
|
5
|
+
const payoutsStatus = require('./payouts-status-9f2e9a3a.js');
|
|
6
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
7
7
|
|
|
8
8
|
const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
|
|
9
9
|
const payoutTableColumns = {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
const index_esm = require('./index.esm-a397536a.js');
|
|
4
4
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
5
5
|
const businessFormOptions = require('./business-form-options-4bcb8943.js');
|
|
6
|
+
const Document = require('./Document-0b828345.js');
|
|
6
7
|
|
|
7
8
|
const transformEmptyString = (value) => {
|
|
8
9
|
return value === '' ? null : value;
|
|
@@ -26,60 +27,6 @@ const numbersOnlyRegex = /^\d+$/;
|
|
|
26
27
|
const ssnRegex = /^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/;
|
|
27
28
|
const poBoxRegex = /P\.?\s?O\.?\s?Box|Postal\sBox/i;
|
|
28
29
|
|
|
29
|
-
exports.EntityDocumentType = void 0;
|
|
30
|
-
(function (EntityDocumentType) {
|
|
31
|
-
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
32
|
-
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
33
|
-
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
34
|
-
EntityDocumentType["governmentId"] = "government_id";
|
|
35
|
-
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
36
|
-
EntityDocumentType["taxReturn"] = "tax_return";
|
|
37
|
-
EntityDocumentType["other"] = "other";
|
|
38
|
-
})(exports.EntityDocumentType || (exports.EntityDocumentType = {}));
|
|
39
|
-
var EntityDocumentStatus;
|
|
40
|
-
(function (EntityDocumentStatus) {
|
|
41
|
-
EntityDocumentStatus["pending"] = "pending";
|
|
42
|
-
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
43
|
-
EntityDocumentStatus["canceled"] = "canceled";
|
|
44
|
-
EntityDocumentStatus["needed"] = "needed";
|
|
45
|
-
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
46
|
-
class EntityDocumentStorage {
|
|
47
|
-
constructor() {
|
|
48
|
-
this.voided_check = [];
|
|
49
|
-
this.balance_sheet = [];
|
|
50
|
-
this.bank_statement = [];
|
|
51
|
-
this.government_id = [];
|
|
52
|
-
this.profit_and_loss_statement = [];
|
|
53
|
-
this.tax_return = [];
|
|
54
|
-
this.other = [];
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
class EntityDocument {
|
|
58
|
-
constructor(fileData, business_id) {
|
|
59
|
-
this.file = fileData.file;
|
|
60
|
-
this.fileString = this.getFileString();
|
|
61
|
-
this.document_type = fileData.document_type;
|
|
62
|
-
this.presigned_url = null;
|
|
63
|
-
this.record_data = {
|
|
64
|
-
business_id: business_id,
|
|
65
|
-
document_type: this.document_type,
|
|
66
|
-
file_name: this.file.name,
|
|
67
|
-
file_type: this.file.type,
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
getFileString() {
|
|
71
|
-
let reader = new FileReader();
|
|
72
|
-
reader.onload = (e) => {
|
|
73
|
-
this.fileString = e.target.result;
|
|
74
|
-
};
|
|
75
|
-
reader.readAsDataURL(this.file);
|
|
76
|
-
return this.fileString;
|
|
77
|
-
}
|
|
78
|
-
setPresignedUrl(url) {
|
|
79
|
-
this.presigned_url = url;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
30
|
// Common Validations
|
|
84
31
|
const emailValidation = index_esm.create$6()
|
|
85
32
|
.email('Enter valid email')
|
|
@@ -241,11 +188,8 @@ const routingNumberValidation = index_esm.create$6()
|
|
|
241
188
|
.transform(transformEmptyString);
|
|
242
189
|
// Document Upload Validations
|
|
243
190
|
const documentUploadValidation = index_esm.create$8();
|
|
244
|
-
const ss4Validation = documentUploadValidation;
|
|
245
|
-
const governmentIdValidation = documentUploadValidation;
|
|
246
|
-
const otherDocumentValidation = documentUploadValidation;
|
|
247
191
|
const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
248
|
-
const existingDoc = documents.some((doc) => doc.document_type ===
|
|
192
|
+
const existingDoc = documents.some((doc) => doc.document_type === Document.EntityDocumentType.voidedCheck);
|
|
249
193
|
if (existingDoc || allowOptionalFields) {
|
|
250
194
|
return documentUploadValidation.nullable();
|
|
251
195
|
}
|
|
@@ -253,45 +197,18 @@ const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
|
253
197
|
return documentUploadValidation.required('Please select one or more files');
|
|
254
198
|
}
|
|
255
199
|
};
|
|
256
|
-
const bankStatementValidation = (
|
|
257
|
-
const
|
|
258
|
-
const bankStatementRequiredAmount = 250000;
|
|
259
|
-
const existingDoc = documents.some((doc) => doc.document_type === exports.EntityDocumentType.bankStatement);
|
|
260
|
-
if (existingDoc || allowOptionalFields) {
|
|
261
|
-
return documentUploadValidation.nullable();
|
|
262
|
-
}
|
|
263
|
-
else if (vol >= bankStatementRequiredAmount && !allowOptionalFields) {
|
|
264
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
const balanceSheetValidation = (volume, documents, allowOptionalFields) => {
|
|
268
|
-
const vol = parseInt(volume);
|
|
269
|
-
const balanceSheetRequiredAmount = 1000000;
|
|
270
|
-
const existingDoc = documents.some((doc) => doc.document_type === exports.EntityDocumentType.balanceSheet);
|
|
200
|
+
const bankStatementValidation = (documents, allowOptionalFields) => {
|
|
201
|
+
const existingDoc = documents.some((doc) => doc.document_type === Document.EntityDocumentType.bankStatement);
|
|
271
202
|
if (existingDoc || allowOptionalFields) {
|
|
272
203
|
return documentUploadValidation.nullable();
|
|
273
204
|
}
|
|
274
|
-
else
|
|
275
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
276
|
-
}
|
|
277
|
-
};
|
|
278
|
-
const profitAndLossStatementValidation = (volume, documents, allowOptionalFields) => {
|
|
279
|
-
const vol = parseInt(volume);
|
|
280
|
-
const profitLossRequiredAmount = 1000000;
|
|
281
|
-
const existingDoc = documents.some((doc) => doc.document_type === exports.EntityDocumentType.profitAndLossStatement);
|
|
282
|
-
if (existingDoc || allowOptionalFields) {
|
|
283
|
-
return documentUploadValidation.nullable();
|
|
284
|
-
}
|
|
285
|
-
else if (vol >= profitLossRequiredAmount && !allowOptionalFields) {
|
|
205
|
+
else {
|
|
286
206
|
return documentUploadValidation.required('Please select one or more files');
|
|
287
207
|
}
|
|
288
208
|
};
|
|
289
209
|
|
|
290
|
-
exports.EntityDocument = EntityDocument;
|
|
291
|
-
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
292
210
|
exports.accountNumberValidation = accountNumberValidation;
|
|
293
211
|
exports.accountTypeValidation = accountTypeValidation;
|
|
294
|
-
exports.balanceSheetValidation = balanceSheetValidation;
|
|
295
212
|
exports.bankNameValidation = bankNameValidation;
|
|
296
213
|
exports.bankStatementValidation = bankStatementValidation;
|
|
297
214
|
exports.businessClassificationValidation = businessClassificationValidation;
|
|
@@ -301,25 +218,21 @@ exports.dateOfIncorporationValidation = dateOfIncorporationValidation;
|
|
|
301
218
|
exports.dobValidation = dobValidation;
|
|
302
219
|
exports.doingBusinessAsValidation = doingBusinessAsValidation;
|
|
303
220
|
exports.emailValidation = emailValidation;
|
|
304
|
-
exports.governmentIdValidation = governmentIdValidation;
|
|
305
221
|
exports.identityNameValidation = identityNameValidation;
|
|
306
222
|
exports.identityTitleValidation = identityTitleValidation;
|
|
307
223
|
exports.industryValidation = industryValidation;
|
|
308
224
|
exports.lineOneValidation = lineOneValidation;
|
|
309
225
|
exports.lineTwoValidation = lineTwoValidation;
|
|
310
226
|
exports.nicknameValidation = nicknameValidation;
|
|
311
|
-
exports.otherDocumentValidation = otherDocumentValidation;
|
|
312
227
|
exports.otherPaymentDetailsValidation = otherPaymentDetailsValidation;
|
|
313
228
|
exports.paymentVolumeValidation = paymentVolumeValidation;
|
|
314
229
|
exports.phoneValidation = phoneValidation;
|
|
315
230
|
exports.postalValidation = postalValidation;
|
|
316
|
-
exports.profitAndLossStatementValidation = profitAndLossStatementValidation;
|
|
317
231
|
exports.recurringPaymentsPercentageValidation = recurringPaymentsPercentageValidation;
|
|
318
232
|
exports.recurringPaymentsValidation = recurringPaymentsValidation;
|
|
319
233
|
exports.revenueValidation = revenueValidation;
|
|
320
234
|
exports.routingNumberValidation = routingNumberValidation;
|
|
321
235
|
exports.seasonalBusinessValidation = seasonalBusinessValidation;
|
|
322
|
-
exports.ss4Validation = ss4Validation;
|
|
323
236
|
exports.ssnValidation = ssnValidation;
|
|
324
237
|
exports.stateValidation = stateValidation;
|
|
325
238
|
exports.taxIdValidation = taxIdValidation;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const parts = require('./parts-
|
|
4
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
5
5
|
|
|
6
6
|
const Skeleton = ({ component = 'div', height, width, className, styles = {}, }) => {
|
|
7
7
|
const combinedStyle = Object.assign(Object.assign({}, styles), { width,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const button = require('./button-
|
|
7
|
-
const parts = require('./parts-
|
|
6
|
+
const button = require('./button-8b634147.js');
|
|
7
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
8
8
|
|
|
9
9
|
const hasFilters = (params) => {
|
|
10
10
|
const paginationKeys = ['after_cursor', 'before_cursor'];
|
|
@@ -35,7 +35,7 @@ const TableFiltersMenu = class {
|
|
|
35
35
|
this.showClearButton = hasFilters(this.params);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h("div", { key: '
|
|
38
|
+
return (index.h("div", { key: 'd45f459f317d7a5c10083e4d6c7a1855e606ccff', class: "d-flex gap-2" }, index.h("div", { key: 'cd9625444bf3e4a084508a52f2f4ee52ec108602', class: "dropdown pb-3" }, index.h(button.Button, { key: '328dfff010a31a5e49a6a893bd9a8b49ebc44a6a', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), index.h("custom-popper", { key: '591b15ad81d875d9f0249978394281ee134dd63f', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, index.h("form", { key: 'dbab8762dddfaa425e13d8f6ca9993ee1811a404', class: "dropdown-menu", part: parts.dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, index.h("slot", { key: 'b4c174ce6d565e7cadcd3ce62af69eaaeac5054c' })))), index.h("div", { key: '1daabbe4fa3551640c075ee20e39b2c9363bf59a' }, index.h(button.Button, { key: 'b09b43e46ad9b40797efd06ede82044c8a6e25df', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
39
39
|
}
|
|
40
40
|
static get watchers() { return {
|
|
41
41
|
"params": ["watchParamsHandler"]
|
|
@@ -3,18 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
require('./
|
|
6
|
+
require('./ComponentError-233ac749.js');
|
|
7
|
+
require('./Checkout-0f1c8abe.js');
|
|
7
8
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
8
|
-
require('./Payment-
|
|
9
|
-
require('./SubAccount-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
9
|
+
require('./Payment-c47ed1e1.js');
|
|
10
|
+
require('./SubAccount-509ebf93.js');
|
|
11
|
+
require('./Document-0b828345.js');
|
|
12
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
13
|
+
const eventTypes = require('./event-types-34b103b4.js');
|
|
14
|
+
const terminalsTable = require('./terminals-table-5e4bce93.js');
|
|
13
15
|
const terminalsListParamsState = require('./terminals-list-params-state-95ff6a64.js');
|
|
14
|
-
require('./utils-
|
|
16
|
+
require('./utils-337befa9.js');
|
|
15
17
|
require('./Dispute-eb6bad54.js');
|
|
16
|
-
require('./spinner-
|
|
17
|
-
require('./badge-
|
|
18
|
+
require('./spinner-4fc60a51.js');
|
|
19
|
+
require('./badge-ccfe03bf.js');
|
|
18
20
|
require('./index-d2d0b181.js');
|
|
19
21
|
|
|
20
22
|
const TerminalsListCore = class {
|
|
@@ -137,7 +139,7 @@ const TerminalsListCore = class {
|
|
|
137
139
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
138
140
|
}
|
|
139
141
|
render() {
|
|
140
|
-
return (index.h("div", { key: '
|
|
142
|
+
return (index.h("div", { key: 'a80b76fc1f535c9d1fea371b7655a2baa373e53c' }, index.h("div", { key: '3c6fb067ed034fd09c767e5f1b7ffa7ab2b0b6c2', class: "table-wrapper" }, index.h("table", { key: 'e24cff12e153db046b1565011bbae3db133609f9', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'd91e948a4b0a6da3bc67ea489bf6deb828ccb9e5', class: "table-head sticky-top" }, index.h("tr", { key: '7e629ab6636fceb70dd75e1163094cd44d1f525d', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), index.h("tbody", { key: '760ed57f2a669d3a6cd54953c9d5259cb6518a60', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: '4cb50cce3d9644904fffd1969de19647c6eabc11', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: '84ea8077a878aa6b94c1bd2eb1c9393ffc41b983', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), index.h(eventTypes.TableErrorState, { key: '94cb9745f2951383625833a783d4d2bf8e88b1b2', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '0e111df52934ff81bddd77a15d720c44f53e3096', class: "sticky-bottom" }, index.h("tr", { key: '0abc10194bb09342ecefb62b7a981c3809542a99', class: "table-light align-middle" }, index.h("td", { key: '828f58c6054dd437cb597696d5bdaf33069e69cf', part: parts.tableCell, colSpan: this.terminalsTable.columnData.length }, index.h("pagination-menu", { key: 'd9f4db3f7c580fda067afff8919a695776c8f502', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
141
143
|
}
|
|
142
144
|
static get watchers() { return {
|
|
143
145
|
"queryParams": ["updateOnPropChange"],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const badge = require('./badge-
|
|
5
|
-
const parts = require('./parts-
|
|
4
|
+
const badge = require('./badge-ccfe03bf.js');
|
|
5
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
6
6
|
|
|
7
7
|
const MapTerminalStatusToBadge = (status) => {
|
|
8
8
|
const statusToBadgeProps = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const parts = require('./parts-
|
|
4
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
5
5
|
|
|
6
6
|
const ErrorState = (errorMessage) => (index.h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } },
|
|
7
7
|
index.h("p", { part: parts.text }, errorMessage)));
|
|
@@ -3958,9 +3958,6 @@ function snakeToCamel(str) {
|
|
|
3958
3958
|
function isEmptyObject(obj) {
|
|
3959
3959
|
return Object.keys(obj).length === 0 && obj.constructor === Object;
|
|
3960
3960
|
}
|
|
3961
|
-
const isInRange = (num, min, max) => {
|
|
3962
|
-
return num >= min && num <= max;
|
|
3963
|
-
};
|
|
3964
3961
|
function removeAttribute(htmlString, attribute) {
|
|
3965
3962
|
const tempDiv = document.createElement('div');
|
|
3966
3963
|
tempDiv.innerHTML = htmlString;
|
|
@@ -3997,7 +3994,6 @@ exports.formatMediumDate = formatMediumDate;
|
|
|
3997
3994
|
exports.formatTime = formatTime;
|
|
3998
3995
|
exports.formatTimeSeconds = formatTimeSeconds;
|
|
3999
3996
|
exports.isEmptyObject = isEmptyObject;
|
|
4000
|
-
exports.isInRange = isInRange;
|
|
4001
3997
|
exports.processHTML = processHTML;
|
|
4002
3998
|
exports.removeAttribute = removeAttribute;
|
|
4003
3999
|
exports.snakeCaseToHumanReadable = snakeCaseToHumanReadable;
|