@solvimon/solvimon-web 0.1.0-alpha.27 → 0.1.0-alpha.29
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 +151 -17
- package/dist/{Alert.vue.es-lIiAWf2S.mjs → Alert.vue.es-CNrEaLvh.mjs} +58 -46
- package/dist/ApiStatus-CSFKl_ra.mjs +9 -0
- package/dist/AuthProvider.handle-DKfNs8rr.mjs +50 -0
- package/dist/{Avatar.vue.es-sfMZiX7A.mjs → Avatar.vue.es-r0NbcIib.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DmY3a-Wi.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Cp4yGqaw.mjs} +18 -19
- package/dist/{Button.vue.es-Cmjfm4jw.mjs → Button.vue.es-Zw--kuaU.mjs} +4 -4
- package/dist/{ChargeOnDemandModal-CB4mrvkU.mjs → ChargeOnDemandModal-B8FDkS9U.mjs} +240 -251
- package/dist/Checkout.entry.ce-DsGl-5aR.mjs +4202 -0
- package/dist/CheckoutAddressFields.vue_vue_type_script_setup_true_lang-2D8VM_7W.mjs +828 -0
- package/dist/{Chip.vue.es-DksjbJO8.mjs → Chip.vue.es-D3UDSyXC.mjs} +35 -21
- package/dist/Comparators.vue.es-DQBI3f7m.mjs +103 -0
- package/dist/ContentWithAsideLayout-Bnbsq8_5.mjs +32 -0
- package/dist/{ContextMenu.vue.es-zRvoEJlV.mjs → ContextMenu.vue.es-B9mFpUQK.mjs} +87 -88
- package/dist/{CustomerBillingInformation.vue.es-DhFbpZPK.mjs → CustomerBillingInformation.vue.es-B8NiQaJs.mjs} +3 -3
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B41la-T7.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-DBivC5Eb.mjs} +27 -30
- package/dist/CustomerShippingAddresses-Bj8Y17O8.mjs +397 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BmPKfIjT.mjs +2927 -0
- package/dist/{DividerText.vue.es-nAo1eRMV.mjs → DividerText.vue.es-CNbgif-3.mjs} +1 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CVP-7ne3.mjs +55 -0
- package/dist/{ErrorNotification.vue.es-h-D37rfG.mjs → ErrorNotification.vue.es-DNd65mQq.mjs} +2 -2
- package/dist/FormMessage.vue.es-Cjv358Ab.mjs +39 -0
- package/dist/{IconButton.vue.es-DvfErUOq.mjs → IconButton.vue.es-C8lYFx5_.mjs} +2 -2
- package/dist/{IconTitle.vue.es-B_8bS0tn.mjs → IconTitle.vue.es-O2kcqgKm.mjs} +3 -3
- package/dist/Input.vue.es-D8Oj8MWv.mjs +250 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-gpMtYNzn.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-rhqYVdfV.mjs} +14 -13
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-06R-M8Q3.mjs +56 -0
- package/dist/InvoicePreview.vue.es-4Q2hzaFS.mjs +286 -0
- package/dist/InvoicePricingClauseChip.vue.es-DKU0xu0t.mjs +124 -0
- package/dist/Label.vue.es-DtpLM1KH.mjs +113 -0
- package/dist/{Modal.vue.es-BeI5C9-9.mjs → Modal.vue.es-C8ZcO117.mjs} +109 -103
- package/dist/OrderSummaryInvoice.vue_vue_type_script_setup_true_lang-3DQLCR3U.mjs +441 -0
- package/dist/PaymentCompletedCard.vue_vue_type_script_setup_true_lang-DfTb9psX.mjs +48 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DqHcOnZp.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BoGTtg5G.mjs} +70 -113
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DlqoWKQq.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-BIAm22Kq.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-mCqdFjnL.mjs → PaymentHistoryBlock-BvY2nXGV.mjs} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DxaY3eFN.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-bQKhUonq.mjs} +24 -24
- package/dist/{PaymentIntegrationForm-DVx4DEtD.mjs → PaymentIntegrationForm-CcfQSzKM.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvzcLJVq.mjs +181 -0
- package/dist/{PaymentIntegrationFormAdyen-Yr8p5Fly.mjs → PaymentIntegrationFormAdyen-DqgDfO6K.mjs} +422 -311
- package/dist/PaymentIntegrationFormStripe-BYdAkvLt.mjs +757 -0
- package/dist/{PaymentMethod.vue.es-4YRmQZHX.mjs → PaymentMethod.vue.es-b0p3a0L-.mjs} +7 -7
- package/dist/{PaymentMethodForm-Dnj_7mJU.mjs → PaymentMethodForm-BsTrTwCg.mjs} +1 -1
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-DsD3UjkC.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-sUOmLORl.mjs} +57 -65
- package/dist/PaymentMethodSelector.vue_vue_type_script_setup_true_lang-DsnAhR79.mjs +169 -0
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CjECKNi_.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-CSW4LfmH.mjs} +13 -8
- package/dist/PlanCustomizationEditor-D29N4HUM.mjs +711 -0
- package/dist/PortalLinkUnverified-B_EE2wTJ.mjs +52 -0
- package/dist/PortalNotAvailable-DPE9y37H.mjs +25 -0
- package/dist/{PricingGroupRangeInput.vue.es-BhNcjD7z.mjs → PricingGroupRangeInput.vue.es-tIMXIhpZ.mjs} +14 -13
- package/dist/{PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-CmJITenR.mjs → PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DqxWxSQe.mjs} +48 -48
- package/dist/RadioGroupExtended.vue.es-3nDXqIGi.mjs +176 -0
- package/dist/{Section.vue.es-DVEpre9O.mjs → Section.vue.es-CvX9tg2f.mjs} +1 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Cl7I1Apo.mjs +60 -0
- package/dist/ShippingAddressesModal-C4p1IXXk.mjs +418 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D7MFjvrP.mjs +32 -0
- package/dist/{StepInput.vue.es-o-3Lg4Ai.mjs → StepInput.vue.es-DweyzpkL.mjs} +5 -4
- package/dist/{SubscriptionDetails.entry.ce-CGl6Z5ql.mjs → SubscriptionDetails.entry.ce-D5SwM0YS.mjs} +448 -460
- package/dist/{SubscriptionSchedules-DuWZmnD2.mjs → SubscriptionSchedules-BZqlpAtk.mjs} +1 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BH7DdOWK.mjs +5185 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-DoJxiqVB.mjs +203 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BsdevoeT.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-BbjdBHSQ.mjs} +126 -90
- package/dist/TooltipParagraph.vue.es-Dw0ndjle.mjs +132 -0
- package/dist/TranslationOverride.vue_vue_type_script_setup_true_lang-BhjZVMSx.mjs +31 -0
- package/dist/{TrialChip.vue.es-Dmv3lPiQ.mjs → TrialChip.vue.es-DOopmaXA.mjs} +2 -2
- package/dist/addressFormats.data-dzBx49dw.mjs +278 -0
- package/dist/amount-CondixVt.mjs +36 -0
- package/dist/{api.es-QaC926Xu.mjs → api.es-qgvzNMU-.mjs} +2 -2
- package/dist/{cn.es-Cvt6TIwv.mjs → cn.es-B8acFrov.mjs} +385 -477
- package/dist/{comparators.es-D8WGL-c4.mjs → comparators.es-C8rHpb70.mjs} +17 -13
- package/dist/components/BillingInformation/BillingInformation.mjs +11 -10
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +397 -350
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +20 -19
- package/dist/components/Invoice/Invoice.mjs +2691 -227
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +66 -62
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +40 -40
- package/dist/components/InvoicesList/InvoicesList.mjs +20 -18
- package/dist/components/PaymentHistory/PaymentHistory.mjs +72 -64
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +33 -31
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +49 -45
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +47 -31
- package/dist/components/WalletBalances/WalletBalances.mjs +22 -21
- package/dist/core/index.mjs +61 -95
- package/dist/customElements-BTj4ii4f.mjs +5072 -0
- package/dist/customer-BIjC0CWJ.mjs +31 -0
- package/dist/customer.es-DQKl6wFt.mjs +24 -0
- package/dist/{de-DE-DKp5LCu0.mjs → de-DE-DBbERiFr.mjs} +110 -18
- package/dist/{de-DE-jkW2dJrX.mjs → de-DE-UJ6X6jXu.mjs} +16 -10
- package/dist/floating-ui.vue.es-BvAf8-si.mjs +1003 -0
- package/dist/formControl-BZQLHnOO.mjs +749 -0
- package/dist/fr-FR-Cvvbkwlj.mjs +307 -0
- package/dist/fr-FR-IWJE-urI.mjs +431 -0
- package/dist/icon-sprite.svg.es-BWBB8SGw.mjs +4 -0
- package/dist/{index.es-CXkP_k3u.mjs → index.es-C7J3WGGo.mjs} +4 -4
- package/dist/index.es-CpmQmvOg.mjs +633 -0
- package/dist/index.mjs +2 -2
- package/dist/invoiceState-BJVHaKs7.mjs +14 -0
- package/dist/{invoices-3520M5AN.mjs → invoices-e1sKLgxg.mjs} +40 -35
- package/dist/{it-IT-BgFVsO5S.mjs → it-IT-B7ui2oxO.mjs} +110 -18
- package/dist/{it-IT-CaaFToGB.mjs → it-IT-DnJP5URH.mjs} +9 -3
- package/dist/{nl-NL-UiRWbO9S.mjs → nl-NL-Bafh2xoT.mjs} +116 -24
- package/dist/{nl-NL-D0MQKaql.mjs → nl-NL-q9xfTZF0.mjs} +12 -6
- package/dist/paymentMethods-B_82JGk_.mjs +77 -0
- package/dist/paymentMethods-Nfv9HdkS.mjs +61 -0
- package/dist/paymentOutcome-BXEU5-84.mjs +67 -0
- package/dist/payments-BnxbzQUC.mjs +68 -0
- package/dist/{pricing-BIMpDI_p.mjs → pricing-BOhvWWMj.mjs} +3 -3
- package/dist/pricingItemConfigs.es-D3pX_9AJ.mjs +78 -0
- package/dist/pricingPlanScheduleOverrides-Dxv5FOBd.mjs +233 -0
- package/dist/pricingPlanSchedules-Dv7ZCgNp.mjs +38 -0
- package/dist/sanitization.es-C6dbuxUJ.mjs +4 -0
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +146 -94
- package/dist/screens/PayInvoice/PayInvoice.mjs +603 -278
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +102 -88
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +2 -2
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +371 -347
- package/dist/sessionReference-B8Dbmx5t.mjs +38 -0
- package/dist/sorting.es-CVyKw23D.mjs +77 -0
- package/dist/subscription-BhxoqwcT.mjs +83 -0
- package/dist/subscriptions-BWXZGK0E.mjs +66 -0
- package/dist/taxId.es-DkD3Ltr8.mjs +243 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +2 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +2 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutAddressFields.types.d.ts +22 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +15 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +0 -2
- 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/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts +0 -1
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +2 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +0 -2
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +9 -2
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +47 -4
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +11 -1
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +0 -4
- package/dist/types/components/providers/AuthProvider/AuthProvider.handle.d.ts +17 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +30 -3
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +12 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +1 -3
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +2 -4
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.lib.d.ts +11 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +2 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +5 -1
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +2 -2
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +6 -1
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +5 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +10 -7
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +1 -1
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +3 -1
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.types.d.ts +2 -2
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +13 -4
- package/dist/types/components/providers/RequiredPropertiesGuard/RequiredPropertiesGuard.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +7 -2
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +1 -1
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +1 -2
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +2 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +1 -10
- package/dist/types/components/subscriptions/OrderSummaryInvoice.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +5 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +10 -16
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +1 -14
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +4 -1
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +1 -2
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +0 -3
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +3 -1
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +1 -7
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -1
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +0 -3
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -1
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +0 -1
- package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts +12 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -1
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +0 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +3 -2
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +0 -2
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +0 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +2 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -1
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +3 -2
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +0 -2
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +3 -2
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +0 -2
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -1
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +3 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -1
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +1 -3
- package/dist/types/public/core/action-request.types.d.ts +5 -0
- package/dist/types/public/core/registry.ce.d.ts +3 -3
- package/dist/types/public/core/registry.d.ts +0 -3
- package/dist/types/public/core/types.d.ts +5 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +0 -7
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +2 -2
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +5 -1
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +1 -2
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -1
- package/dist/types/services/paymentMethods.types.d.ts +2 -10
- package/dist/types/services/requests.types.d.ts +16 -6
- package/dist/types/translations/supported.d.ts +1 -1
- package/dist/types/types/errors.d.ts +3 -2
- package/dist/types/types/portalAuthentication.d.ts +2 -0
- package/dist/types/types/portalToken.d.ts +9 -0
- package/dist/types/types/shippingAddress.d.ts +9 -0
- package/dist/types/vendor/@adyen/adyen-web/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +27 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +16 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyVariable.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +12 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +35 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ShippingAddress.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +1 -1
- 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/useActionDispatchProvider-3W2vEyIg.mjs +9 -0
- package/dist/{useCustomer-B-jyJIVy.mjs → useCustomer-cObBvDOu.mjs} +2 -2
- package/dist/useCustomerFormLabels-DJWf2O17.mjs +1173 -0
- package/dist/useIncrementalLoading-CATuO36d.mjs +60 -0
- package/dist/useInvoiceData-DD44HTl7.mjs +21 -0
- package/dist/useInvoicesList-CpB-41MQ.mjs +674 -0
- package/dist/useLazyFloating.es-CycqRyeb.mjs +68 -0
- package/dist/useLoadInitialData-qzdnBoui.mjs +15 -0
- package/dist/usePaymentFormHold-ByUZi3A-.mjs +181 -0
- package/dist/{usePaymentMethodAvailability-DAcsKGeh.mjs → usePaymentMethodAvailability-DUdrs0Ji.mjs} +8 -8
- package/dist/usePaymentMethods-ByaKF7mf.mjs +21 -0
- package/dist/{usePayments-Cr6NlGaW.mjs → usePayments-BXABv-lF.mjs} +9 -9
- package/dist/usePortal-CwR_FxTb.mjs +7 -0
- package/dist/useService-BZcbUZHI.mjs +56 -0
- package/dist/{useTimePeriod.es-DWLsLFqs.mjs → useTimePeriod.es-BpdiVwg8.mjs} +1 -1
- package/dist/useViewport-psZejz_H.mjs +19 -0
- package/package.json +33 -60
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-081H9T3X.js +0 -1
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DNepCMRp.mjs +0 -223
- package/dist/Alert.vue.es-RyK53a2P.js +0 -1
- package/dist/Amount.vue.es-DExaYBqm.js +0 -1
- package/dist/Avatar.vue.es-BJxSCU76.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BV5iEOxn.js +0 -1
- package/dist/Button.vue.es-BzkuglKw.js +0 -1
- package/dist/ChargeOnDemandModal-b17YswWA.js +0 -1
- package/dist/Checkout.entry.ce-HlUrJ1kh.js +0 -2
- package/dist/Checkout.entry.ce-X2zGo6hG.mjs +0 -4381
- package/dist/Chip.vue.es-B2jjzIOc.js +0 -1
- package/dist/Comparators.vue.es-CwhX3rbx.mjs +0 -93
- package/dist/Comparators.vue.es-DmkxV0gb.js +0 -1
- package/dist/ContentWithAsideLayout-BCM8tmZN.mjs +0 -38
- package/dist/ContentWithAsideLayout-RSdKXqAf.js +0 -1
- package/dist/ContextMenu.vue.es-DUU43tCy.js +0 -1
- package/dist/CustomerBillingInformation.vue.es-BfPEB42w.js +0 -1
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BISD6n8X.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DssxYPSA.mjs +0 -2688
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-XufY6bdV.js +0 -1
- package/dist/Divider.vue.es-UwnWvUTl.js +0 -1
- package/dist/DividerText.vue.es-CoyDk9eH.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CQ0KrXHJ.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-QW9NdxyZ.mjs +0 -335
- package/dist/ErrorNotification.vue.es-tS9vySUZ.js +0 -1
- package/dist/Expand.vue.es-BtM0EZEr.js +0 -1
- package/dist/FormMessage.vue.es-dqATjC2N.js +0 -1
- package/dist/FormMessage.vue.es-jG3fQZms.mjs +0 -29
- package/dist/IconButton.vue.es-DgQN18Am.js +0 -1
- package/dist/IconTitle.vue.es-Dn2xcPHj.js +0 -1
- package/dist/Input.vue.es-B60eK8Ds.js +0 -1
- package/dist/Input.vue.es-CU9u5yKH.mjs +0 -235
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Dqdezse7.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-Cl6HU243.js +0 -1
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-DNqawlYV.mjs +0 -41
- package/dist/InvoiceSummary.vue.es-CAmA8g0t.js +0 -1
- package/dist/InvoiceSummary.vue.es-CRiFJ5x-.mjs +0 -2596
- package/dist/Modal.vue.es-DvLB3uCG.js +0 -1
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Dg4rn1cm.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-B9R5JRJv.js +0 -1
- package/dist/PaymentHistoryBlock-Uw8xeKUk.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-ALI5f0py.js +0 -1
- package/dist/PaymentIntegrationForm-Cx0zCf_C.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-B-viSd_i.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CCKCXXZX.mjs +0 -154
- package/dist/PaymentIntegrationFormAdyen-B-v-4nlj.js +0 -98
- package/dist/PaymentIntegrationFormStripe-CoLmAzas.js +0 -102
- package/dist/PaymentIntegrationFormStripe-Ds0BXt89.mjs +0 -587
- package/dist/PaymentMethod.vue.es-D0D9jW8s.js +0 -1
- package/dist/PaymentMethodForm-CMP5FLRO.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-nxnGyJmE.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIrrQUS6.js +0 -1
- package/dist/PlanCustomizationEditor-DS1r2vBO.js +0 -1
- package/dist/PlanCustomizationEditor-DlVSCKGN.mjs +0 -722
- package/dist/PricingGroupRangeInput.vue.es-VoOTnHjk.js +0 -185
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-hS6A-KcP.js +0 -1
- package/dist/RadioGroupExtended.vue.es-9YzXzZF0.mjs +0 -163
- package/dist/RadioGroupExtended.vue.es-DlbURHQN.js +0 -1
- package/dist/Section.vue.es-Bbt0RITt.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Dl7MbMlk.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xzjqB-v-.mjs +0 -687
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CJWE7wVi.mjs +0 -41
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-otI7Hz2w.js +0 -1
- package/dist/StepInput.vue.es-H-3R4jJq.js +0 -1
- package/dist/SubscriptionDetails.entry.ce-CQUO_uXH.js +0 -1
- package/dist/SubscriptionSchedules-Dy0fUgx5.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-C1kTiW-H.mjs +0 -5234
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-Dd_Rr6qn.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CYyP4ra9.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CsekphtV.mjs +0 -91
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-B4j8Clbj.js +0 -1
- package/dist/TooltipParagraph.vue.es-B9A17aG7.mjs +0 -129
- package/dist/TooltipParagraph.vue.es-DvC5Wjaz.js +0 -1
- package/dist/TrialChip.vue.es-CLQZ5F0n.js +0 -1
- package/dist/accel.svg.es-DFJXdioD.js +0 -1
- package/dist/ach.svg.es-BYP873jU.js +0 -1
- package/dist/adyen-BJfC7N6f.js +0 -1
- package/dist/adyenSdk-BP2XXzeJ.js +0 -1
- package/dist/amazon-pay.svg.es-CQWgtowB.js +0 -1
- package/dist/amex.svg.es-DKhW4Txt.js +0 -1
- package/dist/api.es-duCDtZD9.js +0 -1
- package/dist/apple-pay.svg.es-Dyojd0F-.js +0 -1
- package/dist/bacs.svg.es-GJpZs1sD.js +0 -1
- package/dist/bancontact.svg.es-BQh7nAup.js +0 -1
- package/dist/carnet.svg.es-DY04-F2L.js +0 -1
- package/dist/cartes-bancaires.svg.es-BleHMlkN.js +0 -1
- package/dist/cashapp.svg.es-MwXGYom6.js +0 -1
- package/dist/cn.es-C9Yqq4tg.js +0 -1
- package/dist/comparators.es-OGt19O9U.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +0 -1
- package/dist/components/Invoice/Invoice.cjs +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +0 -1
- package/dist/components/InvoicesList/InvoicesList.cjs +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +0 -1
- package/dist/components/WalletBalances/WalletBalances.cjs +0 -1
- package/dist/configuration-akTS7Wiw.js +0 -1
- package/dist/core/index.cjs +0 -1
- package/dist/countryData.es-C4jHBzfo.js +0 -1
- package/dist/customElements-B58FcXIN.mjs +0 -6633
- package/dist/customElements-DUMRMFQ5.js +0 -1215
- package/dist/customer-B3LPAhaD.mjs +0 -31
- package/dist/customer-CisTPaXj.js +0 -1
- package/dist/customer.es-B5ppZf0j.mjs +0 -20
- package/dist/customer.es-BButyYo0.js +0 -1
- package/dist/dana.svg.es-BDtZLpwd.js +0 -1
- package/dist/dankort.svg.es-CksaipXF.js +0 -1
- package/dist/de-DE-B4TUdnUf.js +0 -1
- package/dist/de-DE-DL74pMLb.js +0 -1
- package/dist/diners.svg.es-D6Mu1pqP.js +0 -1
- package/dist/discover.svg.es-DgqWCMUM.js +0 -1
- package/dist/eftpos.svg.es-Dk2DOT8W.js +0 -1
- package/dist/elo.svg.es-C-BzjuRP.js +0 -1
- package/dist/en-US-B2XFj-_p.js +0 -1
- package/dist/en-US-DQ5vlv9Z.mjs +0 -339
- package/dist/en-US-J85TQRI8.js +0 -1
- package/dist/en-US-SDhjlY_v.mjs +0 -301
- package/dist/eps.svg.es-B_85bP-W.js +0 -1
- package/dist/error-BHVZJGwD.mjs +0 -13
- package/dist/error-CmduqgVq.js +0 -1
- package/dist/floating-ui.vue.es-Bly3DGWm.js +0 -1
- package/dist/floating-ui.vue.es-CYt0fSY7.mjs +0 -1108
- package/dist/formControl-ODrpUvcA.js +0 -1
- package/dist/formControl-dX7l8o3c.mjs +0 -845
- package/dist/formatting.es-C72Nsrmh.js +0 -1
- package/dist/gcash.svg.es-BKAdhWzv.js +0 -1
- package/dist/getComposedString.es-haS4bAj7.js +0 -1
- package/dist/getCountryNameByCode.es-Xxc0nZsH.js +0 -1
- package/dist/girocard.svg.es-HSOEvDif.js +0 -1
- package/dist/go-pay.svg.es-DQjtunZ_.js +0 -1
- package/dist/google-pay.svg.es-hzc_EgiJ.js +0 -1
- package/dist/hipercard.svg.es-CbCsRY2q.js +0 -1
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +0 -4
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +0 -1
- package/dist/ideal.svg.es-Booz1IML.js +0 -1
- package/dist/index-BPZPnOQQ.js +0 -7
- package/dist/index.cjs +0 -1
- package/dist/index.es-BclokHQX.js +0 -1
- package/dist/invoices-CKQBLar2.js +0 -1
- package/dist/it-IT-CSYvGmpT.js +0 -1
- package/dist/it-IT-CqNK62qe.js +0 -1
- package/dist/jcb.svg.es-B3WPB8c2.js +0 -1
- package/dist/kakao-pay.svg.es-Cs-lCW74.js +0 -1
- package/dist/klarna.svg.es-Cs6XaHD7.js +0 -1
- package/dist/maestro.svg.es-BvK4oPg4.js +0 -1
- package/dist/mastercard.svg.es-lp4AXyyV.js +0 -1
- package/dist/momo.svg.es-C5aLYf_R.js +0 -1
- package/dist/nl-NL-CpE4IgwO.js +0 -1
- package/dist/nl-NL-Dx-TNXQ1.js +0 -1
- package/dist/nyce.svg.es-ArAivAZW.js +0 -1
- package/dist/object.es-CdriXMPs.js +0 -1
- package/dist/open-banking.svg.es-Q3rRkCvP.js +0 -1
- package/dist/paymentFailure-Bh60UhxA.mjs +0 -47
- package/dist/paymentFailure-Cki8c5BX.js +0 -1
- package/dist/paymentMethods-CWlvwK5V.mjs +0 -77
- package/dist/paymentMethods-Cw-i95mM.js +0 -1
- package/dist/payments-2qeQdpiW.mjs +0 -45
- package/dist/payments-CS7_YcOW.js +0 -1
- package/dist/paypal.svg.es-Cjp5sNI3.js +0 -1
- package/dist/pricing-BOqG21f9.js +0 -1
- package/dist/pricing.es-C07bgEZx.js +0 -1
- package/dist/pricingItemConfigs.es-D4aYkYcf.js +0 -1
- package/dist/pricingItemConfigs.es-ORxsk_YS.mjs +0 -77
- package/dist/pricingPlanSchedule-BM8vsKkV.js +0 -1
- package/dist/pricingPlanSchedules-B_sTAIgU.js +0 -1
- package/dist/pricingPlanSchedules-ChQCbMfe.mjs +0 -32
- package/dist/pulse.svg.es-Dit33E8S.js +0 -1
- package/dist/screens/Checkout/Checkout.cjs +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +0 -1
- package/dist/screens/PayInvoice/PayInvoice.cjs +0 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +0 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +0 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +0 -1
- package/dist/sepa.svg.es-0t4DKeA1.js +0 -1
- package/dist/sessionReference-3h-6FdrC.mjs +0 -43
- package/dist/sessionReference-m_6Rp4X1.js +0 -1
- package/dist/slots.es-T9ZJRGtG.js +0 -1
- package/dist/sorting.es-DCihKqD2.mjs +0 -77
- package/dist/sorting.es-DQsjKr8A.js +0 -1
- package/dist/star.svg.es-D2JncY7b.js +0 -1
- package/dist/subscription-D1yHKUNc.mjs +0 -69
- package/dist/subscription-ZA62t4E9.js +0 -1
- package/dist/subscriptions-DcfcBYAq.mjs +0 -55
- package/dist/subscriptions-DwVsf4Ev.js +0 -1
- package/dist/trustly.svg.es-GJByiFAs.js +0 -1
- package/dist/twint.svg.es-BJ2f48og.js +0 -1
- package/dist/typeGuards.es-DS3vZaJn.js +0 -1
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +0 -14
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +0 -3
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +0 -5
- package/dist/types/services/portals.types.d.ts +0 -70
- package/dist/types/types/subscription.d.ts +0 -4
- package/dist/unionpay.svg.es-DjFZ5EMQ.js +0 -1
- package/dist/url-TNRgVI8A.mjs +0 -21
- package/dist/url-vloPOiXd.js +0 -1
- package/dist/useActionDispatchProvider-B3AvkLL2.mjs +0 -11
- package/dist/useActionDispatchProvider-DFhppdve.js +0 -1
- package/dist/useCustomer-BwZKd9i5.js +0 -1
- package/dist/useCustomerFormLabels-BQk3d9PZ.mjs +0 -968
- package/dist/useCustomerFormLabels-DV9QiMYh.js +0 -1
- package/dist/useExperimentalFeature-BciA3Ok9.mjs +0 -135
- package/dist/useExperimentalFeature-CGIkgFR4.js +0 -1
- package/dist/useIncrementalLoading-CaWOE8Xl.js +0 -1
- package/dist/useIncrementalLoading-Cgxw2GD7.mjs +0 -48
- package/dist/useInvoiceData-BocKdeg7.mjs +0 -38
- package/dist/useInvoiceData-CNV_FMV8.js +0 -1
- package/dist/useInvoicesList-C8nsXMJ6.mjs +0 -500
- package/dist/useInvoicesList-S0IbQcrD.js +0 -1
- package/dist/useLoadInitialData-D9GkzY8t.mjs +0 -15
- package/dist/useLoadInitialData-D_R6Jy1s.js +0 -1
- package/dist/usePaymentMethodAvailability-BO_guwAw.js +0 -1
- package/dist/usePaymentMethodOptions-1vRAo6Ib.mjs +0 -39
- package/dist/usePaymentMethodOptions-CuzOoi2k.js +0 -1
- package/dist/usePaymentMethods-CbwnGONc.mjs +0 -15
- package/dist/usePaymentMethods-DDaTZQZp.js +0 -1
- package/dist/usePayments-DDSjo0rH.js +0 -1
- package/dist/usePortal-C27omjhz.js +0 -1
- package/dist/usePortal-C5AsegpS.mjs +0 -11
- package/dist/useService-Bh47bllz.mjs +0 -50
- package/dist/useService-H7BjLg8P.js +0 -1
- package/dist/useSubscription-BZJL0VOA.mjs +0 -210
- package/dist/useSubscription-D787IXY-.js +0 -1
- package/dist/useTimePeriod.es-rzxqUCTu.js +0 -1
- package/dist/useViewport-BgdA2PPt.mjs +0 -29
- package/dist/useViewport-hPRVDWCm.js +0 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +0 -1
- package/dist/useWatchDebounced-BHlBPcXB.mjs +0 -20
- package/dist/visa.svg.es-NY3BHhda.js +0 -1
- package/dist/vpay.svg.es-VViQi42w.js +0 -1
- package/dist/wallets.es-CNIMW5ay.js +0 -1
- package/dist/zip.svg.es-C9S_F31W.js +0 -1
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import { BillingPeriod, Currency, PaymentMethod,
|
|
1
|
+
import { BillingPeriod, Currency, PaymentMethod, PricingGroupExtended } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
export interface SubscriptionManagementFormProps {
|
|
3
|
+
/** Lets a submit button outside the form name it with its `form` attribute. */
|
|
4
|
+
id?: string;
|
|
3
5
|
/** The group being changed. Its pricings are the options the customer picks between. */
|
|
4
6
|
pricingGroup: PricingGroupExtended;
|
|
5
|
-
/** The customer's saved payment methods, to pay the change with. */
|
|
6
|
-
paymentMethods?: PaymentMethod[];
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* What the change can be charged to. The API only charges the subscription's own method, so
|
|
9
|
+
* nothing can be added here.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
paymentMethods?: PaymentMethod[];
|
|
12
|
+
/** The subscription's own method is a card that has expired, which is why none is on offer. */
|
|
13
|
+
hasExpiredPaymentMethod?: boolean;
|
|
12
14
|
/** Drives how each pricing's amount is rendered on its option. */
|
|
13
15
|
billingPeriod: BillingPeriod;
|
|
14
16
|
currency?: Currency['currencyCode'];
|
|
15
17
|
disabled?: boolean;
|
|
16
18
|
}
|
|
17
19
|
export interface SubscriptionManagementFormEmits {
|
|
18
|
-
/** The customer
|
|
19
|
-
(e: '
|
|
20
|
-
}
|
|
21
|
-
export interface SubscriptionManagementFormModel {
|
|
22
|
-
/**
|
|
23
|
-
* Every enabled pricing on the schedule, not just this group's. The group editor swaps its own
|
|
24
|
-
* entry and leaves the rest alone, so the list stays whole and can be submitted as-is.
|
|
25
|
-
*/
|
|
26
|
-
enabledPricingIds: Pricing['id'][];
|
|
27
|
-
paymentMethodId?: PaymentMethod['id'];
|
|
20
|
+
/** The customer submitted the form, from its own fields or a button tied to it by `form`. */
|
|
21
|
+
(e: 'submit'): void;
|
|
28
22
|
}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PricingPlanSubscriptionExpanded } from '../../types/subscription';
|
|
1
|
+
import { Pricing, PricingPlanSubscriptionExpanded } from '../../vendor/@solvimon/solvimon-types/index';
|
|
3
2
|
export interface SubscriptionSummaryProps {
|
|
4
3
|
/**
|
|
5
4
|
* The subscription to display.
|
|
6
5
|
*/
|
|
7
6
|
subscription: PricingPlanSubscriptionExpanded;
|
|
8
|
-
/**
|
|
9
|
-
* The invoice to display.
|
|
10
|
-
*/
|
|
11
|
-
invoice?: Invoice;
|
|
12
|
-
/**
|
|
13
|
-
* Whether the subscription is loading.
|
|
14
|
-
*/
|
|
15
|
-
loading?: boolean;
|
|
16
7
|
/**
|
|
17
8
|
* The pricing ids to display.
|
|
18
9
|
*/
|
|
@@ -26,8 +17,4 @@ export interface SubscriptionSummaryProps {
|
|
|
26
17
|
* for instance, which would otherwise pad it twice over.
|
|
27
18
|
*/
|
|
28
19
|
noSpacing?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* The trial period to display.
|
|
31
|
-
*/
|
|
32
|
-
trialPeriod?: TimePeriod;
|
|
33
20
|
}
|
|
@@ -3,7 +3,10 @@ export interface SubscriptionsListProps {
|
|
|
3
3
|
customer: Customer;
|
|
4
4
|
subscriptions: PricingPlanSubscriptionExpanded[];
|
|
5
5
|
paymentMethods?: PaymentMethod[];
|
|
6
|
-
|
|
6
|
+
/** The subscriptions could not be loaded, so an empty list says nothing about them. */
|
|
7
|
+
hasError?: boolean;
|
|
8
|
+
hasMoreItems?: boolean;
|
|
9
|
+
isLoadingMore?: boolean;
|
|
7
10
|
showViewAllButton?: boolean;
|
|
8
11
|
showViewDetailsButton?: boolean;
|
|
9
12
|
}
|
package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Customer, PaymentMethod } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
-
import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
|
|
1
|
+
import { Customer, PaymentMethod, PricingPlanSubscriptionExpanded } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
3
2
|
export interface SubscriptionsListItemProps {
|
|
4
3
|
subscription: PricingPlanSubscriptionExpanded;
|
|
5
4
|
paymentMethod?: PaymentMethod;
|
|
@@ -49,8 +49,5 @@ export interface AutoTopUpConfigProps {
|
|
|
49
49
|
alwaysEnabled?: boolean;
|
|
50
50
|
disabled?: boolean;
|
|
51
51
|
}
|
|
52
|
-
export interface AutoTopUpConfigEmits {
|
|
53
|
-
(e: 'save', rule: AutoTopUpRule): void;
|
|
54
|
-
}
|
|
55
52
|
/** Bundled so the two hosts offering the editor cannot drift on what they pass it. */
|
|
56
53
|
export type AutoTopUpEditorConfig = Pick<AutoTopUpConfigProps, 'denomination' | 'creditUnitName' | 'chargeCurrency' | 'conversionRate' | 'topUpBounds'>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChargeOnDemandPricingItemsPayload, Invoice, PaymentMethod, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
1
|
+
import { ChargeOnDemandPricingItemsPayload, Invoice, PaymentMethod, PaymentMethodOptionsResponse, PricingPlanSchedule } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
import { TopUpPricingItem } from './TopUpModal.lib';
|
|
3
3
|
import { AutoTopUpRule } from '../AutoTopUpConfig/AutoTopUpConfig.types';
|
|
4
4
|
export interface TopUpModalFormProps {
|
|
@@ -17,6 +17,8 @@ export interface TopUpModalFormEmits {
|
|
|
17
17
|
(e: 'save-auto-top-up', request: {
|
|
18
18
|
rule: AutoTopUpRule;
|
|
19
19
|
paymentMethodId: PaymentMethod['id'];
|
|
20
|
+
/** The schedule the top-up was charged on, which the rule is billed on too. */
|
|
21
|
+
pricingPlanScheduleId: PricingPlanSchedule['id'];
|
|
20
22
|
}): void;
|
|
21
23
|
(e: 'failure', error: unknown): void;
|
|
22
24
|
}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { Invoice
|
|
1
|
+
import { Invoice } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
export interface TopUpModalSuccessProps {
|
|
3
|
-
/**
|
|
4
|
-
* What the top-up added to the wallet, the way the customer reads their balance — credits for a
|
|
5
|
-
* credit based wallet, money otherwise. Undefined when it could not be worked out, in which case
|
|
6
|
-
* the receipt is left to speak for itself.
|
|
7
|
-
*/
|
|
8
|
-
addedValue?: WalletBalanceValue;
|
|
9
3
|
/** The invoice the charge produced, shown as the receipt for it. */
|
|
10
4
|
invoice?: Invoice;
|
|
11
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonBillingInformation: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonBillingInformation: (tagName?: string) => string;
|
package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonBillingInformationForm: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonBillingInformationForm: (tagName?: string) => string;
|
package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonCustomerPaymentMethods: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonCustomerPaymentMethods: (tagName?: string) => string;
|
package/dist/types/public/components/CustomerShippingAddresses/CustomerShippingAddresses.types.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Customer } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export interface CustomerShippingAddressesProps {
|
|
3
|
+
/**
|
|
4
|
+
* Whose addresses the block loads. Known before the customer is, so both load at once; left
|
|
5
|
+
* out, the customer's own id is used once it arrives.
|
|
6
|
+
*/
|
|
7
|
+
customerId?: Customer['id'];
|
|
8
|
+
/** Who the addresses are for, which the forms start on. Without one the block is left out. */
|
|
9
|
+
customer?: Customer;
|
|
10
|
+
/** Set while the screen around it is still loading, so the block waits with it. */
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonInvoice: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonInvoice: (tagName?: string) => string;
|
|
@@ -18,7 +18,6 @@ export interface InvoiceConfiguration {
|
|
|
18
18
|
enablePaymentAttempts?: boolean;
|
|
19
19
|
}
|
|
20
20
|
export interface InvoiceProps {
|
|
21
|
-
isLoading: boolean;
|
|
22
21
|
invoice: Invoice;
|
|
23
22
|
payments?: Payment[];
|
|
24
23
|
invoiceDownloadService: (invoice: Pick<Invoice, 'id' | 'invoice_number'>) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonInvoiceDetails: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonInvoiceDetails: (tagName?: string) => string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
-
import {
|
|
2
|
+
import { InvoiceDetailsConfiguration } from './InvoiceDetails.types';
|
|
3
3
|
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
|
-
export interface SolvimonInvoiceDetailsEntryProps extends EntryBaseProps<CustomerPortalUrl
|
|
4
|
+
export interface SolvimonInvoiceDetailsEntryProps extends EntryBaseProps<CustomerPortalUrl> {
|
|
5
|
+
configuration: InvoiceDetailsConfiguration;
|
|
5
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonInvoiceHeader: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonInvoiceHeader: (tagName?: string) => string;
|
|
@@ -8,7 +8,6 @@ export interface InvoiceHeaderConfiguration {
|
|
|
8
8
|
enableDownloadButton?: boolean;
|
|
9
9
|
}
|
|
10
10
|
export interface InvoiceHeaderProps {
|
|
11
|
-
isLoading: boolean;
|
|
12
11
|
invoice: Invoice;
|
|
13
12
|
payments?: Payment[];
|
|
14
13
|
invoiceDownloadService: (invoice: Pick<Invoice, 'id' | 'invoice_number'>) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonInvoicesList: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonInvoicesList: (tagName?: string) => string;
|
|
@@ -29,6 +29,8 @@ export interface InvoicesListConfiguration {
|
|
|
29
29
|
export interface InvoicesListProps {
|
|
30
30
|
invoices: Invoice[];
|
|
31
31
|
isLoading: boolean;
|
|
32
|
+
/** Set when the invoices, or the next batch of them, failed to load. */
|
|
33
|
+
error?: Error | null;
|
|
32
34
|
hasMoreItems: boolean;
|
|
33
35
|
configuration?: InvoicesListConfiguration;
|
|
34
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonPaymentHistory: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonPaymentHistory: (tagName?: string) => string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
-
import {
|
|
2
|
+
import { PaymentHistoryConfiguration } from './PaymentHistory.types';
|
|
3
3
|
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
|
-
export interface SolvimonPaymentHistoryEntryProps extends EntryBaseProps<CustomerPortalUrl
|
|
4
|
+
export interface SolvimonPaymentHistoryEntryProps extends EntryBaseProps<CustomerPortalUrl> {
|
|
5
|
+
configuration: PaymentHistoryConfiguration;
|
|
5
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonPaymentMethodForm: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonPaymentMethodForm: (tagName?: string) => string;
|
package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonSubscriptionSchedules: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonSubscriptionSchedules: (tagName?: string) => string;
|
package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
-
import {
|
|
2
|
+
import { SubscriptionSchedulesConfiguration } from './SubscriptionSchedules.types';
|
|
3
3
|
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
|
-
export interface SolvimonSubscriptionSchedulesEntryProps extends EntryBaseProps<CustomerPortalUrl
|
|
4
|
+
export interface SolvimonSubscriptionSchedulesEntryProps extends EntryBaseProps<CustomerPortalUrl> {
|
|
5
|
+
configuration: SubscriptionSchedulesConfiguration;
|
|
5
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonSubscriptionsList: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonSubscriptionsList: (tagName?: string) => string;
|
|
@@ -9,6 +9,9 @@ export interface SubscriptionsListProps {
|
|
|
9
9
|
subscriptions: PricingPlanSubscriptionExpanded[];
|
|
10
10
|
paymentMethods?: PaymentMethod[];
|
|
11
11
|
isLoading: boolean;
|
|
12
|
+
hasError?: boolean;
|
|
13
|
+
hasMoreItems?: boolean;
|
|
14
|
+
isLoadingMore?: boolean;
|
|
12
15
|
configuration?: SubscriptionsListConfiguration;
|
|
13
16
|
}
|
|
14
17
|
export interface SubscriptionsListEmits {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonWalletBalances: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonWalletBalances: (tagName?: string) => string;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
3
|
-
export
|
|
4
|
-
portalObject: CustomerPortalUrl;
|
|
5
|
-
}
|
|
3
|
+
export type SolvimonWalletBalancesEntryProps = EntryBaseProps<CustomerPortalUrl>;
|
|
@@ -32,8 +32,13 @@ export interface ActionRequestDetailViewAllSubscriptions extends ActionRequestDe
|
|
|
32
32
|
}
|
|
33
33
|
export interface ActionRequestDetailManageSubscription extends ActionRequestDetailBase {
|
|
34
34
|
action: 'manage-subscription';
|
|
35
|
+
/**
|
|
36
|
+
* `enabledPricingId` is the pricing the customer chose to change, when they came from one. Hand
|
|
37
|
+
* it to `SubscriptionManagement` as `configuration.enabledPricingId` to open on its group.
|
|
38
|
+
*/
|
|
35
39
|
data: {
|
|
36
40
|
subscriptionId: string;
|
|
41
|
+
enabledPricingId?: string;
|
|
37
42
|
};
|
|
38
43
|
}
|
|
39
44
|
export interface ActionRequestDetailEditBillingInformation extends ActionRequestDetailBase {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare function getCustomElementTagName(viewId: string): string;
|
|
2
1
|
/**
|
|
3
|
-
* Loads the entry for `viewId
|
|
2
|
+
* Loads the entry for `viewId`, registers its custom element and resolves to its tag name: the
|
|
3
|
+
* canonical one, or the one a host already registered the element under itself.
|
|
4
4
|
*
|
|
5
5
|
* An unknown id throws synchronously, as it always did — that is a caller's mistake and should
|
|
6
6
|
* surface at the call site rather than inside a rejected promise.
|
|
7
7
|
*/
|
|
8
|
-
export declare function ensureCustomElementDefined(viewId: string, type: 'screen' | 'component'): Promise<
|
|
8
|
+
export declare function ensureCustomElementDefined(viewId: string, type: 'screen' | 'component'): Promise<string>;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
2
1
|
import { RegisteredScreenId, RegisteredComponentId } from './types';
|
|
3
|
-
export declare function getScreenComponent(id: string): Component | undefined;
|
|
4
|
-
export declare function getComponent(id: string): Component | undefined;
|
|
5
2
|
export declare function getRegisteredScreenIds(): RegisteredScreenId[];
|
|
6
3
|
export declare function getRegisteredComponentIds(): RegisteredComponentId[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PlatformBranding } from '../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { PortalToken } from '../../types/portalToken';
|
|
2
3
|
import { Environment, IntlMessages } from '../types';
|
|
3
4
|
import { LogLevel, LogSink } from '../../components/providers/LoggerProvider/LoggerProvider.types';
|
|
4
5
|
import { ExperimentalFeature } from '../../components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib';
|
|
@@ -107,10 +108,14 @@ type ConfigurationProp<TConfiguration> = [TConfiguration] extends [undefined] ?
|
|
|
107
108
|
export type ComponentMountConfiguration<TId extends RegisteredComponentId> = {
|
|
108
109
|
container: Element | string;
|
|
109
110
|
portalObject: InferPortalObject<RegisteredComponentEntryPropsById[TId]>;
|
|
111
|
+
/** See `portalToken` on the element: the response of an exchange of the handle, as it is. */
|
|
112
|
+
portalToken?: PortalToken;
|
|
110
113
|
} & ConfigurationProp<ComponentConfigurationById[TId]>;
|
|
111
114
|
export type ScreenMountConfiguration<TId extends RegisteredScreenId> = {
|
|
112
115
|
container: Element | string;
|
|
113
116
|
portalObject: InferPortalObject<RegisteredScreenEntryPropsById[TId]>;
|
|
117
|
+
/** See `portalToken` on the element: the response of an exchange of the handle, as it is. */
|
|
118
|
+
portalToken?: PortalToken;
|
|
114
119
|
} & ConfigurationProp<ScreenConfigurationById[TId]>;
|
|
115
120
|
export interface CoreConfiguration<TConfig extends SolvimonMountConfig = SolvimonMountConfig> {
|
|
116
121
|
config: TConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonCheckout: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonCheckout: (tagName?: string) => string;
|
|
@@ -4,13 +4,6 @@ import { CheckoutProps } from './Checkout.types';
|
|
|
4
4
|
export interface SolvimonCheckoutEntryProps extends EntryBaseProps<CheckoutPagePortalUrl>, CheckoutProps {
|
|
5
5
|
}
|
|
6
6
|
export interface SolvimonCheckoutEmits extends EntryBaseEmits {
|
|
7
|
-
/**
|
|
8
|
-
* Emitted when an error occurs.
|
|
9
|
-
*/
|
|
10
|
-
(e: 'error', payload: {
|
|
11
|
-
title: string;
|
|
12
|
-
message: string;
|
|
13
|
-
}): void;
|
|
14
7
|
/**
|
|
15
8
|
* Emitted when the checkout is ready.
|
|
16
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CountryCode } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
-
import {
|
|
2
|
+
import { SdkError } from '../../../types/errors';
|
|
3
3
|
export interface CheckoutConfiguration {
|
|
4
4
|
/**
|
|
5
5
|
* The avatar for the checkout.
|
|
@@ -38,7 +38,7 @@ export interface CheckoutEmits {
|
|
|
38
38
|
/**
|
|
39
39
|
* Emitted when an error occurs.
|
|
40
40
|
*/
|
|
41
|
-
(e: 'error', error:
|
|
41
|
+
(e: 'error', error: SdkError): void;
|
|
42
42
|
/**
|
|
43
43
|
* Emitted when the checkout is ready.
|
|
44
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonCustomerOverview: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonCustomerOverview: (tagName?: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonPayInvoice: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonPayInvoice: (tagName?: string) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Amount, Invoice, Payment, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
1
|
+
import { Amount, Invoice, Payment, PaymentMethod, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
import { BaseScreenProps } from '../types';
|
|
3
3
|
export interface PayInvoiceConfiguration {
|
|
4
4
|
/**
|
|
@@ -15,9 +15,13 @@ export interface PayInvoiceConfiguration {
|
|
|
15
15
|
export interface PayInvoiceProps extends BaseScreenProps {
|
|
16
16
|
invoice?: Invoice;
|
|
17
17
|
paymentMethodOptions?: PaymentMethodOptionsResponse;
|
|
18
|
+
/** The customer's stored methods; those this invoice can be charged to are offered first. */
|
|
19
|
+
paymentMethods?: PaymentMethod[];
|
|
18
20
|
paymentAttempts?: Payment[];
|
|
19
21
|
countryCode?: string;
|
|
20
22
|
amount?: Amount;
|
|
21
23
|
downloadService?: (invoice: Pick<Invoice, 'id' | 'invoice_number'>) => Promise<void>;
|
|
24
|
+
/** Loads the invoice and its payments again, so a paid invoice reads as paid. */
|
|
25
|
+
refresh?: () => Promise<unknown>;
|
|
22
26
|
configuration: PayInvoiceConfiguration;
|
|
23
27
|
}
|
package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonPaymentMethodsManagement: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonPaymentMethodsManagement: (tagName?: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonSubscriptionDetails: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonSubscriptionDetails: (tagName?: string) => string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { Customer, CustomerWalletBalanceItem, Invoice, PaymentMethod, PricingPlanSchedule, PricingPlanScheduleWithPlanData } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
1
|
+
import { Customer, CustomerWalletBalanceItem, Invoice, PaymentMethod, PricingPlanSchedule, PricingPlanScheduleWithPlanData, PricingPlanSubscriptionExpanded } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
import { ChargeOnDemandItem } from '@solvimon/solvimon-ui';
|
|
3
|
-
import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
|
|
4
3
|
import { BaseScreenProps } from '../types';
|
|
5
4
|
export interface SubscriptionDetailsProps extends BaseScreenProps {
|
|
6
5
|
subscription?: PricingPlanSubscriptionExpanded;
|
package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const defineSolvimonSubscriptionManagement: (tagName?: string) =>
|
|
1
|
+
export declare const defineSolvimonSubscriptionManagement: (tagName?: string) => string;
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { Amount, Customer, Invoice, PaymentMethod, PricingPlanSubscription } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { CustomerCollectionPayload } from './requests.types';
|
|
2
3
|
export interface SetDefaultPaymentMethodPayload {
|
|
3
4
|
paymentMethodId: PaymentMethod['id'];
|
|
4
5
|
}
|
|
5
6
|
export interface ArchivePaymentMethodPayload {
|
|
6
7
|
paymentMethodId: PaymentMethod['id'];
|
|
7
8
|
}
|
|
8
|
-
export
|
|
9
|
-
customerId: Customer['id'];
|
|
10
|
-
pagination: {
|
|
11
|
-
page?: number;
|
|
12
|
-
pageSize?: number;
|
|
13
|
-
orderBy?: string;
|
|
14
|
-
orderDirection?: 'asc' | 'desc';
|
|
15
|
-
};
|
|
16
|
-
query?: Record<string, string | number | null | undefined>;
|
|
17
|
-
}
|
|
9
|
+
export type GetPaymentMethodsPayload = CustomerCollectionPayload;
|
|
18
10
|
interface GetPaymentMethodOptionsBasePayload {
|
|
19
11
|
amount?: Amount;
|
|
20
12
|
country?: string;
|
|
@@ -1,20 +1,30 @@
|
|
|
1
|
+
import { Customer } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { ApiError } from './apiError';
|
|
1
3
|
export type GetDefaultHeaders = (params: {
|
|
2
4
|
headers?: Record<string, string | null>;
|
|
3
|
-
|
|
5
|
+
accessToken?: string;
|
|
4
6
|
}) => Record<string, string>;
|
|
5
7
|
export type RequestOptions = {
|
|
6
8
|
headers?: Record<string, string | null>;
|
|
7
9
|
method?: 'GET' | 'POST' | 'PATCH';
|
|
8
10
|
/** Statuses the caller handles itself. Still rejected; only the log entry drops to `warn`. */
|
|
9
11
|
expectedStatusCodes?: number[];
|
|
10
|
-
/**
|
|
11
|
-
|
|
12
|
-
* `HttpOnly` cookie, which `omit` neither stores from the response nor sends back.
|
|
13
|
-
*/
|
|
14
|
-
credentials?: 'omit' | 'include';
|
|
12
|
+
/** Like `expectedStatusCodes`, for failures the status alone does not tell apart. */
|
|
13
|
+
isExpectedError?: (error: ApiError) => boolean;
|
|
15
14
|
};
|
|
16
15
|
export type QueryParamValue = string | number | boolean | null | undefined | (string | number)[];
|
|
17
16
|
export type QueryParams = Record<string, QueryParamValue>;
|
|
17
|
+
/** A page of one customer's resources. */
|
|
18
|
+
export interface CustomerCollectionPayload {
|
|
19
|
+
customerId: Customer['id'];
|
|
20
|
+
pagination: {
|
|
21
|
+
page?: number;
|
|
22
|
+
pageSize?: number;
|
|
23
|
+
orderBy?: string;
|
|
24
|
+
orderDirection?: 'asc' | 'desc';
|
|
25
|
+
};
|
|
26
|
+
query?: Record<string, string | number | null | undefined>;
|
|
27
|
+
}
|
|
18
28
|
interface BaseRequestParams {
|
|
19
29
|
url: string;
|
|
20
30
|
query?: QueryParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SUPPORTED_LOCALES: readonly ["en-US", "nl-NL", "de-DE", "it-IT"];
|
|
1
|
+
export const SUPPORTED_LOCALES: readonly ["en-US", "nl-NL", "de-DE", "it-IT", "fr-FR"];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
type ErrorCode = 'UNKNOWN_ERROR' | 'AUTHORIZATION_FAILED' | 'PAYMENT_DETAILS_CALL_FAILED' | 'PAYMENT_METHOD_STORAGE_FAILED' | 'REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING' | 'TOKENIZE_FAILED' | 'RESOURCE_REVOKED' | 'PAYMENT_INTEGRATION_INITIALIZATION_FAILED';
|
|
2
|
-
|
|
1
|
+
type ErrorCode = 'UNKNOWN_ERROR' | 'AUTHORIZATION_FAILED' | 'PAYMENT_DETAILS_CALL_FAILED' | 'PAYMENT_OUTCOME_UNCONFIRMED' | 'PAYMENT_METHOD_STORAGE_FAILED' | 'REDIRECT_RESULT_PAYMENT_ACCEPTOR_MISSING' | 'TOKENIZE_FAILED' | 'RESOURCE_REVOKED' | 'PAYMENT_INTEGRATION_INITIALIZATION_FAILED';
|
|
2
|
+
/** Not named `Error`, so importing it does not hide the global one. */
|
|
3
|
+
export interface SdkError {
|
|
3
4
|
code: ErrorCode;
|
|
4
5
|
message: string;
|
|
5
6
|
error?: unknown;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The answer to `POST /portal/token`, which exchanges the handle of a `SIGNED_TOKEN` link. */
|
|
2
|
+
export interface PortalToken {
|
|
3
|
+
issued_at: string;
|
|
4
|
+
access_token: string;
|
|
5
|
+
/** Seconds until the link expires: the token lives as long as the link. */
|
|
6
|
+
access_token_expires_in: number;
|
|
7
|
+
access_token_expires_at: string;
|
|
8
|
+
token_type: 'bearer';
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ShippingAddressCreatePayload, ShippingAddressStatus } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export type { ShippingAddress, ShippingAddressStatus } from '../vendor/@solvimon/solvimon-types/index';
|
|
3
|
+
/**
|
|
4
|
+
* `status` is accepted on create but missing from `ShippingAddressCreatePayload`. Left out, the
|
|
5
|
+
* address is stored as a DRAFT, which is not listed and which the portal cannot activate.
|
|
6
|
+
*/
|
|
7
|
+
export type CreateShippingAddressPayload = ShippingAddressCreatePayload & {
|
|
8
|
+
status?: ShippingAddressStatus;
|
|
9
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export type ResultCode = 'AuthenticationFinished' | 'AuthenticationNotRequired' | 'Authorised' | 'Cancelled' | 'ChallengeShopper' | 'Error' | 'IdentifyShopper' | 'PartiallyAuthorised' | 'Pending' | 'PresentToShopper' | 'Received' | 'RedirectShopper' | 'Refused';
|
|
2
|
+
export type PaymentActionsType = 'redirect' | 'threeDS2' | 'voucher' | 'qrCode' | 'await' | 'bankTransfer' | 'sdk';
|
|
@@ -31,6 +31,7 @@ export * from './types/MarkupItem';
|
|
|
31
31
|
export * from './types/Meter';
|
|
32
32
|
export * from './types/MeterConditions';
|
|
33
33
|
export * from './types/MeterProperty';
|
|
34
|
+
export * from './types/MeterPropertyVariable';
|
|
34
35
|
export * from './types/MeterValue';
|
|
35
36
|
export * from './types/MeterValueCalculation';
|
|
36
37
|
export * from './types/ModelType';
|
|
@@ -93,6 +94,7 @@ export * from './types/CreatePricingPlanVersion';
|
|
|
93
94
|
export * from './types/Integrations';
|
|
94
95
|
export * from './types/User';
|
|
95
96
|
export * from './types/Permission';
|
|
97
|
+
export * from './types/ShippingAddress';
|
|
96
98
|
export * from './types/ReprocessLog';
|
|
97
99
|
export * from './types/Payment';
|
|
98
100
|
export * from './types/PaymentSchedules';
|
|
@@ -53,7 +53,7 @@ type ApprovalPolicyApproverUser = {
|
|
|
53
53
|
};
|
|
54
54
|
type ApprovalPolicyApprovalType = 'GROUP' | 'LEVEL';
|
|
55
55
|
export type ApprovalPolicyApprover = ApprovalPolicyApproverUser;
|
|
56
|
-
export type ApprovalPolicySourceType = 'INVOICE' | 'QUOTE_VERSION';
|
|
56
|
+
export type ApprovalPolicySourceType = 'INVOICE' | 'QUOTE_VERSION' | 'PRICING_PLAN_SCHEDULE';
|
|
57
57
|
export type ApprovalPolicyStatus = 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'ARCHIVED';
|
|
58
58
|
export type ApprovalPolicyCreateStatus = Extract<ApprovalPolicyStatus, 'DRAFT' | 'ACTIVE'>;
|
|
59
59
|
export interface ApprovalPolicyPayload {
|