@justifi/webcomponents 4.19.3-rc-2 → 4.20.0
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/{Analytics-adc90fc6.js → Analytics-03981aad.js} +4 -3
- package/dist/cjs/{Api-3bc6e43f.js → Api-b98b256f.js} +3 -3
- package/dist/cjs/{Business-aacbe893.js → Business-aa799fec.js} +104 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/{business-additional-questions-schema-cf545610.js → business-additional-questions-schema-26b0eecb.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{business-form-options-582467fe.js → business-form-options-5db0bd5e.js} +2 -2
- package/dist/cjs/{payload-parsers-1cbc3b57.js → business-identity-schema-503ecb77.js} +1 -47
- package/dist/cjs/{business.service-090a21e1.js → business.service-031c0084.js} +7 -6
- package/dist/cjs/check-pkg-version-89d6d146.js +24 -0
- package/dist/cjs/config-05767cba.js +15 -0
- package/dist/cjs/custom-popper.cjs.entry.js +1894 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +26 -26
- package/dist/cjs/form-control-date_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +9 -9
- package/dist/cjs/{get-payout-csv-238e839a.js → get-payout-csv-3a3260ec.js} +5 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +15 -14
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +17 -14
- package/dist/cjs/justifi-card-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -7
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +10 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +11 -8
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-22d30c5d.js → package-7fdd14b9.js} +4 -2
- package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-c92635c8.js → payment.service-4b1c0a20.js} +4 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +18 -13
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +17266 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -4
- package/dist/cjs/{schema-validations-2733de42.js → schema-validations-0a7e46a3.js} +1 -1
- package/dist/cjs/styled-host-9e0b67b3.js +14 -0
- package/dist/cjs/{utils-89d86e29.js → utils-af1b60a9.js} +0 -16
- package/dist/cjs/utils-f8a6962c.js +25 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +3 -3
- package/dist/collection/api/Business.js +66 -7
- package/dist/collection/api/Identity.js +39 -3
- package/dist/collection/api/services/analytics.service.js +2 -1
- package/dist/collection/api/services/business.service.js +6 -5
- package/dist/collection/api/services/checkout.service.js +3 -2
- package/dist/collection/api/services/insurance.service.js +3 -2
- package/dist/collection/api/services/payment.service.js +3 -2
- package/dist/collection/api/services/payout.service.js +4 -3
- package/dist/collection/api/services/provision.service.js +2 -1
- package/dist/collection/api/services/reports.service.js +2 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/bank-account-form/bank-account-form.js +4 -3
- package/dist/collection/components/business-details/business-details.js +2 -0
- package/dist/collection/components/business-forms/business-form/business-form.js +7 -5
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +4 -5
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -5
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -3
- package/dist/collection/components/business-forms/utils/business-form-options.js +1 -1
- package/dist/collection/components/card-form/card-form.js +4 -3
- package/dist/collection/components/checkout/checkout-core.js +4 -4
- package/dist/collection/components/checkout/checkout.js +4 -2
- package/dist/collection/components/checkout/new-payment-method.js +4 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -3
- package/dist/collection/components/checkout/saved-payment-method.js +4 -3
- package/dist/collection/components/checkout/sezzle-payment-method.js +4 -3
- package/dist/collection/components/form/form-control-date.js +26 -28
- package/dist/collection/components/form/form-control-select.js +45 -45
- package/dist/collection/components/form/form-control-text.js +34 -34
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -1
- package/dist/collection/components/payment-details/payment-details.js +2 -0
- package/dist/collection/components/payment-form/payment-form.js +6 -3
- package/dist/collection/components/payments-list/payments-list-core.js +14 -9
- package/dist/collection/components/payments-list/payments-list-filters.js +84 -0
- package/dist/collection/components/payments-list/payments-list.js +2 -0
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +2 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +2 -0
- package/dist/collection/components/refund-form/refund-form.js +3 -2
- package/dist/collection/ui-components/custom-popper/custom-popper.js +239 -0
- package/dist/collection/ui-components/filters/table-filters-menu.js +89 -0
- package/dist/collection/ui-components/filters/utils.js +20 -0
- package/dist/collection/utils/check-pkg-version.js +19 -0
- package/dist/config.js +11 -0
- package/dist/docs.json +531 -27
- package/dist/{webcomponents/p-15eafa87.js → esm/Analytics-3103f8e9.js} +4 -3
- package/dist/esm/{Api-b09a2f6a.js → Api-c8abc2e0.js} +3 -3
- package/dist/esm/{Business-e218b4f4.js → Business-b73d5055.js} +104 -9
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{business-additional-questions-schema-956e3caf.js → business-additional-questions-schema-a5583cf8.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/{business-form-options-7a9a74fc.js → business-form-options-d790973e.js} +2 -2
- package/dist/esm/{payload-parsers-acb719d1.js → business-identity-schema-9e3269fb.js} +2 -44
- package/dist/esm/{business.service-37d0cc72.js → business.service-1f589b6e.js} +7 -6
- package/dist/esm/check-pkg-version-44e6ad15.js +22 -0
- package/dist/esm/config-27764a9d.js +13 -0
- package/dist/esm/custom-popper.entry.js +1890 -0
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox_9.entry.js +21 -21
- package/dist/esm/form-control-date_3.entry.js +4 -4
- package/dist/esm/form-control-error-text_4.entry.js +9 -9
- package/dist/esm/{get-payout-csv-a702a0d9.js → get-payout-csv-93427146.js} +5 -4
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +15 -14
- package/dist/esm/justifi-bank-account-form.entry.js +6 -5
- package/dist/esm/justifi-billing-form_2.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +8 -5
- package/dist/esm/justifi-business-form.entry.js +16 -13
- package/dist/esm/justifi-card-form.entry.js +6 -5
- package/dist/esm/justifi-checkout-core.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +10 -7
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
- package/dist/esm/justifi-new-payment-method_4.entry.js +10 -12
- package/dist/esm/justifi-owner-form_3.entry.js +11 -10
- package/dist/esm/justifi-payment-details.entry.js +7 -4
- package/dist/esm/justifi-payment-form.entry.js +11 -8
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -6
- package/dist/esm/justifi-payments-list.entry.js +7 -4
- package/dist/esm/justifi-payout-details.entry.js +7 -4
- package/dist/esm/justifi-payouts-list.entry.js +7 -4
- package/dist/esm/justifi-refund-form.entry.js +5 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -6
- package/dist/esm/loader.js +1 -1
- package/dist/{webcomponents/p-2e8f4937.js → esm/package-0e3cc41e.js} +4 -2
- package/dist/esm/payment-details-core.entry.js +2 -2
- package/dist/esm/{payment.service-9359fe15.js → payment.service-02c596b9.js} +4 -3
- package/dist/esm/payments-list-core.entry.js +16 -11
- package/dist/esm/payments-list-filters_2.entry.js +17261 -0
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +4 -4
- package/dist/esm/{schema-validations-a83ff220.js → schema-validations-e725d701.js} +2 -2
- package/dist/esm/styled-host-3171ae1f.js +12 -0
- package/dist/esm/utils-3a4d8f3a.js +22 -0
- package/dist/{webcomponents/p-83125497.js → esm/utils-e66d8bca.js} +1 -16
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -1
- package/dist/module/Api.js +3 -3
- package/dist/module/Business.js +104 -9
- package/dist/module/business-additional-questions-form-step-core.js +3 -3
- package/dist/module/business-bank-account-form-step.js +4 -3
- package/dist/module/business-core-info-form-step-core.js +3 -5
- package/dist/module/business-document-upload-form-step.js +4 -3
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-owners-form-step-core.js +3 -3
- package/dist/module/business-representative-form-step-core.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +4 -3
- package/dist/module/business.service.js +6 -5
- package/dist/module/check-pkg-version.js +22 -0
- package/dist/module/checkout-core.js +3 -3
- package/dist/module/config.js +13 -0
- package/dist/module/custom-popper.d.ts +11 -0
- package/dist/module/custom-popper.js +6 -0
- package/dist/module/custom-popper2.js +1912 -0
- package/dist/module/form-control-date2.js +7 -7
- package/dist/module/form-control-select2.js +9 -9
- package/dist/module/form-control-text2.js +7 -7
- package/dist/module/get-payout-csv.js +4 -3
- package/dist/module/justifi-bank-account-form.js +3 -2
- package/dist/module/justifi-business-details.js +2 -0
- package/dist/module/justifi-business-form.js +7 -5
- package/dist/module/justifi-card-form.js +3 -2
- package/dist/module/justifi-checkout.js +7 -4
- package/dist/module/justifi-gross-payment-chart.js +4 -1
- package/dist/module/justifi-payment-details.js +2 -0
- package/dist/module/justifi-payment-form.js +6 -3
- package/dist/module/justifi-payment-provisioning.js +5 -2
- package/dist/module/justifi-payments-list.js +42 -10
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payouts-list.js +2 -0
- package/dist/module/justifi-refund-form.js +3 -2
- package/dist/module/justifi-season-interruption-insurance.js +6 -3
- package/dist/module/legal-address-form-step-core.js +3 -4
- package/dist/module/new-payment-method.js +3 -5
- package/dist/module/owner-form-core2.js +4 -5
- package/dist/module/package.js +4 -2
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payment-method-options.js +3 -2
- package/dist/module/payment.service.js +3 -2
- package/dist/module/payments-list-core2.js +52 -18
- package/dist/module/payments-list-filters.d.ts +11 -0
- package/dist/module/payments-list-filters.js +6 -0
- package/dist/module/payments-list-filters2.js +17294 -0
- package/dist/module/payout-details-core2.js +2 -2
- package/dist/module/payouts-list-core2.js +3 -3
- package/dist/module/saved-payment-method.js +4 -3
- package/dist/module/sezzle-payment-method.js +3 -2
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu.d.ts +11 -0
- package/dist/module/table-filters-menu.js +6 -0
- package/dist/module/table-filters-menu2.js +80 -0
- package/dist/module/utils2.js +1 -16
- package/dist/types/api/Business.d.ts +87 -1
- package/dist/types/api/Identity.d.ts +45 -1
- package/dist/types/api/Payment.d.ts +8 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +44 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +24 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +11 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
- package/dist/types/components/form/form-control-date.d.ts +4 -4
- package/dist/types/components/form/form-control-select.d.ts +6 -6
- package/dist/types/components/form/form-control-text.d.ts +4 -4
- package/dist/types/components/payments-list/payments-list-core.d.ts +6 -5
- package/dist/types/components/payments-list/payments-list-filters.d.ts +13 -0
- package/dist/types/components.d.ts +89 -10
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +11 -0
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +21 -0
- package/dist/types/ui-components/filters/table-filters-menu.d.ts +11 -0
- package/dist/types/ui-components/filters/utils.d.ts +2 -0
- package/dist/types/utils/check-pkg-version.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +0 -1
- package/dist/webcomponents/p-056e75be.entry.js +1 -0
- package/dist/webcomponents/p-05718341.entry.js +1 -0
- package/dist/webcomponents/p-08b0fb31.js +1 -41
- package/dist/webcomponents/p-0de026dd.entry.js +1 -0
- package/dist/webcomponents/p-0e84986e.entry.js +10 -0
- package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
- package/dist/webcomponents/p-14c91ffd.js +1 -20
- package/dist/webcomponents/p-1612894d.js +1 -0
- package/dist/webcomponents/p-1815a43b.js +1 -0
- package/dist/webcomponents/p-1ad5995e.js +1 -3599
- package/dist/webcomponents/p-1eee25f3.entry.js +19 -0
- package/dist/webcomponents/p-1ff8810b.js +1 -29
- package/dist/webcomponents/p-20dafb46.entry.js +1 -0
- package/dist/webcomponents/p-2338affa.js +1 -213
- package/dist/webcomponents/p-277aee05.js +1 -0
- package/dist/webcomponents/p-2b6c9c4f.js +1 -7
- package/dist/webcomponents/p-2c51d29f.js +1 -0
- package/dist/webcomponents/p-2eab3c90.js +1 -3052
- package/dist/webcomponents/p-3a1f19f3.entry.js +1 -0
- package/dist/webcomponents/p-3c7fac29.entry.js +1 -0
- package/dist/webcomponents/p-401d6607.js +1 -0
- package/dist/webcomponents/p-428e9b64.entry.js +1 -0
- package/dist/webcomponents/p-430f81c6.entry.js +1 -0
- package/dist/webcomponents/p-437f9114.js +1 -0
- package/dist/webcomponents/p-44055818.js +1 -0
- package/dist/webcomponents/p-4628cc9b.entry.js +1 -0
- package/dist/webcomponents/p-4cc9df76.entry.js +1 -0
- package/dist/webcomponents/p-5022f21c.js +1 -0
- package/dist/webcomponents/p-525db3e8.js +1 -22
- package/dist/webcomponents/p-55182a59.js +1 -0
- package/dist/webcomponents/p-5540a47c.entry.js +1 -0
- package/dist/webcomponents/p-56f6ce4c.js +1 -10
- package/dist/webcomponents/p-570a0f02.entry.js +1 -0
- package/dist/webcomponents/p-5968ff8a.js +1 -178
- package/dist/webcomponents/p-59cf5391.entry.js +1 -0
- package/dist/webcomponents/p-5a62fca2.js +1 -0
- package/dist/webcomponents/p-5e2c9ec8.js +1 -0
- package/dist/webcomponents/p-5e7c60d8.js +1 -0
- package/dist/webcomponents/p-6078a370.js +1 -244
- package/dist/webcomponents/p-6ac806ff.entry.js +1 -0
- package/dist/webcomponents/p-7bdffc78.entry.js +1 -0
- package/dist/webcomponents/p-7d3be485.js +1 -0
- package/dist/webcomponents/p-7d85af5c.js +1 -16
- package/dist/webcomponents/p-7ddfce86.entry.js +1 -0
- package/dist/webcomponents/p-7fe67d7f.entry.js +1 -0
- package/dist/webcomponents/p-7ff329b1.js +1 -0
- package/dist/webcomponents/p-804c0f1f.entry.js +1 -0
- package/dist/webcomponents/p-8115b2f4.js +1 -28
- package/dist/webcomponents/p-8281f09a.js +1 -0
- package/dist/webcomponents/p-8921a478.entry.js +1 -0
- package/dist/webcomponents/p-8a7112a0.entry.js +1 -0
- package/dist/webcomponents/p-8c83b73e.entry.js +1 -0
- package/dist/webcomponents/p-8d03a7bd.entry.js +1 -0
- package/dist/webcomponents/p-8df7bde8.js +1 -27
- package/dist/webcomponents/p-938bf2b4.entry.js +1 -0
- package/dist/webcomponents/p-9b154d98.entry.js +1 -0
- package/dist/webcomponents/p-9c9c7dac.js +1 -24
- package/dist/webcomponents/p-ad47f37c.entry.js +1 -0
- package/dist/webcomponents/p-aedb421f.entry.js +1 -0
- package/dist/webcomponents/p-b14da2fd.entry.js +1 -0
- package/dist/webcomponents/p-bbed6107.entry.js +1 -0
- package/dist/webcomponents/p-bdc91c61.entry.js +1 -0
- package/dist/webcomponents/p-c64ce69d.entry.js +1 -0
- package/dist/webcomponents/p-d76002d5.entry.js +1 -0
- package/dist/webcomponents/p-d8355f91.entry.js +1 -0
- package/dist/webcomponents/p-d89bad72.js +1 -39
- package/dist/webcomponents/p-da1d174d.entry.js +1 -0
- package/dist/webcomponents/p-dbc1d7b3.entry.js +1 -0
- package/dist/webcomponents/p-dce846bf.js +1 -27
- package/dist/webcomponents/p-df21aaad.js +1 -120
- package/dist/webcomponents/p-e1255160.js +1 -3
- package/dist/webcomponents/p-e2c88817.entry.js +1 -0
- package/dist/webcomponents/p-e31f0f3e.entry.js +1 -0
- package/dist/webcomponents/p-e333620e.js +1 -34
- package/dist/webcomponents/p-e3f4a2a6.js +1 -0
- package/dist/webcomponents/p-e3fab0e2.js +1 -43
- package/dist/webcomponents/p-eea79a55.entry.js +1 -0
- package/dist/webcomponents/p-f0866375.entry.js +1 -0
- package/dist/webcomponents/p-f6a2dc78.entry.js +1 -0
- package/dist/webcomponents/p-fad19d75.js +2 -1638
- package/dist/webcomponents/webcomponents.css +4 -362
- package/dist/webcomponents/webcomponents.esm.js +1 -20
- package/package.json +4 -2
- package/dist/cjs/styled-host-cc053016.js +0 -14
- package/dist/collection/components/business-forms/utils/payload-parsers.js +0 -41
- package/dist/esm/Analytics-a8eb7344.js +0 -77
- package/dist/esm/package-ccb774a9.js +0 -79
- package/dist/esm/styled-host-ab9da520.js +0 -12
- package/dist/esm/utils-3c1dd2fa.js +0 -4027
- package/dist/module/payload-parsers.js +0 -43
- package/dist/types/components/business-forms/utils/payload-parsers.d.ts +0 -4
- package/dist/webcomponents/p-01a404ca.entry.js +0 -44
- package/dist/webcomponents/p-03d35880.entry.js +0 -130
- package/dist/webcomponents/p-06ff0429.entry.js +0 -65
- package/dist/webcomponents/p-0e1bc91e.js +0 -28
- package/dist/webcomponents/p-10875f3d.entry.js +0 -97
- package/dist/webcomponents/p-157acba8.entry.js +0 -98
- package/dist/webcomponents/p-18fa0479.entry.js +0 -131
- package/dist/webcomponents/p-1a5120f4.entry.js +0 -145
- package/dist/webcomponents/p-24dc023a.entry.js +0 -791
- package/dist/webcomponents/p-25d8cd65.entry.js +0 -102
- package/dist/webcomponents/p-27d87fe2.entry.js +0 -133
- package/dist/webcomponents/p-29c0b182.js +0 -114
- package/dist/webcomponents/p-3395e896.entry.js +0 -74
- package/dist/webcomponents/p-3fd13ca3.js +0 -52
- package/dist/webcomponents/p-47d79529.js +0 -18
- package/dist/webcomponents/p-53ecc8b9.entry.js +0 -261
- package/dist/webcomponents/p-5482d030.entry.js +0 -21
- package/dist/webcomponents/p-576826b1.entry.js +0 -43
- package/dist/webcomponents/p-5f835b89.entry.js +0 -606
- package/dist/webcomponents/p-6124b1b3.entry.js +0 -80
- package/dist/webcomponents/p-70a2aa74.entry.js +0 -76
- package/dist/webcomponents/p-7582b554.entry.js +0 -18
- package/dist/webcomponents/p-75fd6367.entry.js +0 -149
- package/dist/webcomponents/p-79646550.entry.js +0 -61
- package/dist/webcomponents/p-800d31fe.entry.js +0 -162
- package/dist/webcomponents/p-85fc69e5.js +0 -90
- package/dist/webcomponents/p-89887332.js +0 -301
- package/dist/webcomponents/p-8eb774df.entry.js +0 -54
- package/dist/webcomponents/p-9e17630d.entry.js +0 -1684
- package/dist/webcomponents/p-9f94bbb6.entry.js +0 -118
- package/dist/webcomponents/p-a4e8573e.entry.js +0 -94
- package/dist/webcomponents/p-a5a225d9.entry.js +0 -125
- package/dist/webcomponents/p-a5fb51dc.entry.js +0 -131
- package/dist/webcomponents/p-ab4816e1.entry.js +0 -117
- package/dist/webcomponents/p-ac086069.entry.js +0 -58
- package/dist/webcomponents/p-af244664.js +0 -126
- package/dist/webcomponents/p-b4b8b531.js +0 -44
- package/dist/webcomponents/p-b82c146f.entry.js +0 -111
- package/dist/webcomponents/p-ba4bae6f.js +0 -12
- package/dist/webcomponents/p-ba5fae28.js +0 -90
- package/dist/webcomponents/p-bd66f9d2.entry.js +0 -101
- package/dist/webcomponents/p-cc39384f.entry.js +0 -99
- package/dist/webcomponents/p-d17aee2b.entry.js +0 -26
- package/dist/webcomponents/p-dad3e069.entry.js +0 -298
- package/dist/webcomponents/p-e1e7525b.entry.js +0 -73
- package/dist/webcomponents/p-e356f280.entry.js +0 -29
- package/dist/webcomponents/p-e9a5cb95.entry.js +0 -94
- package/dist/webcomponents/p-ec854a3e.entry.js +0 -11053
- package/dist/webcomponents/p-edc37d1f.entry.js +0 -75
- package/dist/webcomponents/p-f02b75dc.entry.js +0 -96
- package/dist/{globals.d.ts → types/global.d.ts} +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const _package = require('./package-
|
|
4
|
-
const
|
|
3
|
+
const _package = require('./package-7fdd14b9.js');
|
|
4
|
+
const config = require('./config-05767cba.js');
|
|
5
|
+
const Api = require('./Api-b98b256f.js');
|
|
5
6
|
|
|
6
7
|
class AnalyticsService {
|
|
7
8
|
async record(body) {
|
|
8
9
|
const endpoint = 'analytics';
|
|
9
|
-
return Api.Api({ apiOrigin:
|
|
10
|
+
return Api.Api({ apiOrigin: config.config.proxyApiOrigin }).post(endpoint, body);
|
|
10
11
|
}
|
|
11
12
|
}
|
|
12
13
|
|
|
@@ -96,13 +96,13 @@ const Api = ({ authToken, apiOrigin }) => {
|
|
|
96
96
|
return makeRequest(endpoint, 'GET', params, null, signal);
|
|
97
97
|
}
|
|
98
98
|
async function post(endpoint, body, params, signal) {
|
|
99
|
-
return makeRequest(endpoint, 'POST', params, body, signal);
|
|
99
|
+
return makeRequest(endpoint, 'POST', params, JSON.stringify(body), signal);
|
|
100
100
|
}
|
|
101
101
|
async function put(endpoint, body, params, signal) {
|
|
102
|
-
return makeRequest(endpoint, 'PUT', params, body, signal);
|
|
102
|
+
return makeRequest(endpoint, 'PUT', params, JSON.stringify(body), signal);
|
|
103
103
|
}
|
|
104
104
|
async function patch(endpoint, body, params, signal) {
|
|
105
|
-
return makeRequest(endpoint, 'PATCH', params, body, signal);
|
|
105
|
+
return makeRequest(endpoint, 'PATCH', params, JSON.stringify(body), signal);
|
|
106
106
|
}
|
|
107
107
|
async function destroy(endpoint, params, signal) {
|
|
108
108
|
return makeRequest(endpoint, 'DELETE', params, null, signal);
|
|
@@ -9,7 +9,8 @@ class Owner {
|
|
|
9
9
|
this.dob_day = helpers.filterNumber(owner.dob_day);
|
|
10
10
|
this.dob_month = helpers.filterNumber(owner.dob_month);
|
|
11
11
|
this.dob_year = owner.dob_year;
|
|
12
|
-
this.dob_full =
|
|
12
|
+
this.dob_full =
|
|
13
|
+
helpers.constructDate(this.dob_year, this.dob_month, this.dob_day) || '';
|
|
13
14
|
this.documents = owner.documents;
|
|
14
15
|
this.email = owner.email;
|
|
15
16
|
this.id = owner.id;
|
|
@@ -24,6 +25,23 @@ class Owner {
|
|
|
24
25
|
this.title = owner.title;
|
|
25
26
|
this.updated_at = owner.updated_at;
|
|
26
27
|
}
|
|
28
|
+
// Getter method to return the payload in the desired shape
|
|
29
|
+
get payload() {
|
|
30
|
+
return {
|
|
31
|
+
address: new Address(this.address || {}).payload,
|
|
32
|
+
dob_day: this.dob_day || '',
|
|
33
|
+
dob_month: this.dob_month || '',
|
|
34
|
+
dob_year: this.dob_year || '',
|
|
35
|
+
email: this.email || '',
|
|
36
|
+
identification_number: this.identification_number || undefined,
|
|
37
|
+
is_owner: this.is_owner || false,
|
|
38
|
+
metadata: this.metadata || null,
|
|
39
|
+
name: this.name || '',
|
|
40
|
+
phone: this.phone || '',
|
|
41
|
+
platform_account_id: this.platform_account_id || null,
|
|
42
|
+
title: this.title || '',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
27
45
|
}
|
|
28
46
|
class Representative {
|
|
29
47
|
constructor(representative) {
|
|
@@ -32,7 +50,8 @@ class Representative {
|
|
|
32
50
|
this.dob_day = helpers.filterNumber(representative.dob_day);
|
|
33
51
|
this.dob_month = helpers.filterNumber(representative.dob_month);
|
|
34
52
|
this.dob_year = representative.dob_year;
|
|
35
|
-
this.dob_full =
|
|
53
|
+
this.dob_full =
|
|
54
|
+
helpers.constructDate(this.dob_year, this.dob_month, this.dob_day) || '';
|
|
36
55
|
this.documents = representative.documents;
|
|
37
56
|
this.email = representative.email;
|
|
38
57
|
this.id = representative.id;
|
|
@@ -47,6 +66,23 @@ class Representative {
|
|
|
47
66
|
this.title = representative.title;
|
|
48
67
|
this.updated_at = representative.updated_at;
|
|
49
68
|
}
|
|
69
|
+
// Getter method to return the payload in the desired shape
|
|
70
|
+
get payload() {
|
|
71
|
+
return {
|
|
72
|
+
address: new Address(this.address || {}).payload,
|
|
73
|
+
dob_day: this.dob_day || '',
|
|
74
|
+
dob_month: this.dob_month || '',
|
|
75
|
+
dob_year: this.dob_year || '',
|
|
76
|
+
email: this.email || '',
|
|
77
|
+
is_owner: this.is_owner || false,
|
|
78
|
+
identification_number: this.identification_number || undefined,
|
|
79
|
+
metadata: this.metadata || null,
|
|
80
|
+
name: this.name || '',
|
|
81
|
+
phone: this.phone || '',
|
|
82
|
+
platform_account_id: this.platform_account_id || null,
|
|
83
|
+
title: this.title || '',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
50
86
|
}
|
|
51
87
|
|
|
52
88
|
exports.BusinessClassification = void 0;
|
|
@@ -72,16 +108,42 @@ class Address {
|
|
|
72
108
|
this.created_at = address.created_at;
|
|
73
109
|
this.updated_at = address.updated_at;
|
|
74
110
|
}
|
|
111
|
+
get payload() {
|
|
112
|
+
return {
|
|
113
|
+
platform_account_id: this.platform_account_id || '',
|
|
114
|
+
line1: this.line1 || '',
|
|
115
|
+
line2: this.line2 || '',
|
|
116
|
+
postal_code: this.postal_code || '',
|
|
117
|
+
city: this.city || '',
|
|
118
|
+
state: this.state || '',
|
|
119
|
+
country: this.country || '',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
75
122
|
}
|
|
76
123
|
class AdditionalQuestions {
|
|
77
124
|
constructor(additionalQuestions) {
|
|
78
125
|
this.business_revenue = additionalQuestions.business_revenue;
|
|
79
126
|
this.business_payment_volume = additionalQuestions.business_payment_volume;
|
|
80
|
-
this.business_when_service_received =
|
|
81
|
-
|
|
82
|
-
this.
|
|
127
|
+
this.business_when_service_received =
|
|
128
|
+
additionalQuestions.business_when_service_received;
|
|
129
|
+
this.business_recurring_payments =
|
|
130
|
+
additionalQuestions.business_recurring_payments;
|
|
131
|
+
this.business_recurring_payments_percentage =
|
|
132
|
+
additionalQuestions.business_recurring_payments_percentage;
|
|
83
133
|
this.business_seasonal = additionalQuestions.business_seasonal;
|
|
84
|
-
this.business_other_payment_details =
|
|
134
|
+
this.business_other_payment_details =
|
|
135
|
+
additionalQuestions.business_other_payment_details;
|
|
136
|
+
}
|
|
137
|
+
get payload() {
|
|
138
|
+
return {
|
|
139
|
+
business_revenue: this.business_revenue || '',
|
|
140
|
+
business_payment_volume: this.business_payment_volume || '',
|
|
141
|
+
business_when_service_received: this.business_when_service_received || '',
|
|
142
|
+
business_recurring_payments: this.business_recurring_payments || '',
|
|
143
|
+
business_recurring_payments_percentage: this.business_recurring_payments_percentage || '',
|
|
144
|
+
business_seasonal: this.business_seasonal || '',
|
|
145
|
+
business_other_payment_details: this.business_other_payment_details || '',
|
|
146
|
+
};
|
|
85
147
|
}
|
|
86
148
|
}
|
|
87
149
|
class CoreBusinessInfo {
|
|
@@ -96,10 +158,23 @@ class CoreBusinessInfo {
|
|
|
96
158
|
this.phone = coreBusinessInfo.phone;
|
|
97
159
|
this.date_of_incorporation = coreBusinessInfo.date_of_incorporation;
|
|
98
160
|
}
|
|
161
|
+
get payload() {
|
|
162
|
+
return {
|
|
163
|
+
classification: this.classification || '',
|
|
164
|
+
legal_name: this.legal_name || '',
|
|
165
|
+
doing_business_as: this.doing_business_as || '',
|
|
166
|
+
industry: this.industry || '',
|
|
167
|
+
tax_id: this.tax_id || '',
|
|
168
|
+
website_url: this.website_url || '',
|
|
169
|
+
email: this.email || '',
|
|
170
|
+
phone: this.phone || '',
|
|
171
|
+
date_of_incorporation: this.date_of_incorporation || '',
|
|
172
|
+
};
|
|
173
|
+
}
|
|
99
174
|
}
|
|
100
175
|
class Business {
|
|
101
176
|
constructor(business) {
|
|
102
|
-
this.additional_questions =
|
|
177
|
+
this.additional_questions = new AdditionalQuestions(business.additional_questions || {});
|
|
103
178
|
this.associated_accounts = business.associated_accounts;
|
|
104
179
|
this.classification = business.classification;
|
|
105
180
|
this.bank_accounts = business.bank_accounts;
|
|
@@ -109,20 +184,40 @@ class Business {
|
|
|
109
184
|
this.email = business.email;
|
|
110
185
|
this.id = business.id;
|
|
111
186
|
this.industry = business.industry;
|
|
112
|
-
this.legal_address =
|
|
187
|
+
this.legal_address = new Address(business.legal_address || {});
|
|
113
188
|
this.legal_name = business.legal_name;
|
|
114
189
|
this.metadata = business.metadata;
|
|
115
190
|
this.owners = business.owners;
|
|
116
191
|
this.phone = business.phone;
|
|
117
192
|
this.platform_account_id = business.platform_account_id;
|
|
118
193
|
this.product_categories = business.product_categories;
|
|
119
|
-
this.representative =
|
|
194
|
+
this.representative = new Representative(business.representative || {});
|
|
120
195
|
this.tax_id = business.tax_id;
|
|
121
196
|
this.terms_conditions_accepted = business.terms_conditions_accepted;
|
|
122
197
|
this.updated_at = business.updated_at;
|
|
123
198
|
this.website_url = business.website_url;
|
|
124
199
|
this.date_of_incorporation = business.date_of_incorporation;
|
|
125
200
|
}
|
|
201
|
+
get payload() {
|
|
202
|
+
return {
|
|
203
|
+
additional_questions: new AdditionalQuestions(this.additional_questions)
|
|
204
|
+
.payload,
|
|
205
|
+
classification: this.classification || '',
|
|
206
|
+
doing_business_as: this.doing_business_as || '',
|
|
207
|
+
email: this.email || '',
|
|
208
|
+
industry: this.industry || '',
|
|
209
|
+
legal_address: new Address(this.legal_address).payload,
|
|
210
|
+
legal_name: this.legal_name || '',
|
|
211
|
+
metadata: this.metadata || {},
|
|
212
|
+
owners: this.owners.map((owner) => ({ id: owner.id })),
|
|
213
|
+
phone: this.phone || '',
|
|
214
|
+
platform_account_id: this.platform_account_id || '',
|
|
215
|
+
representative: new Representative(this.representative).payload,
|
|
216
|
+
tax_id: this.tax_id || '',
|
|
217
|
+
website_url: this.website_url || '',
|
|
218
|
+
date_of_incorporation: this.date_of_incorporation || '',
|
|
219
|
+
};
|
|
220
|
+
}
|
|
126
221
|
}
|
|
127
222
|
|
|
128
223
|
exports.AdditionalQuestions = AdditionalQuestions;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
7
|
-
const utils = require('./utils-
|
|
7
|
+
const utils = require('./utils-af1b60a9.js');
|
|
8
8
|
|
|
9
9
|
const sharedBusinessDetailsCss$4 = ".flex-1{flex:1}";
|
|
10
10
|
const AdditionalQuestionsDetailsStyle0 = sharedBusinessDetailsCss$4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index_esm = require('./index.esm-52757963.js');
|
|
4
|
-
const schemaValidations = require('./schema-validations-
|
|
4
|
+
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
5
5
|
|
|
6
6
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const utils = require('./utils-c1d2e426.js');
|
|
7
|
-
const styledHost = require('./styled-host-
|
|
7
|
+
const styledHost = require('./styled-host-9e0b67b3.js');
|
|
8
8
|
|
|
9
9
|
var RENDER_STATES;
|
|
10
10
|
(function (RENDER_STATES) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const Business = require('./Business-
|
|
3
|
+
const Business = require('./Business-aa799fec.js');
|
|
4
4
|
|
|
5
5
|
const businessClassificationOptions = [
|
|
6
6
|
{
|
|
@@ -24,7 +24,7 @@ const businessClassificationOptions = [
|
|
|
24
24
|
value: Business.BusinessClassification.public_company,
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
label: 'Limited',
|
|
27
|
+
label: 'Limited Liability Company (LLC)',
|
|
28
28
|
value: Business.BusinessClassification.limited,
|
|
29
29
|
},
|
|
30
30
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index_esm = require('./index.esm-52757963.js');
|
|
4
|
-
const schemaValidations = require('./schema-validations-
|
|
4
|
+
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
5
5
|
|
|
6
6
|
const addressSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -47,51 +47,5 @@ const identitySchema = (role, allowOptionalFields) => {
|
|
|
47
47
|
return allowOptionalFields ? easySchema : schema;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
// These props should not be sent to the server
|
|
51
|
-
// This function is for the larger business form.
|
|
52
|
-
const parseBusiness = (values, initialValues) => {
|
|
53
|
-
var _a;
|
|
54
|
-
parseCoreInfo(values);
|
|
55
|
-
parseAddressInfo(values.legal_address);
|
|
56
|
-
parseIdentityInfo(values.representative);
|
|
57
|
-
((_a = initialValues.owners) === null || _a === void 0 ? void 0 : _a.length) && delete values.owners;
|
|
58
|
-
return values;
|
|
59
|
-
};
|
|
60
|
-
// These functions are for the stepped business form.
|
|
61
|
-
const parseCoreInfo = (values) => {
|
|
62
|
-
delete values.id;
|
|
63
|
-
delete values.documents;
|
|
64
|
-
delete values.bank_accounts;
|
|
65
|
-
delete values.product_categories;
|
|
66
|
-
delete values.created_at;
|
|
67
|
-
delete values.updated_at;
|
|
68
|
-
delete values.associated_accounts;
|
|
69
|
-
delete values.terms_conditions_accepted;
|
|
70
|
-
return values;
|
|
71
|
-
};
|
|
72
|
-
const parseAddressInfo = (values) => {
|
|
73
|
-
delete values.id;
|
|
74
|
-
delete values.created_at;
|
|
75
|
-
delete values.updated_at;
|
|
76
|
-
return values;
|
|
77
|
-
};
|
|
78
|
-
const parseIdentityInfo = (values) => {
|
|
79
|
-
delete values.id;
|
|
80
|
-
delete values.documents;
|
|
81
|
-
delete values.created_at;
|
|
82
|
-
delete values.updated_at;
|
|
83
|
-
delete values.address.id;
|
|
84
|
-
delete values.address.created_at;
|
|
85
|
-
delete values.address.updated_at;
|
|
86
|
-
delete values.business_id;
|
|
87
|
-
delete values.dob_full;
|
|
88
|
-
delete values.ssn_last4;
|
|
89
|
-
return values;
|
|
90
|
-
};
|
|
91
|
-
|
|
92
50
|
exports.addressSchema = addressSchema;
|
|
93
51
|
exports.identitySchema = identitySchema;
|
|
94
|
-
exports.parseAddressInfo = parseAddressInfo;
|
|
95
|
-
exports.parseBusiness = parseBusiness;
|
|
96
|
-
exports.parseCoreInfo = parseCoreInfo;
|
|
97
|
-
exports.parseIdentityInfo = parseIdentityInfo;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const config = require('./config-05767cba.js');
|
|
4
|
+
const Api = require('./Api-b98b256f.js');
|
|
4
5
|
|
|
5
6
|
class BusinessService {
|
|
6
7
|
async fetchBusiness(businessId, authToken) {
|
|
7
8
|
const endpoint = `entities/business/${businessId}`;
|
|
8
|
-
return Api.Api({ authToken, apiOrigin:
|
|
9
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).get(endpoint);
|
|
9
10
|
}
|
|
10
11
|
async patchBusiness(authToken, businessId, payload) {
|
|
11
12
|
const endpoint = `entities/business/${businessId}`;
|
|
12
|
-
return Api.Api({ authToken, apiOrigin:
|
|
13
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).patch(endpoint, payload);
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
class IdentityService {
|
|
16
17
|
async fetchIdentity(identityId, authToken) {
|
|
17
18
|
const endpoint = `entities/identity/${identityId}`;
|
|
18
|
-
return Api.Api({ authToken, apiOrigin:
|
|
19
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).get(endpoint);
|
|
19
20
|
}
|
|
20
21
|
async patchIdentity(authToken, identityId, payload) {
|
|
21
22
|
const endpoint = `entities/identity/${identityId}`;
|
|
22
|
-
return Api.Api({ authToken, apiOrigin:
|
|
23
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).patch(endpoint, payload);
|
|
23
24
|
}
|
|
24
25
|
async postIdentity(authToken, payload) {
|
|
25
26
|
const endpoint = `entities/identity`;
|
|
26
|
-
return Api.Api({ authToken, apiOrigin:
|
|
27
|
+
return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).post(endpoint, payload);
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const _package = require('./package-7fdd14b9.js');
|
|
4
|
+
|
|
5
|
+
const latestVersion = async (packageName) => {
|
|
6
|
+
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
7
|
+
const json = await response.json();
|
|
8
|
+
return json.version;
|
|
9
|
+
};
|
|
10
|
+
const checkPkgVersion = async () => {
|
|
11
|
+
const version = _package.packageJson.version;
|
|
12
|
+
const packageName = _package.packageJson.name;
|
|
13
|
+
const latest = await latestVersion(packageName);
|
|
14
|
+
// remove rc from version and everything that comes after -rc
|
|
15
|
+
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
16
|
+
// checkif there's a major version difference
|
|
17
|
+
const versionParts = version.split('.');
|
|
18
|
+
const latestParts = latest.split('.');
|
|
19
|
+
if (versionParts[0] !== latestParts[0]) {
|
|
20
|
+
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
exports.checkPkgVersion = checkPkgVersion;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const config = {
|
|
4
|
+
iframeOrigin: "https://components.justifi.ai/v1",
|
|
5
|
+
proxyApiOrigin: "https://wc-proxy.justifi.ai",
|
|
6
|
+
proxyAuthToken: 'eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g',
|
|
7
|
+
exampleAccountId: 'acc_5Et9iXrSSAZR2KSouQGAWi',
|
|
8
|
+
exampleBusinessId: 'biz_3bh69bq1rk3dmXNoAKVonu',
|
|
9
|
+
examplePaymentId: 'py_1NNeEnf4FbelxDCQN2RHcE',
|
|
10
|
+
examplePayoutId: 'po_17745yESnHyEgWNeunmhmR',
|
|
11
|
+
privateApiOrigin: '',
|
|
12
|
+
privateAuthToken: '',
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.config = config;
|