@solvimon/solvimon-web 0.1.0-alpha.3 → 0.1.0-alpha.30
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/README.md +440 -52
- package/dist/Alert.vue.es-ZPG49yR_.mjs +158 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-SRR_04XS.mjs +50 -0
- package/dist/Avatar.vue.es-geDQsZwu.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +58 -0
- package/dist/Button.vue.es-j7iYlqtJ.mjs +368 -0
- package/dist/ChargeOnDemandModal-CR01PkP_.mjs +964 -0
- package/dist/Checkout.entry.ce-CopWuLJC.mjs +4169 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +828 -0
- package/dist/Chip.vue.es-Dxx_0dte.mjs +128 -0
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/ContextMenu.vue.es-BJO4U47Q.mjs +572 -0
- package/dist/CustomerBillingInformation.vue.es-CmNpqcBw.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +136 -0
- package/dist/CustomerShippingAddresses-BRPukhRI.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +2936 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/DividerText.vue.es-BusbyeAI.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs +55 -0
- package/dist/ErrorNotification.vue.es-F068p7PY.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/FormMessage.vue.es-CwMQpIAW.mjs +39 -0
- package/dist/IconButton.vue.es-D8DtBW9i.mjs +56 -0
- package/dist/IconTitle.vue.es-6VJtjJX2.mjs +103 -0
- package/dist/Input.vue.es-BLyHcmu4.mjs +250 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs +93 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs +56 -0
- package/dist/InvoicePreview.vue.es-Cpf66_xV.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-CDrAE901.mjs +124 -0
- package/dist/Label.vue.es-es7ZUBSP.mjs +113 -0
- package/dist/Modal.vue.es-eeR9FmvQ.mjs +393 -0
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs +48 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs +250 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs +51 -0
- package/dist/PaymentHistoryBlock-CN42ewCn.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs +93 -0
- package/dist/PaymentIntegrationForm-D3Ye7LZ5.mjs +4 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +181 -0
- package/dist/PaymentIntegrationFormAdyen-Fm-diCCO.mjs +926 -0
- package/dist/PaymentIntegrationFormStripe-BANBL6za.mjs +758 -0
- package/dist/PaymentMethod.vue.es-t3-VyoE8.mjs +643 -0
- package/dist/PaymentMethodForm-CqP3GoNj.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +161 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs +174 -0
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +791 -0
- package/dist/PortalLinkUnverified-Cp60_kRJ.mjs +52 -0
- package/dist/PortalNotAvailable-DzSQnfzw.mjs +25 -0
- package/dist/PricingGroupRangeInput.vue.es-Srq_3cga.mjs +578 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs +177 -0
- package/dist/RadioGroupExtended.vue.es-BbBMDf6l.mjs +176 -0
- package/dist/Section.vue.es-Oqn1wGPZ.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs +60 -0
- package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +418 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/StepInput.vue.es-ieh4EuJ7.mjs +213 -0
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +1044 -0
- package/dist/SubscriptionSchedules-DMxX3GpK.mjs +4 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +5200 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +203 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs +319 -0
- package/dist/TooltipParagraph.vue.es-BES3zsYN.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs +31 -0
- package/dist/TrialChip.vue.es-C51z1ZiA.mjs +35 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/addonQuantity-CCVaA3e-.mjs +758 -0
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyenSdk-B01MB9Ia.mjs +58 -0
- package/dist/amazon-pay.svg.es-BACIX6C7.mjs +4 -0
- package/dist/amex.svg.es-DjTEMRVg.mjs +4 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/api.es-qgvzNMU-.mjs +43 -0
- package/dist/apple-pay.svg.es-B3tkA54p.mjs +4 -0
- package/dist/bacs.svg.es-CZIjZIE8.mjs +4 -0
- package/dist/bancontact.svg.es-B26-JwdE.mjs +4 -0
- package/dist/carnet.svg.es-BtO3AmNu.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-DEPpdLvi.mjs +4 -0
- package/dist/cashapp.svg.es-DOGwRjXp.mjs +4 -0
- package/dist/cn.es-B8acFrov.mjs +2936 -0
- package/dist/comparators.es-C8rHpb70.mjs +157 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.mjs +82 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +510 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +87 -0
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.mjs +2930 -0
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +110 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +68 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.mjs +88 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +118 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +98 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +88 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +108 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.mjs +114 -0
- package/dist/configuration-BytDBAWs.mjs +14 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +151 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -111
- package/dist/countryData.es-BegoD-cZ.mjs +252 -0
- package/dist/customElements-DK4GKNJG.mjs +5072 -0
- package/dist/customer-lf6S5DBR.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/dana.svg.es-Cy8Q6DZi.mjs +4 -0
- package/dist/dankort.svg.es-B7VqJdWq.mjs +4 -0
- package/dist/de-DE-Cyj_NtiI.mjs +435 -0
- package/dist/de-DE-UJ6X6jXu.mjs +306 -0
- package/dist/diners.svg.es-BP9enCow.mjs +4 -0
- package/dist/discover.svg.es-DEsEJBYh.mjs +4 -0
- package/dist/eftpos.svg.es--js6-yfk.mjs +4 -0
- package/dist/elo.svg.es-CMZPAxcn.mjs +4 -0
- package/dist/eps.svg.es-CzIPBSb9.mjs +4 -0
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/formatting.es-RclXHhKo.mjs +61 -0
- package/dist/fr-FR-CRFoWQ7J.mjs +435 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +8 -0
- package/dist/girocard.svg.es-Riswtk8Z.mjs +4 -0
- package/dist/go-pay.svg.es-CiIyLELZ.mjs +4 -0
- package/dist/google-pay.svg.es-Dgj_N6nz.mjs +4 -0
- package/dist/hipercard.svg.es-B80bu8Vd.mjs +4 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/ideal.svg.es-DaqTS2Ax.mjs +4 -0
- package/dist/index-CTwLxoOS.mjs +7250 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-BrVTOW5D.mjs +345 -0
- package/dist/index.mjs +42 -0
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/invoices-DdREPDXV.mjs +123 -0
- package/dist/it-IT-DObZEc-U.mjs +435 -0
- package/dist/it-IT-DnJP5URH.mjs +306 -0
- package/dist/jcb.svg.es-Couw-2p9.mjs +4 -0
- package/dist/kakao-pay.svg.es-CIFT8fob.mjs +4 -0
- package/dist/klarna.svg.es-WKt8_NZa.mjs +4 -0
- package/dist/maestro.svg.es-DbdxwYUE.mjs +4 -0
- package/dist/mastercard.svg.es-B7T3PS12.mjs +4 -0
- package/dist/momo.svg.es-X5XB25fM.mjs +4 -0
- package/dist/nl-NL-C02xHilF.mjs +435 -0
- package/dist/nl-NL-q9xfTZF0.mjs +321 -0
- package/dist/nyce.svg.es-DcPsO_sh.mjs +4 -0
- package/dist/object.es-8aLDIncs.mjs +12 -0
- package/dist/open-banking.svg.es-C4mPhwsn.mjs +4 -0
- package/dist/paymentFailure-QZdZHBhf.mjs +47 -0
- package/dist/paymentMethods-8w-ccfY_.mjs +77 -0
- package/dist/paymentMethods-Goa25rTs.mjs +61 -0
- package/dist/paymentOutcome-B6sW1eCV.mjs +22 -0
- package/dist/payments-CKpU1K3t.mjs +68 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/pricing-CEaZGgKe.mjs +29 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingItem.es-bCPArbTa.mjs +55 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +233 -0
- package/dist/pricingPlanSchedules-DSMptcAh.mjs +38 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.mjs +5 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +201 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +865 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +224 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +5 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +624 -0
- package/dist/sepa.svg.es-DIO_K345.mjs +4 -0
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/slots.es-BA4MyEAa.mjs +5 -0
- package/dist/sorting.es-C0pdMgX0.mjs +77 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/subscription-BwzkagDI.mjs +212 -0
- package/dist/subscriptions-B5bH8hsI.mjs +66 -0
- package/dist/taxId.es-e6NEvprh.mjs +243 -0
- package/dist/trustly.svg.es-AM7Ha-3Y.mjs +4 -0
- package/dist/twint.svg.es-DZogAQG6.mjs +4 -0
- package/dist/typeGuards.es-B4XMtlkM.mjs +8 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +21 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +20 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +10 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +48 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +10 -0
- package/dist/types/components/customer/ShippingAddressForm/ShippingAddressForm.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressCard.types.d.ts +11 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressList.types.d.ts +9 -0
- package/dist/types/components/customer/ShippingAddresses/ShippingAddressesModal.types.d.ts +26 -0
- package/dist/types/components/invoices/InvoiceOrderSummary/InvoiceOrderSummary.types.d.ts +5 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +78 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +11 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +25 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +23 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +12 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +9 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +11 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +137 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +68 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +49 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.types.d.ts +8 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +32 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +20 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +16 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +12 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +17 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +81 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +16 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +26 -0
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +13 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +14 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +14 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +20 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +9 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +56 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +22 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +20 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +12 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +53 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +25 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +5 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +10 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +9 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +21 -0
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +25 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +6 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +7 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +15 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +39 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +6 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +8 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +45 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +6 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +7 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +19 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +60 -0
- package/dist/types/public/core/configuration.d.ts +2 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +3 -0
- package/dist/types/public/core/types.d.ts +130 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +11 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +27 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +25 -0
- package/dist/types/services/requests.types.d.ts +41 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +13 -0
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +82 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +51 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +375 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +379 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +127 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +132 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +134 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +135 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +94 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +47 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +62 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +46 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +128 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +81 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +222 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/BrandProvider/BrandProvider.types.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/components/providers/IntlProvider/IntlProvider.types.d.ts +66 -0
- package/dist/types/vendor/@solvimon/solvimon-ui/index.d.ts +2 -0
- package/dist/unionpay.svg.es-me7q-nTI.mjs +4 -0
- package/dist/useActionDispatchProvider-ChAHdwR8.mjs +9 -0
- package/dist/useCustomer-CTMhg1nd.mjs +20 -0
- package/dist/useCustomerFormLabels-D4oDnfxA.mjs +1173 -0
- package/dist/useIncrementalLoading-CBVutPH8.mjs +60 -0
- package/dist/useInvoiceData-qUGbBAQK.mjs +21 -0
- package/dist/useInvoicesList-wJvZAJpW.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-UvfYXgbi.mjs +15 -0
- package/dist/usePaymentFormHold-Cwdr-vyc.mjs +181 -0
- package/dist/usePaymentMethodAvailability-35l4pWdH.mjs +117 -0
- package/dist/usePaymentMethods-De7hlLHo.mjs +21 -0
- package/dist/usePayments-hWS7fnOx.mjs +323 -0
- package/dist/usePortal-DUfD6hrA.mjs +7 -0
- package/dist/useService-BwzIBIRp.mjs +56 -0
- package/dist/useTimePeriod.es-BUorDLVK.mjs +93 -0
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/dist/visa.svg.es-B0T5Su99.mjs +4 -0
- package/dist/vpay.svg.es-Zt3rrmCy.mjs +4 -0
- package/dist/wallets.es-eH2C2ygn.mjs +102 -0
- package/dist/zip.svg.es-QC6dxzC7.mjs +4 -0
- package/package.json +105 -74
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs +0 -56
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs +0 -85
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs +0 -90
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs +0 -63
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs +0 -373
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.es.js +0 -98
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.es.js +0 -584
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.es.js +0 -582
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.es.js +0 -129
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/InvoicesList/InvoicesList.es.js +0 -104
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.es.js +0 -133
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.es.js +0 -120
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/paymentMethods-CqKUfc3w.mjs +0 -65
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/payments-CosaPZwo.mjs +0 -47
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/Checkout/Checkout.es.js +0 -5142
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-CgRcOqv3.mjs +0 -12
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-BzEquyUV.mjs +0 -169
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-C7ToTmZK.mjs +0 -71
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-CcueV3We.mjs +0 -51
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useLoadInitialData-Dm48tlSO.mjs +0 -13
- package/dist/usePaymentMethods-DCGVRXA4.js +0 -1
- package/dist/usePaymentMethods-Db-1R6rI.mjs +0 -16
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
package/README.md
CHANGED
|
@@ -1,80 +1,468 @@
|
|
|
1
1
|
# @solvimon/solvimon-web
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Solvimon's front-end SDK. Provides framework-agnostic web components and a set of screens for building a billing self-serve experience.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
4
6
|
|
|
5
7
|
```bash
|
|
6
8
|
npm install @solvimon/solvimon-web
|
|
7
9
|
```
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
Vue is a peer dependency: the SDK uses the host's Vue, 3.5 or a later 3.x (`^3.5.0`), rather than
|
|
12
|
+
bundling its own. npm 7 or later and pnpm 8 or later install it with the SDK when the host does not
|
|
13
|
+
have it yet; with Yarn 1 or npm 6, install `vue@^3.5.0` yourself. A host already on a Vue outside
|
|
14
|
+
that range, older than 3.5 or a later major, gets a peer dependency conflict on install.
|
|
10
15
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
| `environment` | Specifies the environment (`TEST` or `LIVE`) |
|
|
16
|
+
The package is published as ES modules only. Bundlers load it as is, and so does `require()` on
|
|
17
|
+
Node 20.19 or later. A Jest setup that does not transform ES modules needs
|
|
18
|
+
`@solvimon/solvimon-web` added to its `transformIgnorePatterns` exceptions.
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
## Requirements
|
|
17
21
|
|
|
18
|
-
|
|
22
|
+
Every component requires at minimum:
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
| Property | Type | Description |
|
|
25
|
+
| -------------- | -------------------- | ------------------------------------------------------------------------------- |
|
|
26
|
+
| `portalObject` | `PortalUrl` | The portal URL your server creates through the Solvimon API, passed on as it is |
|
|
27
|
+
| `environment` | `"TEST"` \| `"LIVE"` | Target environment |
|
|
22
28
|
|
|
23
|
-
|
|
29
|
+
`portalObject` is an object, so set it as a JavaScript property rather than an HTML attribute. It
|
|
30
|
+
carries the portal token the element signs in with; there is no separate `token` property.
|
|
24
31
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
An element renders only for a published portal of the type it accepts: `checkout` takes an
|
|
33
|
+
`INIT_PRICING_PLAN_SUBSCRIPTION` portal, every other element a `CUSTOMER` one. Any other type logs
|
|
34
|
+
`PORTAL_TYPE_NOT_ALLOWED`, dispatches an `error` event and renders nothing. A revoked portal logs `RESOURCE_REVOKED`; the
|
|
35
|
+
checkout shows its "Checkout not available" notice, and the other elements say that they are no longer
|
|
36
|
+
available (`sv-portal-unavailable`).
|
|
37
|
+
|
|
38
|
+
A portal object whose `authentication` is `SIGNED_TOKEN` carries a handle in `token` rather than a
|
|
39
|
+
portal token. The API returns that handle only in the response that creates the portal URL; a later
|
|
40
|
+
read of the portal URL has no `token`, so keep the one from the create response and pass it on. The
|
|
41
|
+
element exchanges the handle for a token that lasts as long as the link, and exchanges it again when
|
|
42
|
+
the API rejects that token. A link that has expired, was revoked or whose checkout session has
|
|
43
|
+
closed logs `PORTAL_URL_EXPIRED`, `PORTAL_URL_REVOKED` or `CHECKOUT_SESSION_CLOSED` (with the
|
|
44
|
+
session's `status` in `context`) and shows the same notice as a revoked portal. When the API cannot
|
|
45
|
+
verify the link for a while, the element logs `PORTAL_TOKEN_UNAVAILABLE` and offers to try again
|
|
46
|
+
(`sv-portal-unverified`).
|
|
47
|
+
|
|
48
|
+
A host that already exchanged the handle itself can pass the response it got, as it is, as
|
|
49
|
+
`portalToken` next to `portalObject`, so the element signs in without a second exchange. The element
|
|
50
|
+
still needs the handle: when the API rejects the token, it exchanges the handle again. `portalToken`
|
|
51
|
+
is read only when the element signs in, and only for a `SIGNED_TOKEN` portal object. Set it as a
|
|
52
|
+
JavaScript property, like `portalObject`: it is an object so that the token never becomes an HTML
|
|
53
|
+
attribute, which a string property of a custom element does.
|
|
54
|
+
|
|
55
|
+
## Usage
|
|
56
|
+
|
|
57
|
+
The SDK ships web components (Custom Elements), and there are two ways to put one on a page.
|
|
58
|
+
|
|
59
|
+
### Register the element yourself
|
|
60
|
+
|
|
61
|
+
Call the entry's `define` function once — it registers the custom element globally and is safe to
|
|
62
|
+
call more than once.
|
|
63
|
+
|
|
64
|
+
```ts
|
|
65
|
+
import { defineSolvimonCheckout } from '@solvimon/solvimon-web/screens/checkout';
|
|
66
|
+
|
|
67
|
+
defineSolvimonCheckout();
|
|
68
|
+
|
|
69
|
+
const checkout = document.createElement('solvimon-checkout');
|
|
70
|
+
Object.assign(checkout, { environment: 'LIVE', portalObject });
|
|
71
|
+
document.querySelector('#checkout')?.append(checkout);
|
|
33
72
|
```
|
|
34
73
|
|
|
35
|
-
|
|
74
|
+
This is the lighter of the two: you download only the entries you name.
|
|
36
75
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
76
|
+
If the page already has an element called `solvimon-checkout` — two copies of the SDK, say — pass
|
|
77
|
+
your own tag name instead. Registering a name that is already taken does nothing, so without this
|
|
78
|
+
the second registration is silently ignored.
|
|
40
79
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
</script>
|
|
45
|
-
|
|
46
|
-
<template>
|
|
47
|
-
<solvimon-add-payment-method-form
|
|
48
|
-
token="<my-token-retrieved-from-solvimon-api>"
|
|
49
|
-
environment="LIVE"
|
|
50
|
-
/>
|
|
51
|
-
</template>
|
|
80
|
+
```ts
|
|
81
|
+
defineSolvimonCheckout('acme-checkout');
|
|
52
82
|
```
|
|
53
83
|
|
|
54
|
-
|
|
84
|
+
An element is registered under one name only. `define` returns the name it is registered under, and
|
|
85
|
+
calling it again — with or without a name — returns that first name instead of registering another.
|
|
86
|
+
`createSolvimonCore` mounts the element under the name you chose.
|
|
87
|
+
|
|
88
|
+
### Mount through the core
|
|
89
|
+
|
|
90
|
+
`createSolvimonCore` configures once and mounts by id. It loads each entry on demand, so you pay for what you mount, and it hands back an unmount
|
|
91
|
+
function.
|
|
92
|
+
|
|
93
|
+
```ts
|
|
94
|
+
import { createSolvimonCore } from '@solvimon/solvimon-web/core';
|
|
95
|
+
|
|
96
|
+
const solvimon = createSolvimonCore({ environment: 'TEST' });
|
|
97
|
+
|
|
98
|
+
const checkout = solvimon.createScreen('checkout', {
|
|
99
|
+
container: '#checkout',
|
|
100
|
+
portalObject,
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
// Later, to remove it:
|
|
104
|
+
checkout.unmount();
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
`createScreen` and `createComponent` return synchronously; the element is appended once its entry
|
|
108
|
+
has loaded. An unknown id or a container that matches nothing throws straight away. They return an
|
|
109
|
+
instance whose `unmount()` removes the element, or cancels the mount if the element has not loaded
|
|
110
|
+
yet; `const { unmount } = solvimon.createScreen(…)` works too.
|
|
111
|
+
|
|
112
|
+
### When an element fails
|
|
113
|
+
|
|
114
|
+
An error the element cannot carry on from — an unknown `environment`, a portal object meant for
|
|
115
|
+
another element, or a bug in the SDK — is logged once and dispatched as an `error` event on the
|
|
116
|
+
element. It is logged as `UNHANDLED_ERROR` unless it has a code of its own, such as
|
|
117
|
+
`PORTAL_TYPE_NOT_ALLOWED` for a portal object meant for another element. Its context names the
|
|
118
|
+
element in `componentName`, so a page with several can tell which one failed. The event does not bubble, and its `detail` is an array whose first item is the `Error`:
|
|
119
|
+
|
|
120
|
+
```ts
|
|
121
|
+
element.addEventListener('error', (event) => {
|
|
122
|
+
const [error] = (event as CustomEvent<[Error]>).detail;
|
|
123
|
+
});
|
|
124
|
+
```
|
|
55
125
|
|
|
56
|
-
|
|
126
|
+
A failure the element handles — a refused payment, a subscription the checkout cannot load, a date
|
|
127
|
+
it can only format in the browser's own time zone — reaches `onLog` and the `log` event under its
|
|
128
|
+
own code, and is never reported again as `UNHANDLED_ERROR` or an `error` event.
|
|
129
|
+
An element missing `environment`, `portalObject` or the id in its `configuration` renders
|
|
130
|
+
nothing until they are set, and logs `MISSING_REQUIRED_PROPERTIES` if they are still missing just
|
|
131
|
+
after it mounts.
|
|
132
|
+
|
|
133
|
+
### Server-side rendering (SSR / isomorphic)
|
|
134
|
+
|
|
135
|
+
Importing an entry on the server is safe — the module has no top-level browser access. It is
|
|
136
|
+
`define()` that needs a browser, because `customElements` does not exist in Node, so call it from a
|
|
137
|
+
client-only lifecycle hook:
|
|
57
138
|
|
|
58
139
|
```tsx
|
|
59
|
-
import { useEffect } from 'react';
|
|
140
|
+
import { useEffect, useRef } from 'react';
|
|
141
|
+
import type { CheckoutPagePortalUrl } from '@solvimon/solvimon-web/core';
|
|
142
|
+
// Importing at the top level is fine; only the call below has to wait for the browser.
|
|
143
|
+
import { defineSolvimonCheckout } from '@solvimon/solvimon-web/screens/checkout';
|
|
60
144
|
|
|
61
|
-
export default function
|
|
62
|
-
|
|
63
|
-
async function loadSolvimonSdkComponent() {
|
|
64
|
-
const { defineSolvimonAddPaymentMethodForm } = await import(
|
|
65
|
-
'@solvimon/solvimon-web/solvimon-add-payment-method-form'
|
|
66
|
-
);
|
|
67
|
-
defineSolvimonAddPaymentMethodForm();
|
|
68
|
-
}
|
|
145
|
+
export default function Page({ portalObject }: { portalObject: CheckoutPagePortalUrl }) {
|
|
146
|
+
const checkout = useRef<HTMLElement>(null);
|
|
69
147
|
|
|
70
|
-
|
|
148
|
+
useEffect(() => {
|
|
149
|
+
defineSolvimonCheckout();
|
|
71
150
|
}, []);
|
|
72
151
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
152
|
+
// An object has to reach the element as a property, which JSX attributes do not do everywhere.
|
|
153
|
+
useEffect(() => {
|
|
154
|
+
if (checkout.current) Object.assign(checkout.current, { portalObject });
|
|
155
|
+
}, [portalObject]);
|
|
156
|
+
|
|
157
|
+
return <solvimon-checkout ref={checkout} environment="LIVE" />;
|
|
79
158
|
}
|
|
80
159
|
```
|
|
160
|
+
|
|
161
|
+
A lazy `import()` inside the hook also works, and is worth keeping if you want the entry out of your
|
|
162
|
+
server bundle for size reasons rather than correctness ones.
|
|
163
|
+
|
|
164
|
+
### Changing properties after mount
|
|
165
|
+
|
|
166
|
+
An element follows the properties you change after it has mounted:
|
|
167
|
+
|
|
168
|
+
- A `portalObject` with another token, or another `environment`, starts the element over: it signs
|
|
169
|
+
in again and reloads everything.
|
|
170
|
+
- An id in `configuration` — `invoiceId` or `subscriptionId` — loads the new invoice or
|
|
171
|
+
subscription. Whatever the customer had open for the old one is closed.
|
|
172
|
+
- `experimentalFeatures`, `branding` and `cssOverrides` apply in place.
|
|
173
|
+
- A new `locale` loads its translations and renders the element again from the start, so anything
|
|
174
|
+
the customer had typed is lost. Set it before the element mounts where you can.
|
|
175
|
+
|
|
176
|
+
The checkout reads `email`, `countryCode` and `enabledPricingIds` from its `configuration` when it
|
|
177
|
+
loads, as the values its form starts with, and applies `couponCode` once the subscription is in.
|
|
178
|
+
|
|
179
|
+
A few more are read once, when the element loads, and a later change does not reach it; to change
|
|
180
|
+
one, mount a new element:
|
|
181
|
+
|
|
182
|
+
- the payment method form's `countryCode` and `configuration.invoiceId`, which it sets up the
|
|
183
|
+
payment methods it offers with;
|
|
184
|
+
- the subscription management screen's `configuration.enabledPricingId`, which picks the pricing
|
|
185
|
+
it opens on.
|
|
186
|
+
|
|
187
|
+
The supported locales are `en-US`, `nl-NL`, `de-DE`, `it-IT` and `fr-FR`. Any other — `nl` or `en-GB`, say
|
|
188
|
+
— renders in `en-US` and logs `UNSUPPORTED_LOCALE`.
|
|
189
|
+
|
|
190
|
+
### Navigation requests
|
|
191
|
+
|
|
192
|
+
The SDK does not navigate for you. Where a customer asks to go somewhere — open an invoice, manage a
|
|
193
|
+
subscription — the element dispatches an `action-request` event, and your page decides what that
|
|
194
|
+
means. The event bubbles and crosses the shadow root, so one listener on a container catches every
|
|
195
|
+
element in it:
|
|
196
|
+
|
|
197
|
+
```ts
|
|
198
|
+
import type { RequestActionEvent } from '@solvimon/solvimon-web/core';
|
|
199
|
+
|
|
200
|
+
container.addEventListener('action-request', (event) => {
|
|
201
|
+
const { detail } = event as RequestActionEvent;
|
|
202
|
+
|
|
203
|
+
if (detail.action === 'view-invoice') {
|
|
204
|
+
router.push(`/invoices/${detail.data.invoiceId}`);
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
`detail.action` is one of `view-invoice`, `pay-invoice`, `view-subscription-details`,
|
|
210
|
+
`view-all-subscriptions`, `manage-subscription`, `edit-billing-information`,
|
|
211
|
+
`view-all-payment-methods`, `add-payment-method` and `navigate-to-customer-overview`. None of them
|
|
212
|
+
does anything unless you handle it. The event is cancelable so that an action the SDK gives a
|
|
213
|
+
default later can be taken over with `preventDefault()`; today that call has no effect.
|
|
214
|
+
|
|
215
|
+
## CSS overrides
|
|
216
|
+
|
|
217
|
+
Solvimon components render inside shadow DOM, so CSS from the host page cannot style them directly. Pass `cssOverrides` to `createSolvimonCore` to inject customer CSS into each SDK shadow root.
|
|
218
|
+
|
|
219
|
+
```ts
|
|
220
|
+
import { createSolvimonCore } from '@solvimon/solvimon-web/core';
|
|
221
|
+
|
|
222
|
+
const solvimon = createSolvimonCore({
|
|
223
|
+
environment: 'TEST',
|
|
224
|
+
cssOverrides: `
|
|
225
|
+
.sv-root {
|
|
226
|
+
font-family: Inter, sans-serif;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.sv-checkout__submit {
|
|
230
|
+
border-radius: 24px !important;
|
|
231
|
+
}
|
|
232
|
+
`,
|
|
233
|
+
});
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Use the public `sv-*` classes as styling hooks. Do not rely on internal Tailwind utility classes, because those can change.
|
|
237
|
+
|
|
238
|
+
`@import` rules are removed from the overrides: a browser applies them in some cases and not in
|
|
239
|
+
others, so load fonts and other stylesheets from your own page instead.
|
|
240
|
+
|
|
241
|
+
`cssOverrides` is also a property on every element, for a page that registers the elements itself.
|
|
242
|
+
|
|
243
|
+
For more details, see [`@solvimon/solvimon-web/core`](./src/public/core/README.md).
|
|
244
|
+
|
|
245
|
+
## Available components
|
|
246
|
+
|
|
247
|
+
### Screens
|
|
248
|
+
|
|
249
|
+
Full-page experiences.
|
|
250
|
+
|
|
251
|
+
| Export path | Custom element |
|
|
252
|
+
| ----------------------------------------------------------- | --------------------------------------- |
|
|
253
|
+
| `@solvimon/solvimon-web/screens/checkout` | `<solvimon-checkout>` |
|
|
254
|
+
| `@solvimon/solvimon-web/screens/customer-overview` | `<solvimon-customer-overview>` |
|
|
255
|
+
| `@solvimon/solvimon-web/screens/pay-invoice` | `<solvimon-pay-invoice>` |
|
|
256
|
+
| `@solvimon/solvimon-web/screens/payment-methods-management` | `<solvimon-payment-methods-management>` |
|
|
257
|
+
| `@solvimon/solvimon-web/screens/subscription-details` | `<solvimon-subscription-details>` |
|
|
258
|
+
| `@solvimon/solvimon-web/screens/subscription-management` | `<solvimon-subscription-management>` |
|
|
259
|
+
|
|
260
|
+
### Components
|
|
261
|
+
|
|
262
|
+
Embeddable building blocks.
|
|
263
|
+
|
|
264
|
+
| Export path | Custom element |
|
|
265
|
+
| ------------------------------------------------------------ | ------------------------------------- |
|
|
266
|
+
| `@solvimon/solvimon-web/components/billing-information` | `<solvimon-billing-information>` |
|
|
267
|
+
| `@solvimon/solvimon-web/components/billing-information-form` | `<solvimon-billing-information-form>` |
|
|
268
|
+
| `@solvimon/solvimon-web/components/customer-payment-methods` | `<solvimon-customer-payment-methods>` |
|
|
269
|
+
| `@solvimon/solvimon-web/components/invoice` | `<solvimon-invoice>` |
|
|
270
|
+
| `@solvimon/solvimon-web/components/invoice-details` | `<solvimon-invoice-details>` |
|
|
271
|
+
| `@solvimon/solvimon-web/components/invoice-header` | `<solvimon-invoice-header>` |
|
|
272
|
+
| `@solvimon/solvimon-web/components/invoices-list` | `<solvimon-invoices-list>` |
|
|
273
|
+
| `@solvimon/solvimon-web/components/payment-history` | `<solvimon-payment-history>` |
|
|
274
|
+
| `@solvimon/solvimon-web/components/payment-method-form` | `<solvimon-payment-method-form>` |
|
|
275
|
+
| `@solvimon/solvimon-web/components/subscription-schedules` | `<solvimon-subscription-schedules>` |
|
|
276
|
+
| `@solvimon/solvimon-web/components/subscriptions-list` | `<solvimon-subscriptions-list>` |
|
|
277
|
+
| `@solvimon/solvimon-web/components/wallet-balances` | `<solvimon-wallet-balances>` |
|
|
278
|
+
|
|
279
|
+
## Supported Adyen payment methods
|
|
280
|
+
|
|
281
|
+
### Cards
|
|
282
|
+
|
|
283
|
+
- American Express
|
|
284
|
+
- Bancontact
|
|
285
|
+
- Carnet
|
|
286
|
+
- Cartes Bancaires
|
|
287
|
+
- China UnionPay
|
|
288
|
+
- Dankort
|
|
289
|
+
- Diners Club
|
|
290
|
+
- Discover
|
|
291
|
+
- EFTPOS
|
|
292
|
+
- Elo
|
|
293
|
+
- Girocard
|
|
294
|
+
- Hipercard
|
|
295
|
+
- JCB
|
|
296
|
+
- Maestro
|
|
297
|
+
- Mastercard
|
|
298
|
+
- NYCE
|
|
299
|
+
- Pulse
|
|
300
|
+
- Star
|
|
301
|
+
- UnionPay
|
|
302
|
+
- V Pay
|
|
303
|
+
- Visa
|
|
304
|
+
|
|
305
|
+
### Digital wallets
|
|
306
|
+
|
|
307
|
+
- Amazon Pay
|
|
308
|
+
- Apple Pay
|
|
309
|
+
- Bancontact Mobile
|
|
310
|
+
- Cash App Pay
|
|
311
|
+
- DANA
|
|
312
|
+
- GCash
|
|
313
|
+
- Google Pay
|
|
314
|
+
- GoPay
|
|
315
|
+
- KakaoPay
|
|
316
|
+
- MOMO
|
|
317
|
+
- PayPal
|
|
318
|
+
- TWINT
|
|
319
|
+
|
|
320
|
+
### Direct debit
|
|
321
|
+
|
|
322
|
+
- ACH (US)
|
|
323
|
+
- Bacs Direct Debit (UK)
|
|
324
|
+
- SEPA Direct Debit
|
|
325
|
+
- Pay by Bank (US)
|
|
326
|
+
|
|
327
|
+
### Online banking
|
|
328
|
+
|
|
329
|
+
- EPS
|
|
330
|
+
- iDEAL
|
|
331
|
+
- Pay by Bank
|
|
332
|
+
- Trustly
|
|
333
|
+
|
|
334
|
+
### Buy now, pay later
|
|
335
|
+
|
|
336
|
+
- Klarna
|
|
337
|
+
- Zip
|
|
338
|
+
|
|
339
|
+
## Release pipeline
|
|
340
|
+
|
|
341
|
+
Releases are published to [npm](https://www.npmjs.com/package/@solvimon/solvimon-web)
|
|
342
|
+
automatically via GitHub Actions. See the
|
|
343
|
+
[publishing documentation](./docs/development/publish.md) for the release flow.
|
|
344
|
+
|
|
345
|
+
Want to contribute? Check the [developer documentation](./docs/development/readme.md).
|
|
346
|
+
|
|
347
|
+
## Tracing a failure a customer reports
|
|
348
|
+
|
|
349
|
+
Every log entry carries a `reference` — a short identifier such as `SV-7F3K2A9Q` that is the same
|
|
350
|
+
for every entry from one customer's visit. It survives the 3DS redirect and a reload, and names no
|
|
351
|
+
customer and no account. When a payment fails, the SDK shows that same reference on the error card
|
|
352
|
+
and invites the customer to quote it, so a message saying "it failed, reference SV-7F3K2A9Q" leads
|
|
353
|
+
straight to everything that session logged.
|
|
354
|
+
|
|
355
|
+
Forward it as a searchable tag, and report the thrown value as an exception only when it is one —
|
|
356
|
+
anything else arrives in Sentry as "Object captured as exception", with no title and no stack:
|
|
357
|
+
|
|
358
|
+
```js
|
|
359
|
+
onLog: (entry) => {
|
|
360
|
+
Sentry.withScope((scope) => {
|
|
361
|
+
scope.setTag('solvimon.reference', entry.reference);
|
|
362
|
+
scope.setTag('solvimon.code', entry.code);
|
|
363
|
+
scope.setContext('solvimon', entry.context);
|
|
364
|
+
if (entry.fingerprint) scope.setFingerprint(entry.fingerprint);
|
|
365
|
+
|
|
366
|
+
if (entry.error instanceof Error) {
|
|
367
|
+
Sentry.captureException(entry.error);
|
|
368
|
+
} else {
|
|
369
|
+
if (entry.error) scope.setContext('solvimon.error', entry.errorSerialized ?? {});
|
|
370
|
+
Sentry.captureMessage(`${entry.code}: ${entry.message}`, entry.level);
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
};
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
Failed payments are logged with the gateway, the payment acceptor, the payment method type and —
|
|
377
|
+
where the failure came back from the Solvimon API — the `requestId` from its `X-Request-Id`
|
|
378
|
+
response header, which is what joins the entry to its server-side logs.
|
|
379
|
+
|
|
380
|
+
A failed API call rejects with an `ApiError` carrying `statusCode`, `requestId` and, for an input
|
|
381
|
+
error, the `field` it belongs to. Every failed request also emits one `REQUEST_FAILED` entry, at
|
|
382
|
+
`error` — or at `warn` where the SDK expects that status and handles it, as the token refresh does
|
|
383
|
+
with a 401. Alert on the codes the callers emit, such as `SESSION_EXPIRED`, rather than on
|
|
384
|
+
`REQUEST_FAILED`, which reports the transport and not what it meant. A request the API rejects with
|
|
385
|
+
a 401 is first retried once with a renewed access token, and only reported when that fails too.
|
|
386
|
+
|
|
387
|
+
<!-- log-codes:start — DO NOT EDIT: auto-generated by `npm run logs:list` -->
|
|
388
|
+
|
|
389
|
+
## Error logging
|
|
390
|
+
|
|
391
|
+
The SDK emits structured log entries via the [`onLog`](#error-logging) callback. Subscribe to receive all log events and filter by `code` for programmatic handling.
|
|
392
|
+
|
|
393
|
+
### Error codes
|
|
394
|
+
|
|
395
|
+
| Code | Description |
|
|
396
|
+
| :------------------------------------------ | :----------------------------------------------------------------- |
|
|
397
|
+
| `ADYEN_PAYMENT_FAILED` | Adyen reported the payment as failed |
|
|
398
|
+
| `ADYEN_SUBMIT_FAILED` | Failed to submit Adyen drop-in |
|
|
399
|
+
| `APPLE_PAY_AUTHORIZATION_FAILED` | Payment authorization failed |
|
|
400
|
+
| `APPLE_PAY_ERROR` | Apple Pay error |
|
|
401
|
+
| `AUTO_TOP_UP_CANCELLATION_FAILED` | Failed to turn off a wallet |
|
|
402
|
+
| `AUTO_TOP_UP_SAVE_FAILED` | Failed to save the automatic top-up rule |
|
|
403
|
+
| `EXPRESS_CHECKOUT_GOOGLE_PAY_ERROR` | The Google Pay button reference is not found and cannot be mounted |
|
|
404
|
+
| `EXPRESS_CHECKOUT_PAYPAL_ERROR` | The PayPal button reference is not found and cannot be mounted |
|
|
405
|
+
| `INITIAL_DATA_LOAD_FAILED` | Failed to load initial data |
|
|
406
|
+
| `INTEGRATION_ERROR` | Unhandled error in payment submission flow |
|
|
407
|
+
| `INVALID_COUNTRY_CODE` | invalid country code provided:… |
|
|
408
|
+
| `INVALID_EMAIL` | invalid email provided |
|
|
409
|
+
| `INVALID_REDIRECT_RESULT` | Redirect result is set but payment acceptor id is missing |
|
|
410
|
+
| `INVALID_TOKEN` | Failed to fetch access token |
|
|
411
|
+
| `INVOICE_PREVIEW_FAILED` | Failed to load the invoice preview |
|
|
412
|
+
| `NO_PAYMENT_METHODS_AVAILABLE` | No payment method can be offered to the customer |
|
|
413
|
+
| `ON_DEMAND_CHARGE_FAILED` | Failed to charge the on-demand order |
|
|
414
|
+
| `ON_DEMAND_ITEMS_LOAD_FAILED` | Failed to load the on-demand items of the subscription |
|
|
415
|
+
| `PAYMENT_ACCEPTOR_MISSING` | Additional details arrived without a payment acceptor id |
|
|
416
|
+
| `PAYMENT_AUTHORIZATION_FAILED` | Failed payment authorization for payment acceptor with id… |
|
|
417
|
+
| `PAYMENT_DETAILS_CALL_FAILED` | Failed fetching payment details |
|
|
418
|
+
| `PAYMENT_DETAILS_REJECTED` | Payment details returned a failed payment |
|
|
419
|
+
| `PAYMENT_INTEGRATION_INITIALIZATION_FAILED` | Failed to mount Adyen web drop-in |
|
|
420
|
+
| `PAYMENT_METHOD_OPTIONS_LOAD_FAILED` | Failed to load the payment methods that can be offered |
|
|
421
|
+
| `PORTAL_TOKEN_UNAVAILABLE` | Could not exchange the portal link handle for a token |
|
|
422
|
+
| `PORTAL_TYPE_NOT_ALLOWED` | Reserved — not currently emitted |
|
|
423
|
+
| `PORTAL_URL_EXPIRED` | The portal link has expired |
|
|
424
|
+
| `PORTAL_URL_REVOKED` | The portal link is revoked |
|
|
425
|
+
| `PROMOTION_CODE_APPLY_FAILED` | Failed to apply promotion code |
|
|
426
|
+
| `PROMOTION_CODE_REMOVE_FAILED` | Failed to remove promotion code |
|
|
427
|
+
| `REQUEST_FAILED` | Request failed |
|
|
428
|
+
| `REQUEST_PARSE_FAILED` | Failed to parse JSON response |
|
|
429
|
+
| `RESOURCE_REVOKED` | The portal object is not published |
|
|
430
|
+
| `SESSION_EXPIRED` | Stopped refreshing the access token after repeated 401 responses |
|
|
431
|
+
| `SHIPPED_SUBSCRIPTIONS_LOAD_FAILED` | Failed to find out whether the customer has shipped subscriptions |
|
|
432
|
+
| `SHIPPING_ADDRESSES_LOAD_FAILED` | Failed to load the shipping addresses |
|
|
433
|
+
| `SHIPPING_ADDRESS_DELETE_FAILED` | Failed to delete the shipping address |
|
|
434
|
+
| `SHIPPING_ADDRESS_SAVE_FAILED` | Failed to save the shipping address |
|
|
435
|
+
| `STRIPE_ACTION_FAILED` | Missing client_secret in Stripe ACTION_REQUIRED response |
|
|
436
|
+
| `STRIPE_CONFIRMATION_TOKEN_FAILED` | Stripe submission failed |
|
|
437
|
+
| `STRIPE_REDIRECT_RETURN_FAILED` | Could not retrieve the payment the Stripe redirect returned from |
|
|
438
|
+
| `STRIPE_SUBMIT_FAILED` | Unexpected error during Stripe submission |
|
|
439
|
+
| `SUBSCRIPTION_CANCELLATION_FAILED` | Failed to change the cancellation state of a subscription |
|
|
440
|
+
| `SUBSCRIPTION_LOAD_FAILED` | Failed to load the subscription the checkout prices |
|
|
441
|
+
| `SUBSCRIPTION_UPDATE_FAILED` | Failed to start a new pricing plan schedule |
|
|
442
|
+
| `TOKENIZATION_FAILED` | Missing customer id for payment acceptor with id… |
|
|
443
|
+
| `TOP_UP_FAILED` | Failed to charge the wallet top-up |
|
|
444
|
+
| `UNHANDLED_ERROR` | An error that reached the SDK with no more specific code |
|
|
445
|
+
|
|
446
|
+
### Warning codes
|
|
447
|
+
|
|
448
|
+
| Code | Description |
|
|
449
|
+
| :----------------------------------- | :----------------------------------------------------------------------------------------------------------- |
|
|
450
|
+
| `ACTIVE_SCHEDULE_NOT_FOUND` | No schedule is currently being billed |
|
|
451
|
+
| `ADYEN_INVALID_CONFIGURATION` | No environment set for adyen advanced flow, defaulted to live |
|
|
452
|
+
| `APPLE_PAY_ACTION_REQUIRED` | Reserved — not currently emitted |
|
|
453
|
+
| `APPLE_PAY_FORM_INCOMPLETE` | Apple Pay authorization stopped: the checkout form is incomplete |
|
|
454
|
+
| `CHECKOUT_FORM_STATE_NOT_SAVED` | Could not keep the checkout form for a redirect return |
|
|
455
|
+
| `CHECKOUT_SESSION_CLOSED` | The checkout session of the portal link is closed |
|
|
456
|
+
| `INVOICE_PREVIEW_SKIPPED` | Skipped the on-demand charge invoice preview: no schedule to charge it on |
|
|
457
|
+
| `MISSING_REQUIRED_PROPERTIES` | Not rendering until these properties are set:… |
|
|
458
|
+
| `ON_DEMAND_CHARGE_REFUSED` | The on-demand order was refused or its payment did not go through |
|
|
459
|
+
| `PAYMENT_INTEGRATION_NOT_RENDERABLE` | No Adyen payment methods to offer |
|
|
460
|
+
| `PAYMENT_OUTCOME_UNCONFIRMED` | The payment outcome could not be confirmed yet |
|
|
461
|
+
| `PROMOTION_CODE_REJECTED` | The promotion code was not accepted |
|
|
462
|
+
| `RECURRING_AMOUNT_UNRESOLVED` | Could not tell the recurring part of the invoice from the one-off part; the mandate states the invoice total |
|
|
463
|
+
| `REQUEST_FAILED` | Request failed with an expected status |
|
|
464
|
+
| `TRANSLATION_LOAD_FAILED` | Failed to load translations for locale… |
|
|
465
|
+
| `UI_COMPONENT_RECOVERED` | A UI component recovered from an error and carried on |
|
|
466
|
+
| `UNSUPPORTED_LOCALE` | The locale is not supported, showing en-US instead |
|
|
467
|
+
|
|
468
|
+
<!-- log-codes:end — DO NOT EDIT: auto-generated by `npm run logs:list` -->
|