@solvimon/solvimon-web 0.1.0-alpha.30 → 0.1.0-alpha.32
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 +152 -91
- package/dist/AddPaymentMethodModal-Cx203VXo.mjs +97 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BMHhLZnu.mjs +89 -0
- package/dist/{Alert.vue.es-ZPG49yR_.mjs → Alert.vue.es-DHJpiSdR.mjs} +1 -1
- package/dist/{Amount.vue.es-DPqHB8Xd.mjs → Amount.vue.es-CofcgmXt.mjs} +1 -1
- package/dist/AuthProvider.handle-BpFblzFx.mjs +46 -0
- package/dist/{Avatar.vue.es-geDQsZwu.mjs → Avatar.vue.es-CJdXXOiG.mjs} +1 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD84aBiU.mjs +64 -0
- package/dist/BillingInformationForm.lib-ad8B2Y1O.mjs +32 -0
- package/dist/BillingInformationForm.vue_vue_type_script_setup_true_lang-F5OVG0kO.mjs +340 -0
- package/dist/BillingInformationModal-Do3Fuu8A.mjs +85 -0
- package/dist/{Button.vue.es-j7iYlqtJ.mjs → Button.vue.es-CW7XfMBF.mjs} +1 -1
- package/dist/{ChargeOnDemandModal-CR01PkP_.mjs → ChargeOnDemandModal-B4ShPKLS.mjs} +46 -45
- package/dist/{Chip.vue.es-Dxx_0dte.mjs → Chip.vue.es-CYwWHyAT.mjs} +2 -2
- package/dist/CompanyPurchaseToggle.vue_vue_type_script_setup_true_lang-CVXHCSPb.mjs +510 -0
- package/dist/{Comparators.vue.es-DQBI3f7m.mjs → Comparators.vue.es-DYrKlE8t.mjs} +1 -1
- package/dist/{ContentWithAsideLayout-Bnbsq8_5.mjs → ContentWithAsideLayout-C2kFcft1.mjs} +1 -1
- package/dist/{ContextMenu.vue.es-BJO4U47Q.mjs → ContextMenu.vue.es-EXTx0NEt.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-CmNpqcBw.mjs → CustomerBillingInformation.vue.es-CSKG6V3T.mjs} +3 -3
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DZZuAHIE.mjs +217 -0
- package/dist/CustomerShippingAddresses-Bdy4XWjE.mjs +282 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BEKwWob_.mjs +3124 -0
- package/dist/{DividerText.vue.es-BusbyeAI.mjs → DividerText.vue.es-Dq0JzI8C.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-wPma8Os-.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-3gf8pvR7.mjs} +3 -3
- package/dist/{ErrorNotification.vue.es-F068p7PY.mjs → ErrorNotification.vue.es-Cw7fqCg1.mjs} +2 -2
- package/dist/{FormMessage.vue.es-CwMQpIAW.mjs → FormMessage.vue.es-MrzQoSae.mjs} +1 -1
- package/dist/{IconButton.vue.es-D8DtBW9i.mjs → IconButton.vue.es-CpQbFw0x.mjs} +2 -2
- package/dist/{IconTitle.vue.es-6VJtjJX2.mjs → IconTitle.vue.es-CcOIFjbE.mjs} +3 -3
- package/dist/{Input.vue.es-BLyHcmu4.mjs → Input.vue.es-Cd55vQri.mjs} +4 -4
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dl1vTzQD.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CqkGCbvg.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DYskT3r7.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-BUu5M_gx.mjs} +7 -7
- package/dist/{InvoicePreview.vue.es-Cpf66_xV.mjs → InvoicePreview.vue.es-DHh5wruk.mjs} +7 -7
- package/dist/{InvoicePricingClauseChip.vue.es-CDrAE901.mjs → InvoicePricingClauseChip.vue.es-ZSOBp1se.mjs} +4 -4
- package/dist/{Label.vue.es-es7ZUBSP.mjs → Label.vue.es-CB6G8Krh.mjs} +3 -3
- package/dist/LoadFailedNotice.vue_vue_type_script_setup_true_lang-BZCtO2Er.mjs +20 -0
- package/dist/{Modal.vue.es-eeR9FmvQ.mjs → Modal.vue.es-CJFTVFSZ.mjs} +138 -127
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-D0pwpqIC.mjs +789 -0
- package/dist/{PaymentCompletedCard.vue_vue_type_script_setup_true_lang-CrjVPks0.mjs → PaymentCompletedCard.vue_vue_type_script_setup_true_lang-D08Qpgb0.mjs} +2 -2
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DyjzaTK1.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-dl52PYcq.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BHQrWy6r.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D0priVnA.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-CN42ewCn.mjs → PaymentHistoryBlock-BSXlneqM.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-C3Y5fHvA.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CXy0XGpn.mjs} +5 -5
- package/dist/{PaymentIntegrationForm-D3Ye7LZ5.mjs → PaymentIntegrationForm-Diua0GGJ.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CLlm_Q2j.mjs +161 -0
- package/dist/{PaymentIntegrationFormAdyen-Fm-diCCO.mjs → PaymentIntegrationFormAdyen-D4FP0Vj5.mjs} +302 -282
- package/dist/{PaymentIntegrationFormStripe-BANBL6za.mjs → PaymentIntegrationFormStripe-vFzF_sCJ.mjs} +126 -117
- package/dist/{PaymentMethod.vue.es-t3-VyoE8.mjs → PaymentMethod.vue.es-vs6SaZOh.mjs} +200 -150
- package/dist/{PaymentMethodForm-CqP3GoNj.mjs → PaymentMethodForm-Buhe0aRQ.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-RPPdBw_e.mjs +165 -0
- package/dist/{PaymentMethodSelector.vue_vue_type_script_setup_true_lang-D5wmRuCf.mjs → PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DprL5TR8.mjs} +7 -7
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-DhkkiJaQ.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BXbevI3r.mjs} +28 -26
- package/dist/PaymentMethodsModal-CnJP9UKp.mjs +192 -0
- package/dist/PlanCustomizationEditor-KHLSEUbb.mjs +864 -0
- package/dist/{PortalLinkUnverified-Cp60_kRJ.mjs → PortalLinkUnverified-DlZAkE93.mjs} +3 -3
- package/dist/{PortalNotAvailable-DzSQnfzw.mjs → PortalNotAvailable-CKIomNrm.mjs} +2 -2
- package/dist/{PricingGroupRangeInput.vue.es-Srq_3cga.mjs → PricingGroupRangeInput.vue.es-oHD-IT12.mjs} +8 -8
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-oRijnVnZ.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-wCW8YZHM.mjs} +16 -15
- package/dist/{RadioGroupExtended.vue.es-BbBMDf6l.mjs → RadioGroupExtended.vue.es-DsShmkKZ.mjs} +5 -5
- package/dist/Section.vue.es-DYmEtgBj.mjs +88 -0
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-OM19NPBh.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CANXYTzu.mjs} +2 -2
- package/dist/ShippingAddressForm.vue_vue_type_script_setup_true_lang-CJp6ddhZ.mjs +144 -0
- package/dist/ShippingAddressesModal-Gxv2KxaW.mjs +283 -0
- package/dist/{StepInput.vue.es-ieh4EuJ7.mjs → StepInput.vue.es-sqA-VSsn.mjs} +4 -4
- package/dist/SubscriptionCancellationModal-DfAZ_uW6.mjs +4 -0
- package/dist/SubscriptionCancellationModal.vue_vue_type_script_setup_true_lang-BlbiDNIu.mjs +240 -0
- package/dist/SubscriptionCancellationSuccess.vue_vue_type_script_setup_true_lang-C1ko2xvR.mjs +64 -0
- package/dist/SubscriptionDetails.entry.ce-CdWV-8WN.mjs +764 -0
- package/dist/{SubscriptionSchedules-DMxX3GpK.mjs → SubscriptionSchedules-BfdVn1XA.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C8q8Q6h5.mjs +5413 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-qQ9gJOIs.mjs +90 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-CHlXP_2x.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DYWjTzPV.mjs} +133 -108
- package/dist/Toggle.vue.es-S2g8WGY_.mjs +99 -0
- package/dist/{TooltipParagraph.vue.es-BES3zsYN.mjs → TooltipParagraph.vue.es-Bt-7LHr3.mjs} +18 -18
- package/dist/{TranslationOverride.vue_vue_type_script_setup_true_lang-BJmlNrXT.mjs → TranslationOverride.vue_vue_type_script_setup_true_lang-Cp_sFa52.mjs} +1 -1
- package/dist/TrialChip.vue.es-VZwQX079.mjs +47 -0
- package/dist/addonQuantity-D3bGVqjL.mjs +128 -0
- package/dist/adyen-CHgq2l6n.mjs +99 -0
- package/dist/adyenSdk-DUTO7xkT.mjs +63 -0
- package/dist/{api.es-qgvzNMU-.mjs → api.es-QaC926Xu.mjs} +2 -2
- package/dist/components/BillingInformation/BillingInformation.mjs +37 -41
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +45 -462
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +33 -42
- package/dist/components/Invoice/Invoice.mjs +1087 -1019
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +38 -47
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +29 -34
- package/dist/components/InvoicesList/InvoicesList.mjs +33 -42
- package/dist/components/PaymentHistory/PaymentHistory.mjs +39 -48
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +56 -64
- package/dist/components/ShippingAddressForm/ShippingAddressForm.ce.d.ts +1 -0
- package/dist/components/ShippingAddressForm/ShippingAddressForm.mjs +212 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +34 -42
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +41 -50
- package/dist/components/WalletBalances/WalletBalances.mjs +46 -55
- package/dist/core/events.types.d.ts +1 -0
- package/dist/core/index.mjs +51 -34
- package/dist/{customElements-DK4GKNJG.mjs → customElements-B8c354Nu.mjs} +802 -768
- package/dist/{customer-lf6S5DBR.mjs → customer-CP-Wz7JO.mjs} +1 -1
- package/dist/{de-DE-Cyj_NtiI.mjs → de-DE-C9HrzHpE.mjs} +71 -5
- package/dist/{de-DE-UJ6X6jXu.mjs → de-DE-DAQmgEy5.mjs} +82 -19
- package/dist/{formControl-BZQLHnOO.mjs → formControl-C18sw44K.mjs} +275 -275
- package/dist/{formatting.es-RclXHhKo.mjs → formatting.es-DlJEzreG.mjs} +16 -13
- package/dist/{fr-FR-CRFoWQ7J.mjs → fr-FR-CHR3VWvd.mjs} +71 -5
- package/dist/{fr-FR-Cvvbkwlj.mjs → fr-FR-fz51-Ubw.mjs} +79 -16
- package/dist/{countryData.es-BegoD-cZ.mjs → getCountryNameByCode.es-OGxn_zT0.mjs} +7 -2
- package/dist/icon-sprite.svg.es-2S3rv8NW.mjs +4 -0
- package/dist/index.es-Bv55VtdE.mjs +633 -0
- package/dist/{index.es-BrVTOW5D.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.mjs +37 -33
- package/dist/invoices-I7PghcPV.mjs +143 -0
- package/dist/{it-IT-DnJP5URH.mjs → it-IT-BpCkTMZL.mjs} +73 -10
- package/dist/{it-IT-DObZEc-U.mjs → it-IT-Dzc7DmmL.mjs} +71 -5
- package/dist/{nl-NL-q9xfTZF0.mjs → nl-NL-22C8OcIM.mjs} +79 -16
- package/dist/{nl-NL-C02xHilF.mjs → nl-NL-Dut_QwsY.mjs} +71 -5
- package/dist/paymentIntegrationFormLoaders-BFMAMpcA.mjs +31 -0
- package/dist/{paymentMethods-8w-ccfY_.mjs → paymentMethods-aGKIi7DS.mjs} +22 -21
- package/dist/{paymentOutcome-B6sW1eCV.mjs → paymentOutcome-Cv7hTFVu.mjs} +1 -1
- package/dist/paymentRedirect-DaS8Kccc.mjs +66 -0
- package/dist/payments-BKoKpoLN.mjs +71 -0
- package/dist/preloadPaymentIntegrationForms-Buwal_JR.mjs +9 -0
- package/dist/pricing-Y-7ELzN-.mjs +42 -0
- package/dist/{pricingItem.es-bCPArbTa.mjs → pricingItem.es-BafitMMY.mjs} +1 -1
- package/dist/pricingPlanScheduleOverrides-CGm_-jJq.mjs +291 -0
- package/dist/randomUuid-BE_IQ-aq.mjs +10 -0
- package/dist/screens/Checkout/Checkout.mjs +1098 -3
- package/dist/screens/CheckoutSession/CheckoutSession.ce.d.ts +1 -0
- package/dist/screens/CheckoutSession/CheckoutSession.mjs +1322 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +209 -133
- package/dist/screens/PayInvoice/PayInvoice.mjs +283 -275
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +92 -97
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +915 -404
- package/dist/{subscription-BwzkagDI.mjs → subscription-DQ5mRp_e.mjs} +10 -10
- package/dist/subscriptions-B7dNqi1C.mjs +99 -0
- package/dist/timePeriod.es-R9U0wLlB.mjs +13 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +11 -14
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +2 -9
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +10 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +6 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +17 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +3 -2
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +3 -2
- package/dist/types/components/payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +12 -1
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentMethodsModal/PaymentMethodsModal.types.d.ts +22 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +1 -1
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -1
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -2
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -11
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +1 -5
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostEvent.d.ts +12 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +5 -4
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +3 -3
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +3 -3
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +6 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +1 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +10 -3
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +3 -14
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -1
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +14 -0
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +14 -1
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +9 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditor.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/UnitsEditorItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationSuccess/SubscriptionCancellationSuccess.types.d.ts +4 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -9
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +5 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +3 -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/SubscriptionsList/SubscriptionsList.types.d.ts +1 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +3 -1
- package/dist/types/index.d.ts +5 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +5 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +1 -2
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +6 -2
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +7 -7
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +2 -2
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +6 -7
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +1 -1
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +19 -14
- 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/SubscriptionsList/SubscriptionsList.types.d.ts +10 -1
- package/dist/types/public/core/action-request.types.d.ts +18 -24
- package/dist/types/public/core/events.types.d.ts +99 -0
- package/dist/types/public/core/index.d.ts +3 -1
- package/dist/types/public/core/types.d.ts +11 -2
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +1 -7
- package/dist/types/public/screens/Checkout/Checkout.source.types.d.ts +151 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +7 -30
- 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.types.d.ts +8 -2
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +0 -6
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +2 -19
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +2 -3
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +2 -1
- package/dist/types/services/paymentMethods.types.d.ts +12 -1
- package/dist/types/types/EntryBaseProps.d.ts +10 -6
- package/dist/types/types/branding.d.ts +15 -0
- package/dist/types/types/checkoutSession.d.ts +199 -0
- package/dist/types/types/errors.d.ts +2 -0
- package/dist/types/types/pricingPlanGroup.d.ts +25 -0
- package/dist/{useActionDispatchProvider-ChAHdwR8.mjs → useActionDispatchProvider-BCtk-FGU.mjs} +1 -1
- package/dist/useAddressFormats-CtE4QaVU.mjs +1998 -0
- package/dist/useCheckoutForm-BhXcmnUi.mjs +3355 -0
- package/dist/{useCustomer-CTMhg1nd.mjs → useCustomer-mQysxUwp.mjs} +2 -2
- package/dist/useDefaultPaymentMethod-Dliq6_Yw.mjs +39 -0
- package/dist/useExperimentalFeature-Bw6bBtay.mjs +6 -0
- package/dist/useHostEvent-MtRG6W2B.mjs +12 -0
- package/dist/{useIncrementalLoading-CBVutPH8.mjs → useIncrementalLoading-CJSj1945.mjs} +2 -2
- package/dist/{useInvoiceData-qUGbBAQK.mjs → useInvoiceData-BEZIvw32.mjs} +2 -2
- package/dist/{useInvoicesList-wJvZAJpW.mjs → useInvoicesList-CrXjsmei.mjs} +140 -138
- package/dist/{sorting.es-C0pdMgX0.mjs → useIsMounted.es-BNPhTTHE.mjs} +11 -10
- package/dist/{useLoadInitialData-UvfYXgbi.mjs → useLoadInitialData-Bomj_1mo.mjs} +1 -1
- package/dist/usePaymentFormHold-CYZ4BdOw.mjs +19 -0
- package/dist/{usePaymentMethodAvailability-35l4pWdH.mjs → usePaymentMethodAvailability-DR_neLeZ.mjs} +4 -4
- package/dist/usePaymentMethodOptions-CuHoQx3K.mjs +67 -0
- package/dist/{usePaymentMethods-De7hlLHo.mjs → usePaymentMethods-BDdetXts.mjs} +2 -2
- package/dist/{usePayments-hWS7fnOx.mjs → usePayments-B5Z9Kfbv.mjs} +20 -18
- package/dist/usePortal-DuLR5Mid.mjs +14 -0
- package/dist/{useService-BwzIBIRp.mjs → useService-2aOFBTxU.mjs} +1 -1
- package/dist/useShippingAddresses-BvThNpez.mjs +122 -0
- package/dist/useSubscription-Dzo-kBpQ.mjs +35 -0
- package/dist/useSubscriptionActions-CWaNRoZ7.mjs +44 -0
- package/dist/useWatchDebounced-DkXgKe0E.mjs +20 -0
- package/dist/{wallets.es-eH2C2ygn.mjs → wallets.es-DRlUVd2R.mjs} +1 -1
- package/package.json +41 -11
- package/dist/AuthProvider.handle-SRR_04XS.mjs +0 -50
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-nqKbgY7G.mjs +0 -58
- package/dist/Checkout.entry.ce-CopWuLJC.mjs +0 -4169
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-CEnM1uxK.mjs +0 -828
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Jyb5ZN3s.mjs +0 -136
- package/dist/CustomerShippingAddresses-BRPukhRI.mjs +0 -397
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DJnr5D56.mjs +0 -2936
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-B_FpibLA.mjs +0 -441
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D07SEP8a.mjs +0 -181
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CMRMbL3d.mjs +0 -161
- package/dist/PlanCustomizationEditor-B76UNEMm.mjs +0 -791
- package/dist/Section.vue.es-Oqn1wGPZ.mjs +0 -72
- package/dist/ShippingAddressesModal-c7nqf4Ny.mjs +0 -418
- package/dist/SubscriptionDetails.entry.ce-uYv45FGH.mjs +0 -1044
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DXro_64f.mjs +0 -5200
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-BZNsqN4G.mjs +0 -203
- package/dist/TrialChip.vue.es-C51z1ZiA.mjs +0 -35
- package/dist/addonQuantity-CCVaA3e-.mjs +0 -758
- package/dist/adyenSdk-B01MB9Ia.mjs +0 -58
- package/dist/getCountryNameByCode.es-BDHua7VM.mjs +0 -8
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +0 -4
- package/dist/invoices-DdREPDXV.mjs +0 -123
- package/dist/paymentMethods-Goa25rTs.mjs +0 -61
- package/dist/payments-CKpU1K3t.mjs +0 -68
- package/dist/pricing-CEaZGgKe.mjs +0 -29
- package/dist/pricingPlanScheduleOverrides-BBp-DmpV.mjs +0 -233
- package/dist/pricingPlanSchedules-DSMptcAh.mjs +0 -38
- package/dist/subscriptions-B5bH8hsI.mjs +0 -66
- package/dist/taxId.es-e6NEvprh.mjs +0 -243
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +0 -3
- package/dist/useCustomerFormLabels-D4oDnfxA.mjs +0 -1173
- package/dist/usePaymentFormHold-Cwdr-vyc.mjs +0 -181
- package/dist/usePortal-DUfD6hrA.mjs +0 -7
- package/dist/useTimePeriod.es-BUorDLVK.mjs +0 -93
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Address, BillingEntity, BillingPeriod, CheckoutSessionNewCustomerType, CheckoutSessionStatus, ConfiguredMeterValue, CreatedCheckoutSessionPortalUrl, Invoice, InvoiceInfo, Name, PortalUrl, PricingPlanScheduleInfoExpanded, PricingPlanSubscription, TaxIdentifier } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
/** A `CLOSED` link (its session COMPLETED or FAILED) can still be read. */
|
|
3
|
+
export type CheckoutSessionPortalUrlStatus = 'PUBLISHED' | 'REVOKED' | 'CLOSED';
|
|
4
|
+
/** The portal object a host passes for a checkout session link; `token` is the handle. */
|
|
5
|
+
export interface CheckoutSessionPortalUrl extends Omit<CreatedCheckoutSessionPortalUrl, 'status' | 'expires_at' | 'url'> {
|
|
6
|
+
status: CheckoutSessionPortalUrlStatus;
|
|
7
|
+
expires_at?: string;
|
|
8
|
+
url?: string;
|
|
9
|
+
}
|
|
10
|
+
export type CheckoutSessionFieldDisplay = 'EDITABLE' | 'READ_ONLY' | 'HIDDEN';
|
|
11
|
+
export interface CheckoutSessionEffectiveDisplay {
|
|
12
|
+
customer_details: CheckoutSessionFieldDisplay;
|
|
13
|
+
address: CheckoutSessionFieldDisplay;
|
|
14
|
+
tax_ids: CheckoutSessionFieldDisplay;
|
|
15
|
+
email: CheckoutSessionFieldDisplay;
|
|
16
|
+
custom_fields: CheckoutSessionFieldDisplay;
|
|
17
|
+
}
|
|
18
|
+
/** A customer the session creates when it completes. */
|
|
19
|
+
export interface CheckoutSessionNewCustomer {
|
|
20
|
+
reference: string;
|
|
21
|
+
type: CheckoutSessionNewCustomerType;
|
|
22
|
+
email?: string;
|
|
23
|
+
locale?: string;
|
|
24
|
+
timezone?: string;
|
|
25
|
+
roles?: string[];
|
|
26
|
+
custom_fields?: Record<string, unknown>[];
|
|
27
|
+
individual?: {
|
|
28
|
+
name?: Partial<Pick<Name, 'first_name' | 'last_name' | 'infix'>>;
|
|
29
|
+
residential_address?: Address;
|
|
30
|
+
};
|
|
31
|
+
organization?: {
|
|
32
|
+
legal_name?: string;
|
|
33
|
+
tax_id?: string;
|
|
34
|
+
tax_ids?: TaxIdentifier[];
|
|
35
|
+
registration_number?: string;
|
|
36
|
+
tax_exempt?: boolean;
|
|
37
|
+
tax_exempt_note?: string;
|
|
38
|
+
registered_address?: Address;
|
|
39
|
+
tax_registrations?: Record<string, unknown>[];
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface CheckoutSessionReadableCustomer {
|
|
43
|
+
customer_id?: string;
|
|
44
|
+
customer?: CheckoutSessionNewCustomer;
|
|
45
|
+
/** Another customer of the session by `reference`, or an existing one by `id`. */
|
|
46
|
+
parent_customer?: {
|
|
47
|
+
id?: string;
|
|
48
|
+
reference?: string;
|
|
49
|
+
};
|
|
50
|
+
display?: Partial<CheckoutSessionEffectiveDisplay>;
|
|
51
|
+
effective_display: CheckoutSessionEffectiveDisplay;
|
|
52
|
+
}
|
|
53
|
+
export interface CheckoutSessionMeterBound {
|
|
54
|
+
pricing_item_config_id: string;
|
|
55
|
+
min: {
|
|
56
|
+
number: string;
|
|
57
|
+
};
|
|
58
|
+
max: {
|
|
59
|
+
number: string;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export interface CheckoutSessionScheduleCustomization {
|
|
63
|
+
pricing_plan_schedule_id: string;
|
|
64
|
+
seats_values?: ConfiguredMeterValue[];
|
|
65
|
+
units?: ConfiguredMeterValue[];
|
|
66
|
+
coupons?: unknown[];
|
|
67
|
+
promotion_codes?: string[];
|
|
68
|
+
}
|
|
69
|
+
export interface CheckoutSessionSubscription {
|
|
70
|
+
template_pricing_plan_subscription_id: PricingPlanSubscription['id'];
|
|
71
|
+
pricing_plan_subscription: {
|
|
72
|
+
reference: string;
|
|
73
|
+
name?: string;
|
|
74
|
+
customer_id?: string;
|
|
75
|
+
customer_reference?: string;
|
|
76
|
+
variant?: string;
|
|
77
|
+
forward_customer_id?: string;
|
|
78
|
+
forward_customer_reference?: string;
|
|
79
|
+
};
|
|
80
|
+
pricing_plan_schedule_customizations?: CheckoutSessionScheduleCustomization[];
|
|
81
|
+
options?: {
|
|
82
|
+
edit_seats?: CheckoutSessionMeterBound[];
|
|
83
|
+
edit_units?: CheckoutSessionMeterBound[];
|
|
84
|
+
allow_promotion_codes?: 'NONE' | 'SINGLE';
|
|
85
|
+
};
|
|
86
|
+
starting_values?: {
|
|
87
|
+
pricing_plan_schedule_id: string;
|
|
88
|
+
seats_values?: ConfiguredMeterValue[];
|
|
89
|
+
units?: ConfiguredMeterValue[];
|
|
90
|
+
}[];
|
|
91
|
+
/** Read only: what the subscription will be, resolved from its template and the session. */
|
|
92
|
+
name?: string;
|
|
93
|
+
billing_currency?: string;
|
|
94
|
+
billing_period?: BillingPeriod;
|
|
95
|
+
/** Left out while it still depends on a country the buyer has not entered. */
|
|
96
|
+
billing_entity_id?: BillingEntity['id'];
|
|
97
|
+
/** With `expand[]=ALL` only. */
|
|
98
|
+
billing_entity?: BillingEntity;
|
|
99
|
+
/** Keyed by the ids `starting_values` uses; the version, with the session applied, only expanded. */
|
|
100
|
+
pricing_plan_schedule_infos?: PricingPlanScheduleInfoExpanded[];
|
|
101
|
+
}
|
|
102
|
+
export interface CheckoutSession {
|
|
103
|
+
status: CheckoutSessionStatus;
|
|
104
|
+
payment_status: 'UNPAID' | 'PAID';
|
|
105
|
+
version: number;
|
|
106
|
+
completed_at?: string;
|
|
107
|
+
success_url?: string;
|
|
108
|
+
cancel_url?: string;
|
|
109
|
+
locale?: string;
|
|
110
|
+
/** Markdown. */
|
|
111
|
+
note?: string;
|
|
112
|
+
display?: Partial<CheckoutSessionEffectiveDisplay>;
|
|
113
|
+
customers: CheckoutSessionReadableCustomer[];
|
|
114
|
+
pricing_plan_subscriptions: CheckoutSessionSubscription[];
|
|
115
|
+
payment?: {
|
|
116
|
+
customer_id?: string;
|
|
117
|
+
customer_reference?: string;
|
|
118
|
+
payment_acceptor_ids?: string[];
|
|
119
|
+
store_payment_method?: boolean;
|
|
120
|
+
};
|
|
121
|
+
result?: unknown;
|
|
122
|
+
/** Paths such as `checkout_session.customers.0.customer.email`; absent when nothing is missing. */
|
|
123
|
+
missing_fields?: string[];
|
|
124
|
+
}
|
|
125
|
+
/** `GET` and `PATCH {transaction}/portal/portal-urls/{id}`. */
|
|
126
|
+
export interface CheckoutSessionPortalUrlResponse {
|
|
127
|
+
object_type: 'PORTAL_URL';
|
|
128
|
+
id: string;
|
|
129
|
+
type: 'CHECKOUT_SESSION';
|
|
130
|
+
status: CheckoutSessionPortalUrlStatus;
|
|
131
|
+
checkout_session: CheckoutSession;
|
|
132
|
+
}
|
|
133
|
+
export type CheckoutSessionAddressPatch = Partial<Address>;
|
|
134
|
+
/**
|
|
135
|
+
* The customer keys a buyer may send: the rest (`type`, `reference`, `locale`, …) is refused, and
|
|
136
|
+
* `null` only clears the lists that take it.
|
|
137
|
+
*/
|
|
138
|
+
export interface CheckoutSessionCustomerPatch {
|
|
139
|
+
email?: string;
|
|
140
|
+
custom_fields?: Record<string, unknown>[] | null;
|
|
141
|
+
individual?: {
|
|
142
|
+
name?: Partial<Pick<Name, 'first_name' | 'last_name' | 'infix'>>;
|
|
143
|
+
residential_address?: CheckoutSessionAddressPatch;
|
|
144
|
+
};
|
|
145
|
+
organization?: {
|
|
146
|
+
legal_name?: string;
|
|
147
|
+
tax_id?: string;
|
|
148
|
+
tax_ids?: Pick<TaxIdentifier, 'id' | 'type'>[] | null;
|
|
149
|
+
registration_number?: string;
|
|
150
|
+
tax_exempt?: boolean;
|
|
151
|
+
tax_exempt_note?: string;
|
|
152
|
+
registered_address?: CheckoutSessionAddressPatch;
|
|
153
|
+
tax_registrations?: Record<string, unknown>[] | null;
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
export interface CheckoutSessionCustomizationPatch {
|
|
157
|
+
pricing_plan_schedule_id: string;
|
|
158
|
+
seats_values?: ConfiguredMeterValue[];
|
|
159
|
+
units?: ConfiguredMeterValue[];
|
|
160
|
+
promotion_codes?: string[] | null;
|
|
161
|
+
}
|
|
162
|
+
/** Positional: entry i edits entry i, and `{}` leaves it alone. */
|
|
163
|
+
export interface CheckoutSessionPatchBody {
|
|
164
|
+
checkout_session: {
|
|
165
|
+
expected_version: number;
|
|
166
|
+
customers?: ({
|
|
167
|
+
customer: CheckoutSessionCustomerPatch;
|
|
168
|
+
} | Record<string, never>)[];
|
|
169
|
+
pricing_plan_subscriptions?: ({
|
|
170
|
+
pricing_plan_schedule_customizations: CheckoutSessionCustomizationPatch[];
|
|
171
|
+
} | Record<string, never>)[];
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
/** `POST {transaction}/portal/portal-urls/{id}/preview`. */
|
|
175
|
+
export interface CheckoutSessionPreview {
|
|
176
|
+
invoices?: {
|
|
177
|
+
customer_reference: string;
|
|
178
|
+
customer_id?: string;
|
|
179
|
+
invoice: Invoice;
|
|
180
|
+
pricing_plan_subscription_references: string[];
|
|
181
|
+
}[];
|
|
182
|
+
/** Decimal strings such as `"268.00"`. */
|
|
183
|
+
total?: {
|
|
184
|
+
currency: string;
|
|
185
|
+
amount_excl_tax: string;
|
|
186
|
+
tax: string;
|
|
187
|
+
amount_incl_tax: string;
|
|
188
|
+
};
|
|
189
|
+
per_subscription?: {
|
|
190
|
+
pricing_plan_subscription_reference: string;
|
|
191
|
+
invoice_infos: InvoiceInfo[];
|
|
192
|
+
}[];
|
|
193
|
+
checkout_session: {
|
|
194
|
+
version: number;
|
|
195
|
+
missing_fields?: string[];
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
/** Every portal object an element can be given; the types package lacks the checkout session. */
|
|
199
|
+
export type PortalObject = PortalUrl | CheckoutSessionPortalUrl;
|
|
@@ -4,6 +4,8 @@ export interface SdkError {
|
|
|
4
4
|
code: ErrorCode;
|
|
5
5
|
message: string;
|
|
6
6
|
error?: unknown;
|
|
7
|
+
/** The API's answer when it refused the payment, where `error` holds the gateway's own. */
|
|
8
|
+
apiError?: unknown;
|
|
7
9
|
/**
|
|
8
10
|
* The reference for this visit, shown to the customer so they can quote it when they report
|
|
9
11
|
* the failure. The same value is on every `LogEntry` the session emitted.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PricingPlan } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
/** Local to this package until `@solvimon/solvimon-types` ships the pricing plan group. */
|
|
3
|
+
export type PricingPlanGroupChangeType = 'IMMEDIATE' | 'IMMEDIATE_PRO_RATA' | 'NEXT_BILLING_PERIOD' | 'NOT_ALLOWED';
|
|
4
|
+
export type PricingPlanGroupStatus = 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'ARCHIVED';
|
|
5
|
+
export interface PricingPlanGroupMember {
|
|
6
|
+
pricing_plan_id: PricingPlan['id'];
|
|
7
|
+
/** A higher order is an upgrade of a lower one. */
|
|
8
|
+
order: number;
|
|
9
|
+
/** Only on an expanded response. */
|
|
10
|
+
pricing_plan?: PricingPlan | null;
|
|
11
|
+
}
|
|
12
|
+
export interface PricingPlanGroup {
|
|
13
|
+
object_type: 'PRICING_PLAN_GROUP';
|
|
14
|
+
id: string;
|
|
15
|
+
reference: string;
|
|
16
|
+
name?: string | null;
|
|
17
|
+
status: PricingPlanGroupStatus | null;
|
|
18
|
+
upgrade_type: PricingPlanGroupChangeType | null;
|
|
19
|
+
downgrade_type: PricingPlanGroupChangeType | null;
|
|
20
|
+
cancellation_type: PricingPlanGroupChangeType | null;
|
|
21
|
+
pricing_plans?: PricingPlanGroupMember[] | null;
|
|
22
|
+
created_at?: string;
|
|
23
|
+
updated_at?: string;
|
|
24
|
+
}
|
|
25
|
+
export type PricingPlanChangeDirection = 'UPGRADE' | 'DOWNGRADE';
|