@justifi/webcomponents 4.10.0-rc.0 → 4.11.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/{Business-79361c8a.js → Business-7ae04d4f.js} +58 -2
- package/dist/cjs/{SubAccount-b3902202.js → SubAccount-05867651.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -1
- package/dist/cjs/business-additional-questions-schema-18a82d19.js +47 -0
- package/dist/cjs/business-details-core.cjs.entry.js +7 -2
- package/dist/cjs/{business-form-types-3cdd5447.js → business-form-types-29b2bad9.js} +7 -0
- package/dist/cjs/{form-control-datepart_3.cjs.entry.js → form-control-datepart_4.cjs.entry.js} +97 -46
- package/dist/cjs/form-control-monetary.cjs.entry.js +19 -17
- package/dist/cjs/{form-control-number_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +7 -45
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +9 -2
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +29 -24
- package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +7 -7
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-details.cjs.entry.js +23 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +62 -51
- package/dist/cjs/justifi-business-list.cjs.entry.js +3 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -4
- package/dist/cjs/justifi-checkout.cjs.entry.js +1 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +29 -5
- package/dist/cjs/justifi-owner-form.cjs.entry.js +22 -12
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +2 -1
- package/dist/cjs/justifi-payment-details.cjs.entry.js +25 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +18 -4
- package/dist/cjs/{justifi-business-form-stepped.cjs.entry.js → justifi-payment-provisioning.cjs.entry.js} +20 -20
- package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -5
- package/dist/cjs/justifi-payout-details.cjs.entry.js +27 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +26 -6
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +2 -1
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +3 -2
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +3 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/payload-parsers-f437272e.js +132 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +10 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -4
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -3
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +2 -1
- package/dist/cjs/{utils-6f62f7a1.js → utils-2b9940e1.js} +7 -0
- package/dist/cjs/{utils-df5167a8.js → utils-87435719.js} +7 -0
- package/dist/cjs/utils-f8079741.js +41 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Business.js +12 -2
- package/dist/collection/api/ComponentError.js +14 -0
- package/dist/collection/api/services/utils.js +11 -0
- package/dist/collection/api/shared.js +11 -1
- package/dist/collection/collection-manifest.json +7 -8
- package/dist/collection/components/billing-form/billing-form.js +1 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
- package/dist/collection/components/business-details/additional-questions-details/test/additional-questions.spec.js +1 -1
- package/dist/collection/components/business-details/business-details-core.js +30 -2
- package/dist/collection/components/business-details/business-details.js +30 -0
- package/dist/collection/components/business-details/generic-info-details/test/generic-info-details.spec.js +1 -1
- package/dist/collection/components/business-details/get-business.js +15 -3
- package/dist/collection/components/business-details/legal-address-details/test/legal-address-details.spec.js +1 -1
- package/dist/collection/components/business-details/owner-details/test/owner-details.spec.js +1 -1
- package/dist/collection/components/business-details/representative-details/test/representative-details.spec.js +1 -1
- package/dist/collection/components/business-details/test/busines-details-core.spec.js +56 -16
- package/dist/collection/components/business-details/test/business-details.spec.js +20 -4
- package/dist/collection/components/business-details/test/get-business.spec.js +13 -6
- package/dist/collection/components/business-forms/business-form/business-form.js +79 -50
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -2
- package/dist/collection/components/business-forms/{business-form-stepped/business-address/business-address-form-step.js → owner-form/identity-address/identity-address-form.js} +14 -11
- package/dist/collection/components/business-forms/owner-form/identity-address/test/identity-address.e2e.js +9 -0
- package/dist/collection/components/business-forms/{business-form/business-address/test/business-address.spec.js → owner-form/identity-address/test/identity-address.spec.js} +21 -14
- package/dist/collection/components/business-forms/owner-form/owner-form.js +54 -8
- package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/additional-questions/business-additional-questions-form-step.js +23 -4
- package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/business-core-info-form-step.js +19 -1
- package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/business-owners-form-step.js +44 -4
- package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/business-representative-form-step.js +24 -8
- package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/legal-address-form/legal-address-form-step.js +24 -4
- package/dist/collection/components/business-forms/{business-form-stepped/business-form-stepped.js → payment-provisioning/payment-provisioning.js} +36 -18
- package/dist/collection/components/business-forms/payment-provisioning/test/payment-provisioning.spec.js +61 -0
- package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +15 -6
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +49 -13
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +24 -12
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +29 -34
- package/dist/collection/components/business-forms/utils/business-form-types.js +7 -0
- package/dist/collection/components/business-forms/utils/helpers.js +2 -0
- package/dist/collection/components/checkout/checkout-core.js +4 -4
- package/dist/collection/components/form/form-control-datepart.js +39 -34
- package/dist/collection/components/form/form-control-monetary.js +22 -20
- package/dist/collection/components/form/form-control-number.js +1 -0
- package/dist/collection/components/form/form-control-select.js +3 -1
- package/dist/collection/components/form/form-control-text.js +36 -1
- package/dist/collection/components/form/test/form-control-datepart.spec.js +88 -0
- package/dist/collection/components/form/test/form-control-monetary.spec.js +69 -0
- package/dist/collection/components/form/test/form-control-number.spec.js +77 -0
- package/dist/collection/components/form/test/form-control-select.spec.js +84 -0
- package/dist/collection/components/form/test/form-control-text.spec.js +104 -0
- package/dist/collection/components/form/test/form.spec.js +60 -0
- package/dist/collection/components/form/utils.js +6 -0
- package/dist/collection/components/gross-payment-chart/get-gross-payment-chart-data.js +17 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +30 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +35 -1
- package/dist/collection/components/gross-payment-chart/test/get-gross-payment-chart-data.spec.js +26 -8
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart-core.spec.js +51 -11
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +55 -3
- package/dist/collection/components/payment-details/get-payment-details.js +15 -3
- package/dist/collection/components/payment-details/payment-details-core.js +30 -1
- package/dist/collection/components/payment-details/payment-details.js +35 -1
- package/dist/collection/components/payment-details/test/get-payment-details.spec.js +11 -3
- package/dist/collection/components/payment-details/test/payment-details-core.spec.js +55 -12
- package/dist/collection/components/payment-details/test/payment-details.spec.js +69 -3
- package/dist/collection/components/payment-form/payment-form.js +54 -3
- package/dist/collection/components/payment-form/test/payment-form.spec.js +60 -1
- package/dist/collection/components/payments-list/get-payments.js +15 -4
- package/dist/collection/components/payments-list/payments-list-core.js +28 -2
- package/dist/collection/components/payments-list/payments-list.js +35 -1
- package/dist/collection/components/payments-list/test/get-payments.spec.js +11 -3
- package/dist/collection/components/payments-list/test/payments-list-core.spec.js +43 -28
- package/dist/collection/components/payments-list/test/payments-list.spec.js +31 -3
- package/dist/collection/components/payout-details/get-payout-details.js +17 -6
- package/dist/collection/components/payout-details/payout-details-core.js +31 -3
- package/dist/collection/components/payout-details/payout-details.js +35 -1
- package/dist/collection/components/payout-details/test/get-payout-details.spec.js +15 -5
- package/dist/collection/components/payout-details/test/payout-details-core.spec.js +54 -16
- package/dist/collection/components/payout-details/test/payout-details.spec.js +50 -1
- package/dist/collection/components/payouts-list/get-payouts.js +17 -5
- package/dist/collection/components/payouts-list/payouts-list-core.js +28 -2
- package/dist/collection/components/payouts-list/payouts-list.js +34 -1
- package/dist/collection/components/payouts-list/test/get-payouts.spec.js +11 -3
- package/dist/collection/components/payouts-list/test/payouts-list-core.spec.js +42 -29
- package/dist/collection/components/payouts-list/test/payouts-list.spec.js +33 -0
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +1018 -618
- package/dist/esm/{Business-1df362e0.js → Business-91caaccb.js} +56 -3
- package/dist/esm/{SubAccount-f4ae9809.js → SubAccount-61ac70eb.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -1
- package/dist/esm/business-additional-questions-schema-b642a2b7.js +44 -0
- package/dist/esm/business-details-core.entry.js +8 -3
- package/dist/esm/{business-form-types-de9f38cd.js → business-form-types-0d76133c.js} +8 -1
- package/dist/esm/{form-control-datepart_3.entry.js → form-control-datepart_4.entry.js} +97 -47
- package/dist/esm/form-control-monetary.entry.js +19 -17
- package/dist/esm/{form-control-number_3.entry.js → form-control-select_2.entry.js} +8 -45
- package/dist/esm/gross-payment-chart-core.entry.js +10 -3
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +28 -23
- package/dist/esm/justifi-additional-questions_4.entry.js +7 -7
- package/dist/esm/justifi-billing-form_4.entry.js +3 -3
- package/dist/esm/justifi-business-details.entry.js +24 -5
- package/dist/esm/justifi-business-form.entry.js +62 -51
- package/dist/esm/justifi-business-list.entry.js +3 -2
- package/dist/esm/justifi-checkout-core.entry.js +5 -4
- package/dist/esm/justifi-checkout.entry.js +1 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js +28 -4
- package/dist/esm/justifi-owner-form.entry.js +21 -11
- package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -1
- package/dist/esm/justifi-payment-details.entry.js +26 -5
- package/dist/esm/justifi-payment-form.entry.js +18 -4
- package/dist/esm/{justifi-business-form-stepped.entry.js → justifi-payment-provisioning.entry.js} +20 -20
- package/dist/esm/justifi-payments-list.entry.js +26 -6
- package/dist/esm/justifi-payout-details.entry.js +28 -8
- package/dist/esm/justifi-payouts-list.entry.js +27 -7
- package/dist/esm/justifi-proceeds-list.entry.js +2 -1
- package/dist/esm/justifi-subaccount-details.entry.js +3 -2
- package/dist/esm/justifi-subaccounts-list.entry.js +3 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/payload-parsers-920f49dd.js +123 -0
- package/dist/esm/payment-details-core.entry.js +10 -3
- package/dist/esm/payments-list-core.entry.js +10 -3
- package/dist/esm/payout-details-core.entry.js +11 -5
- package/dist/esm/payouts-list-core.entry.js +10 -3
- package/dist/esm/subaccount-account-details_4.entry.js +2 -1
- package/dist/esm/utils-4609f32c.js +38 -0
- package/dist/esm/{utils-2828201a.js → utils-684d2e47.js} +7 -1
- package/dist/esm/{utils-243abdb4.js → utils-d9e90399.js} +7 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +56 -3
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +7 -4
- package/dist/module/business-additional-questions-schema.js +16 -7
- package/dist/module/business-address-schema.js +50 -14
- package/dist/module/business-core-info-form-step.js +3 -1
- package/dist/module/business-core-info-schema.js +24 -12
- package/dist/module/business-details-core2.js +8 -3
- package/dist/module/business-form-types.js +8 -1
- package/dist/module/business-identity-schema.js +30 -35
- package/dist/module/business-owners-form-step.js +13 -8
- package/dist/module/business-representative-form-step.js +11 -11
- package/dist/module/business-representative.js +4 -7
- package/dist/module/checkout-core.js +4 -4
- package/dist/module/form-control-datepart2.js +37 -33
- package/dist/module/form-control-monetary2.js +20 -18
- package/dist/module/form-control-number2.js +1 -0
- package/dist/module/form-control-select2.js +3 -1
- package/dist/module/form-control-text2.js +6 -1
- package/dist/module/gross-payment-chart-core2.js +8 -2
- package/dist/module/helpers.js +4 -0
- package/dist/module/{business-address-form.js → identity-address-form.js} +17 -20
- package/dist/module/justifi-business-details.js +21 -4
- package/dist/module/justifi-business-form.js +65 -56
- package/dist/module/justifi-gross-payment-chart.js +28 -4
- package/dist/module/justifi-identity-address-form.d.ts +11 -0
- package/dist/module/justifi-identity-address-form.js +6 -0
- package/dist/module/justifi-payment-balance-transactions.js +1 -1
- package/dist/module/justifi-payment-details.js +26 -5
- package/dist/module/justifi-payment-form.js +18 -4
- package/dist/module/justifi-payment-provisioning.d.ts +11 -0
- package/dist/module/{justifi-business-form-stepped.js → justifi-payment-provisioning.js} +32 -31
- package/dist/module/justifi-payments-list.js +26 -6
- package/dist/module/justifi-payout-details.js +28 -8
- package/dist/module/justifi-payouts-list.js +27 -7
- package/dist/module/justifi-subaccount-details.js +1 -1
- package/dist/module/justifi-subaccounts-list.js +1 -1
- package/dist/module/legal-address-form-step.js +10 -12
- package/dist/module/legal-address-form.js +5 -9
- package/dist/module/owner-form.js +23 -35
- package/dist/module/payment-details-core2.js +9 -3
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payments-list-core2.js +9 -3
- package/dist/module/payout-details-core2.js +10 -5
- package/dist/module/payouts-list-core2.js +9 -3
- package/dist/module/subaccount-merchant-details2.js +1 -1
- package/dist/module/utils2.js +7 -1
- package/dist/module/utils3.js +31 -1
- package/dist/module/utils4.js +7 -1
- package/dist/types/api/Business.d.ts +10 -3
- package/dist/types/api/ComponentError.d.ts +18 -0
- package/dist/types/api/services/utils.d.ts +2 -0
- package/dist/types/api/shared.d.ts +9 -0
- package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +2 -2
- package/dist/types/components/business-details/business-details-core.d.ts +3 -0
- package/dist/types/components/business-details/business-details.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +4 -2
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +10 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +5 -1
- package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/additional-questions/business-additional-questions-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/business-core-info-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/business-owners-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/business-representative-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/{business-form-stepped → payment-provisioning}/legal-address-form/legal-address-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/{business-form-stepped/business-form-stepped.d.ts → payment-provisioning/payment-provisioning.d.ts} +4 -3
- package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +1 -12
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +7 -3
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +5 -31
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +10 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +2 -0
- package/dist/types/components/form/form-control-datepart.d.ts +2 -1
- package/dist/types/components/form/form-control-monetary.d.ts +2 -1
- package/dist/types/components/form/form-control-text.d.ts +2 -0
- package/dist/types/components/form/utils.d.ts +1 -0
- package/dist/types/components/gross-payment-chart/get-gross-payment-chart-data.d.ts +5 -8
- package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +3 -0
- package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +4 -0
- package/dist/types/components/payment-details/payment-details-core.d.ts +3 -0
- package/dist/types/components/payment-details/payment-details.d.ts +4 -0
- package/dist/types/components/payment-form/payment-form.d.ts +4 -1
- package/dist/types/components/payments-list/payments-list-core.d.ts +2 -0
- package/dist/types/components/payments-list/payments-list.d.ts +4 -0
- package/dist/types/components/payout-details/payout-details-core.d.ts +3 -0
- package/dist/types/components/payout-details/payout-details.d.ts +4 -0
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +2 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +4 -0
- package/dist/types/components.d.ts +278 -104
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-091f9732.entry.js +1 -0
- package/dist/webcomponents/p-0b76c770.entry.js +1 -0
- package/dist/webcomponents/p-0d81883d.entry.js +1 -0
- package/dist/webcomponents/p-102b593a.entry.js +1 -0
- package/dist/webcomponents/p-221b9504.entry.js +1 -0
- package/dist/webcomponents/p-28cd23c8.entry.js +1 -0
- package/dist/webcomponents/p-2b8368d2.js +1 -0
- package/dist/webcomponents/p-2df32b4a.entry.js +1 -0
- package/dist/webcomponents/p-3d4aaa4a.entry.js +1 -0
- package/dist/webcomponents/p-436d27b9.entry.js +1 -0
- package/dist/webcomponents/p-448063ba.entry.js +1 -0
- package/dist/webcomponents/p-5341321d.entry.js +1 -0
- package/dist/webcomponents/{p-0399f02b.entry.js → p-5b262705.entry.js} +1 -1
- package/dist/webcomponents/p-5e503d7d.entry.js +1 -0
- package/dist/webcomponents/p-6047b960.entry.js +1 -0
- package/dist/webcomponents/p-60b2344a.js +1 -0
- package/dist/webcomponents/p-6d39b8bc.entry.js +1 -0
- package/dist/webcomponents/p-6f294d5d.js +1 -0
- package/dist/webcomponents/p-7294eb89.entry.js +1 -0
- package/dist/webcomponents/p-746bfba6.entry.js +1 -0
- package/dist/webcomponents/p-7c6a355f.entry.js +1 -0
- package/dist/webcomponents/p-817211f2.entry.js +1 -0
- package/dist/webcomponents/{p-65510838.js → p-8482c23f.js} +1 -1
- package/dist/webcomponents/p-935d6f55.js +1 -0
- package/dist/webcomponents/{p-e924f2e1.entry.js → p-959250e3.entry.js} +1 -1
- package/dist/webcomponents/p-a130a884.entry.js +1 -0
- package/dist/webcomponents/p-a4122c35.entry.js +1 -0
- package/dist/webcomponents/p-ac670a3e.js +1 -0
- package/dist/webcomponents/p-ae21ed6f.entry.js +19 -0
- package/dist/webcomponents/p-c071d8c1.entry.js +1 -0
- package/dist/webcomponents/p-c340b60f.js +1 -0
- package/dist/webcomponents/p-d5aab6b5.entry.js +1 -0
- package/dist/webcomponents/p-d5c80489.entry.js +1 -0
- package/dist/webcomponents/p-d776fe10.entry.js +1 -0
- package/dist/webcomponents/p-d8679fad.entry.js +1 -0
- package/dist/webcomponents/p-e84b3616.entry.js +1 -0
- package/dist/webcomponents/p-ea03b424.entry.js +1 -0
- package/dist/webcomponents/p-ea2cca2a.js +1 -0
- package/dist/webcomponents/p-ec230480.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Identity-b6364aee.js +0 -27
- package/dist/cjs/business-additional-questions-schema-cbac27f2.js +0 -26
- package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +0 -35
- package/dist/cjs/payload-parsers-25ed3936.js +0 -98
- package/dist/cjs/utils-f5d82f21.js +0 -10
- package/dist/collection/api/mockData/MockOnboardingData.js +0 -117
- package/dist/collection/api/mockData/MockPayments.js +0 -243
- package/dist/collection/api/mockData/MockSubAccount.js +0 -102
- package/dist/collection/api/mockData/mockGrossVolumeReport.js +0 -125
- package/dist/collection/components/business-forms/business-form/business-address/business-address-form.css +0 -2536
- package/dist/collection/components/business-forms/business-form/business-address/business-address-form.js +0 -97
- package/dist/collection/components/business-forms/business-form/business-address/test/business-address.e2e.js +0 -9
- package/dist/collection/components/business-forms/business-form-stepped/business-address/test/business-address-form-step.spec.js +0 -97
- package/dist/collection/components/business-forms/business-form-stepped/test/business-form-stepped.spec.js +0 -61
- package/dist/collection/components/business-forms/schemas/business-owners-schema.js +0 -16
- package/dist/collection/components/card-form/test/card-form.e2e.js +0 -13
- package/dist/esm/Identity-774788c0.js +0 -25
- package/dist/esm/business-additional-questions-schema-2cb80f70.js +0 -23
- package/dist/esm/justifi-business-address-form-step.entry.js +0 -31
- package/dist/esm/payload-parsers-1dd7474f.js +0 -90
- package/dist/esm/utils-546ca6aa.js +0 -8
- package/dist/module/justifi-business-address-form-step.d.ts +0 -11
- package/dist/module/justifi-business-address-form-step.js +0 -75
- package/dist/module/justifi-business-address-form.d.ts +0 -11
- package/dist/module/justifi-business-address-form.js +0 -6
- package/dist/module/justifi-business-form-stepped.d.ts +0 -11
- package/dist/types/api/mockData/MockOnboardingData.d.ts +0 -8
- package/dist/types/api/mockData/MockPayments.d.ts +0 -3
- package/dist/types/api/mockData/MockSubAccount.d.ts +0 -3
- package/dist/types/components/business-forms/business-form/business-address/business-address-form.d.ts +0 -9
- package/dist/types/components/business-forms/business-form-stepped/business-address/business-address-form-step.d.ts +0 -9
- package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +0 -33
- package/dist/webcomponents/p-04a98c63.js +0 -1
- package/dist/webcomponents/p-06888c2e.entry.js +0 -1
- package/dist/webcomponents/p-0811bc77.entry.js +0 -1
- package/dist/webcomponents/p-17d72f4a.js +0 -1
- package/dist/webcomponents/p-17f64853.entry.js +0 -1
- package/dist/webcomponents/p-22085999.entry.js +0 -1
- package/dist/webcomponents/p-252835df.entry.js +0 -1
- package/dist/webcomponents/p-28b38699.js +0 -1
- package/dist/webcomponents/p-374c44e6.entry.js +0 -1
- package/dist/webcomponents/p-4697ccfa.entry.js +0 -1
- package/dist/webcomponents/p-4781cd06.js +0 -1
- package/dist/webcomponents/p-4d806131.entry.js +0 -1
- package/dist/webcomponents/p-4e0b3206.entry.js +0 -1
- package/dist/webcomponents/p-583dd5a2.entry.js +0 -1
- package/dist/webcomponents/p-5be4e217.entry.js +0 -1
- package/dist/webcomponents/p-5da4fbe7.entry.js +0 -1
- package/dist/webcomponents/p-6103c20d.entry.js +0 -1
- package/dist/webcomponents/p-6ed680e9.js +0 -1
- package/dist/webcomponents/p-7654c70d.entry.js +0 -1
- package/dist/webcomponents/p-847441ce.entry.js +0 -1
- package/dist/webcomponents/p-861ba3fc.entry.js +0 -1
- package/dist/webcomponents/p-9207ccb2.entry.js +0 -1
- package/dist/webcomponents/p-9ce8d98c.entry.js +0 -1
- package/dist/webcomponents/p-9e4b81ad.entry.js +0 -1
- package/dist/webcomponents/p-a141c531.js +0 -1
- package/dist/webcomponents/p-a2dbe90f.entry.js +0 -1
- package/dist/webcomponents/p-a98eea84.entry.js +0 -1
- package/dist/webcomponents/p-b1bc23af.entry.js +0 -1
- package/dist/webcomponents/p-b27c9b0d.entry.js +0 -1
- package/dist/webcomponents/p-b8f22856.js +0 -1
- package/dist/webcomponents/p-c8d62072.entry.js +0 -1
- package/dist/webcomponents/p-e3748ea4.entry.js +0 -1
- package/dist/webcomponents/p-eef5ed19.entry.js +0 -1
- package/dist/webcomponents/p-efc7025c.entry.js +0 -1
- package/dist/webcomponents/p-f3453ca2.js +0 -1
- package/dist/webcomponents/p-f3ca6fda.entry.js +0 -1
- package/dist/webcomponents/p-fe2af0cf.entry.js +0 -19
- package/dist/webcomponents/p-fe8a94c1.entry.js +0 -1
- /package/dist/cjs/{state-options-96d05a98.js → state-options-4fbcb48a.js} +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped/business-address/business-address-form-step.css → owner-form/identity-address/identity-address-form.css} +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/additional-questions/test/business-additional-questions-form-step.spec.js +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/business-core-info-form-step.css +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-core-info/test/business-core-info-form-step.spec.js +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/business-owners-form-step.css +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-owners/test/business-owners-form-step.spec.js +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/business-representative-form-step.css +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/business-representative/test/business-representative-form-step.spec.js +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped → payment-provisioning}/legal-address-form/legal-address-form-step.css +0 -0
- /package/dist/collection/components/business-forms/{business-form-stepped/business-form-stepped.css → payment-provisioning/payment-provisioning.css} +0 -0
- /package/dist/collection/{components/billing-form → utils}/state-options.js +0 -0
- /package/dist/esm/{state-options-fc1daf67.js → state-options-a356fb11.js} +0 -0
- /package/dist/types/{api → home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil}/mockData/mockGrossVolumeReport.d.ts +0 -0
- /package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/{config.d.ts → packages/webcomponents/config.d.ts} +0 -0
- /package/dist/types/{components/billing-form → utils}/state-options.d.ts +0 -0
- /package/dist/webcomponents/{p-8e2a88a8.js → p-6078a370.js} +0 -0
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import { CaptureStrategy, Card, Payment, PaymentMethod, PaymentStatuses } from "../Payment";
|
|
2
|
-
const mockPayments = [
|
|
3
|
-
// payment 0: succeeded
|
|
4
|
-
new Payment({
|
|
5
|
-
account_id: 'acc_5wEk41rFZVPsqK5xQ7K0eG',
|
|
6
|
-
amount: 363393,
|
|
7
|
-
amount_disputed: 0,
|
|
8
|
-
amount_refundable: 363393,
|
|
9
|
-
amount_refunded: 0,
|
|
10
|
-
balance: 363368,
|
|
11
|
-
capture_strategy: CaptureStrategy.automatic,
|
|
12
|
-
captured: true,
|
|
13
|
-
created_at: '2022-01-10T15:29:58.940Z',
|
|
14
|
-
currency: 'usd',
|
|
15
|
-
description: 'Successful Payment',
|
|
16
|
-
disputed: false,
|
|
17
|
-
disputes: [],
|
|
18
|
-
error_code: null,
|
|
19
|
-
error_description: null,
|
|
20
|
-
fee_amount: 25,
|
|
21
|
-
id: 'py_6vbEiTROeuEoA1Hs1s2exQ',
|
|
22
|
-
is_test: false,
|
|
23
|
-
metadata: {
|
|
24
|
-
city: 'Vienna',
|
|
25
|
-
state: 'Nevada',
|
|
26
|
-
customer_id: 234,
|
|
27
|
-
customer_first_name: 'Elvis',
|
|
28
|
-
customer_last_name: 'Presley',
|
|
29
|
-
source: 'app',
|
|
30
|
-
items: [
|
|
31
|
-
{
|
|
32
|
-
name: 'Pullover',
|
|
33
|
-
amount: 4500,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
name: 'Jeans',
|
|
37
|
-
amount: 5567,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
payment_intent_id: null,
|
|
42
|
-
payment_method: new PaymentMethod({
|
|
43
|
-
card: new Card({
|
|
44
|
-
acct_last_four: '6449',
|
|
45
|
-
brand: 'mastercard',
|
|
46
|
-
created_at: '2022-01-13T14:19:11.803Z',
|
|
47
|
-
id: 'pm_7f66GJQoSofG3s9nOHPgaq',
|
|
48
|
-
name: 'Nick Name',
|
|
49
|
-
token: 'fake-token',
|
|
50
|
-
updated_at: '2022-01-13T14:19:11.803Z',
|
|
51
|
-
}),
|
|
52
|
-
}),
|
|
53
|
-
refunded: false,
|
|
54
|
-
status: PaymentStatuses.succeeded,
|
|
55
|
-
updated_at: '2022-01-10T15:29:58.940Z',
|
|
56
|
-
financial_transaction_id: null,
|
|
57
|
-
returned: null,
|
|
58
|
-
application_fee: null,
|
|
59
|
-
refunds: [],
|
|
60
|
-
transaction_hold: null,
|
|
61
|
-
}),
|
|
62
|
-
// payment 1: fully refunded
|
|
63
|
-
new Payment({
|
|
64
|
-
account_id: 'acc_5wEk41rFZVPsqK5xQ7K0eG',
|
|
65
|
-
amount: 3393,
|
|
66
|
-
amount_disputed: 0,
|
|
67
|
-
amount_refundable: 0,
|
|
68
|
-
amount_refunded: 3393,
|
|
69
|
-
balance: 0,
|
|
70
|
-
capture_strategy: CaptureStrategy.automatic,
|
|
71
|
-
captured: true,
|
|
72
|
-
created_at: '2021-01-10T15:29:58.940Z',
|
|
73
|
-
currency: 'usd',
|
|
74
|
-
description: 'Fully Refunded Payment',
|
|
75
|
-
disputed: false,
|
|
76
|
-
disputes: [],
|
|
77
|
-
error_code: null,
|
|
78
|
-
error_description: null,
|
|
79
|
-
fee_amount: 25,
|
|
80
|
-
id: 'py_22cEiTROeuEoA1Hs1s24ls3',
|
|
81
|
-
is_test: false,
|
|
82
|
-
metadata: null,
|
|
83
|
-
payment_intent_id: null,
|
|
84
|
-
payment_method: new PaymentMethod({
|
|
85
|
-
card: new Card({
|
|
86
|
-
acct_last_four: '1213',
|
|
87
|
-
brand: 'visa',
|
|
88
|
-
created_at: '2021-01-13T14:19:11.803Z',
|
|
89
|
-
id: 'pm_7f66GJQoSofG3s9nOHPgaq',
|
|
90
|
-
name: 'Good Customer',
|
|
91
|
-
token: 'fake-token',
|
|
92
|
-
updated_at: '2021-01-13T14:19:11.803Z',
|
|
93
|
-
}),
|
|
94
|
-
}),
|
|
95
|
-
refunded: true,
|
|
96
|
-
status: PaymentStatuses.fully_refunded,
|
|
97
|
-
updated_at: '2021-01-10T15:29:58.940Z',
|
|
98
|
-
financial_transaction_id: null,
|
|
99
|
-
returned: null,
|
|
100
|
-
application_fee: null,
|
|
101
|
-
refunds: [],
|
|
102
|
-
transaction_hold: null,
|
|
103
|
-
}),
|
|
104
|
-
// payment 2: partially refunded
|
|
105
|
-
new Payment({
|
|
106
|
-
account_id: 'acc_5wEk41rFZVPsqK5xQ7K0eG',
|
|
107
|
-
amount: 3393,
|
|
108
|
-
amount_disputed: 0,
|
|
109
|
-
amount_refundable: 3300,
|
|
110
|
-
amount_refunded: 193,
|
|
111
|
-
balance: 3275,
|
|
112
|
-
capture_strategy: CaptureStrategy.automatic,
|
|
113
|
-
captured: true,
|
|
114
|
-
created_at: '2021-11-10T15:29:58.940Z',
|
|
115
|
-
currency: 'usd',
|
|
116
|
-
description: 'Partially Refunded Payment',
|
|
117
|
-
disputed: false,
|
|
118
|
-
disputes: [],
|
|
119
|
-
error_code: null,
|
|
120
|
-
error_description: null,
|
|
121
|
-
fee_amount: 25,
|
|
122
|
-
id: 'py_8reEiTROeuEoA1Hs1s24zue',
|
|
123
|
-
is_test: false,
|
|
124
|
-
metadata: null,
|
|
125
|
-
payment_intent_id: null,
|
|
126
|
-
payment_method: new PaymentMethod({
|
|
127
|
-
card: new Card({
|
|
128
|
-
acct_last_four: '9780',
|
|
129
|
-
brand: 'american_express',
|
|
130
|
-
created_at: '2021-11-13T14:19:11.803Z',
|
|
131
|
-
id: 'pm_7f66GJQoSofG3s9nOHPgaq',
|
|
132
|
-
name: 'Sal Gleason',
|
|
133
|
-
token: 'fake-token',
|
|
134
|
-
updated_at: '2021-11-13T14:19:11.803Z',
|
|
135
|
-
}),
|
|
136
|
-
}),
|
|
137
|
-
refunded: true,
|
|
138
|
-
status: PaymentStatuses.partially_refunded,
|
|
139
|
-
updated_at: '2022-01-10T15:29:58.940Z',
|
|
140
|
-
financial_transaction_id: null,
|
|
141
|
-
returned: null,
|
|
142
|
-
application_fee: null,
|
|
143
|
-
refunds: [],
|
|
144
|
-
transaction_hold: null,
|
|
145
|
-
}),
|
|
146
|
-
// payment 3: disputed
|
|
147
|
-
new Payment({
|
|
148
|
-
account_id: 'acc_5wEk41rFZVPsqK5xQ7K0eG',
|
|
149
|
-
amount: 403393,
|
|
150
|
-
amount_disputed: 403393,
|
|
151
|
-
amount_refundable: 0,
|
|
152
|
-
amount_refunded: 0,
|
|
153
|
-
balance: 0,
|
|
154
|
-
capture_strategy: CaptureStrategy.automatic,
|
|
155
|
-
captured: true,
|
|
156
|
-
created_at: '2021-09-10T15:29:58.940Z',
|
|
157
|
-
currency: 'usd',
|
|
158
|
-
description: 'Rustic Marble Pants',
|
|
159
|
-
disputed: true,
|
|
160
|
-
disputes: [
|
|
161
|
-
{
|
|
162
|
-
amount_cents: 10000,
|
|
163
|
-
created_at: '2021-09-10T16:34:47.940Z',
|
|
164
|
-
currency: 'usd',
|
|
165
|
-
gateway_ref_id: 'dp_4f67775b-d6e0-4c4a-afb0-6ecf2d0df1a8',
|
|
166
|
-
id: 'ed5dfa9d-b29d-4658-b76d-fff0c592171f',
|
|
167
|
-
payment_id: '41ebfb2a-f8c8-4cee-9eca-cb7d86e863bc',
|
|
168
|
-
reason: null,
|
|
169
|
-
status: 'needs_response',
|
|
170
|
-
updated_at: '2021-09-10T16:34:47.940Z',
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
error_code: null,
|
|
174
|
-
error_description: null,
|
|
175
|
-
fee_amount: 35,
|
|
176
|
-
id: 'py_123EiTROeuEoA1Hs1s24r4w',
|
|
177
|
-
is_test: false,
|
|
178
|
-
metadata: null,
|
|
179
|
-
payment_intent_id: null,
|
|
180
|
-
payment_method: new PaymentMethod({
|
|
181
|
-
card: new Card({
|
|
182
|
-
acct_last_four: '1554',
|
|
183
|
-
brand: 'discover',
|
|
184
|
-
created_at: '2021-09-13T14:19:11.803Z',
|
|
185
|
-
id: 'pm_7f66GJQoSofG3s9nOHPgaq',
|
|
186
|
-
name: 'Sal Gleason',
|
|
187
|
-
token: 'fake-token',
|
|
188
|
-
updated_at: '2021-09-13T14:19:11.803Z',
|
|
189
|
-
}),
|
|
190
|
-
}),
|
|
191
|
-
refunded: false,
|
|
192
|
-
status: PaymentStatuses.disputed,
|
|
193
|
-
updated_at: '2021-09-10T15:29:58.940Z',
|
|
194
|
-
financial_transaction_id: null,
|
|
195
|
-
returned: null,
|
|
196
|
-
application_fee: null,
|
|
197
|
-
refunds: [],
|
|
198
|
-
transaction_hold: null,
|
|
199
|
-
}),
|
|
200
|
-
// payment 4: failed
|
|
201
|
-
new Payment({
|
|
202
|
-
account_id: 'acc_5wEk41rFZVPsqK5xQ7K0eG',
|
|
203
|
-
amount: 24170,
|
|
204
|
-
amount_disputed: 0,
|
|
205
|
-
amount_refundable: 0,
|
|
206
|
-
amount_refunded: 0,
|
|
207
|
-
balance: 0,
|
|
208
|
-
capture_strategy: CaptureStrategy.automatic,
|
|
209
|
-
captured: false,
|
|
210
|
-
created_at: '2022-01-18T12:54:44.822Z',
|
|
211
|
-
currency: 'usd',
|
|
212
|
-
description: 'Failed Payment',
|
|
213
|
-
disputed: false,
|
|
214
|
-
disputes: [],
|
|
215
|
-
error_code: 'card_declined',
|
|
216
|
-
error_description: 'Your card has insufficient funds.',
|
|
217
|
-
fee_amount: 25,
|
|
218
|
-
id: 'py_6eZAJjYBFZU6LLNzxUDgx9',
|
|
219
|
-
is_test: true,
|
|
220
|
-
metadata: null,
|
|
221
|
-
payment_intent_id: null,
|
|
222
|
-
payment_method: new PaymentMethod({
|
|
223
|
-
card: new Card({
|
|
224
|
-
acct_last_four: '8774',
|
|
225
|
-
brand: 'diners_club',
|
|
226
|
-
created_at: '2022-01-18T15:07:15.975Z',
|
|
227
|
-
id: 'pm_5uyevnE6o1yl55nRgPWXXL',
|
|
228
|
-
name: 'Minnie Bernhard',
|
|
229
|
-
token: 'fake-token',
|
|
230
|
-
updated_at: '2022-01-18T15:07:15.975Z',
|
|
231
|
-
}),
|
|
232
|
-
}),
|
|
233
|
-
refunded: false,
|
|
234
|
-
status: PaymentStatuses.failed,
|
|
235
|
-
updated_at: '2022-01-18T12:54:44.822Z',
|
|
236
|
-
financial_transaction_id: null,
|
|
237
|
-
returned: null,
|
|
238
|
-
application_fee: null,
|
|
239
|
-
refunds: [],
|
|
240
|
-
transaction_hold: null,
|
|
241
|
-
}),
|
|
242
|
-
];
|
|
243
|
-
export default mockPayments;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { AccountType, SubAccount, SubAccountStatusType } from "../SubAccount";
|
|
2
|
-
const mockApplicationFeeRates = [
|
|
3
|
-
{
|
|
4
|
-
id: 'afr_4UEFuq5nmOiYzalV6RgOWR',
|
|
5
|
-
transaction_fee: 125,
|
|
6
|
-
currency: 'usd',
|
|
7
|
-
basis_point_rate: 450,
|
|
8
|
-
rate_type: 'cc',
|
|
9
|
-
created_at: '2022-08-04T20:39:48.422Z',
|
|
10
|
-
updated_at: '2022-08-04T20:39:48.422Z'
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
id: 'afr_4UEFuq5nmOiYzalV6RgOWR',
|
|
14
|
-
transaction_fee: 65,
|
|
15
|
-
currency: 'usd',
|
|
16
|
-
basis_point_rate: 0,
|
|
17
|
-
rate_type: 'ach',
|
|
18
|
-
created_at: '2022-08-04T20:39:48.422Z',
|
|
19
|
-
updated_at: '2022-08-04T20:39:48.422Z'
|
|
20
|
-
}
|
|
21
|
-
];
|
|
22
|
-
const mockSubAccounts = [
|
|
23
|
-
new SubAccount({
|
|
24
|
-
account_type: AccountType.test,
|
|
25
|
-
application_fee_rates: mockApplicationFeeRates,
|
|
26
|
-
created_at: '2022-08-04T20:39:48.422Z',
|
|
27
|
-
currency: 'usd',
|
|
28
|
-
id: 'acc_597EUDlyPqYRaEQiwVuMaB',
|
|
29
|
-
name: 'SubAccount for Automation Partner Platform',
|
|
30
|
-
payout_ready: true,
|
|
31
|
-
platform_account_id: 'acc_4RpG4m5z1gOjti3VecMqfe',
|
|
32
|
-
processing_ready: false,
|
|
33
|
-
status: SubAccountStatusType.enabled,
|
|
34
|
-
updated_at: '2022-08-04T20:39:48.422Z'
|
|
35
|
-
}),
|
|
36
|
-
new SubAccount({
|
|
37
|
-
account_type: AccountType.test,
|
|
38
|
-
application_fee_rates: mockApplicationFeeRates,
|
|
39
|
-
created_at: '2022-07-04T20:39:21.422Z',
|
|
40
|
-
currency: 'usd',
|
|
41
|
-
id: 'acc_597EUDlyPqYRaEQiwVullC',
|
|
42
|
-
name: 'An Awesome SubAccount',
|
|
43
|
-
payout_ready: false,
|
|
44
|
-
platform_account_id: 'acc_4RpG4m5z1gOjti3VecMqfe',
|
|
45
|
-
processing_ready: true,
|
|
46
|
-
status: SubAccountStatusType.disabled,
|
|
47
|
-
updated_at: '2022-07-04T20:39:21.422Z'
|
|
48
|
-
}),
|
|
49
|
-
new SubAccount({
|
|
50
|
-
account_type: AccountType.test,
|
|
51
|
-
application_fee_rates: mockApplicationFeeRates,
|
|
52
|
-
created_at: '2022-07-04T20:39:21.422Z',
|
|
53
|
-
currency: 'usd',
|
|
54
|
-
id: 'acc_597EUDlyPqYRaEQiwFfffpp',
|
|
55
|
-
name: 'Better SubAccount',
|
|
56
|
-
payout_ready: false,
|
|
57
|
-
platform_account_id: 'acc_4RpG4m5z1gOjti3VecMqfe',
|
|
58
|
-
processing_ready: true,
|
|
59
|
-
status: SubAccountStatusType.submitted,
|
|
60
|
-
updated_at: '2022-06-04T20:39:21.422Z'
|
|
61
|
-
}),
|
|
62
|
-
new SubAccount({
|
|
63
|
-
account_type: AccountType.test,
|
|
64
|
-
application_fee_rates: mockApplicationFeeRates,
|
|
65
|
-
created_at: '2022-07-04T20:39:21.422Z',
|
|
66
|
-
currency: 'usd',
|
|
67
|
-
id: 'acc_597EUDlyPqYRaEQiwYucci',
|
|
68
|
-
name: 'Other seller',
|
|
69
|
-
payout_ready: false,
|
|
70
|
-
platform_account_id: 'acc_4RpG4m5z1gOjti3VecMqfe',
|
|
71
|
-
processing_ready: true,
|
|
72
|
-
status: SubAccountStatusType.rejected,
|
|
73
|
-
updated_at: '2022-05-04T20:39:21.422Z'
|
|
74
|
-
}),
|
|
75
|
-
new SubAccount({
|
|
76
|
-
account_type: AccountType.test,
|
|
77
|
-
application_fee_rates: mockApplicationFeeRates,
|
|
78
|
-
created_at: '2022-07-04T20:39:21.422Z',
|
|
79
|
-
currency: 'usd',
|
|
80
|
-
id: 'acc_597EUDlyPqYRaEQiwVullD',
|
|
81
|
-
name: 'Zebra SubAccount',
|
|
82
|
-
payout_ready: false,
|
|
83
|
-
platform_account_id: 'acc_4RpG4m5z1gOjti3VecMqfe',
|
|
84
|
-
processing_ready: true,
|
|
85
|
-
status: SubAccountStatusType.information_needed,
|
|
86
|
-
updated_at: '2022-04-04T20:39:21.422Z'
|
|
87
|
-
}),
|
|
88
|
-
new SubAccount({
|
|
89
|
-
account_type: AccountType.test,
|
|
90
|
-
application_fee_rates: mockApplicationFeeRates,
|
|
91
|
-
created_at: '2022-07-04T20:39:21.422Z',
|
|
92
|
-
currency: 'usd',
|
|
93
|
-
id: 'acc_597EUDlyPqYRaEQiwVullE',
|
|
94
|
-
name: 'Cellar SubAccount',
|
|
95
|
-
payout_ready: false,
|
|
96
|
-
platform_account_id: 'acc_4RpG4m5z1gOjti3VecMqfe',
|
|
97
|
-
processing_ready: true,
|
|
98
|
-
status: SubAccountStatusType.created,
|
|
99
|
-
updated_at: '2022-03-04T20:39:21.422Z'
|
|
100
|
-
})
|
|
101
|
-
];
|
|
102
|
-
export default mockSubAccounts;
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
export const mockGrossVolumeReport = {
|
|
2
|
-
total: 238534158,
|
|
3
|
-
dates: [
|
|
4
|
-
{
|
|
5
|
-
date: "2023-12-13",
|
|
6
|
-
value: 14716057
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
date: "2023-12-12",
|
|
10
|
-
value: 5115042
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
date: "2023-12-11",
|
|
14
|
-
value: 5230555
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
date: "2023-12-10",
|
|
18
|
-
value: 3037618
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
date: "2023-12-09",
|
|
22
|
-
value: 3788553
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
date: "2023-12-08",
|
|
26
|
-
value: 8315442
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
date: "2023-12-07",
|
|
30
|
-
value: 13121572
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
date: "2023-12-06",
|
|
34
|
-
value: 13627049
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
date: "2023-12-05",
|
|
38
|
-
value: 8943872
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
date: "2023-12-04",
|
|
42
|
-
value: 16492904
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
date: "2023-12-03",
|
|
46
|
-
value: 3383167
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
date: "2023-12-02",
|
|
50
|
-
value: 3552343
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
date: "2023-12-01",
|
|
54
|
-
value: 5013040
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
date: "2023-11-30",
|
|
58
|
-
value: 15019397
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
date: "2023-11-29",
|
|
62
|
-
value: 11843948
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
date: "2023-11-28",
|
|
66
|
-
value: 5197866
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
date: "2023-11-27",
|
|
70
|
-
value: 8391006
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
date: "2023-11-26",
|
|
74
|
-
value: 3681388
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
date: "2023-11-25",
|
|
78
|
-
value: 3307336
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
date: "2023-11-24",
|
|
82
|
-
value: 11746683
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
date: "2023-11-23",
|
|
86
|
-
value: 6762045
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
date: "2023-11-22",
|
|
90
|
-
value: 4848777
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
date: "2023-11-21",
|
|
94
|
-
value: 6594568
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
date: "2023-11-20",
|
|
98
|
-
value: 16594458
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
date: "2023-11-19",
|
|
102
|
-
value: 3444383
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
date: "2023-11-18",
|
|
106
|
-
value: 3606620
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
date: "2023-11-17",
|
|
110
|
-
value: 4817040
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
date: "2023-11-16",
|
|
114
|
-
value: 14775453
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
date: "2023-11-15",
|
|
118
|
-
value: 6694476
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
date: "2023-11-14",
|
|
122
|
-
value: 6871500
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
};
|