@justifi/webcomponents 5.7.0 → 5.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ApiNew-C8nf_gS9.js → Api-Dp4CW5K6.js} +1 -1
- package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
- package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
- package/dist/cjs/{Payment-CQCmj3Ck.js → Document-Qt0qiXeh.js} +58 -1
- package/dist/cjs/{Refund-CpurRc4w.js → Refund-BDFOEJv_.js} +2 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +12 -13
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
- package/dist/cjs/bank-account-form_9.cjs.entry.js +35 -25
- package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-JlysTRE3.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -2
- package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BksYFWls.js} +1 -1
- package/dist/cjs/{business.service-yVtplFhh.js → business.service-DMIMZpx4.js} +9 -2
- package/dist/cjs/{check-pkg-version-BYKcQDik.js → check-pkg-version-hqYwYpQq.js} +13 -3
- package/dist/cjs/{checkout.service-Dd2AbBn2.js → checkout.service-DKH8NODe.js} +9 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -8
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-Cj2iSB_P.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +4 -4
- package/dist/cjs/{dispute.service-C0J-Wh-Y.js → dispute.service-8j6tLV4i.js} +9 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- 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.cjs.entry.js +3 -3
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- 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/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
- package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-MM1u5jMc.js} +8 -6
- package/dist/cjs/{get-subaccounts-CquZS5kP.js → get-subaccounts-CkjWYxIU.js} +9 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -11
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -15
- package/dist/cjs/justifi-business-details.cjs.entry.js +22 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +19 -18
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +18 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -7
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +20 -16
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +15 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +17 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +19 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -16
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -11
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -14
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +20 -23
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -8
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +21 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +19 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CX6Njc5t.js → package-BCOEGxFC.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payment.service-BvTU2Orj.js → payment.service-CCxGhTwZ.js} +9 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BR97ybd6.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{payout.service-C99pgxvg.js → payout.service-CtphIhUK.js} +9 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DMcQiC1g.js} +1 -1
- package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-BUor-ySb.js} +6 -7
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{terminal-orders-table-BeeUTKtj.js → terminal-orders-table-D-CLcZws.js} +7 -5
- package/dist/cjs/{terminal.service-DEGcoaCb.js → terminal.service-Dv_WJkue.js} +9 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-BEJ6sF7w.js} +1 -1
- package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +3 -0
- package/dist/collection/api/Api.js +23 -12
- package/dist/collection/api/Business.js +3 -1
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/Payout.js +1 -0
- package/dist/collection/api/index.js +5 -1
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +1 -1
- package/dist/collection/api/services/checkout.service.js +1 -1
- package/dist/collection/api/services/dispute.service.js +1 -1
- package/dist/collection/api/services/insurance.service.js +5 -8
- package/dist/collection/api/services/payment.service.js +1 -1
- package/dist/collection/api/services/payout.service.js +1 -1
- package/dist/collection/api/services/provision.service.js +1 -1
- package/dist/collection/api/services/refund.service.js +1 -1
- package/dist/collection/api/services/reports.service.js +3 -3
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +1 -1
- package/dist/collection/api/services/terminal_orders.service.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
- package/dist/collection/components/business-details/business-details-core.js +1 -2
- package/dist/collection/components/business-details/business-details.js +13 -4
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
- package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -4
- package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
- package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
- package/dist/collection/components/checkout/checkout.js +5 -3
- package/dist/collection/components/checkout/new-payment-method.js +17 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +4 -2
- package/dist/collection/components/dispute-management/dispute-management.js +3 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
- package/dist/collection/components/order-terminals/order-terminals.js +6 -1
- package/dist/collection/components/payment-details/payment-details-core.js +9 -8
- package/dist/collection/components/payment-details/payment-details.js +2 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +4 -2
- 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 +4 -2
- package/dist/collection/components/payout-details/payout-details-core.js +4 -3
- package/dist/collection/components/payout-details/payout-details.js +3 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -2
- 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 +4 -2
- 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 +6 -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 +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +9 -5
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +2 -2
- 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-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/utils/utils.js +3 -0
- package/dist/docs.json +85 -78
- package/dist/esm/{ApiNew-KYhsw8Nv.js → Api-cgKcLG0y.js} +1 -1
- package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
- package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Payment-BADkZFaz.js → Document-DvWsQBM6.js} +58 -3
- package/dist/esm/{Refund-DOvd7RJp.js → Refund-zZewCvey.js} +2 -1
- package/dist/esm/additional-questions-details_5.entry.js +12 -13
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -10
- package/dist/esm/bank-account-form_9.entry.js +28 -18
- package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-CBUm3D7O.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -2
- package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
- package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-CntGz8jo.js} +1 -1
- package/dist/esm/{business.service-_645Z23O.js → business.service-BWivPbyO.js} +8 -1
- package/dist/esm/{check-pkg-version-Dh7UNmHL.js → check-pkg-version-BykGn7tx.js} +12 -2
- package/dist/esm/{checkout.service-7FGjq0rO.js → checkout.service-Bh-Q24Cr.js} +8 -1
- package/dist/esm/checkouts-list-core.entry.js +11 -8
- package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-DcVkD83l.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +4 -4
- package/dist/esm/{dispute.service-lJlAFuE6.js → dispute.service-1AYcALSg.js} +8 -1
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
- package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-DXhXxFPr.js} +7 -5
- package/dist/esm/{get-subaccounts-DIJtLFsb.js → get-subaccounts-CtHj1UM6.js} +8 -6
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/iframe-input.entry.js +4 -4
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +13 -15
- package/dist/esm/justifi-business-details.entry.js +23 -11
- package/dist/esm/justifi-business-form.entry.js +19 -18
- package/dist/esm/justifi-checkout-core.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +18 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -7
- package/dist/esm/justifi-checkouts-list.entry.js +20 -16
- 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 +16 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +17 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +19 -10
- package/dist/esm/justifi-order-terminals.entry.js +20 -16
- package/dist/esm/justifi-owner-form_3.entry.js +12 -8
- package/dist/esm/justifi-payment-details.entry.js +15 -12
- package/dist/esm/justifi-payment-provisioning.entry.js +17 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +18 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +18 -14
- package/dist/esm/justifi-payout-details.entry.js +16 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +18 -14
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +19 -15
- package/dist/esm/justifi-refund-payment.entry.js +15 -13
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +20 -23
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +20 -13
- package/dist/esm/justifi-terminals-list-filters.entry.js +10 -7
- package/dist/esm/justifi-terminals-list.entry.js +19 -15
- package/dist/esm/justifi-tokenize-payment-method.entry.js +19 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DLLK41AX.js → package-BjMTOtI1.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +10 -10
- package/dist/esm/{payment.service-DdCJ1Dc7.js → payment.service-2afJc31y.js} +8 -1
- package/dist/esm/payments-list-core.entry.js +12 -9
- package/dist/esm/{payments-table-BBf5fV74.js → payments-table-B8316Kqz.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +5 -5
- package/dist/esm/{payout.service-G1Isezyi.js → payout.service-Bd8Tc7-Q.js} +8 -1
- package/dist/esm/payouts-list-core.entry.js +12 -9
- package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-Ip10eH4Q.js} +1 -1
- package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-C7D5tPzq.js} +6 -7
- package/dist/esm/terminal-orders-list-core.entry.js +12 -9
- package/dist/esm/{terminal-orders-table-BlT9YrFD.js → terminal-orders-table-CCJT7oq4.js} +7 -5
- package/dist/esm/{terminal.service-aFe-O3PC.js → terminal.service-8kwGru35.js} +8 -1
- package/dist/esm/terminals-list-core.entry.js +12 -9
- package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-cMkKUVff.js} +1 -1
- package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +23 -11
- package/dist/module/Business.js +3 -1
- package/dist/module/Checkout.js +22 -2
- package/dist/module/Payment.js +59 -3
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/bank-account-document-inputs.js +2 -1
- package/dist/module/billing-form.js +4 -3
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +2 -2
- package/dist/module/business-bank-account-form-step.js +3 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-details-core2.js +11 -7
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +6 -7
- package/dist/module/business.service.js +7 -1
- package/dist/module/check-pkg-version.js +10 -1
- package/dist/module/checkout-core.js +2 -3
- package/dist/module/checkout.service.js +7 -1
- package/dist/module/checkouts-list-core2.js +3 -2
- package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
- package/dist/module/core-info-details.js +6 -0
- package/dist/module/core-info-details2.js +34 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-actions.js +7 -2
- package/dist/module/dispute-response.js +5 -3
- 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-monetary2.js +3 -3
- 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-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +4 -3
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +24 -11
- package/dist/module/justifi-business-form.js +5 -3
- package/dist/module/justifi-checkout.js +6 -4
- package/dist/module/justifi-checkouts-list-filters.js +3 -2
- package/dist/module/justifi-checkouts-list.js +7 -4
- package/dist/module/justifi-dispute-management.js +5 -4
- package/dist/module/justifi-gross-payment-chart.js +11 -4
- package/dist/module/justifi-order-terminals.js +8 -3
- package/dist/module/justifi-payment-details.js +3 -2
- package/dist/module/justifi-payment-provisioning.js +11 -4
- package/dist/module/justifi-payment-transactions-list.js +7 -4
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +8 -5
- package/dist/module/justifi-payout-details.js +6 -3
- package/dist/module/justifi-payout-transactions-list.js +7 -5
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +7 -4
- package/dist/module/justifi-refund-payment.js +5 -4
- package/dist/module/justifi-season-interruption-insurance.js +10 -14
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
- package/dist/module/justifi-terminal-orders-list.js +10 -4
- package/dist/module/justifi-terminals-list-filters.js +3 -2
- package/dist/module/justifi-terminals-list.js +7 -4
- package/dist/module/justifi-tokenize-payment-method.js +10 -5
- package/dist/module/legal-address-details2.js +3 -3
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +15 -4
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +10 -9
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment.service.js +7 -1
- package/dist/module/payments-list-core2.js +3 -2
- package/dist/module/payout-details-core2.js +5 -4
- package/dist/module/payout.service.js +7 -1
- package/dist/module/payouts-list-core2.js +4 -3
- package/dist/module/representative-details2.js +4 -4
- package/dist/module/schema-validations.js +4 -5
- package/dist/module/season-interruption-insurance-core.js +6 -3
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -2
- package/dist/module/terminal.service.js +7 -1
- package/dist/module/terminals-list-core2.js +3 -2
- package/dist/module/utils2.js +4 -1
- package/dist/module/utils4.js +1 -1
- package/dist/types/api/Api.d.ts +41 -35
- package/dist/types/api/Payment.d.ts +2 -0
- package/dist/types/api/Payout.d.ts +2 -0
- package/dist/types/api/index.d.ts +5 -1
- package/dist/types/api/services/business.service.d.ts +1 -5
- package/dist/types/api/services/dispute.service.d.ts +1 -2
- package/dist/types/api/services/payout.service.d.ts +1 -2
- package/dist/types/api/services/provision.service.d.ts +1 -1
- package/dist/types/api/services/reports.service.d.ts +1 -2
- package/dist/types/api/services/subaccounts.service.d.ts +1 -2
- package/dist/types/components/business-details/business-details.d.ts +1 -0
- package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -0
- package/dist/types/components.d.ts +21 -21
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/webcomponents/p-10d41e17.entry.js +1 -0
- package/dist/webcomponents/{p-b2192f8b.entry.js → p-1678e9e3.entry.js} +1 -1
- package/dist/webcomponents/p-16d29d0b.entry.js +1 -0
- package/dist/webcomponents/{p-8224e3c2.entry.js → p-19b9c96a.entry.js} +1 -1
- package/dist/webcomponents/p-22a0b397.entry.js +1 -0
- package/dist/webcomponents/p-292da2d4.entry.js +1 -0
- package/dist/webcomponents/p-2c7ae3ac.entry.js +1 -0
- package/dist/webcomponents/p-2c8d7aa9.entry.js +1 -0
- package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
- package/dist/webcomponents/p-33b23638.entry.js +1 -0
- package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
- package/dist/webcomponents/p-40f7e3af.entry.js +1 -0
- package/dist/webcomponents/p-4680f931.entry.js +1 -0
- package/dist/webcomponents/p-4a070b7a.entry.js +1 -0
- package/dist/webcomponents/p-4b51a896.entry.js +1 -0
- package/dist/webcomponents/p-4f8b9b99.entry.js +1 -0
- package/dist/webcomponents/p-57c89023.entry.js +1 -0
- package/dist/webcomponents/p-57fc593a.entry.js +1 -0
- package/dist/webcomponents/{p-9c1a79c5.entry.js → p-59abf1de.entry.js} +1 -1
- package/dist/webcomponents/p-5d81f36e.entry.js +1 -0
- package/dist/webcomponents/p-5df5aa41.entry.js +1 -0
- package/dist/webcomponents/p-70c498d4.entry.js +1 -0
- package/dist/webcomponents/p-722c5e42.entry.js +1 -0
- package/dist/webcomponents/{p-d2dc6f22.entry.js → p-758ce5e5.entry.js} +4 -4
- package/dist/webcomponents/p-77896e7b.entry.js +1 -0
- package/dist/webcomponents/p-77ac321c.entry.js +1 -0
- package/dist/webcomponents/p-7d3cf734.entry.js +1 -0
- package/dist/webcomponents/p-8183c2d1.entry.js +1 -0
- package/dist/webcomponents/p-8ad67f87.entry.js +1 -0
- package/dist/webcomponents/p-8c107267.entry.js +1 -0
- package/dist/webcomponents/{p-32345016.entry.js → p-935bbc62.entry.js} +1 -1
- package/dist/webcomponents/p-93df56e1.entry.js +1 -0
- package/dist/webcomponents/p-99b080d9.entry.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BR7flk4G.js +1 -0
- package/dist/webcomponents/p-BjMTOtI1.js +1 -0
- package/dist/webcomponents/p-Bk4gk-f7.js +1 -0
- package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
- package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
- package/dist/webcomponents/{p-d-_oUZor.js → p-C1sOJl-_.js} +1 -1
- package/dist/webcomponents/p-COcul8pX.js +1 -0
- package/dist/webcomponents/p-CaGOSFHG.js +1 -0
- package/dist/webcomponents/p-Cm_0sqXz.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-Cx60eQXT.js +1 -0
- package/dist/webcomponents/{p-OSmuQKbK.js → p-D2ZiLcDE.js} +1 -1
- package/dist/webcomponents/p-DClC2nMO.js +1 -0
- package/dist/webcomponents/p-DR89sFne.js +1 -0
- package/dist/webcomponents/{p-ByRPlUBS.js → p-DnB1x5JE.js} +1 -1
- package/dist/webcomponents/p-DvhDilDP.js +1 -0
- package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-HBDBB6lL.js} +1 -1
- package/dist/webcomponents/p-_pH3Hg4P.js +1 -0
- package/dist/webcomponents/p-a0662195.entry.js +1 -0
- package/dist/webcomponents/{p-82515f70.entry.js → p-a136ff22.entry.js} +1 -1
- package/dist/webcomponents/p-a33cfcfe.entry.js +1 -0
- package/dist/webcomponents/p-a6722f44.entry.js +1 -0
- package/dist/webcomponents/{p-9dae8152.entry.js → p-a8119fda.entry.js} +1 -1
- package/dist/webcomponents/p-a94952f6.entry.js +1 -0
- package/dist/webcomponents/p-abdae97a.entry.js +1 -0
- package/dist/webcomponents/p-af09b6ee.entry.js +1 -0
- package/dist/webcomponents/p-b0d3aab7.entry.js +1 -0
- package/dist/webcomponents/p-b1586aa2.entry.js +1 -0
- package/dist/webcomponents/p-c01544c3.entry.js +1 -0
- package/dist/webcomponents/p-c3c7be24.entry.js +1 -0
- package/dist/webcomponents/p-c5628e09.entry.js +1 -0
- package/dist/webcomponents/p-c5b6b76f.entry.js +1 -0
- package/dist/webcomponents/p-c6490254.entry.js +1 -0
- package/dist/webcomponents/p-ceefc483.entry.js +1 -0
- package/dist/webcomponents/p-clwP6zk3.js +1 -0
- package/dist/webcomponents/{p-774eee26.entry.js → p-d8b8b17c.entry.js} +1 -1
- package/dist/webcomponents/p-e2bfdba5.entry.js +1 -0
- package/dist/webcomponents/p-e73fe424.entry.js +1 -0
- package/dist/webcomponents/{p-CegkOiUz.js → p-eHhqPyVW.js} +1 -1
- package/dist/webcomponents/p-f23d4fdb.entry.js +1 -0
- package/dist/webcomponents/p-ffd197c2.entry.js +1 -0
- package/dist/webcomponents/p-gZGxqQgQ.js +1 -0
- package/dist/webcomponents/p-l3uWWMRW.js +1 -0
- package/dist/webcomponents/p-r__elyG4.js +1 -0
- package/dist/webcomponents/{p-82kiZkHt.js → p-uSM1EMk-.js} +1 -1
- package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Api-KMweahmp.js +0 -74
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/collection/api/ApiNew.js +0 -82
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
- package/dist/esm/Api-C9CDE-UM.js +0 -72
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/module/ApiNew.js +0 -84
- package/dist/module/ComponentError.js +0 -21
- package/dist/module/Dispute.js +0 -57
- package/dist/module/generic-info-details.js +0 -6
- package/dist/module/generic-info-details2.js +0 -34
- package/dist/types/api/ApiNew.d.ts +0 -61
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
- package/dist/webcomponents/p-05138b5d.entry.js +0 -1
- package/dist/webcomponents/p-0661622e.entry.js +0 -1
- package/dist/webcomponents/p-0a4abfba.entry.js +0 -1
- package/dist/webcomponents/p-0d73af88.entry.js +0 -1
- package/dist/webcomponents/p-107fdd99.entry.js +0 -1
- package/dist/webcomponents/p-12ea3a21.entry.js +0 -1
- package/dist/webcomponents/p-13a56c04.entry.js +0 -1
- package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
- package/dist/webcomponents/p-2ce8e7ac.entry.js +0 -1
- package/dist/webcomponents/p-357e1077.entry.js +0 -1
- package/dist/webcomponents/p-3a691b9a.entry.js +0 -1
- package/dist/webcomponents/p-3adEM48l.js +0 -1
- package/dist/webcomponents/p-3bb94f41.entry.js +0 -1
- package/dist/webcomponents/p-460eae73.entry.js +0 -1
- package/dist/webcomponents/p-48d84a6f.entry.js +0 -1
- package/dist/webcomponents/p-4a3ee65c.entry.js +0 -1
- package/dist/webcomponents/p-58f415f4.entry.js +0 -1
- package/dist/webcomponents/p-5ff7f253.entry.js +0 -1
- package/dist/webcomponents/p-6334c2bc.entry.js +0 -1
- package/dist/webcomponents/p-6780e07e.entry.js +0 -1
- package/dist/webcomponents/p-6a3a8a7a.entry.js +0 -1
- package/dist/webcomponents/p-76d1a604.entry.js +0 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
- package/dist/webcomponents/p-833576ca.entry.js +0 -1
- package/dist/webcomponents/p-83d4ac72.entry.js +0 -1
- package/dist/webcomponents/p-AVaenhw9.js +0 -1
- package/dist/webcomponents/p-B1ubyLhU.js +0 -1
- package/dist/webcomponents/p-BBsCnePk.js +0 -1
- package/dist/webcomponents/p-BHbsXXRt.js +0 -1
- package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
- package/dist/webcomponents/p-C0piBrye.js +0 -1
- package/dist/webcomponents/p-CkrVt-dj.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-Cy4aIACq.js +0 -1
- package/dist/webcomponents/p-D5Sh88BE.js +0 -1
- package/dist/webcomponents/p-DLLK41AX.js +0 -1
- package/dist/webcomponents/p-Da_GeglS.js +0 -1
- package/dist/webcomponents/p-Dgxn_B6C.js +0 -1
- package/dist/webcomponents/p-DmIOVniD.js +0 -1
- package/dist/webcomponents/p-DqOTECuf.js +0 -1
- package/dist/webcomponents/p-Dz-Ft5b1.js +0 -1
- package/dist/webcomponents/p-a5af8397.entry.js +0 -1
- package/dist/webcomponents/p-a61f9b3c.entry.js +0 -1
- package/dist/webcomponents/p-a6fb7730.entry.js +0 -1
- package/dist/webcomponents/p-aTcDcUMZ.js +0 -1
- package/dist/webcomponents/p-aa954ce9.entry.js +0 -1
- package/dist/webcomponents/p-ac4ac963.entry.js +0 -1
- package/dist/webcomponents/p-ae7c6b81.entry.js +0 -1
- package/dist/webcomponents/p-ae8c3dab.entry.js +0 -1
- package/dist/webcomponents/p-afa54e39.entry.js +0 -1
- package/dist/webcomponents/p-b061c21c.entry.js +0 -1
- package/dist/webcomponents/p-b4d857b2.entry.js +0 -1
- package/dist/webcomponents/p-bb45705e.entry.js +0 -1
- package/dist/webcomponents/p-c2f3d7da.entry.js +0 -1
- package/dist/webcomponents/p-c7227fc1.entry.js +0 -1
- package/dist/webcomponents/p-c8f70818.entry.js +0 -1
- package/dist/webcomponents/p-c9288f47.entry.js +0 -1
- package/dist/webcomponents/p-d1a440e3.entry.js +0 -1
- package/dist/webcomponents/p-dd89c516.entry.js +0 -1
- package/dist/webcomponents/p-e39b5ffd.entry.js +0 -1
- package/dist/webcomponents/p-e5d35016.entry.js +0 -1
- package/dist/webcomponents/p-ebd7753d.entry.js +0 -1
- package/dist/webcomponents/p-ec47b7c8.entry.js +0 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
+
import './config-state.js';
|
|
2
3
|
import { h as convertToLocal } from './utils2.js';
|
|
3
|
-
import './ComponentError.js';
|
|
4
4
|
import './Checkout.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
8
|
import './Document.js';
|
|
9
|
+
import './Business.js';
|
|
9
10
|
import './details.js';
|
|
10
11
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
11
12
|
import { T as TableClickActions } from './event-types.js';
|
|
@@ -118,7 +119,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
118
119
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
120
|
}
|
|
120
121
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
122
|
+
return (h(TableWrapper, { key: 'ebc89e8b55258a1442edad51d5238b8734aa345e' }, h(TableComponent, { key: 'b90635548604f5d486a38421e5228c61ec47c033' }, h(TableHead, { key: '3106e6ac62fc9df004a8dc1c4fa6b07763ec9d7a' }, h(TableHeadRow, { key: '68c7767762899d3ee229835d93eb9221c8b097e9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '5ffee99d7437590c48f766d5bde24385ea31fdc5' }, h(TableLoadingState, { key: '4170ce391f84c65286f358d4e1c03f67c2f9ffcc', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f47428d403e763179e071756582065351fa7c63', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '5857f210589dd16232338ad39897ecd4581dc7db', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '1cb054a34b99150f33cf1a008a64451e85af4700' }, h(TableFootRow, { key: 'd203e8a928713108cbfbde297ed18bf60cd5cb8e' }, h(TableFootCell, { key: '710c8b5915f08f14892a04c16ac069039804b4f9', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'f9f40a23e8bcbce6adf93f66e2a97f15f91f4f15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
123
|
}
|
|
123
124
|
static get watchers() { return {
|
|
124
125
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { a as formatDate, e as formatTime } from './utils2.js';
|
|
3
3
|
import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -7,6 +7,7 @@ import { d as defineCustomElement$1 } from './details.js';
|
|
|
7
7
|
import './event-types.js';
|
|
8
8
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
9
9
|
import { S as Skeleton } from './skeleton.js';
|
|
10
|
+
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
10
11
|
|
|
11
12
|
const PayoutDetailsLoading = () => (h("div", { class: "row gap-3" },
|
|
12
13
|
h("div", { class: "col-12" },
|
|
@@ -72,9 +73,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
72
73
|
}
|
|
73
74
|
render() {
|
|
74
75
|
var _a;
|
|
75
|
-
return (h(StyledHost, { key: '
|
|
76
|
-
h(DetailSectionTitle, { key: '
|
|
77
|
-
h("div", { key: '
|
|
76
|
+
return (h(StyledHost, { key: '1d9842d26d6e1a89b3fc8a1ed6ed395f55b913ee' }, this.loading && h(PayoutDetailsLoading, { key: '95917b7cba094233316f39ed610dfda5360a47e5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c8f1cc9c3cc9b8e343557d38b88b31035d65c00f', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0397f400c1576f49e664a1e5d8d5d1318935b281', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '3a3a0d511eaf43d54012f7c07688825d141f170a', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9c33ac6ed41a0d1d91a83af12dee4c7bf401bc60', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f60f96ff20c47f1ec0ad7f2a6f1f81a19b4a03f5', title: "ID", value: this.payout.id }), h("div", { key: '522bc205154fc2904f1c3735e9f859cfd234dff4', class: "m-4" }, h(Button, { key: 'e691e47946499a7359018fe4c774e0e23f8cb4c4', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7f7c975c5672aaaebcda5870870cd4a52bae40b9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '03728f098028f6304c2e608bf38e6b79809bd5aa', sectionTitle: "Details" }), h("div", { key: 'ad8416b1a6a90052f4988d9577b6c8d6a881e0a7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0ecb52461ee59aad0914547ffc3aff948bc766a6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'bc003db9efc8ea329f4eb5e9644e013dc9578b27', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'e8ce2d2c42b66efd8ff0f87a8d9b58bd1565a019', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '47f05a33981b878ebfd4a88cbd32b71fd6bf3683', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '013126090417ea6244fd01eb0c80aeec72c05bfe', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '252b01172864c2d97b358a0fde5b0532e7298278', sectionTitle: "Account" }), h("div", { key: '4c1f0b28024141ba16803349f60395406dd31f3f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6c4f814276825b92c05226d1dc6522a920ab3e2a', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c3824079766df1788264cb2ee962c5229045212c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '158c9456436cc58622d1337c11f7443497c7ae38', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '7ce5376d2c1632cbd0bd910e6290ec3caf289b73', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a1f892fe9a638e5b5a4be23e853070355b6cf3bb', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
77
|
+
h(DetailSectionTitle, { key: '61d325fd74f125295c61266528e1d62e04bb6e2e', sectionTitle: 'Metadata' }),
|
|
78
|
+
h("div", { key: 'e574d0558fec57c0f3342c80846eb1469a9cfeb7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ca0cc50f11489df465d29e8da5a51495433931d3', metadata: this.payout.metadata }))
|
|
78
79
|
])))));
|
|
79
80
|
}
|
|
80
81
|
static get watchers() { return {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import { A as Api } from './
|
|
1
|
+
import { A as Api } from './Api.js';
|
|
2
|
+
import './Checkout.js';
|
|
3
|
+
import './Pagination.js';
|
|
4
|
+
import './Payment.js';
|
|
5
|
+
import './Refund.js';
|
|
6
|
+
import './Document.js';
|
|
7
|
+
import './Business.js';
|
|
2
8
|
|
|
3
9
|
const api = Api();
|
|
4
10
|
class PayoutService {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
+
import './config-state.js';
|
|
2
3
|
import { h as convertToLocal } from './utils2.js';
|
|
3
|
-
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './
|
|
4
|
-
import './Checkout.js';
|
|
4
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
8
|
import './Document.js';
|
|
9
|
+
import './Business.js';
|
|
9
10
|
import './details.js';
|
|
10
11
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
11
12
|
import { T as TableClickActions } from './event-types.js';
|
|
@@ -173,7 +174,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
173
174
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
174
175
|
}
|
|
175
176
|
render() {
|
|
176
|
-
return (h(TableWrapper, { key: '
|
|
177
|
+
return (h(TableWrapper, { key: 'ca41a7df9de30363526239ec286054e16a46293d' }, h(TableComponent, { key: '15f8f414b2da0adda480da114541ed7533d79ca3' }, h(TableHead, { key: '038b27097d57734f80502949628535ab1f8bfded' }, h(TableHeadRow, { key: '9f15c37a04d1fa6f5ec49c60bfbee3ae3ddbdfca' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c05f33fc7046606087da1b0693650aa571f8e61f' }, h(TableLoadingState, { key: '1c127fa09435af89c2f07226d70438c7ac261cfb', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '853c86c1d0309155797d9a15433982e4765f941c', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'ac3b422be11179ab00accc348cfbd334393d2745', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '9cd94e14becf8789e3eb21500eb1eb9aafc79c7a' }, h(TableFootRow, { key: '2a8232066a55771805b34bee43af9c0dbdbe5047' }, h(TableFootCell, { key: '4c44e77eab9e1db423ef5bad6fc9137e82b625f3', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'b25056fffc760aba956a6e40fceb29f995a144be', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
177
178
|
}
|
|
178
179
|
static get watchers() { return {
|
|
179
180
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
|
-
import { i as isEmptyObject,
|
|
3
|
+
import { i as isEmptyObject, f as formatMediumDate } from './utils2.js';
|
|
4
4
|
|
|
5
5
|
const JustifiRepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class JustifiRepresentativeDetails extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -9,9 +9,9 @@ const JustifiRepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
12
|
-
if (isEmptyObject(this.representative))
|
|
12
|
+
if (!this.representative || isEmptyObject(this.representative))
|
|
13
13
|
return null;
|
|
14
|
-
return (h(
|
|
14
|
+
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Representative Details" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), h(DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), h(DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), h(DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), h(DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), h(DetailItem, { title: "Date Of Birth", value: this.representative && formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), h(DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), h(DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: "Updated At", value: this.representative && formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
|
|
15
15
|
}
|
|
16
16
|
}, [0, "representative-details", {
|
|
17
17
|
"representative": [16]
|
|
@@ -77,7 +77,7 @@ const identityTitleValidation = create$6()
|
|
|
77
77
|
.max(50, 'Title must be less than 50 characters')
|
|
78
78
|
.transform(transformEmptyString);
|
|
79
79
|
const dobValidation = (role) => {
|
|
80
|
-
return
|
|
80
|
+
return create$6()
|
|
81
81
|
.test('min', 'Enter a valid date', (value) => {
|
|
82
82
|
const date = new Date(value);
|
|
83
83
|
const minDate = new Date('1902-01-01');
|
|
@@ -89,7 +89,7 @@ const dobValidation = (role) => {
|
|
|
89
89
|
minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
|
|
90
90
|
return date <= minAgeDate;
|
|
91
91
|
})
|
|
92
|
-
.transform(transformEmptyString)
|
|
92
|
+
.transform(transformEmptyString);
|
|
93
93
|
};
|
|
94
94
|
const ssnValidation = create$6()
|
|
95
95
|
.matches(ssnRegex, 'Enter valid SSN')
|
|
@@ -124,7 +124,7 @@ const cityValidation = create$6()
|
|
|
124
124
|
.max(50, 'City must be less than 50 characters')
|
|
125
125
|
.transform(transformEmptyString);
|
|
126
126
|
const stateValidation = create$6()
|
|
127
|
-
.oneOf(StateOptions.map((option) => option.value), '
|
|
127
|
+
.oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
|
|
128
128
|
.transform(transformEmptyString);
|
|
129
129
|
const postalValidation = create$6()
|
|
130
130
|
.matches(/^[0-9]{5}$/, 'Enter valid postal code')
|
|
@@ -152,8 +152,7 @@ const recurringPaymentsPercentageValidation = create$6()
|
|
|
152
152
|
const seasonalBusinessValidation = create$6()
|
|
153
153
|
.oneOf(seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
|
|
154
154
|
.transform(transformEmptyString);
|
|
155
|
-
const otherPaymentDetailsValidation = create$6()
|
|
156
|
-
.transform(transformEmptyString);
|
|
155
|
+
const otherPaymentDetailsValidation = create$6().transform(transformEmptyString);
|
|
157
156
|
// Bank Account Validations
|
|
158
157
|
const bankNameValidation = create$6()
|
|
159
158
|
.min(2, 'Name must be at least 2 characters')
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import { p as processHTML,
|
|
2
|
+
import { p as processHTML, c as formatCurrency, r as removeAttribute, k as addAttribute } from './utils2.js';
|
|
3
3
|
import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors, H as Header2 } from './insurance-state.js';
|
|
4
4
|
import { t as text, j as textDanger } from './parts.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -27,6 +27,7 @@ const SeasonInterruptionInsuranceCore = /*@__PURE__*/ proxyCustomElement(class S
|
|
|
27
27
|
constructor() {
|
|
28
28
|
super();
|
|
29
29
|
this.__registerHost();
|
|
30
|
+
this.__attachShadow();
|
|
30
31
|
this.insuranceUpdated = createEvent(this, "insurance-updated", 7);
|
|
31
32
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
32
33
|
this.isLoading = true;
|
|
@@ -115,9 +116,11 @@ const SeasonInterruptionInsuranceCore = /*@__PURE__*/ proxyCustomElement(class S
|
|
|
115
116
|
var _a, _b, _c, _d;
|
|
116
117
|
if (this.isLoading)
|
|
117
118
|
return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
|
|
118
|
-
return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this)
|
|
119
|
+
return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
|
|
120
|
+
// don't wanna show error message, but need to show the red border
|
|
121
|
+
errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
|
|
119
122
|
}
|
|
120
|
-
}, [
|
|
123
|
+
}, [1, "justifi-season-interruption-insurance-core", {
|
|
121
124
|
"checkoutId": [1, "checkout-id"],
|
|
122
125
|
"getQuote": [16, "get-quote"],
|
|
123
126
|
"toggleCoverage": [16, "toggle-coverage"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { c as formatCurrency } from './utils2.js';
|
|
3
3
|
import { W as radioListItem } from './parts.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './form-control-help-text2.js';
|
|
5
5
|
import { d as defineCustomElement$1 } from './form-control-radio2.js';
|
|
@@ -2,13 +2,14 @@ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/i
|
|
|
2
2
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
3
3
|
import './details.js';
|
|
4
4
|
import { T as TableClickActions } from './event-types.js';
|
|
5
|
+
import './config-state.js';
|
|
5
6
|
import { h as convertToLocal } from './utils2.js';
|
|
6
|
-
import './ComponentError.js';
|
|
7
7
|
import './Checkout.js';
|
|
8
8
|
import { p as pagingDefaults } from './Pagination.js';
|
|
9
9
|
import './Payment.js';
|
|
10
10
|
import { a as TerminalOrderType } from './Refund.js';
|
|
11
11
|
import './Document.js';
|
|
12
|
+
import './Business.js';
|
|
12
13
|
import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
|
|
13
14
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
14
15
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
|
|
@@ -166,7 +167,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
166
167
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
167
168
|
}
|
|
168
169
|
render() {
|
|
169
|
-
return (h(TableWrapper, { key: '
|
|
170
|
+
return (h(TableWrapper, { key: '5d03d7f992d4918b6174d89aa67ac87159b0918d' }, h(TableComponent, { key: '30dfd6db82678f7c8e25ee03619403bf0a73ad47' }, h(TableHead, { key: '3e51fd3124abf93a1a76ac6d6b66ec64edf30216' }, h(TableHeadRow, { key: '170385237e96ba55aa21c954bff4f74a7724463b' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'c313d42ae1ad3f54a806f8965b8ff99616df85ab' }, h(TableLoadingState, { key: '7f01919e6120a497383990bafb8288fec806f421', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'e6585de336bb6cfe0f7bddc4bd503cf5632481da', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '3490d034636506fdd54c748bff98596baed09673', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '52ba4b6e8c0d2afcded3feaaf6a22927036b96fa' }, h(TableFootRow, { key: '8fccd42dc633300f5e6664ff380c3828010ff6ec' }, h(TableFootCell, { key: '7937c9bceb54abe450e9b7956bd2599de228cc8b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '90854b93870cb20251488fd15e936982245c3d3b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
170
171
|
}
|
|
171
172
|
static get watchers() { return {
|
|
172
173
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import { A as Api } from './
|
|
1
|
+
import { A as Api } from './Api.js';
|
|
2
|
+
import './Checkout.js';
|
|
3
|
+
import './Pagination.js';
|
|
4
|
+
import './Payment.js';
|
|
5
|
+
import './Refund.js';
|
|
6
|
+
import './Document.js';
|
|
7
|
+
import './Business.js';
|
|
2
8
|
|
|
3
9
|
const api = Api();
|
|
4
10
|
class TerminalService {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
+
import './config-state.js';
|
|
2
3
|
import { l as capitalFirstLetter } from './utils2.js';
|
|
3
|
-
import './ComponentError.js';
|
|
4
4
|
import './Checkout.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
8
|
import './Document.js';
|
|
9
|
+
import './Business.js';
|
|
9
10
|
import './details.js';
|
|
10
11
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
11
12
|
import { T as TableClickActions } from './event-types.js';
|
|
@@ -180,7 +181,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
180
181
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
181
182
|
}
|
|
182
183
|
render() {
|
|
183
|
-
return (h(TableWrapper, { key: '
|
|
184
|
+
return (h(TableWrapper, { key: '18758ce4d79c07564b15f9712762232fa8ea2083' }, h(TableComponent, { key: '70c5d623cf89ed440e0bb318c4be1c1c022f90e9' }, h(TableHead, { key: '3a2ec16691dddf82a9988b970506576680885106' }, h(TableHeadRow, { key: '8fc7f8fcb219a0e577e67e5694ff818801477a2c' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'e65e2646a51cb8859a77a13a4fb79b0ca57066b7' }, h(TableLoadingState, { key: '5a50acb1101958238077a3a26307f2252aed5584', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c79793063bef320ca258988880da5fc305200456', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '758ab1f9f3660f292f4421b940d040d6408f45ca', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'e88243106332270c051599905cf61b20c05637ac' }, h(TableFootRow, { key: '4c1e2dca2100a5010b8fcae7cb42e44cde5e0128' }, h(TableFootCell, { key: 'e8ce9acc75921d176f265e6a6f89398f86c911b0', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '9930d2573e46628637eb12034cb966d69b3b43b9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
184
185
|
}
|
|
185
186
|
static get watchers() { return {
|
|
186
187
|
"pagingParams": ["updateOnPropChange"],
|
package/dist/module/utils2.js
CHANGED
|
@@ -23919,6 +23919,9 @@ function snakeToCamel(str) {
|
|
|
23919
23919
|
}
|
|
23920
23920
|
// Object Utilities
|
|
23921
23921
|
function isEmptyObject(obj) {
|
|
23922
|
+
if (obj === null) {
|
|
23923
|
+
return true;
|
|
23924
|
+
}
|
|
23922
23925
|
return Object.keys(obj).length === 0 && obj.constructor === Object;
|
|
23923
23926
|
}
|
|
23924
23927
|
function removeAttribute(htmlString, attribute) {
|
|
@@ -23966,4 +23969,4 @@ function generateId(length = 10) {
|
|
|
23966
23969
|
return result;
|
|
23967
23970
|
}
|
|
23968
23971
|
|
|
23969
|
-
export {
|
|
23972
|
+
export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, snakeToCamel as d, formatTime as e, formatMediumDate as f, generateId as g, convertToLocal as h, isEmptyObject as i, convertToUTC as j, addAttribute as k, capitalFirstLetter as l, formatDisplayDate as m, formatPhoneNumber as n, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
package/dist/module/utils4.js
CHANGED
package/dist/types/api/Api.d.ts
CHANGED
|
@@ -16,40 +16,46 @@ export interface IErrorObject {
|
|
|
16
16
|
export interface IApiResponseCollection<T> extends IApiResponse<T> {
|
|
17
17
|
page_info: PagingInfo;
|
|
18
18
|
}
|
|
19
|
-
interface
|
|
19
|
+
interface GetProps {
|
|
20
|
+
authToken: string;
|
|
21
|
+
endpoint: string;
|
|
22
|
+
params?: any;
|
|
23
|
+
signal?: AbortSignal;
|
|
24
|
+
headers?: HeadersInit;
|
|
25
|
+
}
|
|
26
|
+
interface PostProps {
|
|
20
27
|
authToken?: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}) => Promise<any>;
|
|
28
|
+
endpoint: string;
|
|
29
|
+
body?: any;
|
|
30
|
+
params?: any;
|
|
31
|
+
signal?: AbortSignal;
|
|
32
|
+
headers?: HeadersInit;
|
|
33
|
+
}
|
|
34
|
+
interface PutProps {
|
|
35
|
+
authToken: string;
|
|
36
|
+
endpoint: string;
|
|
37
|
+
body?: any;
|
|
38
|
+
params?: any;
|
|
39
|
+
signal?: AbortSignal;
|
|
40
|
+
}
|
|
41
|
+
interface PatchProps {
|
|
42
|
+
authToken: string;
|
|
43
|
+
endpoint: string;
|
|
44
|
+
body?: any;
|
|
45
|
+
params?: any;
|
|
46
|
+
signal?: AbortSignal;
|
|
47
|
+
}
|
|
48
|
+
interface DestroyProps {
|
|
49
|
+
authToken: string;
|
|
50
|
+
endpoint: string;
|
|
51
|
+
params?: any;
|
|
52
|
+
signal?: AbortSignal;
|
|
53
|
+
}
|
|
54
|
+
export declare const Api: () => {
|
|
55
|
+
get: (props: GetProps) => Promise<any>;
|
|
56
|
+
post: (props: PostProps) => Promise<any>;
|
|
57
|
+
put: (props: PutProps) => Promise<any>;
|
|
58
|
+
patch: (props: PatchProps) => Promise<any>;
|
|
59
|
+
destroy: (props: DestroyProps) => Promise<any>;
|
|
54
60
|
};
|
|
55
|
-
export
|
|
61
|
+
export {};
|
|
@@ -108,6 +108,7 @@ export interface IPayment {
|
|
|
108
108
|
disputes: IPaymentDispute[];
|
|
109
109
|
error_code: string | null;
|
|
110
110
|
error_description: string | null;
|
|
111
|
+
expedited?: boolean;
|
|
111
112
|
fee_amount: number;
|
|
112
113
|
is_test: boolean;
|
|
113
114
|
metadata: Object | null;
|
|
@@ -141,6 +142,7 @@ export declare class Payment implements IPayment {
|
|
|
141
142
|
disputes: IPaymentDispute[];
|
|
142
143
|
error_code: string | null;
|
|
143
144
|
error_description: string | null;
|
|
145
|
+
expedited: boolean;
|
|
144
146
|
fee_amount: number;
|
|
145
147
|
is_test: boolean;
|
|
146
148
|
metadata: Object | null;
|
|
@@ -40,6 +40,7 @@ export interface IPayout {
|
|
|
40
40
|
metadata: Object | null;
|
|
41
41
|
created_at: string;
|
|
42
42
|
updated_at: string;
|
|
43
|
+
settlement_priority?: 'standard' | 'expedited';
|
|
43
44
|
}
|
|
44
45
|
export declare class Payout implements IPayout {
|
|
45
46
|
id: string;
|
|
@@ -62,6 +63,7 @@ export declare class Payout implements IPayout {
|
|
|
62
63
|
created_at: string;
|
|
63
64
|
updated_at: string;
|
|
64
65
|
sub_account_name?: string;
|
|
66
|
+
settlement_priority: 'standard' | 'expedited';
|
|
65
67
|
constructor(payout: IPayout);
|
|
66
68
|
formattedPaymentAmount(amount: number): string;
|
|
67
69
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { default as Api } from './Api';
|
|
2
1
|
export * from './Api';
|
|
3
2
|
export * from './ComponentEvents';
|
|
4
3
|
export * from './ComponentError';
|
|
@@ -15,4 +14,9 @@ export * from './TerminalModel';
|
|
|
15
14
|
export * from './SubAccount';
|
|
16
15
|
export * from './Document';
|
|
17
16
|
export * from './Refund';
|
|
17
|
+
export * from './Business';
|
|
18
|
+
export * from './Identity';
|
|
19
|
+
export * from './Document';
|
|
20
|
+
export * from './Dispute';
|
|
21
|
+
export * from './GrossVolume';
|
|
18
22
|
export { BankAccount, IBankAccount } from './BankAccount';
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { IApiResponse } from '
|
|
2
|
-
import { IBankAccount } from '../BankAccount';
|
|
3
|
-
import { IBusiness } from '../Business';
|
|
4
|
-
import { DocumentRecordData } from '../Document';
|
|
5
|
-
import { Identity } from '../Identity';
|
|
1
|
+
import { DocumentRecordData, IApiResponse, IBankAccount, IBusiness, Identity } from '..';
|
|
6
2
|
export interface IBusinessService {
|
|
7
3
|
fetchBusiness(businessId: string, authToken: string): Promise<IApiResponse<IBusiness>>;
|
|
8
4
|
patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { IApiResponse } from '..';
|
|
2
|
-
import { IDispute } from '../Dispute';
|
|
1
|
+
import { IApiResponse, IDispute } from '..';
|
|
3
2
|
export interface IDisputeService {
|
|
4
3
|
fetchDispute(disputeId: string, authToken: string): Promise<IApiResponse<IDispute>>;
|
|
5
4
|
updateDisputeResponse(disputeId: string, authToken: string, payload: any): Promise<IApiResponse<IDispute>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { IPayout, IPayoutBalanceTransaction } from '..';
|
|
2
|
-
import { IApiResponse, IApiResponseCollection } from '../ApiNew';
|
|
1
|
+
import { IApiResponse, IApiResponseCollection, IPayout, IPayoutBalanceTransaction } from '..';
|
|
3
2
|
export interface IPayoutService {
|
|
4
3
|
fetchPayouts(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<IPayout[]>>;
|
|
5
4
|
fetchPayout(payoutId: string, authToken: string): Promise<IApiResponse<IPayout>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { IApiResponse } from '
|
|
2
|
-
import { GrossVolumeReport } from '../GrossVolume';
|
|
1
|
+
import { IApiResponse, GrossVolumeReport } from '..';
|
|
3
2
|
export declare class ReportsService {
|
|
4
3
|
fetchGrossVolumeChartData(accountId: string, authToken: string): Promise<IApiResponse<GrossVolumeReport>>;
|
|
5
4
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ISubAccount } from '..';
|
|
2
|
-
import { IApiResponseCollection } from '../ApiNew';
|
|
1
|
+
import { IApiResponseCollection, ISubAccount } from '..';
|
|
3
2
|
export interface ISubAccountService {
|
|
4
3
|
fetchSubAccounts(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<ISubAccount[]>>;
|
|
5
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBusiness } from "../../../
|
|
1
|
+
import { IBusiness } from "../../../api/Business";
|
|
2
2
|
export declare function getStateAbbreviation(stateName: string): string | undefined;
|
|
3
3
|
export declare function filterNumber(num: string): string;
|
|
4
4
|
export declare function constructDate(year: string, month: string, day: string): string | void;
|
|
@@ -19,7 +19,10 @@ export declare class NewPaymentMethod {
|
|
|
19
19
|
handleCheckboxChanged(event: CustomEvent<boolean>): void;
|
|
20
20
|
fillBillingForm(fields: BillingFormFields): Promise<void>;
|
|
21
21
|
resolvePaymentMethod(insuranceValidation: any): Promise<PaymentMethodPayload>;
|
|
22
|
-
validate(): Promise<
|
|
22
|
+
validate(): Promise<{
|
|
23
|
+
isValid: boolean;
|
|
24
|
+
errors: any;
|
|
25
|
+
}>;
|
|
23
26
|
tokenize(): Promise<any>;
|
|
24
27
|
onPaymentMethodOptionClick: (e: any) => void;
|
|
25
28
|
showNewPaymentMethodForm(): any;
|
|
@@ -29,6 +29,7 @@ export declare class OrderTerminals {
|
|
|
29
29
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
30
30
|
submitted: EventEmitter<any>;
|
|
31
31
|
componentWillLoad(): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
32
33
|
private handleError;
|
|
33
34
|
private loadData;
|
|
34
35
|
private initializeGetBusiness;
|
|
@@ -10,6 +10,7 @@ export declare class TerminalOrdersList {
|
|
|
10
10
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
11
11
|
analytics: JustifiAnalytics;
|
|
12
12
|
componentWillLoad(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
13
14
|
private initializeGetData;
|
|
14
15
|
handleErrorEvent: (event: any) => void;
|
|
15
16
|
render(): any;
|
|
@@ -19,10 +19,12 @@ export declare class TokenizePaymentMethod {
|
|
|
19
19
|
private paymentMethodOptionsRef?;
|
|
20
20
|
analytics: JustifiAnalytics;
|
|
21
21
|
componentWillLoad(): void;
|
|
22
|
+
disconnectedCallback(): void;
|
|
22
23
|
tokenizePaymentMethod(event?: CustomEvent): Promise<PaymentMethodPayload>;
|
|
23
24
|
fillBillingForm(fields: BillingFormFields): Promise<void>;
|
|
24
25
|
validate(): Promise<{
|
|
25
26
|
isValid: boolean;
|
|
27
|
+
errors?: any;
|
|
26
28
|
}>;
|
|
27
29
|
render(): any;
|
|
28
30
|
}
|