@solvimon/solvimon-web 0.1.0-alpha.18 → 0.1.0-alpha.19
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 +70 -31
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang--AVI4Q4E.js +1 -0
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-C2IRj-FB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Y3CzulQq.mjs} +6 -3
- package/dist/Amount.vue.es-CRG-6dps.mjs +23 -0
- package/dist/Amount.vue.es-CeW8S7kT.js +1 -0
- package/dist/Avatar.vue.es-ClUBm_l5.js +1 -0
- package/dist/Avatar.vue.es-DJp6NEU_.mjs +91 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BWnZ98RQ.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BUMK11Dw.mjs} +15 -7
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DzrInCPA.js +1 -0
- package/dist/Button.vue.es-BrWHdiEA.mjs +453 -0
- package/dist/Button.vue.es-aLcIdATK.js +1 -0
- package/dist/Chip.vue.es-DPGTweAr.mjs +164 -0
- package/dist/Chip.vue.es-q4c-DXXl.js +1 -0
- package/dist/Comparators.vue.es-CU32AC4n.mjs +120 -0
- package/dist/Comparators.vue.es-CfVGYJ_x.js +1 -0
- package/dist/ContextMenu.vue.es-BBPFQfqY.mjs +681 -0
- package/dist/ContextMenu.vue.es-C_TL7-kg.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-CLmXk5B9.mjs +175 -0
- package/dist/CustomerBillingInformation.vue.es-s-LYXA4T.js +1 -0
- package/dist/CustomerPaymentMethods.lib-BKgQTCtc.js +1 -0
- package/dist/CustomerPaymentMethods.lib-CcSt0sl1.mjs +4 -0
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-D7gL7dZX.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-B2CtcBm0.mjs} +17 -10
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CMIVAoQq.js +1 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BP-VRwEM.js +1 -0
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-OUg4yv7r.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-Bej5_H7r.mjs} +823 -216
- package/dist/Divider.vue.es-ClFG8QtG.js +1 -0
- package/dist/Divider.vue.es-wKkIVBgb.mjs +24 -0
- package/dist/DividerText.vue.es-D5ieOE1e.js +1 -0
- package/dist/DividerText.vue.es-DMg-DNgi.mjs +72 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-5I81Qr6q.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-CTG5XdQt.mjs +562 -0
- package/dist/ErrorNotification.vue.es-BX3khKFc.js +1 -0
- package/dist/ErrorNotification.vue.es-C22Kt8Qn.mjs +30 -0
- package/dist/Expand.vue.es-C-lnbA1v.js +1 -0
- package/dist/Expand.vue.es-C4_XmqbR.mjs +50 -0
- package/dist/FormMessage.vue.es-DFQXxiSC.mjs +46 -0
- package/dist/FormMessage.vue.es-LeWoj774.js +1 -0
- package/dist/IconButton.vue.es-CVFn0Ntj.js +1 -0
- package/dist/IconButton.vue.es-DcC4f5EQ.mjs +231 -0
- package/dist/IconTitle.vue.es-DoN4GVde.js +1 -0
- package/dist/IconTitle.vue.es-mQCMxc64.mjs +105 -0
- package/dist/Input.vue.es-C8VhMKuI.js +1 -0
- package/dist/Input.vue.es-Dp_RH03h.mjs +239 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DbY35gE_.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-56fy6uY6.mjs} +2 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-CLUcV3qa.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-flgEyaoj.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-ztaMeHQc.mjs +49 -0
- package/dist/InvoiceSummary.vue.es-emE-mCFh.js +1 -0
- package/dist/InvoiceSummary.vue.es-nCYeQ4tj.mjs +2558 -0
- package/dist/Modal.vue.es-5EpA4Q0t.mjs +367 -0
- package/dist/Modal.vue.es-CX5geho3.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-B_IIOBjg.js +1 -0
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-DBMgilG2.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-D7IX9qqy.mjs} +4 -2
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CupZFJSF.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-C8nvN-6f.mjs} +3 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D1oKZZ_m.js +1 -0
- package/dist/{PaymentHistoryBlock-Bxr8lUGs.mjs → PaymentHistoryBlock-Dejtgyos.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-COjIVYX4.js → PaymentHistoryBlock-RBxlC5xt.js} +1 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BdfWchcQ.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CDjGab5p.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Dk52bjJd.mjs} +5 -1
- package/dist/{PaymentIntegrationForm-BSauhuKv.js → PaymentIntegrationForm-BWr7iyU6.js} +1 -1
- package/dist/{PaymentIntegrationForm-PIT8gHYN.mjs → PaymentIntegrationForm-CbqfAdkc.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-D8fkE1yG.js +1 -0
- package/dist/{PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-COO2ZUhN.mjs → PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJHwpswk.mjs} +4 -3
- package/dist/PaymentIntegrationFormAdyen-BjPpoLF7.js +1 -0
- package/dist/{PaymentIntegrationFormAdyen-Cjj9aK0E.mjs → PaymentIntegrationFormAdyen-CuRwe9_9.mjs} +78 -116
- package/dist/PaymentIntegrationFormStripe-51KZc27R.js +1 -0
- package/dist/{PaymentIntegrationFormStripe-arpua_ZT.mjs → PaymentIntegrationFormStripe-JZw2m1kJ.mjs} +7 -7
- package/dist/PaymentMethod.vue.es-CH__kPw4.mjs +636 -0
- package/dist/PaymentMethod.vue.es-uVZO0Zju.js +1 -0
- package/dist/{PaymentMethodForm-B7T5rrNz.mjs → PaymentMethodForm-C5WqTDow.mjs} +1 -1
- package/dist/{PaymentMethodForm-CLz3ZS-b.js → PaymentMethodForm-CBjHdZT7.js} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BktA5F4r.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-C4Zf92QP.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-DhPTbip8.mjs} +5 -2
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-CIIt6fGp.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DbTvbHk7.mjs} +7 -3
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-XPz73RVU.js +1 -0
- package/dist/PricingGroupRangeInput.vue.es-A6eW-u2k.mjs +636 -0
- package/dist/PricingGroupRangeInput.vue.es-BuQeJCEX.js +1 -0
- package/dist/Section.vue.es-MEFUWCxU.mjs +79 -0
- package/dist/Section.vue.es-tLYXp-tF.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-Jk34S5B7.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-xvgyB2Yr.mjs +1050 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-B_Zkbqx2.mjs +6105 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CttBs_G8.js +1 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-z8P1u1Gi.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cj36jvZF.mjs} +2 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Dl5Lg39D.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-CTnTWaB8.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BOUSk2ZB.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-CfXgGKXA.mjs} +7 -4
- package/dist/TooltipParagraph.vue.es-B5aHQv9O.mjs +136 -0
- package/dist/TooltipParagraph.vue.es-fSwKGXKg.js +1 -0
- package/dist/TrialChip.vue.es-0nrqSZeY.js +1 -0
- package/dist/TrialChip.vue.es-Fp7Lqo-b.mjs +56 -0
- package/dist/api.es-C5pe8LUl.mjs +62 -0
- package/dist/api.es-Czekkp_X.js +1 -0
- package/dist/cn.es-BLHlMR4Y.js +1 -0
- package/dist/cn.es-DB5pDpxS.mjs +3298 -0
- package/dist/comparators.es-9VsCB-JI.mjs +175 -0
- package/dist/comparators.es-wrKHduVq.js +1 -0
- package/dist/component-BG6DmXcy.mjs +9 -0
- package/dist/component-hDuDTBt5.js +1 -0
- package/dist/components/BillingInformation/BillingInformation.ce.d.ts +1 -3
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -0
- package/dist/components/BillingInformation/{BillingInformation.es.js → BillingInformation.mjs} +15 -26
- package/dist/components/BillingInformationForm/BillingInformationForm.ce.d.ts +1 -3
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -0
- package/dist/components/BillingInformationForm/{BillingInformationForm.es.js → BillingInformationForm.mjs} +42 -128
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
- package/dist/components/CustomerPaymentMethods/{CustomerPaymentMethods.es.js → CustomerPaymentMethods.mjs} +18 -51
- package/dist/components/Invoice/Invoice.ce.d.ts +1 -3
- package/dist/components/Invoice/Invoice.cjs +1 -0
- package/dist/components/Invoice/{Invoice.es.js → Invoice.mjs} +73 -79
- package/dist/components/InvoiceDetails/InvoiceDetails.ce.d.ts +1 -3
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -0
- package/dist/components/InvoiceDetails/{InvoiceDetails.es.js → InvoiceDetails.mjs} +12 -24
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -3
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -0
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +73 -0
- package/dist/components/InvoicesList/InvoicesList.ce.d.ts +1 -3
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -0
- package/dist/components/InvoicesList/{InvoicesList.es.js → InvoicesList.mjs} +12 -24
- package/dist/components/PaymentHistory/PaymentHistory.ce.d.ts +1 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -0
- package/dist/components/PaymentHistory/{PaymentHistory.es.js → PaymentHistory.mjs} +12 -24
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
- package/dist/components/PaymentMethodForm/{PaymentMethodForm.es.js → PaymentMethodForm.mjs} +15 -27
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
- package/dist/components/SubscriptionSchedules/{SubscriptionSchedules.es.js → SubscriptionSchedules.mjs} +13 -25
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
- package/dist/components/SubscriptionsList/{SubscriptionsList.es.js → SubscriptionsList.mjs} +22 -53
- package/dist/components/WalletBalances/WalletBalances.ce.d.ts +1 -3
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -0
- package/dist/components/WalletBalances/{WalletBalances.es.js → WalletBalances.mjs} +13 -25
- package/dist/configuration-BjYwV4_B.js +1 -0
- package/dist/configuration-CD8cOXAJ.mjs +15 -0
- package/dist/core/action-request.types.d.ts +1 -55
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -11
- package/dist/core/index.mjs +197 -0
- package/dist/core/registry.ce.d.ts +1 -2
- package/dist/core/registry.d.ts +1 -6
- package/dist/core/types.d.ts +1 -121
- package/dist/countryData.es--zJAd6LA.mjs +252 -0
- package/dist/countryData.es-D3MFzU92.js +1 -0
- package/dist/customElements-BTJzBHMy.js +1 -0
- package/dist/customElements-DdFA__me.mjs +6729 -0
- package/dist/{customer-DovIxTG1.mjs → customer-B0AMetq6.mjs} +1 -1
- package/dist/customer-D7HUfF3j.js +1 -0
- package/dist/customer.es-C_vSWcVA.mjs +30 -0
- package/dist/customer.es-D42Md24r.js +1 -0
- package/dist/en-US-BSrbFk5W.js +1 -0
- package/dist/en-US-D0P7NNNZ.mjs +228 -0
- package/dist/{en-US-CXDO3qhq.mjs → en-US-Daw3v6GD.mjs} +8 -31
- package/dist/en-US-scSQQXK8.js +1 -0
- package/dist/error-Cg-i7gGl.js +1 -0
- package/dist/error-DY_I2hPx.mjs +13 -0
- package/dist/floating-ui.vue.es-Bv94BfDm.js +1 -0
- package/dist/floating-ui.vue.es-DWY7pdz8.mjs +1573 -0
- package/dist/formatting.es-9hM8aHSg.js +1 -0
- package/dist/formatting.es-D-oVnc8H.mjs +68 -0
- package/dist/getComposedString.es-CELkn0I7.mjs +14 -0
- package/dist/getComposedString.es-DvSNX-_z.js +1 -0
- package/dist/getCountryNameByCode.es-fP52nO_7.js +1 -0
- package/dist/getCountryNameByCode.es-ymC9R46j.mjs +8 -0
- package/dist/index-BJ3dHkSK.js +1 -0
- package/dist/index-C5bKRt7l.mjs +1069 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -17
- package/dist/index.es-0cystq8F.mjs +542 -0
- package/dist/index.es-2JWHHSgP.js +1 -0
- package/dist/index.mjs +42 -0
- package/dist/{invoices-Dk-z04lg.mjs → invoices-BSd-nKeE.mjs} +17 -16
- package/dist/invoices-BiqM6xN6.js +1 -0
- package/dist/{nl-NL-BgL_PuBn.mjs → nl-NL-B4zEBFTw.mjs} +8 -54
- package/dist/nl-NL-B5tuyIOM.mjs +88 -0
- package/dist/nl-NL-Bs3d8q6T.js +1 -0
- package/dist/nl-NL-DIAZWDF9.js +1 -0
- package/dist/object.es-DFXiU9p3.js +1 -0
- package/dist/object.es-jvvnR8Kr.mjs +12 -0
- package/dist/{paymentMethods-BnF1XYS1.mjs → paymentMethods-BsrkEbKT.mjs} +4 -16
- package/dist/paymentMethods-Cu2RzLgm.js +1 -0
- package/dist/{payments-TnRjtlOw.mjs → payments-B6Nfd6Al.mjs} +1 -1
- package/dist/payments-Bbm1HMQj.js +1 -0
- package/dist/pricing-3W7XLwL6.js +1 -0
- package/dist/pricing-CJxS2hr2.mjs +17 -0
- package/dist/pricingItemConfigs.es-BPIm6S8M.mjs +107 -0
- package/dist/pricingItemConfigs.es-C73cQlxQ.js +1 -0
- package/dist/screens/Checkout/Checkout.ce.d.ts +1 -3
- package/dist/screens/Checkout/Checkout.cjs +1 -0
- package/dist/screens/Checkout/{Checkout.es.js → Checkout.mjs} +1250 -610
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
- package/dist/screens/CustomerOverview/{CustomerOverview.es.js → CustomerOverview.mjs} +33 -36
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -3
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
- package/dist/screens/PayInvoice/{PayInvoice.es.js → PayInvoice.mjs} +21 -28
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -3
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
- package/dist/screens/PaymentMethodsManagement/{PaymentMethodsManagement.es.js → PaymentMethodsManagement.mjs} +17 -29
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -3
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/{SubscriptionDetails.es.js → SubscriptionDetails.mjs} +33 -37
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -3
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
- package/dist/screens/SubscriptionManagement/{SubscriptionManagement.es.js → SubscriptionManagement.mjs} +32 -41
- package/dist/slots.es-BpwYO3A3.mjs +18 -0
- package/dist/slots.es-Dq1PTUOv.js +1 -0
- package/dist/sorting.es-CjTrRfSW.mjs +105 -0
- package/dist/sorting.es-RyvcgbSL.js +1 -0
- package/dist/subscriptions-B4BOzLxR.js +1 -0
- package/dist/{subscriptions-vEE4Y7qm.mjs → subscriptions-C2C4WTuI.mjs} +7 -7
- package/dist/typeGuards.es-C4nR5FkL.js +1 -0
- package/dist/typeGuards.es-fwUoeMCe.mjs +12 -0
- package/dist/types/components/InvoiceTable/InvoiceTable.types.d.ts +19 -0
- package/dist/types/components/checkout/CheckoutTitle.types.d.ts +10 -0
- package/dist/types/components/checkout/EmptyStatePlaceholder.types.d.ts +4 -0
- package/dist/types/components/checkout/PromotionCodeSection.types.d.ts +8 -0
- package/dist/types/components/customer/BillingInformationForm/BillingInformationForm.types.d.ts +24 -0
- package/dist/types/components/customer/CheckoutForm/CheckoutForm.types.d.ts +32 -0
- package/dist/types/components/customer/CustomerPaymentMethodsBlock/CustomerPaymentMethodsBlock.types.d.ts +12 -0
- package/dist/types/components/payments/AddPaymentMethodModal/AddPaymentMethodModal.types.d.ts +14 -0
- package/dist/types/components/payments/AddPaymentMethodPane/AddPaymentMethodPane.types.d.ts +19 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethod.types.d.ts +74 -0
- package/dist/types/components/payments/ExpressPaymentMethod/ExpressPaymentMethodApplePay.types.d.ts +9 -0
- package/dist/types/components/payments/ExpressPaymentMethodButton/ExpressPaymentMethodButton.types.d.ts +3 -0
- package/dist/types/components/payments/ExpressPaymentMethods/ExpressPaymentMethods.types.d.ts +21 -0
- package/dist/types/components/payments/PayButton/PayButton.types.d.ts +10 -0
- package/dist/types/components/payments/PaymentCompletedCard/PaymentCompletedCard.types.d.ts +5 -0
- package/dist/types/components/payments/PaymentErrorCard/PaymentErrorCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentFeedbackCard/PaymentFeedbackCard.types.d.ts +4 -0
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +72 -0
- package/dist/types/components/payments/PaymentIntegrationFormAdyen/PaymentIntegrationFormAdyen.types.d.ts +6 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripe.types.d.ts +7 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +61 -0
- package/dist/types/components/payments/PaymentMethodSelector/PaymentMethodSelector.types.d.ts +53 -0
- package/dist/types/components/payments/PaymentMethodsList/PaymentMethodsList.types.d.ts +8 -0
- package/dist/types/components/payments/SubscriptionPaymentCompletedCard/SubscriptionPaymentCompletedCard.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.d.ts +4 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.lib.types.d.ts +3 -0
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/ActionDispatchProvider/composables/useActionDispatchProvider.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.types.d.ts +8 -0
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/AuthProvider/composables/useAuth.d.ts +3 -0
- package/dist/types/components/providers/AuthProvider/index.d.ts +3 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.types.d.ts +9 -0
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ConfigProvider/composables/useConfig.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.types.d.ts +3 -0
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.types.d.ts +10 -0
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +22 -0
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +17 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib.d.ts +5 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.types.d.ts +4 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/ExperimentalFeatureProvider/composables/useExperimentalFeature.d.ts +1 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.lib.d.ts +12 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.types.d.ts +3 -0
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/HostElementProvider/composables/useHostElementProvider.d.ts +1 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.lib.d.ts +24 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +40 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +20 -0
- package/dist/types/components/providers/LoggerProvider/composables/useLogger.d.ts +6 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.lib.d.ts +7 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.types.d.ts +11 -0
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/PortalProvider/composables/usePortal.d.ts +3 -0
- package/dist/types/components/providers/Provider/Provider.types.d.ts +15 -0
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +21 -0
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +17 -0
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +18 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.lib.d.ts +9 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.types.d.ts +22 -0
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +18 -0
- package/dist/types/components/providers/index.d.ts +9 -0
- package/dist/types/components/shared/ScreenTitle/ScreenTitle.types.d.ts +4 -0
- package/dist/types/components/shared/Section/Section.types.d.ts +21 -0
- package/dist/types/components/shared/Skeleton.types.d.ts +5 -0
- package/dist/types/components/shared/SlidingPanes/SlidingPanes.types.d.ts +12 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsList.types.d.ts +15 -0
- package/dist/types/components/subscriptions/EnabledPricingsList/EnabledPricingsListItem.types.d.ts +7 -0
- package/dist/types/components/subscriptions/OrderSummary.types.d.ts +65 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/AddonSingleEditor.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PlanCustomizationEditor.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupContent.types.d.ts +4 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/PricingGroupEditorBase.types.d.ts +8 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditor.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/SeatsEditorItem.types.d.ts +6 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTable.types.d.ts +5 -0
- package/dist/types/components/subscriptions/PlanCustomizationForm/TieredTableRow.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionCancellationModal/SubscriptionCancellationModal.types.d.ts +12 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +47 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementForm.types.d.ts +28 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSuccess.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagementSummary.types.d.ts +7 -0
- package/dist/types/components/subscriptions/SubscriptionSummary.types.d.ts +33 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/components/subscriptions/SubscriptionsList/SubscriptionsListItem.types.d.ts +13 -0
- package/dist/types/components/wallets/AutoTopUpCancellationModal/AutoTopUpCancellationModal.types.d.ts +9 -0
- package/dist/types/components/wallets/AutoTopUpConfig/AutoTopUpConfig.types.d.ts +56 -0
- package/dist/types/components/wallets/AutoTopUpModal/AutoTopUpModal.types.d.ts +16 -0
- package/dist/types/components/wallets/ConvertedAmountInput/ConvertedAmountInput.types.d.ts +32 -0
- package/dist/types/components/wallets/TopUpModal/TopUpInvoicePreview.types.d.ts +11 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModal.types.d.ts +31 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalForm.types.d.ts +23 -0
- package/dist/types/components/wallets/TopUpModal/TopUpModalSuccess.types.d.ts +11 -0
- package/dist/types/components/wallets/WalletModalShell.types.d.ts +24 -0
- package/dist/types/composables/useInvoicePreview.types.d.ts +9 -0
- package/dist/types/config/config.beta.d.ts +2 -0
- package/dist/types/config/config.dev.d.ts +2 -0
- package/dist/types/config/config.live.d.ts +2 -0
- package/dist/types/config/internalEnvironments.d.ts +11 -0
- package/dist/types/config/internalEnvironments.published.d.ts +7 -0
- package/dist/types/config/lib.d.ts +6 -0
- package/dist/types/config/types.d.ts +13 -0
- package/dist/types/index.d.ts +23 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformation/BillingInformation.types.d.ts +12 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.entry.types.d.ts +4 -0
- package/dist/types/public/components/BillingInformationForm/BillingInformationForm.types.d.ts +10 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.ce.d.ts +1 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types.d.ts +6 -0
- package/dist/types/public/components/CustomerPaymentMethods/CustomerPaymentMethods.types.d.ts +22 -0
- package/dist/types/public/components/CustomerWalletBalances/CustomerWalletBalances.types.d.ts +22 -0
- package/dist/types/public/components/Invoice/Invoice.entry.ce.d.ts +1 -0
- package/dist/types/public/components/Invoice/Invoice.entry.types.d.ts +5 -0
- package/dist/types/public/components/Invoice/Invoice.types.d.ts +26 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceDetails/InvoiceDetails.types.d.ts +9 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoiceHeader/InvoiceHeader.types.d.ts +16 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.entry.types.d.ts +5 -0
- package/dist/types/public/components/InvoicesList/InvoicesList.types.d.ts +37 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentHistory/PaymentHistory.types.d.ts +10 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.ce.d.ts +1 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.entry.types.d.ts +5 -0
- package/dist/types/public/components/PaymentMethodForm/PaymentMethodForm.types.d.ts +38 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionSchedules/SubscriptionSchedules.types.d.ts +9 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.ce.d.ts +1 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.entry.types.d.ts +5 -0
- package/dist/types/public/components/SubscriptionsList/SubscriptionsList.types.d.ts +16 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.ce.d.ts +1 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.entry.types.d.ts +5 -0
- package/dist/types/public/components/WalletBalances/WalletBalances.types.d.ts +3 -0
- package/dist/types/public/core/action-request.types.d.ts +55 -0
- package/dist/types/public/core/configuration.d.ts +3 -0
- package/dist/types/public/core/index.d.ts +14 -0
- package/dist/types/public/core/registry.ce.d.ts +8 -0
- package/dist/types/public/core/registry.d.ts +6 -0
- package/dist/types/public/core/types.d.ts +120 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/Checkout/Checkout.entry.types.d.ts +18 -0
- package/dist/types/public/screens/Checkout/Checkout.types.d.ts +46 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.entry.types.d.ts +5 -0
- package/dist/types/public/screens/CustomerOverview/CustomerOverview.types.d.ts +2 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.entry.types.d.ts +4 -0
- package/dist/types/public/screens/PayInvoice/PayInvoice.types.d.ts +23 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types.d.ts +3 -0
- package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +6 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +23 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.ce.d.ts +1 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts +5 -0
- package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.types.d.ts +13 -0
- package/dist/types/public/screens/types.d.ts +4 -0
- package/dist/types/public/types/index.d.ts +23 -0
- package/dist/types/services/invoices.types.d.ts +26 -0
- package/dist/types/services/paymentMethods.types.d.ts +31 -0
- package/dist/types/services/portals.types.d.ts +68 -0
- package/dist/types/services/requests.types.d.ts +24 -0
- package/dist/types/translations/supported.d.ts +1 -0
- package/dist/types/types/EntryBaseProps.d.ts +10 -0
- package/dist/types/types/errors.d.ts +7 -0
- package/dist/types/types/subscription.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +111 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Address.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Alerts.d.ts +72 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Amount.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Api.d.ts +50 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiError.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiKey.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApiStatus.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +77 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalRequests.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Attachment.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Band.d.ts +30 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BaseResourceStatus.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingEntity.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingPeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/BillingTime.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Commitment.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CommitmentItem.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Comparator.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfigMeterProperties.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ConfiguredMeterValue.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Country.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreateMeterData.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreatePricingPlanVersion.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CreditType.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Currency.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +39 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomerContact.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Customers.d.ts +75 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Discount.d.ts +12 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DiscountItem.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Document.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/DueDateConfiguration.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Entitlement.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Environment.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTrace.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceExtended.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLink.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/EventTraceLinkExtended.d.ts +15 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Features.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IdentityProvider.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/IndexingSettings.d.ts +24 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Integrations.d.ts +367 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +349 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/JWT.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Markup.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MarkupItem.d.ts +11 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Meter.d.ts +32 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterConditions.d.ts +26 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterData.d.ts +25 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterDataExpanded.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterProperty.d.ts +34 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterPropertyValue.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValue.d.ts +16 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueCalculation.d.ts +20 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/MeterValueValue.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ModelType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Name.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/NotificationPreferences.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Payment.d.ts +124 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +120 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAction.d.ts +74 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethod.d.ts +173 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentMethodOptions.d.ts +45 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentSchedules.d.ts +142 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +118 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +58 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Pricing.d.ts +41 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategory.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingCategoryExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingExtended.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingGroup.d.ts +29 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItem.d.ts +40 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +130 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +103 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleWithPlanData.d.ts +9 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +80 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscriptionGroup.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersion.d.ts +71 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanVersionExtended.d.ts +7 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductCategory.d.ts +10 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +60 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PromotionCodes.d.ts +14 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +43 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteVersions.d.ts +93 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Quotes.d.ts +65 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ReprocessLog.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Resource.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Role.d.ts +19 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/SignatureRequest.d.ts +27 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxCategory.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxIdentifier.d.ts +17 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TaxSummary.d.ts +21 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/TimePeriod.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Timestamp.d.ts +4 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Token.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/User.d.ts +106 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ValueType.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +44 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletAutoTopUpConfigs.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WalletType.d.ts +54 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Webhook.d.ts +48 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/WebhookEvent.d.ts +18 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +95 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/forms.d.ts +1 -0
- package/dist/types/vendor/@solvimon/solvimon-types/utils.d.ts +17 -0
- package/dist/useActionDispatchProvider-Cz8xLLYA.js +1 -0
- package/dist/{useActionDispatchProvider-BlEf-RZ5.mjs → useActionDispatchProvider-D55t_7LY.mjs} +1 -1
- package/dist/{useCustomer-Cw8LXT6S.mjs → useCustomer-BNhHz9RJ.mjs} +2 -2
- package/dist/{useCustomer-C1XTqmrQ.js → useCustomer-DYCpgA-3.js} +1 -1
- package/dist/useCustomerFormLabels-Cw6QpEJY.js +1 -0
- package/dist/useCustomerFormLabels-mX5QpApD.mjs +1142 -0
- package/dist/{useIncrementalLoading-8WtKZ-mP.mjs → useIncrementalLoading-BK9pRYAU.mjs} +5 -4
- package/dist/useIncrementalLoading-CdtGJm_Y.js +1 -0
- package/dist/{useInvoiceData-BrxMo4Zt.js → useInvoiceData-BczeMpuk.js} +1 -1
- package/dist/{useInvoiceData-Cy_ysMsq.mjs → useInvoiceData-D-EvEioP.mjs} +2 -2
- package/dist/{useInvoicesList-DMsZn1tE.mjs → useInvoicesList-BJJYwkIA.mjs} +277 -31
- package/dist/useInvoicesList-rMg-8LbH.js +1 -0
- package/dist/{useLoadInitialData-BP1v7qhd.mjs → useLoadInitialData-BoGjdUu-.mjs} +1 -1
- package/dist/useLoadInitialData-CiJldX50.js +1 -0
- package/dist/{usePaymentMethodOptions-CWfGvW0U.mjs → usePaymentMethodOptions-d49aOdLB.mjs} +13 -9
- package/dist/usePaymentMethodOptions-fBvWYynV.js +1 -0
- package/dist/{usePaymentMethods-Cyk4cjoE.mjs → usePaymentMethods-Bkouz8aQ.mjs} +2 -2
- package/dist/{usePaymentMethods-CAFMvSOr.js → usePaymentMethods-CFL3hFW_.js} +1 -1
- package/dist/usePayments-BKTNn_RN.js +1 -0
- package/dist/usePayments-BlliAt1E.mjs +262 -0
- package/dist/{usePortal-0NDlbFr9.mjs → usePortal-eyA4OqjU.mjs} +1 -1
- package/dist/usePortal-fhri8neB.js +1 -0
- package/dist/useService-D73FNBjT.js +1 -0
- package/dist/{useService-CqfJi5ST.mjs → useService-W3Kxems4.mjs} +24 -5
- package/dist/useSubscription--IGLmLS6.mjs +250 -0
- package/dist/useSubscription-V3KSuhOY.js +1 -0
- package/package.json +55 -45
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Rub9ifBk.js +0 -1
- package/dist/ApiStatus-CyNDp_op.mjs +0 -9
- package/dist/ApiStatus-oqvUEWJx.js +0 -1
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-DurgWlLC.js +0 -1
- package/dist/CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-Df7CsbiW.js +0 -1
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-mM5udvi8.js +0 -1
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BIpg-MSJ.mjs +0 -53
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-BM3p8Pk8.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D5eSNYH2.js +0 -1
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-Ci8r6tuC.js +0 -1
- package/dist/InvoiceHeader.vue_vue_type_script_setup_true_lang-jshby9pF.mjs +0 -27
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-CNKxTtO7.js +0 -1
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-D6lpD1zo.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Bmgx7PSt.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-5XKz3kop.js +0 -1
- package/dist/PaymentIntegrationFormAdyen-B-Jbu2hU.js +0 -1
- package/dist/PaymentIntegrationFormStripe-Bnn8S1o5.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-UH9AVXnG.js +0 -1
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-ifai5HVr.js +0 -1
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DaWlLor0.mjs +0 -217
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DdUoeTUL.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-CyYhYYRp.mjs +0 -37
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DdjYVNku.js +0 -1
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-Cu55ZvCH.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-BKDMwuyh.js +0 -1
- package/dist/component--Y7Igv5i.mjs +0 -1022
- package/dist/component-DIy1hvJM.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs.js +0 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.es.js +0 -123
- package/dist/components/InvoicesList/InvoicesList.cjs.js +0 -1
- package/dist/components/PaymentHistory/PaymentHistory.cjs.js +0 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/customer-brfznoHY.js +0 -1
- package/dist/en-US-BvOHPudj.js +0 -1
- package/dist/index-BMWWP8xj.js +0 -1
- package/dist/index-Do7kzLpg.mjs +0 -265
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -51
- package/dist/invoices-Cf3dSYSj.js +0 -1
- package/dist/nl-NL-COGUFg60.js +0 -1
- package/dist/paymentMethods-DVDC_WfL.js +0 -1
- package/dist/payments-DVZFO5yb.js +0 -1
- package/dist/pricing-CuYndX6t.js +0 -1
- package/dist/pricing-GwLCiSzs.mjs +0 -19
- package/dist/registry-Ck0Gb6rj.mjs +0 -153
- package/dist/registry-Cra6yoB4.js +0 -1
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/PayInvoice/PayInvoice.cjs.js +0 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs.js +0 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs.js +0 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs.js +0 -1
- package/dist/solvimon-web.css +0 -1
- package/dist/subscriptions-BFCKVHnP.js +0 -1
- package/dist/useActionDispatchProvider-aJOy3kr1.js +0 -1
- package/dist/useIncrementalLoading-CkY2klIW.js +0 -1
- package/dist/useInvoicesList-DmisMQzy.js +0 -1
- package/dist/useLoadInitialData-_BjCD0Jc.js +0 -1
- package/dist/usePaymentMethodOptions-xeSTmaVo.js +0 -1
- package/dist/usePayments-BieVBaz-.js +0 -1
- package/dist/usePayments-D88XSZfS.mjs +0 -42
- package/dist/usePortal-B954nyEB.js +0 -1
- package/dist/useService-BiljI7XA.js +0 -1
- package/dist/useSubscription-9rJpFNUF.mjs +0 -29
- package/dist/useSubscription-k3limdu_.js +0 -1
- package/dist/vendor-ui-Dfh3_g4q.js +0 -1
- package/dist/vendor-ui-ItGf7wJV.mjs +0 -29938
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Action-request event types for the 'action-request' custom event.
|
|
3
|
+
* Kept in a separate file with no internal dependencies so dist/core declarations resolve for consumers.
|
|
4
|
+
*/
|
|
5
|
+
export type ActionRequestDetailBase = {
|
|
6
|
+
action: string;
|
|
7
|
+
entity?: string;
|
|
8
|
+
data?: Record<string, unknown>;
|
|
9
|
+
href?: string;
|
|
10
|
+
meta?: Record<string, unknown>;
|
|
11
|
+
};
|
|
12
|
+
export interface ActionRequestDetailViewInvoice extends ActionRequestDetailBase {
|
|
13
|
+
action: 'view-invoice';
|
|
14
|
+
data: {
|
|
15
|
+
invoiceId: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface ActionRequestDetailPayInvoice extends ActionRequestDetailBase {
|
|
19
|
+
action: 'pay-invoice';
|
|
20
|
+
data: {
|
|
21
|
+
invoiceId: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export interface ActionRequestDetailViewSubscriptionDetails extends ActionRequestDetailBase {
|
|
25
|
+
action: 'view-subscription-details';
|
|
26
|
+
data: {
|
|
27
|
+
subscriptionId: string;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface ActionRequestDetailViewAllSubscriptions extends ActionRequestDetailBase {
|
|
31
|
+
action: 'view-all-subscriptions';
|
|
32
|
+
}
|
|
33
|
+
export interface ActionRequestDetailManageSubscription extends ActionRequestDetailBase {
|
|
34
|
+
action: 'manage-subscription';
|
|
35
|
+
data: {
|
|
36
|
+
subscriptionId: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export interface ActionRequestDetailEditBillingInformation extends ActionRequestDetailBase {
|
|
40
|
+
action: 'edit-billing-information';
|
|
41
|
+
}
|
|
42
|
+
export interface ActionRequestDetailViewAllPaymentMethods extends ActionRequestDetailBase {
|
|
43
|
+
action: 'view-all-payment-methods';
|
|
44
|
+
}
|
|
45
|
+
export interface ActionRequestDetailAddPaymentMethod extends ActionRequestDetailBase {
|
|
46
|
+
action: 'add-payment-method';
|
|
47
|
+
}
|
|
48
|
+
export interface ActionRequestDetailNavigateToCustomerOverview extends ActionRequestDetailBase {
|
|
49
|
+
action: 'navigate-to-customer-overview';
|
|
50
|
+
}
|
|
51
|
+
export type ActionRequestDetail = ActionRequestDetailViewInvoice | ActionRequestDetailPayInvoice | ActionRequestDetailViewSubscriptionDetails | ActionRequestDetailViewAllSubscriptions | ActionRequestDetailManageSubscription | ActionRequestDetailEditBillingInformation | ActionRequestDetailViewAllPaymentMethods | ActionRequestDetailAddPaymentMethod | ActionRequestDetailNavigateToCustomerOverview;
|
|
52
|
+
/**
|
|
53
|
+
* Type for the 'action-request' custom event. Use when listening for action-request on document or container.
|
|
54
|
+
*/
|
|
55
|
+
export type RequestActionEvent = CustomEvent<ActionRequestDetail>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CoreConfiguration, SolvimonMountConfig } from './types';
|
|
2
|
+
export declare function createSolvimonCore(): CoreConfiguration<SolvimonMountConfig>;
|
|
3
|
+
export declare function createSolvimonCore<TConfig extends SolvimonMountConfig>(config: TConfig): CoreConfiguration<TConfig>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Solvimon Core – define and mount components/screens in a container
|
|
3
|
+
*
|
|
4
|
+
* Use createSolvimonCore to configure shared settings once and mount screens or components
|
|
5
|
+
* into your own container without using web components directly.
|
|
6
|
+
*/
|
|
7
|
+
export { createSolvimonCore } from './configuration';
|
|
8
|
+
export { getRegisteredScreenIds, getRegisteredComponentIds } from './registry';
|
|
9
|
+
export type { CoreConfiguration, ComponentConfigurationById, ScreenConfigurationById, ComponentMountConfiguration, ScreenMountConfiguration, SolvimonMountConfig, SolvimonMountInstance, RegisteredScreenId, RegisteredComponentId, } from './types';
|
|
10
|
+
export type { ActionRequestDetail, RequestActionEvent } from './action-request.types';
|
|
11
|
+
export type { Amount, CheckoutPagePortalUrl, CheckoutPagePortalUrlPayload, CountryCode, CustomerPortalUrl, CustomerPortalUrlPayload, PlatformBranding, PortalUrl, } from '../../vendor/@solvimon/solvimon-types/index';
|
|
12
|
+
export type { IntlMessages, Environment } from '../types';
|
|
13
|
+
export type { ExperimentalFeature } from '../../components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib';
|
|
14
|
+
export type { LogEntry, LogLevel, LogSink, ErrorCode, WarnCode, } from '../../components/providers/LoggerProvider/LoggerProvider.types';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function getCustomElementTagName(viewId: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* Loads the entry for `viewId` and registers its custom element.
|
|
4
|
+
*
|
|
5
|
+
* An unknown id throws synchronously, as it always did — that is a caller's mistake and should
|
|
6
|
+
* surface at the call site rather than inside a rejected promise.
|
|
7
|
+
*/
|
|
8
|
+
export declare function ensureCustomElementDefined(viewId: string, type: 'screen' | 'component'): Promise<void>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { RegisteredScreenId, RegisteredComponentId } from './types';
|
|
3
|
+
export declare function getScreenComponent(id: string): Component | undefined;
|
|
4
|
+
export declare function getComponent(id: string): Component | undefined;
|
|
5
|
+
export declare function getRegisteredScreenIds(): RegisteredScreenId[];
|
|
6
|
+
export declare function getRegisteredComponentIds(): RegisteredComponentId[];
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { PlatformBranding } from '../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { Environment, IntlMessages } from '../types';
|
|
3
|
+
import { LogLevel, LogSink } from '../../components/providers/LoggerProvider/LoggerProvider.types';
|
|
4
|
+
import { ExperimentalFeature } from '../../components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.lib';
|
|
5
|
+
import { SolvimonBillingInformationEntryProps } from '../components/BillingInformation/BillingInformation.entry.types';
|
|
6
|
+
import { SolvimonBillingInformationFormEntryProps } from '../components/BillingInformationForm/BillingInformationForm.entry.types';
|
|
7
|
+
import { SolvimonCustomerPaymentMethodsEntryProps } from '../components/CustomerPaymentMethods/CustomerPaymentMethods.entry.types';
|
|
8
|
+
import { SolvimonInvoiceEntryProps } from '../components/Invoice/Invoice.entry.types';
|
|
9
|
+
import { SolvimonInvoiceHeaderEntryProps } from '../components/InvoiceHeader/InvoiceHeader.entry.types';
|
|
10
|
+
import { SolvimonInvoiceDetailsEntryProps } from '../components/InvoiceDetails/InvoiceDetails.entry.types';
|
|
11
|
+
import { SolvimonInvoicesListEntryProps } from '../components/InvoicesList/InvoicesList.entry.types';
|
|
12
|
+
import { SolvimonPaymentMethodFormEntryProps } from '../components/PaymentMethodForm/PaymentMethodForm.entry.types';
|
|
13
|
+
import { SolvimonPaymentHistoryEntryProps } from '../components/PaymentHistory/PaymentHistory.entry.types';
|
|
14
|
+
import { SolvimonSubscriptionSchedulesEntryProps } from '../components/SubscriptionSchedules/SubscriptionSchedules.entry.types';
|
|
15
|
+
import { SolvimonSubscriptionsListEntryProps } from '../components/SubscriptionsList/SubscriptionsList.entry.types';
|
|
16
|
+
import { SolvimonWalletBalancesEntryProps } from '../components/WalletBalances/WalletBalances.entry.types';
|
|
17
|
+
import { SolvimonCheckoutEntryProps } from '../screens/Checkout/Checkout.entry.types';
|
|
18
|
+
import { SolvimonCustomerOverviewEntryProps } from '../screens/CustomerOverview/CustomerOverview.entry.types';
|
|
19
|
+
import { SolvimonSubscriptionManagementEntryProps } from '../screens/SubscriptionManagement/SubscriptionManagement.entry.types';
|
|
20
|
+
import { SolvimonPayInvoiceEntryProps } from '../screens/PayInvoice/PayInvoice.entry.types';
|
|
21
|
+
import { SolvimonSubscriptionDetailsEntryProps } from '../screens/SubscriptionDetails/SubscriptionDetails.entry.types';
|
|
22
|
+
import { SolvimonPaymentMethodsManagementEntryProps } from '../screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.types';
|
|
23
|
+
/**
|
|
24
|
+
* Shared configuration passed to all mounted Solvimon components and screens.
|
|
25
|
+
* Extends the base entry props (environment, locale, branding, etc.).
|
|
26
|
+
*/
|
|
27
|
+
export interface SharedSolvimonMountConfig {
|
|
28
|
+
environment?: Environment;
|
|
29
|
+
locale?: string;
|
|
30
|
+
dateLocale?: string;
|
|
31
|
+
messages?: IntlMessages;
|
|
32
|
+
experimentalFeatures?: ExperimentalFeature[];
|
|
33
|
+
logLevel?: LogLevel;
|
|
34
|
+
onLog?: LogSink;
|
|
35
|
+
branding?: PlatformBranding;
|
|
36
|
+
cssOverrides?: string | string[];
|
|
37
|
+
}
|
|
38
|
+
export type SolvimonMountConfig = SharedSolvimonMountConfig;
|
|
39
|
+
/**
|
|
40
|
+
* Return type of the Solvimon core mount methods.
|
|
41
|
+
*/
|
|
42
|
+
export interface SolvimonMountInstance {
|
|
43
|
+
/** Unmounts the Solvimon app from the container. */
|
|
44
|
+
unmount: () => void;
|
|
45
|
+
}
|
|
46
|
+
interface RegisteredComponentEntryPropsById {
|
|
47
|
+
invoice: SolvimonInvoiceEntryProps;
|
|
48
|
+
'invoice-header': SolvimonInvoiceHeaderEntryProps;
|
|
49
|
+
'invoice-details': SolvimonInvoiceDetailsEntryProps;
|
|
50
|
+
'invoices-list': SolvimonInvoicesListEntryProps;
|
|
51
|
+
'payment-history': SolvimonPaymentHistoryEntryProps;
|
|
52
|
+
'subscription-schedules': SolvimonSubscriptionSchedulesEntryProps;
|
|
53
|
+
'subscriptions-list': SolvimonSubscriptionsListEntryProps;
|
|
54
|
+
'customer-payment-methods': SolvimonCustomerPaymentMethodsEntryProps;
|
|
55
|
+
'wallet-balances': SolvimonWalletBalancesEntryProps;
|
|
56
|
+
'billing-information': SolvimonBillingInformationEntryProps;
|
|
57
|
+
'billing-information-form': SolvimonBillingInformationFormEntryProps;
|
|
58
|
+
'payment-method-form': SolvimonPaymentMethodFormEntryProps;
|
|
59
|
+
}
|
|
60
|
+
interface RegisteredScreenEntryPropsById {
|
|
61
|
+
checkout: SolvimonCheckoutEntryProps;
|
|
62
|
+
'customer-overview': SolvimonCustomerOverviewEntryProps;
|
|
63
|
+
'subscription-management': SolvimonSubscriptionManagementEntryProps;
|
|
64
|
+
'subscription-details': SolvimonSubscriptionDetailsEntryProps;
|
|
65
|
+
'pay-invoice': SolvimonPayInvoiceEntryProps;
|
|
66
|
+
'payment-methods-management': SolvimonPaymentMethodsManagementEntryProps;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Registered screen ids that can be used with createScreen.
|
|
70
|
+
*/
|
|
71
|
+
export type RegisteredScreenId = keyof RegisteredScreenEntryPropsById;
|
|
72
|
+
/**
|
|
73
|
+
* Registered component ids that can be used with createComponent.
|
|
74
|
+
*/
|
|
75
|
+
export type RegisteredComponentId = keyof RegisteredComponentEntryPropsById;
|
|
76
|
+
type InferConfiguration<TProps> = TProps extends {
|
|
77
|
+
configuration: infer TConfiguration;
|
|
78
|
+
} ? TConfiguration : TProps extends {
|
|
79
|
+
configuration?: infer TConfiguration;
|
|
80
|
+
} ? TConfiguration | undefined : undefined;
|
|
81
|
+
type InferPortalObject<TProps> = TProps extends {
|
|
82
|
+
portalObject: infer TPortalObject;
|
|
83
|
+
} ? TPortalObject : TProps extends {
|
|
84
|
+
portalObject?: infer TPortalObject;
|
|
85
|
+
} ? TPortalObject | undefined : undefined;
|
|
86
|
+
export type ComponentConfigurationById = {
|
|
87
|
+
[TId in RegisteredComponentId]: InferConfiguration<RegisteredComponentEntryPropsById[TId]>;
|
|
88
|
+
};
|
|
89
|
+
export type ScreenConfigurationById = {
|
|
90
|
+
[TId in RegisteredScreenId]: InferConfiguration<RegisteredScreenEntryPropsById[TId]>;
|
|
91
|
+
};
|
|
92
|
+
type ConfigurationProp<TConfiguration> = [TConfiguration] extends [undefined] ? {
|
|
93
|
+
configuration?: undefined;
|
|
94
|
+
} : undefined extends TConfiguration ? {
|
|
95
|
+
configuration?: Exclude<TConfiguration, undefined>;
|
|
96
|
+
} : {
|
|
97
|
+
configuration: TConfiguration;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* `portalObject` is spelled out here rather than derived through a conditional type, because every
|
|
101
|
+
* entry requires it and a conditional would take the whole mount configuration down with it when
|
|
102
|
+
* the portal type cannot be resolved. Consumers hit exactly that: the portal types come from
|
|
103
|
+
* `@solvimon/solvimon-types`, which lives in a registry they cannot install from, and a conditional
|
|
104
|
+
* over the resulting `any` collapses to `any` — which would take `configuration` unchecked with it.
|
|
105
|
+
* As a property type it only makes `portalObject` itself unchecked.
|
|
106
|
+
*/
|
|
107
|
+
export type ComponentMountConfiguration<TId extends RegisteredComponentId> = {
|
|
108
|
+
container: Element | string;
|
|
109
|
+
portalObject: InferPortalObject<RegisteredComponentEntryPropsById[TId]>;
|
|
110
|
+
} & ConfigurationProp<ComponentConfigurationById[TId]>;
|
|
111
|
+
export type ScreenMountConfiguration<TId extends RegisteredScreenId> = {
|
|
112
|
+
container: Element | string;
|
|
113
|
+
portalObject: InferPortalObject<RegisteredScreenEntryPropsById[TId]>;
|
|
114
|
+
} & ConfigurationProp<ScreenConfigurationById[TId]>;
|
|
115
|
+
export interface CoreConfiguration<TConfig extends SolvimonMountConfig = SolvimonMountConfig> {
|
|
116
|
+
config: TConfig;
|
|
117
|
+
createComponent: <TId extends RegisteredComponentId>(id: TId, configuration: ComponentMountConfiguration<TId>) => SolvimonMountInstance['unmount'];
|
|
118
|
+
createScreen: <TId extends RegisteredScreenId>(id: TId, configuration: ScreenMountConfiguration<TId>) => SolvimonMountInstance['unmount'];
|
|
119
|
+
}
|
|
120
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defineSolvimonCheckout: (tagName?: string) => void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CheckoutPagePortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { EntryBaseEmits, EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
3
|
+
import { CheckoutProps } from './Checkout.types';
|
|
4
|
+
export interface SolvimonCheckoutEntryProps extends EntryBaseProps<CheckoutPagePortalUrl>, CheckoutProps {
|
|
5
|
+
}
|
|
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
|
+
/**
|
|
15
|
+
* Emitted when the checkout is ready.
|
|
16
|
+
*/
|
|
17
|
+
(e: 'ready'): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { CountryCode } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { Error } from '../../../types/errors';
|
|
3
|
+
export interface CheckoutConfiguration {
|
|
4
|
+
/**
|
|
5
|
+
* The avatar for the checkout.
|
|
6
|
+
*/
|
|
7
|
+
avatar?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Optional two letter country code for the customer. When supplied, the correct
|
|
10
|
+
* payment method options and tax will be shown.
|
|
11
|
+
*/
|
|
12
|
+
countryCode?: CountryCode;
|
|
13
|
+
/**
|
|
14
|
+
* Optional email address of the customer. This will be pre-filled in the checkout form.
|
|
15
|
+
*/
|
|
16
|
+
email?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional coupon/promotion code. This will be pre-filled and applied automatically.
|
|
19
|
+
* When not provided, it falls back to a `coupon_code` query parameter on the page.
|
|
20
|
+
*/
|
|
21
|
+
couponCode?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Optional enabled pricing ids.
|
|
24
|
+
*/
|
|
25
|
+
enabledPricingIds?: string[];
|
|
26
|
+
/**
|
|
27
|
+
* Optional callback function that is executed after a successful payment.
|
|
28
|
+
* This can be used to execute follow up functionality and/or doing a redirect.
|
|
29
|
+
* If you implement this callback, you are also responsible to manage a redirect
|
|
30
|
+
* yourself. This overrides the redirect url configured in Solvimon Desk.
|
|
31
|
+
*/
|
|
32
|
+
onPaymentSuccess?: () => void;
|
|
33
|
+
}
|
|
34
|
+
export interface CheckoutProps {
|
|
35
|
+
configuration?: CheckoutConfiguration;
|
|
36
|
+
}
|
|
37
|
+
export interface CheckoutEmits {
|
|
38
|
+
/**
|
|
39
|
+
* Emitted when an error occurs.
|
|
40
|
+
*/
|
|
41
|
+
(e: 'error', error: Error): void;
|
|
42
|
+
/**
|
|
43
|
+
* Emitted when the checkout is ready.
|
|
44
|
+
*/
|
|
45
|
+
(e: 'ready'): void;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defineSolvimonCustomerOverview: (tagName?: string) => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { CustomerOverviewProps } from './CustomerOverview.types';
|
|
3
|
+
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
|
+
export interface SolvimonCustomerOverviewEntryProps extends EntryBaseProps<CustomerPortalUrl>, Pick<CustomerOverviewProps, 'configuration'> {
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defineSolvimonPayInvoice: (tagName?: string) => void;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { PayInvoiceProps } from './PayInvoice.types';
|
|
3
|
+
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
|
+
export type SolvimonPayInvoiceEntryProps = EntryBaseProps<CustomerPortalUrl> & Pick<PayInvoiceProps, 'configuration'>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Amount, Invoice, Payment, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { BaseScreenProps } from '../types';
|
|
3
|
+
export interface PayInvoiceConfiguration {
|
|
4
|
+
/**
|
|
5
|
+
* The ID of the invoice to render.
|
|
6
|
+
*/
|
|
7
|
+
invoiceId: Invoice['id'];
|
|
8
|
+
/**
|
|
9
|
+
* An optional callback that is executed whenever a payment is successful.
|
|
10
|
+
* It can be used to execute some follow up actions and/or to do a redirect
|
|
11
|
+
* if needed.
|
|
12
|
+
*/
|
|
13
|
+
onPaymentSuccess?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export interface PayInvoiceProps extends BaseScreenProps {
|
|
16
|
+
invoice?: Invoice;
|
|
17
|
+
paymentMethodOptions?: PaymentMethodOptionsResponse;
|
|
18
|
+
paymentAttempts?: Payment[];
|
|
19
|
+
countryCode?: string;
|
|
20
|
+
amount?: Amount;
|
|
21
|
+
downloadService?: (id: Invoice['id']) => Promise<void>;
|
|
22
|
+
configuration: PayInvoiceConfiguration;
|
|
23
|
+
}
|
package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.entry.ce.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defineSolvimonPaymentMethodsManagement: (tagName?: string) => void;
|
package/dist/types/public/screens/PaymentMethodsManagement/PaymentMethodsManagement.types.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Customer, PaymentMethod, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { BaseScreenProps } from '../types';
|
|
3
|
+
export interface PaymentMethodsManagementProps extends BaseScreenProps {
|
|
4
|
+
customer: Customer;
|
|
5
|
+
paymentMethods: PaymentMethod[];
|
|
6
|
+
paymentMethodOptions: PaymentMethodOptionsResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defineSolvimonSubscriptionDetails: (tagName?: string) => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { SubscriptionDetailsConfiguration } from './SubscriptionDetails.types';
|
|
3
|
+
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
|
+
export interface SolvimonSubscriptionDetailsEntryProps extends EntryBaseProps<CustomerPortalUrl> {
|
|
5
|
+
configuration: SubscriptionDetailsConfiguration;
|
|
6
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Customer, CustomerWalletBalanceItem, PaymentMethod, PricingPlanScheduleWithPlanData, PricingPlanSubscription } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
|
|
3
|
+
import { BaseScreenProps } from '../types';
|
|
4
|
+
export interface SubscriptionDetailsConfiguration {
|
|
5
|
+
subscriptionId: PricingPlanSubscription['id'];
|
|
6
|
+
avatar?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SubscriptionDetailsProps extends BaseScreenProps {
|
|
9
|
+
subscription?: PricingPlanSubscriptionExpanded;
|
|
10
|
+
schedulesData?: PricingPlanScheduleWithPlanData[];
|
|
11
|
+
customer?: Customer;
|
|
12
|
+
paymentMethods?: PaymentMethod[];
|
|
13
|
+
walletBalances?: CustomerWalletBalanceItem[];
|
|
14
|
+
hasWalletBalancesError?: boolean;
|
|
15
|
+
avatar?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface SubscriptionDetailsEmits {
|
|
18
|
+
(e: 'top-up-charged'): void;
|
|
19
|
+
(e: 'auto-top-up-saved'): void;
|
|
20
|
+
(e: 'auto-top-up-cancelled'): void;
|
|
21
|
+
(e: 'payment-method-stored'): void;
|
|
22
|
+
(e: 'subscription-changed'): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defineSolvimonSubscriptionManagement: (tagName?: string) => void;
|
package/dist/types/public/screens/SubscriptionManagement/SubscriptionManagement.entry.types.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { SubscriptionManagementProps } from './SubscriptionManagement.types';
|
|
3
|
+
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
|
+
export interface SolvimonSubscriptionManagementEntryProps extends EntryBaseProps<CustomerPortalUrl>, Pick<SubscriptionManagementProps, 'configuration'> {
|
|
5
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Pricing, PricingPlanSubscription } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export interface SubscriptionManagementConfiguration {
|
|
3
|
+
subscriptionId: PricingPlanSubscription['id'];
|
|
4
|
+
/**
|
|
5
|
+
* The pricing the customer is upgrading from — the one currently enabled on the active
|
|
6
|
+
* schedule. Names the screen after the group it was chosen from. Left out when the host opens
|
|
7
|
+
* the screen without a particular upgrade in mind.
|
|
8
|
+
*/
|
|
9
|
+
enabledPricingId?: Pricing['id'];
|
|
10
|
+
}
|
|
11
|
+
export interface SubscriptionManagementProps {
|
|
12
|
+
configuration: SubscriptionManagementConfiguration;
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types the SDK declares itself rather than taking from a package it depends on.
|
|
3
|
+
*
|
|
4
|
+
* `@solvimon/solvimon-types` needs no entry here: the build vendors its declarations into the
|
|
5
|
+
* published package, so every name in it resolves for a consumer who cannot install it.
|
|
6
|
+
*
|
|
7
|
+
* `@solvimon/solvimon-ui` cannot be vendored the same way — its declarations reach `@vuelidate/core`,
|
|
8
|
+
* `vue-router`, `@tiptap/core` and five more packages this one does not depend on, so bringing them
|
|
9
|
+
* along would trade one unresolvable import for eight. Only `IntlMessages` is on the surface a host
|
|
10
|
+
* writes, and it is a single line, so it is declared here and checked against the original in
|
|
11
|
+
* `publicContract.spec.ts`.
|
|
12
|
+
*/
|
|
13
|
+
/** Translation overrides, keyed by message id. */
|
|
14
|
+
export type IntlMessages = Record<string, string>;
|
|
15
|
+
/**
|
|
16
|
+
* The environments the published package supports.
|
|
17
|
+
*
|
|
18
|
+
* Narrowed from the union in `@solvimon/solvimon-types` with `Extract` rather than restated, so a
|
|
19
|
+
* rename upstream is a compile error here instead of a surface that quietly drifts. The remaining
|
|
20
|
+
* environments are development infrastructure and are stripped from the published build; see
|
|
21
|
+
* `src/config/internalEnvironments.ts`.
|
|
22
|
+
*/
|
|
23
|
+
export type { PublicEnvironment as Environment } from '../../config/types';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Customer, PricingPlanSchedule, PricingPlanScheduleCustomization, PricingPlanSubscription } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
/**
|
|
3
|
+
* The details a preview is calculated for. Incomplete on purpose — a customer signing up is priced
|
|
4
|
+
* for what they have filled in so far.
|
|
5
|
+
*/
|
|
6
|
+
export type GetInvoicePreviewCustomer = Partial<Customer>;
|
|
7
|
+
interface GetInvoicePreviewPayloadBase {
|
|
8
|
+
pricingPlanSubscriptionId: PricingPlanSubscription['id'];
|
|
9
|
+
startAt?: PricingPlanSchedule['start_at'];
|
|
10
|
+
customizations?: PricingPlanScheduleCustomization[];
|
|
11
|
+
pricing_plan_schedule_customizations?: PricingPlanScheduleCustomization[];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A subscription that is already running is priced as itself, and the customer it belongs to is
|
|
15
|
+
* known — so only its id goes out. One that does not exist yet is priced off the template it would
|
|
16
|
+
* be created from, and the details it would be invoiced to have to be sent along, since they decide
|
|
17
|
+
* the tax and the pricing currency.
|
|
18
|
+
*/
|
|
19
|
+
export type GetInvoicePreviewPayload = (GetInvoicePreviewPayloadBase & {
|
|
20
|
+
forExistingSubscription: true;
|
|
21
|
+
customer?: never;
|
|
22
|
+
}) | (GetInvoicePreviewPayloadBase & {
|
|
23
|
+
forExistingSubscription?: false;
|
|
24
|
+
customer: GetInvoicePreviewCustomer;
|
|
25
|
+
});
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Amount, Customer, PaymentMethod, PricingPlanSubscription } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export interface SetDefaultPaymentMethodPayload {
|
|
3
|
+
paymentMethodId: PaymentMethod['id'];
|
|
4
|
+
}
|
|
5
|
+
export interface ArchivePaymentMethodPayload {
|
|
6
|
+
paymentMethodId: PaymentMethod['id'];
|
|
7
|
+
}
|
|
8
|
+
export interface GetPaymentMethodsPayload {
|
|
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
|
+
}
|
|
18
|
+
interface GetPaymentMethodOptionsBasePayload {
|
|
19
|
+
amount?: Amount;
|
|
20
|
+
country?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface GetPaymentMethodOptionsByCustomerIdPayload extends GetPaymentMethodOptionsBasePayload {
|
|
23
|
+
customerId: Customer['id'];
|
|
24
|
+
subscriptionId?: never;
|
|
25
|
+
}
|
|
26
|
+
export interface GetPaymentMethodOptionsBySubscriptionIdPayload extends GetPaymentMethodOptionsBasePayload {
|
|
27
|
+
subscriptionId: PricingPlanSubscription['id'];
|
|
28
|
+
customerId?: never;
|
|
29
|
+
}
|
|
30
|
+
export type GetPaymentMethodOptionsPayload = GetPaymentMethodOptionsByCustomerIdPayload | GetPaymentMethodOptionsBySubscriptionIdPayload;
|
|
31
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { Customer, PricingPlanSubscription, QuoteVersion } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
type PortalUrlType = 'INVOICE' | 'PAY_INVOICE' | 'CUSTOMER' | 'QUOTE_VERSION' | 'INIT_PRICING_PLAN_SUBSCRIPTION';
|
|
3
|
+
type PortalUrlStatus = 'PUBLISHED' | 'REVOKED';
|
|
4
|
+
export interface BasePortalUrl {
|
|
5
|
+
object_type: 'PORTAL_URL';
|
|
6
|
+
id: string;
|
|
7
|
+
type: PortalUrlType;
|
|
8
|
+
customer_id: Customer['id'];
|
|
9
|
+
status: PortalUrlStatus;
|
|
10
|
+
created_at: string;
|
|
11
|
+
embedded: boolean;
|
|
12
|
+
token: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PortalUrlInvoice extends BasePortalUrl {
|
|
16
|
+
type: 'INVOICE';
|
|
17
|
+
invoice: {
|
|
18
|
+
id: string;
|
|
19
|
+
options: {
|
|
20
|
+
download_invoice: boolean;
|
|
21
|
+
pay_open_invoice: boolean;
|
|
22
|
+
};
|
|
23
|
+
payment_acceptor_id: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface PortalUrlPayInvoice extends BasePortalUrl {
|
|
27
|
+
type: 'PAY_INVOICE';
|
|
28
|
+
invoice: {
|
|
29
|
+
id: string;
|
|
30
|
+
options: {
|
|
31
|
+
download_invoice: boolean;
|
|
32
|
+
pay_open_invoice: boolean;
|
|
33
|
+
};
|
|
34
|
+
payment_acceptor_id: string;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export interface PortalUrlQuoteVersion extends BasePortalUrl {
|
|
38
|
+
type: 'QUOTE_VERSION';
|
|
39
|
+
quote_version: {
|
|
40
|
+
id: QuoteVersion['id'];
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface PortalUrlCustomer extends BasePortalUrl {
|
|
44
|
+
type: 'CUSTOMER';
|
|
45
|
+
customer: {
|
|
46
|
+
display: {
|
|
47
|
+
usage: boolean;
|
|
48
|
+
invoices: boolean;
|
|
49
|
+
pricing_plan_subscriptions: boolean;
|
|
50
|
+
payment_acceptors: boolean;
|
|
51
|
+
};
|
|
52
|
+
options: {
|
|
53
|
+
edit_customer_details: boolean;
|
|
54
|
+
download_invoice: boolean;
|
|
55
|
+
pay_open_invoice: boolean;
|
|
56
|
+
combine_open_invoices: boolean;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export interface PortalUrlInitPricingPlanSubscription extends BasePortalUrl {
|
|
61
|
+
type: 'INIT_PRICING_PLAN_SUBSCRIPTION';
|
|
62
|
+
init_pricing_plan_subscription: {
|
|
63
|
+
pricing_plan_subscription_id: PricingPlanSubscription['id'];
|
|
64
|
+
success_url?: string;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export type PortalUrl = PortalUrlInvoice | PortalUrlPayInvoice | PortalUrlQuoteVersion | PortalUrlCustomer | PortalUrlInitPricingPlanSubscription;
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type GetDefaultHeaders = (params: {
|
|
2
|
+
headers?: Record<string, string | null>;
|
|
3
|
+
enableAccessToken?: boolean;
|
|
4
|
+
}) => Record<string, string>;
|
|
5
|
+
export type RequestOptions = {
|
|
6
|
+
headers?: Record<string, string | null>;
|
|
7
|
+
method?: 'GET' | 'POST' | 'PATCH';
|
|
8
|
+
};
|
|
9
|
+
export type QueryParamValue = string | number | boolean | null | undefined | (string | number)[];
|
|
10
|
+
export type QueryParams = Record<string, QueryParamValue>;
|
|
11
|
+
interface BaseRequestParams {
|
|
12
|
+
url: string;
|
|
13
|
+
query?: QueryParams;
|
|
14
|
+
data?: object;
|
|
15
|
+
options?: RequestOptions;
|
|
16
|
+
}
|
|
17
|
+
export interface SingleRequestParams extends BaseRequestParams {
|
|
18
|
+
isCollection?: undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface CollectionRequestParams extends BaseRequestParams {
|
|
21
|
+
isCollection: true;
|
|
22
|
+
}
|
|
23
|
+
export type RequestParams = SingleRequestParams | CollectionRequestParams;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const SUPPORTED_LOCALES: readonly ["en-US", "nl-NL"];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PlatformBranding, PortalUrl } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { ProviderEmits, ProviderProps } from '../components/providers/Provider/Provider.types';
|
|
3
|
+
export type EntryBaseProps<PortalObjectType extends PortalUrl> = Omit<ProviderProps, 'customElementName'> & {
|
|
4
|
+
/**
|
|
5
|
+
* The branding for the checkout.
|
|
6
|
+
*/
|
|
7
|
+
branding?: PlatformBranding;
|
|
8
|
+
portalObject: PortalObjectType;
|
|
9
|
+
};
|
|
10
|
+
export type EntryBaseEmits = ProviderEmits;
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
export interface Error {
|
|
3
|
+
code: ErrorCode;
|
|
4
|
+
message: string;
|
|
5
|
+
error?: unknown;
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PricingPlanSubscriptionExpanded as OriginalPricingPlanSubscriptionExpanded, PricingPlanScheduleInfoExpanded } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export interface PricingPlanSubscriptionExpanded extends Omit<OriginalPricingPlanSubscriptionExpanded, 'pricing_plan_schedule_infos'> {
|
|
3
|
+
pricing_plan_schedule_infos: PricingPlanScheduleInfoExpanded[];
|
|
4
|
+
}
|