@solvimon/solvimon-web 0.1.0-alpha.3 → 0.1.0-alpha.31
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 +501 -52
- package/dist/AddPaymentMethodModal-Bs_aOOCX.mjs +97 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DF4PIR-A.mjs +89 -0
- package/dist/Alert.vue.es-xhsk_7Gn.mjs +158 -0
- package/dist/Amount.vue.es-DPqHB8Xd.mjs +22 -0
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-CUO6Qj-5.mjs +46 -0
- package/dist/Avatar.vue.es-DrbtUiLO.mjs +81 -0
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-C3JYNZuR.mjs +64 -0
- package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
- package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-BUdcXy0H.mjs +340 -0
- package/dist/BillingInformationModal-crgTNGf4.mjs +85 -0
- package/dist/Button.vue.es-BHbanjR0.mjs +368 -0
- package/dist/ChargeOnDemandModal-DYiFtw1n.mjs +965 -0
- package/dist/Chip.vue.es-Dc6-PjEn.mjs +128 -0
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-C2kFcft1.mjs +32 -0
- package/dist/ContextMenu.vue.es-CvX6O2IM.mjs +572 -0
- package/dist/CustomerBillingInformation.vue.es-DQWt9osz.mjs +153 -0
- package/dist/CustomerPaymentMethods.lib-B_753rau.mjs +4 -0
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-hNVtamwL.mjs +217 -0
- package/dist/CustomerShippingAddresses-C0c-4D2W.mjs +282 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-C50vGUvw.mjs +2828 -0
- package/dist/Divider.vue.es-DnP_HqLz.mjs +22 -0
- package/dist/DividerText.vue.es-ChN6fnrH.mjs +56 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DCUml1W4.mjs +55 -0
- package/dist/ErrorNotification.vue.es-CWIVt5q9.mjs +31 -0
- package/dist/Expand.vue.es-BleuAfDz.mjs +32 -0
- package/dist/FormMessage.vue.es-CQ64C8dt.mjs +39 -0
- package/dist/IconButton.vue.es-BXzwMvVk.mjs +56 -0
- package/dist/IconTitle.vue.es-GyanM-JQ.mjs +103 -0
- package/dist/Input.vue.es-CxiwRZYs.mjs +250 -0
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Ca0qflBR.mjs +93 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Dw73a5Yt.mjs +56 -0
- package/dist/InvoicePreview.vue.es-BvnikfEH.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DxcyTRGr.mjs +124 -0
- package/dist/Label.vue.es-3ACRco55.mjs +113 -0
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-1qpRh-0S.mjs +20 -0
- package/dist/Modal.vue.es-CDjfZDDx.mjs +404 -0
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-CnZwxJ5b.mjs +789 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-PICpXmC3.mjs +48 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-DpZtYBfM.mjs +250 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-Co5qBQa8.mjs +51 -0
- package/dist/PaymentHistoryBlock-HUazLER6.mjs +4 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DdmUoiet.mjs +93 -0
- package/dist/PaymentIntegrationForm-ZnIjTyda.mjs +4 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DU5wu66t.mjs +161 -0
- package/dist/PaymentIntegrationFormAdyen-sbw3AoKS.mjs +946 -0
- package/dist/PaymentIntegrationFormStripe-4JmKEwbS.mjs +767 -0
- package/dist/PaymentMethod.vue.es-DAabE41t.mjs +645 -0
- package/dist/PaymentMethodForm-MmCUSJLE.mjs +4 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-DyiXLYRj.mjs +165 -0
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-Bv34aiZ6.mjs +169 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-DZ2Z-RMv.mjs +176 -0
- package/dist/PaymentMethodsModal-CjpNw4kX.mjs +192 -0
- package/dist/PlanCustomizationEditor-BDWm_z2w.mjs +864 -0
- package/dist/PortalLinkUnverified-B7YYhv97.mjs +52 -0
- package/dist/PortalNotAvailable-DIyeKrAp.mjs +25 -0
- package/dist/PricingGroupRangeInput.vue.es-C6J8C7JS.mjs +578 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CiQ-C9Hh.mjs +178 -0
- package/dist/RadioGroupExtended.vue.es-hDmUAKIA.mjs +176 -0
- package/dist/Section.vue.es-CwKTCeZ1.mjs +72 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Gn1aE60E.mjs +60 -0
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-y7yOKwR3.mjs +144 -0
- package/dist/ShippingAddressesModal-CNXxkxnJ.mjs +283 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/StepInput.vue.es-GkrOtOVa.mjs +213 -0
- package/dist/SubscriptionCancellationModal-C_xFPx1I.mjs +4 -0
- package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-DdTC33Qh.mjs +240 -0
- package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-CQ-ZOzVI.mjs +64 -0
- package/dist/SubscriptionDetails.entry.ce-DuP8TtKu.mjs +764 -0
- package/dist/SubscriptionSchedules-DosBeXD7.mjs +4 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-5tyDFxEh.mjs +5183 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C26HShPu.mjs +90 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BUDuQk2e.mjs +344 -0
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/TooltipParagraph.vue.es-4HaXi8RP.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-C5Y6Kg-_.mjs +31 -0
- package/dist/TrialChip.vue.es-CUfJ4SK3.mjs +47 -0
- package/dist/accel.svg.es-C0hqmmEY.mjs +4 -0
- package/dist/ach.svg.es-DduMiYM2.mjs +4 -0
- package/dist/addonQuantity-BvoYTajN.mjs +128 -0
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/adyen-Bugab0JE.mjs +4 -0
- package/dist/adyen-D4em6EgU.mjs +99 -0
- package/dist/adyenSdk-DUTO7xkT.mjs +63 -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-QaC926Xu.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 +78 -0
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +93 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +78 -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 +101 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +63 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.mjs +79 -0
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.mjs +109 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +90 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +80 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +99 -0
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.mjs +105 -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/events.types.d.ts +1 -0
- package/dist/core/index.d.ts +1 -10
- package/dist/core/index.mjs +168 -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/customElements-d7Bhfqi_.mjs +5099 -0
- package/dist/customer-CNCSN_G5.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-D-sV3avS.mjs +309 -0
- package/dist/de-DE-wZp39RC-.mjs +498 -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-BYHycSxz.mjs +310 -0
- package/dist/fr-FR-BrNXJ7gR.mjs +498 -0
- package/dist/gcash.svg.es-BpDtvraq.mjs +4 -0
- package/dist/getComposedString.es-C__uhJpd.mjs +10 -0
- package/dist/getCountryNameByCode.es-OGxn_zT0.mjs +257 -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-BEZ2mumY.mjs +633 -0
- package/dist/index.es-C7J3WGGo.mjs +345 -0
- package/dist/index.mjs +46 -0
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/invoices-CXvL8KQx.mjs +143 -0
- package/dist/it-IT-Bd1qsMVU.mjs +498 -0
- package/dist/it-IT-zpPyT9PH.mjs +309 -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-BOr4MR7L.mjs +324 -0
- package/dist/nl-NL-C6Y6fqaW.mjs +498 -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/paymentIntegrationFormLoaders-wi1vMgf_.mjs +31 -0
- package/dist/paymentMethods-CG1fcG2v.mjs +78 -0
- package/dist/paymentOutcome-D59QkGfm.mjs +22 -0
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-Dy81gmkC.mjs +71 -0
- package/dist/paypal.svg.es-BC2AP20j.mjs +4 -0
- package/dist/preloadPaymentIntegrationForms-C_9p7Jbi.mjs +9 -0
- package/dist/pricing-CBJT8C6L.mjs +42 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingItem.es-AYq_hYeD.mjs +55 -0
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-GON_34ep.mjs +291 -0
- package/dist/pulse.svg.es-Rmoz-9Ej.mjs +4 -0
- package/dist/randomUuid-BE_IQ-aq.mjs +10 -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 +1100 -0
- package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
- package/dist/screens/CheckoutSession/CheckoutSession.mjs +1316 -0
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +277 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +873 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +219 -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 +1135 -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-kM0f1VX0.mjs +77 -0
- package/dist/star.svg.es-BUZNUnYq.mjs +4 -0
- package/dist/subscription-DQ5mRp_e.mjs +212 -0
- package/dist/subscriptions-Bm1eu9wc.mjs +99 -0
- package/dist/taxId.es-Zu2Ff1gL.mjs +510 -0
- package/dist/timePeriod.es-R9U0wLlB.mjs +13 -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 +21 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +15 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +58 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +16 -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/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -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 +12 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +26 -0
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +25 -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 +148 -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 +10 -0
- package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -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 +22 -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 +12 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +13 -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 +28 -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/HostElementProvider/composables/useHostEvent.d.ts +12 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +34 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +82 -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 +21 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +4 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +22 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +15 -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 +70 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +29 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +18 -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 +10 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +8 -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 +10 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +8 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +23 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +10 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanChangeSummary.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionPlanSelector.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 +20 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -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 +27 -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 +14 -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 +3 -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 +25 -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 +38 -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 +50 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.entry.types.d.ts +6 -0
- package/dist/types/public/components/ShippingAddressForm/ShippingAddressForm.types.d.ts +5 -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 +28 -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 +54 -0
- package/dist/types/public/core/configuration.d.ts +2 -0
- package/dist/types/public/core/events.types.d.ts +99 -0
- package/dist/types/public/core/index.d.ts +16 -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 +139 -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 +5 -0
- package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +23 -0
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CheckoutSession/CheckoutSession.entry.types.d.ts +3 -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 +8 -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 +21 -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 +10 -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 +22 -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 +14 -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 +36 -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 +14 -0
- package/dist/types/types/branding.d.ts +15 -0
- package/dist/types/types/checkoutSession.d.ts +189 -0
- package/dist/types/types/errors.d.ts +15 -0
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/pricingPlanGroup.d.ts +25 -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-BWna0S6N.mjs +9 -0
- package/dist/useAddressFormats-Dw7IEdxg.mjs +1997 -0
- package/dist/useCheckoutForm-BaV2j_ob.mjs +3310 -0
- package/dist/useCustomer-RUtEzDOY.mjs +20 -0
- package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
- package/dist/useExperimentalFeature-DAKAF_a2.mjs +6 -0
- package/dist/useHostEvent-pjoWJ7ZH.mjs +12 -0
- package/dist/useIncrementalLoading-B3gp58X-.mjs +60 -0
- package/dist/useInvoiceData-Dya4mmvf.mjs +21 -0
- package/dist/useInvoicesList-Dp3c_cb3.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-CwySdYZM.mjs +15 -0
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/usePaymentMethodAvailability-B7NV0ZtX.mjs +117 -0
- package/dist/usePaymentMethodOptions-DDRjVvDJ.mjs +67 -0
- package/dist/usePaymentMethods-DBGyQA_I.mjs +21 -0
- package/dist/usePayments-ChGtK_As.mjs +323 -0
- package/dist/usePortal--Uzbpbgr.mjs +14 -0
- package/dist/useService-DayNZhPh.mjs +56 -0
- package/dist/useShippingAddresses-TXVeGFPm.mjs +122 -0
- package/dist/useSubscription-lIGMFLG1.mjs +35 -0
- package/dist/useSubscriptionActions-BSlJVB4p.mjs +44 -0
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -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 +115 -77
- 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,529 @@
|
|
|
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, `checkout-session` a `CHECKOUT_SESSION` one (also once it
|
|
34
|
+
is `CLOSED`, to show how the session ended), every other element a `CUSTOMER` one. Any other type logs
|
|
35
|
+
`PORTAL_TYPE_NOT_ALLOWED`, dispatches a `solvimon-error` event and renders nothing. A revoked portal logs `RESOURCE_REVOKED`; the
|
|
36
|
+
checkout shows its "Checkout not available" notice, and the other elements say that they are no longer
|
|
37
|
+
available (`sv-portal-unavailable`).
|
|
38
|
+
|
|
39
|
+
A portal object whose `authentication` is `SIGNED_TOKEN` carries a handle in `token` rather than a
|
|
40
|
+
portal token. The API returns that handle only in the response that creates the portal URL; a later
|
|
41
|
+
read of the portal URL has no `token`, so keep the one from the create response and pass it on. The
|
|
42
|
+
element exchanges the handle for a token that lasts as long as the link, and exchanges it again when
|
|
43
|
+
the API rejects that token. A link that has expired, was revoked or whose checkout session has
|
|
44
|
+
closed logs `PORTAL_URL_EXPIRED`, `PORTAL_URL_REVOKED` or `CHECKOUT_SESSION_CLOSED` (with the
|
|
45
|
+
session's `status` in `context`) and shows the same notice as a revoked portal. When the API cannot
|
|
46
|
+
verify the link for a while, the element logs `PORTAL_TOKEN_UNAVAILABLE` and offers to try again
|
|
47
|
+
(`sv-portal-unverified`).
|
|
48
|
+
|
|
49
|
+
A host that already exchanged the handle itself can pass the response it got, as it is, as
|
|
50
|
+
`portalToken` next to `portalObject`, so the element signs in without a second exchange. The element
|
|
51
|
+
still needs the handle: when the API rejects the token, it exchanges the handle again. `portalToken`
|
|
52
|
+
is read only when the element signs in, and only for a `SIGNED_TOKEN` portal object. Set it as a
|
|
53
|
+
JavaScript property, like `portalObject`: it is an object so that the token never becomes an HTML
|
|
54
|
+
attribute, which a string property of a custom element does.
|
|
55
|
+
|
|
56
|
+
Use `SIGNED_TOKEN` portal objects on a page outside `solvimon.com`. Any other portal object signs
|
|
57
|
+
in through Solvimon identity, which keeps the session with a cookie on `identity.solvimon.com`. On
|
|
58
|
+
another site that cookie is a third-party cookie, which Safari blocks, so in Safari the session
|
|
59
|
+
cannot be renewed and ends, with `SESSION_EXPIRED`, once its first token expires. A handle needs no
|
|
60
|
+
cookie.
|
|
61
|
+
|
|
62
|
+
## Usage
|
|
63
|
+
|
|
64
|
+
The SDK ships web components (Custom Elements), and there are two ways to put one on a page.
|
|
65
|
+
|
|
66
|
+
### Register the element yourself
|
|
67
|
+
|
|
68
|
+
Call the entry's `define` function once — it registers the custom element globally and is safe to
|
|
69
|
+
call more than once.
|
|
70
|
+
|
|
71
|
+
```ts
|
|
72
|
+
import { defineSolvimonCheckout } from '@solvimon/solvimon-web/screens/checkout';
|
|
73
|
+
|
|
74
|
+
defineSolvimonCheckout();
|
|
75
|
+
|
|
76
|
+
const checkout = document.createElement('solvimon-checkout');
|
|
77
|
+
Object.assign(checkout, { environment: 'LIVE', portalObject });
|
|
78
|
+
document.querySelector('#checkout')?.append(checkout);
|
|
33
79
|
```
|
|
34
80
|
|
|
35
|
-
|
|
81
|
+
This is the lighter of the two: you download only the entries you name.
|
|
36
82
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
83
|
+
If the page already has an element called `solvimon-checkout` — two copies of the SDK, say — pass
|
|
84
|
+
your own tag name instead. Registering a name that is already taken does nothing, so without this
|
|
85
|
+
the second registration is silently ignored.
|
|
40
86
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
87
|
+
```ts
|
|
88
|
+
defineSolvimonCheckout('acme-checkout');
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
An element is registered under one name only. `define` returns the name it is registered under, and
|
|
92
|
+
calling it again — with or without a name — returns that first name instead of registering another.
|
|
93
|
+
`createSolvimonCore` mounts the element under the name you chose.
|
|
94
|
+
|
|
95
|
+
### Mount through the core
|
|
96
|
+
|
|
97
|
+
`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
|
|
98
|
+
function.
|
|
99
|
+
|
|
100
|
+
```ts
|
|
101
|
+
import { createSolvimonCore } from '@solvimon/solvimon-web/core';
|
|
102
|
+
|
|
103
|
+
const solvimon = createSolvimonCore({ environment: 'TEST' });
|
|
104
|
+
|
|
105
|
+
const checkout = solvimon.createScreen('checkout', {
|
|
106
|
+
container: '#checkout',
|
|
107
|
+
portalObject,
|
|
108
|
+
// Optional: listeners for the element's events, added before it is in the page.
|
|
109
|
+
on: {
|
|
110
|
+
'solvimon-payment-succeeded': (event) => console.log('paid', event.detail),
|
|
111
|
+
},
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
// Later, to remove it:
|
|
115
|
+
checkout.unmount();
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
`createScreen` and `createComponent` return synchronously; the element is appended once its entry
|
|
119
|
+
has loaded. An unknown id or a container that matches nothing throws straight away. They return an
|
|
120
|
+
instance whose `unmount()` removes the element, or cancels the mount if the element has not loaded
|
|
121
|
+
yet; `const { unmount } = solvimon.createScreen(…)` works too.
|
|
122
|
+
|
|
123
|
+
### When an element fails
|
|
124
|
+
|
|
125
|
+
An error the element cannot carry on from — an unknown `environment`, a portal object meant for
|
|
126
|
+
another element, or a bug in the SDK — is logged once and dispatched as a `solvimon-error` event
|
|
127
|
+
on the element. It is logged as `UNHANDLED_ERROR` unless it has a code of its own, such as
|
|
128
|
+
`PORTAL_TYPE_NOT_ALLOWED` for a portal object meant for another element. The event's `detail` holds
|
|
129
|
+
what that log entry does: the `error`, its `code`, the `componentName` of the element that failed and
|
|
130
|
+
the session `reference`. Like every event the SDK dispatches — see [Events](#events) — it bubbles and crosses the shadow root, so one
|
|
131
|
+
listener on a container hears every element in it, and `componentName` says which one failed:
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
container.addEventListener('solvimon-error', (event) => {
|
|
135
|
+
const { error, code, componentName, reference } = event.detail;
|
|
136
|
+
});
|
|
52
137
|
```
|
|
53
138
|
|
|
54
|
-
|
|
139
|
+
Importing anything from `@solvimon/solvimon-web/core`, a type included, adds the SDK's events to
|
|
140
|
+
TypeScript's element and document event maps, so a listener knows its `detail` without a cast;
|
|
141
|
+
`SolvimonEventMap` lists them. Every event carries the `solvimon-` prefix, so none collides with
|
|
142
|
+
the platform's own, such as `error`, which `window.onerror` and error monitoring tools listen for,
|
|
143
|
+
or with another library's on the same page.
|
|
55
144
|
|
|
56
|
-
|
|
145
|
+
### Events
|
|
146
|
+
|
|
147
|
+
| Event | Sent by | `detail` |
|
|
148
|
+
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
|
|
149
|
+
| `solvimon-error` | any element that fails | `{ error, code, componentName, reference }` |
|
|
150
|
+
| `solvimon-log` | any element, for each log entry | the `LogEntry`, as `onLog` receives it |
|
|
151
|
+
| `solvimon-action-request` | any element, when the customer asks to go somewhere the host decides on | `{ action, data }` |
|
|
152
|
+
| `solvimon-ready` | the checkout, once its subscription and first price have loaded | none |
|
|
153
|
+
| `solvimon-payment-succeeded` | the checkout, pay-invoice, and `payment-method-form` in `payment` mode | `{ componentName, subscriptionId?, invoiceId? }` |
|
|
154
|
+
| `solvimon-invoice-created` | subscription details, when an on-demand order creates an invoice | `{ invoiceId, paymentStatus }` |
|
|
155
|
+
| `solvimon-payment-method-added` | `payment-method-form`, `payment-methods-management`, and the add-method step of an on-demand order, a top-up or an auto top-up (in subscription details, customer overview and `wallet-balances`) | `{ componentName }` |
|
|
156
|
+
| `solvimon-shipping-address-saved` | `shipping-address-form`, once the address is stored | `{ componentName, shippingAddressId }` |
|
|
157
|
+
|
|
158
|
+
`componentName` is the tag name of the element the event came from. A nested element's event reaches
|
|
159
|
+
a listener as if the outer element sent it, so `detail.componentName` is the way to tell them apart.
|
|
160
|
+
|
|
161
|
+
Add listeners before the element is in the page — on the element before it is appended, on a
|
|
162
|
+
container or `document`, or through the core's `on` option — or an event dispatched as the element
|
|
163
|
+
starts can be missed. A checkout that comes back from a 3-D Secure or bank redirect, for one, may
|
|
164
|
+
send `solvimon-payment-succeeded` soon after it loads.
|
|
165
|
+
|
|
166
|
+
`solvimon-ready` is sent whether the customer can pay yet, has paid already or has nothing to pay
|
|
167
|
+
with, and not again when the price or the payment form reloads.
|
|
168
|
+
|
|
169
|
+
`solvimon-invoice-created` is sent whether or not the order's payment went through, so
|
|
170
|
+
`paymentStatus` says which: `PAID` and `OVERPAID` are settled, `UNPAID`, `PARTIALLY_PAID` and a
|
|
171
|
+
missing status are an invoice still to be paid. A failed order is logged instead, as
|
|
172
|
+
`ON_DEMAND_CHARGE_REFUSED`, or `ON_DEMAND_CHARGE_FAILED` when its outcome is unknown.
|
|
173
|
+
|
|
174
|
+
`solvimon-payment-succeeded` is the only cancelable event. After a paid checkout the customer is
|
|
175
|
+
sent to the success URL set in Solvimon Desk; a host that takes over from there cancels the event:
|
|
176
|
+
|
|
177
|
+
```ts
|
|
178
|
+
checkout.addEventListener('solvimon-payment-succeeded', (event) => {
|
|
179
|
+
event.preventDefault();
|
|
180
|
+
router.push(`/welcome?subscription=${event.detail.subscriptionId}`);
|
|
181
|
+
});
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
A failure the element handles — a refused payment, a subscription the checkout cannot load, a date
|
|
185
|
+
it can only format in the browser's own time zone — reaches `onLog` and the `solvimon-log` event under its
|
|
186
|
+
own code, and is never reported again as `UNHANDLED_ERROR` or a `solvimon-error` event.
|
|
187
|
+
An element missing `environment`, `portalObject` or the id in its `configuration` renders
|
|
188
|
+
nothing until they are set, and logs `MISSING_REQUIRED_PROPERTIES` if they are still missing just
|
|
189
|
+
after it mounts.
|
|
190
|
+
|
|
191
|
+
### Server-side rendering (SSR / isomorphic)
|
|
192
|
+
|
|
193
|
+
Importing an entry on the server is safe — the module has no top-level browser access. It is
|
|
194
|
+
`define()` that needs a browser, because `customElements` does not exist in Node, so call it from a
|
|
195
|
+
client-only lifecycle hook:
|
|
57
196
|
|
|
58
197
|
```tsx
|
|
59
|
-
import { useEffect } from 'react';
|
|
198
|
+
import { useEffect, useRef } from 'react';
|
|
199
|
+
import type { CheckoutPagePortalUrl } from '@solvimon/solvimon-web/core';
|
|
200
|
+
// Importing at the top level is fine; only the call below has to wait for the browser.
|
|
201
|
+
import { defineSolvimonCheckout } from '@solvimon/solvimon-web/screens/checkout';
|
|
60
202
|
|
|
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
|
-
}
|
|
203
|
+
export default function Page({ portalObject }: { portalObject: CheckoutPagePortalUrl }) {
|
|
204
|
+
const checkout = useRef<HTMLElement>(null);
|
|
69
205
|
|
|
70
|
-
|
|
206
|
+
useEffect(() => {
|
|
207
|
+
defineSolvimonCheckout();
|
|
71
208
|
}, []);
|
|
72
209
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
210
|
+
// An object has to reach the element as a property, which JSX attributes do not do everywhere.
|
|
211
|
+
useEffect(() => {
|
|
212
|
+
if (checkout.current) Object.assign(checkout.current, { portalObject });
|
|
213
|
+
}, [portalObject]);
|
|
214
|
+
|
|
215
|
+
return <solvimon-checkout ref={checkout} environment="LIVE" />;
|
|
79
216
|
}
|
|
80
217
|
```
|
|
218
|
+
|
|
219
|
+
A lazy `import()` inside the hook also works, and is worth keeping if you want the entry out of your
|
|
220
|
+
server bundle for size reasons rather than correctness ones.
|
|
221
|
+
|
|
222
|
+
### Changing properties after mount
|
|
223
|
+
|
|
224
|
+
An element follows the properties you change after it has mounted:
|
|
225
|
+
|
|
226
|
+
- A `portalObject` with another token, or another `environment`, starts the element over: it signs
|
|
227
|
+
in again and reloads everything.
|
|
228
|
+
- An id in `configuration` — `invoiceId` or `subscriptionId` — loads the new invoice or
|
|
229
|
+
subscription. Whatever the customer had open for the old one is closed.
|
|
230
|
+
- `experimentalFeatures`, `branding` and `cssOverrides` apply in place.
|
|
231
|
+
- A new `locale` loads its translations and renders the element again from the start, so anything
|
|
232
|
+
the customer had typed is lost. Set it before the element mounts where you can.
|
|
233
|
+
|
|
234
|
+
The checkout reads `email`, `countryCode` and `enabledPricingIds` from its `configuration` when it
|
|
235
|
+
loads, as the values its form starts with, and applies `couponCode` once the subscription is in.
|
|
236
|
+
|
|
237
|
+
A few more are read once, when the element loads, and a later change does not reach it; to change
|
|
238
|
+
one, mount a new element:
|
|
239
|
+
|
|
240
|
+
- the payment method form's `configuration.countryCode` and `configuration.invoiceId`, which it
|
|
241
|
+
sets up the payment methods it offers with;
|
|
242
|
+
- the subscription management screen's `configuration.currentPricingId`, which picks the pricing
|
|
243
|
+
it opens on.
|
|
244
|
+
|
|
245
|
+
The supported locales are `en-US`, `nl-NL`, `de-DE`, `it-IT` and `fr-FR`. Any other — `nl` or `en-GB`, say
|
|
246
|
+
— renders in `en-US` and logs `UNSUPPORTED_LOCALE`.
|
|
247
|
+
|
|
248
|
+
### Navigation requests
|
|
249
|
+
|
|
250
|
+
The SDK does not navigate for you. Where a customer asks to go somewhere — open an invoice, manage a
|
|
251
|
+
subscription — the element dispatches a `solvimon-action-request` event, and your page decides what that
|
|
252
|
+
means. The event bubbles and crosses the shadow root, so one listener on a container catches every
|
|
253
|
+
element in it:
|
|
254
|
+
|
|
255
|
+
```ts
|
|
256
|
+
container.addEventListener('solvimon-action-request', ({ detail }) => {
|
|
257
|
+
if (detail.action === 'view-invoice') {
|
|
258
|
+
router.push(`/invoices/${detail.data.invoiceId}`);
|
|
259
|
+
}
|
|
260
|
+
});
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
`detail.action` is one of `view-invoice`, `pay-invoice`, `view-subscription-details`,
|
|
264
|
+
`view-all-subscriptions`, `manage-subscription`, `edit-billing-information`,
|
|
265
|
+
`view-all-payment-methods`, `add-payment-method` and `view-customer-overview`. None of them
|
|
266
|
+
does anything unless you handle it.
|
|
267
|
+
|
|
268
|
+
## CSS overrides
|
|
269
|
+
|
|
270
|
+
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.
|
|
271
|
+
|
|
272
|
+
```ts
|
|
273
|
+
import { createSolvimonCore } from '@solvimon/solvimon-web/core';
|
|
274
|
+
|
|
275
|
+
const solvimon = createSolvimonCore({
|
|
276
|
+
environment: 'TEST',
|
|
277
|
+
cssOverrides: `
|
|
278
|
+
.sv-root {
|
|
279
|
+
font-family: Inter, sans-serif;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.sv-checkout__submit {
|
|
283
|
+
border-radius: 24px !important;
|
|
284
|
+
}
|
|
285
|
+
`,
|
|
286
|
+
});
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
Use the public `sv-*` classes as styling hooks. Do not rely on internal Tailwind utility classes, because those can change.
|
|
290
|
+
|
|
291
|
+
`@import` rules are removed from the overrides: a browser applies them in some cases and not in
|
|
292
|
+
others, so load fonts and other stylesheets from your own page instead.
|
|
293
|
+
|
|
294
|
+
`cssOverrides` is also a property on every element, for a page that registers the elements itself.
|
|
295
|
+
|
|
296
|
+
For more details, see [`@solvimon/solvimon-web/core`](./src/public/core/README.md).
|
|
297
|
+
|
|
298
|
+
## Available components
|
|
299
|
+
|
|
300
|
+
### Screens
|
|
301
|
+
|
|
302
|
+
Full-page experiences.
|
|
303
|
+
|
|
304
|
+
| Export path | Custom element |
|
|
305
|
+
| ----------------------------------------------------------- | --------------------------------------- |
|
|
306
|
+
| `@solvimon/solvimon-web/screens/checkout` | `<solvimon-checkout>` |
|
|
307
|
+
| `@solvimon/solvimon-web/screens/checkout-session` | `<solvimon-checkout-session>` |
|
|
308
|
+
| `@solvimon/solvimon-web/screens/customer-overview` | `<solvimon-customer-overview>` |
|
|
309
|
+
| `@solvimon/solvimon-web/screens/pay-invoice` | `<solvimon-pay-invoice>` |
|
|
310
|
+
| `@solvimon/solvimon-web/screens/payment-methods-management` | `<solvimon-payment-methods-management>` |
|
|
311
|
+
| `@solvimon/solvimon-web/screens/subscription-details` | `<solvimon-subscription-details>` |
|
|
312
|
+
| `@solvimon/solvimon-web/screens/subscription-management` | `<solvimon-subscription-management>` |
|
|
313
|
+
|
|
314
|
+
### Components
|
|
315
|
+
|
|
316
|
+
Embeddable building blocks.
|
|
317
|
+
|
|
318
|
+
| Export path | Custom element |
|
|
319
|
+
| ------------------------------------------------------------ | ------------------------------------- |
|
|
320
|
+
| `@solvimon/solvimon-web/components/billing-information` | `<solvimon-billing-information>` |
|
|
321
|
+
| `@solvimon/solvimon-web/components/billing-information-form` | `<solvimon-billing-information-form>` |
|
|
322
|
+
| `@solvimon/solvimon-web/components/customer-payment-methods` | `<solvimon-customer-payment-methods>` |
|
|
323
|
+
| `@solvimon/solvimon-web/components/invoice` | `<solvimon-invoice>` |
|
|
324
|
+
| `@solvimon/solvimon-web/components/invoice-details` | `<solvimon-invoice-details>` |
|
|
325
|
+
| `@solvimon/solvimon-web/components/invoice-header` | `<solvimon-invoice-header>` |
|
|
326
|
+
| `@solvimon/solvimon-web/components/invoices-list` | `<solvimon-invoices-list>` |
|
|
327
|
+
| `@solvimon/solvimon-web/components/payment-history` | `<solvimon-payment-history>` |
|
|
328
|
+
| `@solvimon/solvimon-web/components/payment-method-form` | `<solvimon-payment-method-form>` |
|
|
329
|
+
| `@solvimon/solvimon-web/components/shipping-address-form` | `<solvimon-shipping-address-form>` |
|
|
330
|
+
| `@solvimon/solvimon-web/components/subscription-schedules` | `<solvimon-subscription-schedules>` |
|
|
331
|
+
| `@solvimon/solvimon-web/components/subscriptions-list` | `<solvimon-subscriptions-list>` |
|
|
332
|
+
| `@solvimon/solvimon-web/components/wallet-balances` | `<solvimon-wallet-balances>` |
|
|
333
|
+
|
|
334
|
+
## Supported Adyen payment methods
|
|
335
|
+
|
|
336
|
+
### Cards
|
|
337
|
+
|
|
338
|
+
- American Express
|
|
339
|
+
- Bancontact
|
|
340
|
+
- Carnet
|
|
341
|
+
- Cartes Bancaires
|
|
342
|
+
- China UnionPay
|
|
343
|
+
- Dankort
|
|
344
|
+
- Diners Club
|
|
345
|
+
- Discover
|
|
346
|
+
- EFTPOS
|
|
347
|
+
- Elo
|
|
348
|
+
- Girocard
|
|
349
|
+
- Hipercard
|
|
350
|
+
- JCB
|
|
351
|
+
- Maestro
|
|
352
|
+
- Mastercard
|
|
353
|
+
- NYCE
|
|
354
|
+
- Pulse
|
|
355
|
+
- Star
|
|
356
|
+
- UnionPay
|
|
357
|
+
- V Pay
|
|
358
|
+
- Visa
|
|
359
|
+
|
|
360
|
+
### Digital wallets
|
|
361
|
+
|
|
362
|
+
- Amazon Pay
|
|
363
|
+
- Apple Pay
|
|
364
|
+
- Bancontact Mobile
|
|
365
|
+
- Cash App Pay
|
|
366
|
+
- DANA
|
|
367
|
+
- GCash
|
|
368
|
+
- Google Pay
|
|
369
|
+
- GoPay
|
|
370
|
+
- KakaoPay
|
|
371
|
+
- MOMO
|
|
372
|
+
- PayPal
|
|
373
|
+
- TWINT
|
|
374
|
+
|
|
375
|
+
### Direct debit
|
|
376
|
+
|
|
377
|
+
- ACH (US)
|
|
378
|
+
- Bacs Direct Debit (UK)
|
|
379
|
+
- SEPA Direct Debit
|
|
380
|
+
- Pay by Bank (US)
|
|
381
|
+
|
|
382
|
+
### Online banking
|
|
383
|
+
|
|
384
|
+
- EPS
|
|
385
|
+
- iDEAL
|
|
386
|
+
- Pay by Bank
|
|
387
|
+
- Trustly
|
|
388
|
+
|
|
389
|
+
### Buy now, pay later
|
|
390
|
+
|
|
391
|
+
- Klarna
|
|
392
|
+
- Zip
|
|
393
|
+
|
|
394
|
+
## Release pipeline
|
|
395
|
+
|
|
396
|
+
Releases are published to [npm](https://www.npmjs.com/package/@solvimon/solvimon-web)
|
|
397
|
+
automatically via GitHub Actions. See the
|
|
398
|
+
[publishing documentation](./docs/development/publish.md) for the release flow.
|
|
399
|
+
|
|
400
|
+
Want to contribute? Check the [developer documentation](./docs/development/readme.md).
|
|
401
|
+
|
|
402
|
+
## Tracing a failure a customer reports
|
|
403
|
+
|
|
404
|
+
Every log entry carries a `reference` — a short identifier such as `SV-7F3K2A9Q` that is the same
|
|
405
|
+
for every entry from one customer's visit. It survives the 3DS redirect and a reload, and names no
|
|
406
|
+
customer and no account. When a payment fails, the SDK shows that same reference on the error card
|
|
407
|
+
and invites the customer to quote it, so a message saying "it failed, reference SV-7F3K2A9Q" leads
|
|
408
|
+
straight to everything that session logged.
|
|
409
|
+
|
|
410
|
+
Forward it as a searchable tag, and report the thrown value as an exception only when it is one —
|
|
411
|
+
anything else arrives in Sentry as "Object captured as exception", with no title and no stack:
|
|
412
|
+
|
|
413
|
+
```js
|
|
414
|
+
onLog: (entry) => {
|
|
415
|
+
Sentry.withScope((scope) => {
|
|
416
|
+
scope.setTag('solvimon.reference', entry.reference);
|
|
417
|
+
scope.setTag('solvimon.code', entry.code);
|
|
418
|
+
scope.setContext('solvimon', entry.context);
|
|
419
|
+
if (entry.fingerprint) scope.setFingerprint(entry.fingerprint);
|
|
420
|
+
|
|
421
|
+
if (entry.error instanceof Error) {
|
|
422
|
+
Sentry.captureException(entry.error);
|
|
423
|
+
} else {
|
|
424
|
+
if (entry.error) scope.setContext('solvimon.error', entry.errorSerialized ?? {});
|
|
425
|
+
Sentry.captureMessage(`${entry.code}: ${entry.message}`, entry.level);
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
};
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
Failed payments are logged with the gateway, the payment acceptor, the payment method type and —
|
|
432
|
+
where the failure came back from the Solvimon API — the `requestId` from its `X-Request-Id`
|
|
433
|
+
response header, which is what joins the entry to its server-side logs.
|
|
434
|
+
|
|
435
|
+
A failed API call rejects with an `ApiError` carrying `statusCode`, `requestId` and, for an input
|
|
436
|
+
error, the `field` it belongs to. Every failed request also emits one `REQUEST_FAILED` entry, at
|
|
437
|
+
`error` — or at `warn` where the SDK expects that status and handles it, as the token refresh does
|
|
438
|
+
with a 401. Alert on the codes the callers emit, such as `SESSION_EXPIRED`, rather than on
|
|
439
|
+
`REQUEST_FAILED`, which reports the transport and not what it meant. A request the API rejects with
|
|
440
|
+
a 401 is first retried once with a renewed access token, and only reported when that fails too.
|
|
441
|
+
|
|
442
|
+
<!-- log-codes:start — DO NOT EDIT: auto-generated by `npm run logs:list` -->
|
|
443
|
+
|
|
444
|
+
## Error logging
|
|
445
|
+
|
|
446
|
+
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.
|
|
447
|
+
|
|
448
|
+
### Error codes
|
|
449
|
+
|
|
450
|
+
| Code | Description |
|
|
451
|
+
| :------------------------------------------ | :---------------------------------------------------------------- |
|
|
452
|
+
| `ADYEN_PAYMENT_FAILED` | Adyen reported the payment as failed |
|
|
453
|
+
| `ADYEN_SUBMIT_FAILED` | Failed to submit Adyen drop-in |
|
|
454
|
+
| `APPLE_PAY_AUTHORIZATION_FAILED` | Payment authorization failed |
|
|
455
|
+
| `APPLE_PAY_ERROR` | Apple Pay error |
|
|
456
|
+
| `AUTO_TOP_UP_CANCELLATION_FAILED` | Failed to turn off a wallet |
|
|
457
|
+
| `AUTO_TOP_UP_SAVE_FAILED` | Failed to save the automatic top-up rule |
|
|
458
|
+
| `CHECKOUT_SESSION_LOAD_FAILED` | Failed to load the checkout session |
|
|
459
|
+
| `CHECKOUT_SESSION_UPDATE_FAILED` | Failed to save the checkout session |
|
|
460
|
+
| `INITIAL_DATA_LOAD_FAILED` | Failed to load initial data |
|
|
461
|
+
| `INTEGRATION_ERROR` | Unhandled error in payment submission flow |
|
|
462
|
+
| `INVALID_COUNTRY_CODE` | invalid country code provided:… |
|
|
463
|
+
| `INVALID_EMAIL` | invalid email provided |
|
|
464
|
+
| `INVALID_REDIRECT_RESULT` | Redirect result is set but payment acceptor id is missing |
|
|
465
|
+
| `INVALID_TOKEN` | Failed to fetch access token |
|
|
466
|
+
| `INVOICE_PREVIEW_FAILED` | Failed to load the invoice preview |
|
|
467
|
+
| `NO_PAYMENT_METHODS_AVAILABLE` | No payment method can be offered to the customer |
|
|
468
|
+
| `ON_DEMAND_CHARGE_FAILED` | Failed to charge the on-demand order |
|
|
469
|
+
| `ON_DEMAND_ITEMS_LOAD_FAILED` | Failed to load the on-demand items of the subscription |
|
|
470
|
+
| `PAYMENT_ACCEPTOR_MISSING` | Additional details arrived without a payment acceptor id |
|
|
471
|
+
| `PAYMENT_AUTHORIZATION_FAILED` | Failed payment authorization for payment acceptor with id… |
|
|
472
|
+
| `PAYMENT_DETAILS_CALL_FAILED` | Failed fetching payment details |
|
|
473
|
+
| `PAYMENT_DETAILS_REJECTED` | Payment details returned a failed payment |
|
|
474
|
+
| `PAYMENT_INTEGRATION_INITIALIZATION_FAILED` | Failed to mount Adyen web drop-in |
|
|
475
|
+
| `PAYMENT_METHOD_OPTIONS_LOAD_FAILED` | Failed to load the payment methods that can be offered |
|
|
476
|
+
| `PORTAL_TOKEN_UNAVAILABLE` | Could not exchange the portal link handle for a token |
|
|
477
|
+
| `PORTAL_TYPE_NOT_ALLOWED` | This element does not accept a portal object of type… |
|
|
478
|
+
| `PORTAL_URL_EXPIRED` | The portal link has expired |
|
|
479
|
+
| `PORTAL_URL_REVOKED` | The portal link is revoked |
|
|
480
|
+
| `PRICING_PLAN_GROUP_LOAD_FAILED` | Failed to load the pricing plan group of the subscription |
|
|
481
|
+
| `PROMOTION_CODE_APPLY_FAILED` | Failed to apply promotion code |
|
|
482
|
+
| `PROMOTION_CODE_REMOVE_FAILED` | Failed to remove promotion code |
|
|
483
|
+
| `REQUEST_FAILED` | Request failed |
|
|
484
|
+
| `REQUEST_PARSE_FAILED` | Failed to parse JSON response |
|
|
485
|
+
| `RESOURCE_REVOKED` | The portal object is not published |
|
|
486
|
+
| `SESSION_EXPIRED` | Stopped refreshing the access token after repeated 401 responses |
|
|
487
|
+
| `SHIPPED_SUBSCRIPTIONS_LOAD_FAILED` | Failed to find out whether the customer has shipped subscriptions |
|
|
488
|
+
| `SHIPPING_ADDRESSES_LOAD_FAILED` | Failed to load the shipping addresses |
|
|
489
|
+
| `SHIPPING_ADDRESS_DELETE_FAILED` | Failed to delete the shipping address |
|
|
490
|
+
| `SHIPPING_ADDRESS_SAVE_FAILED` | Failed to save the shipping address |
|
|
491
|
+
| `STRIPE_ACTION_FAILED` | Missing client_secret in Stripe ACTION_REQUIRED response |
|
|
492
|
+
| `STRIPE_CONFIRMATION_TOKEN_FAILED` | Stripe submission failed |
|
|
493
|
+
| `STRIPE_REDIRECT_RETURN_FAILED` | Could not retrieve the payment the Stripe redirect returned from |
|
|
494
|
+
| `STRIPE_SUBMIT_FAILED` | Unexpected error during Stripe submission |
|
|
495
|
+
| `SUBSCRIPTION_CANCELLATION_FAILED` | Failed to change the cancellation state of a subscription |
|
|
496
|
+
| `SUBSCRIPTION_LOAD_FAILED` | Failed to load the subscription the checkout prices |
|
|
497
|
+
| `SUBSCRIPTION_PAYMENT_METHOD_UPDATE_FAILED` | Failed to link the payment method to the subscription |
|
|
498
|
+
| `SUBSCRIPTION_PLAN_CHANGE_FAILED` | Failed to move the subscription to another plan in its group |
|
|
499
|
+
| `SUBSCRIPTION_UPDATE_FAILED` | Failed to start a new pricing plan schedule |
|
|
500
|
+
| `TOKENIZATION_FAILED` | Missing customer id for payment acceptor with id… |
|
|
501
|
+
| `TOP_UP_FAILED` | Failed to charge the wallet top-up |
|
|
502
|
+
| `UNHANDLED_ERROR` | An error that reached the SDK with no more specific code |
|
|
503
|
+
|
|
504
|
+
### Warning codes
|
|
505
|
+
|
|
506
|
+
| Code | Description |
|
|
507
|
+
| :----------------------------------------- | :----------------------------------------------------------------------------------------------------------- |
|
|
508
|
+
| `ACTIVE_SCHEDULE_NOT_FOUND` | No schedule is currently being billed |
|
|
509
|
+
| `ADYEN_INVALID_CONFIGURATION` | No environment set for adyen advanced flow, defaulted to live |
|
|
510
|
+
| `APPLE_PAY_FORM_INCOMPLETE` | Apple Pay authorization stopped: the checkout form is incomplete |
|
|
511
|
+
| `CHECKOUT_FORM_STATE_NOT_SAVED` | Could not keep the checkout form for a redirect return |
|
|
512
|
+
| `CHECKOUT_SESSION_CLOSED` | The checkout session of the portal link is closed |
|
|
513
|
+
| `CHECKOUT_SESSION_COMPLETION_CHECK_FAILED` | Failed to read the checkout session while waiting for it to complete |
|
|
514
|
+
| `CHECKOUT_SESSION_EDIT_NOT_APPLIED` | The checkout session was saved but kept a value the customer changed |
|
|
515
|
+
| `CHECKOUT_SESSION_SEVERAL_INVOICES` | The checkout session previewed several invoices; only the first is shown |
|
|
516
|
+
| `CHECKOUT_SESSION_UPDATE_REFUSED` | The API refused a change to the checkout session |
|
|
517
|
+
| `INVOICE_PREVIEW_SKIPPED` | Skipped the on-demand charge invoice preview: no schedule to charge it on |
|
|
518
|
+
| `MISSING_REQUIRED_PROPERTIES` | Not rendering until these properties are set:… |
|
|
519
|
+
| `ON_DEMAND_CHARGE_REFUSED` | The on-demand order was refused or its payment did not go through |
|
|
520
|
+
| `PAYMENT_INTEGRATION_NOT_RENDERABLE` | No Adyen payment methods to offer |
|
|
521
|
+
| `PAYMENT_OUTCOME_UNCONFIRMED` | The payment outcome could not be confirmed yet |
|
|
522
|
+
| `PROMOTION_CODE_REJECTED` | The promotion code was not accepted |
|
|
523
|
+
| `RECURRING_AMOUNT_UNRESOLVED` | Could not tell the recurring part of the invoice from the one-off part; the mandate states the invoice total |
|
|
524
|
+
| `REQUEST_FAILED` | Request failed with an expected status |
|
|
525
|
+
| `TRANSLATION_LOAD_FAILED` | Failed to load translations for locale… |
|
|
526
|
+
| `UI_COMPONENT_RECOVERED` | A UI component recovered from an error and carried on |
|
|
527
|
+
| `UNSUPPORTED_LOCALE` | The locale is not supported, showing en-US instead |
|
|
528
|
+
|
|
529
|
+
<!-- log-codes:end — DO NOT EDIT: auto-generated by `npm run logs:list` -->
|