@solvimon/solvimon-web 0.1.0-alpha.25 → 0.1.0-alpha.26
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 +14 -11
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Dh_a0NRB.mjs → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DcrLNA_x.mjs} +6 -6
- package/dist/{AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-BM1_31Tl.js → AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-DwbIiJBY.js} +1 -1
- package/dist/{Avatar.vue.es-CvxRdCes.js → Avatar.vue.es-Bm6MCMAL.js} +1 -1
- package/dist/{Avatar.vue.es-C9Jkfuvp.mjs → Avatar.vue.es-BqQHvLGA.mjs} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-7wQAw6Lv.js → BillingInformation.vue_vue_type_script_setup_true_lang-0JHnqIpC.js} +1 -1
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-BRSUpMPU.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-BFza7Nf9.mjs} +8 -8
- package/dist/{Button.vue.es-BbSN0uOk.mjs → Button.vue.es-C32_baQN.mjs} +1 -1
- package/dist/{Button.vue.es-CeUTAc2n.js → Button.vue.es-qGvnOKnK.js} +1 -1
- package/dist/ChargeOnDemandModal-CIiI74ls.mjs +983 -0
- package/dist/ChargeOnDemandModal-DIQaGnRs.js +1 -0
- package/dist/Checkout.entry.ce-8EcavNgT.js +2 -0
- package/dist/{Checkout.entry.ce-BMzK8nQg.mjs → Checkout.entry.ce-BA5ljKj8.mjs} +1562 -1538
- package/dist/{Chip.vue.es-T22Q7AF9.mjs → Chip.vue.es-CKCOY5T6.mjs} +2 -2
- package/dist/{Chip.vue.es-BN83K3Tk.js → Chip.vue.es-D60gTbfe.js} +1 -1
- package/dist/{ContextMenu.vue.es-DXKR7WFg.js → ContextMenu.vue.es-C7KI8Gz6.js} +1 -1
- package/dist/{ContextMenu.vue.es-0PRmCAzL.mjs → ContextMenu.vue.es-Da-lAmTl.mjs} +10 -10
- package/dist/{CustomerBillingInformation.vue.es-C2j40TYP.mjs → CustomerBillingInformation.vue.es-BxBQt4Q0.mjs} +2 -2
- package/dist/{CustomerBillingInformation.vue.es-yrLGc7oL.js → CustomerBillingInformation.vue.es-bFUx81Ig.js} +1 -1
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BZwGWhaL.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-BcTZgshS.mjs} +6 -6
- package/dist/{CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C8diNL5x.js → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-C0lJ_ESU.js} +1 -1
- package/dist/{CustomerWalletBalances.vue_vue_type_script_setup_true_lang-xqMsbuU6.mjs → CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DkbQ2MiR.mjs} +908 -891
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-hBo2Y2mJ.js +1 -0
- package/dist/{DividerText.vue.es-DsYRZzuE.js → DividerText.vue.es-BF3gnr4e.js} +1 -1
- package/dist/{DividerText.vue.es-CV1XK_Vz.mjs → DividerText.vue.es-DKl3FnDJ.mjs} +1 -1
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-kpjrC-4q.mjs → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-C3QYra1x.mjs} +4 -4
- package/dist/{EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-srXOpUb0.js → EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-cSQeqr0A.js} +1 -1
- package/dist/{ErrorNotification.vue.es-QfRoDhkn.js → ErrorNotification.vue.es-BX9dHEc-.js} +1 -1
- package/dist/{ErrorNotification.vue.es-CiUJva6S.mjs → ErrorNotification.vue.es-rRKgmkzV.mjs} +1 -1
- package/dist/{IconButton.vue.es-CytBZUkZ.js → IconButton.vue.es-Bwdfu-jm.js} +1 -1
- package/dist/{IconButton.vue.es-ChvsCZQG.mjs → IconButton.vue.es-UlqwNPAX.mjs} +2 -2
- package/dist/{IconTitle.vue.es-DPruIJ6l.mjs → IconTitle.vue.es-CK9k69tV.mjs} +3 -3
- package/dist/{IconTitle.vue.es-DtnpBObk.js → IconTitle.vue.es-Cei98MBw.js} +1 -1
- package/dist/{Input.vue.es-BkzQDkrz.js → Input.vue.es-B47l_feL.js} +1 -1
- package/dist/{Input.vue.es-DJQqJrsb.mjs → Input.vue.es-D9IjIWc-.mjs} +2 -2
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-Do0dDtkA.js → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DKlPrxQS.js} +1 -1
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BC-zyUqe.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-DUfJl07Y.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-CFhhhwId.mjs → InvoiceEntryView.vue_vue_type_script_setup_true_lang-D9Rtgapa.mjs} +2 -2
- package/dist/{InvoiceEntryView.vue_vue_type_script_setup_true_lang-DQFS7SfE.js → InvoiceEntryView.vue_vue_type_script_setup_true_lang-DlJ6lELc.js} +1 -1
- package/dist/InvoiceSummary.vue.es-DBnR9Hs7.js +1 -0
- package/dist/{InvoiceSummary.vue.es-6qpbyymg.mjs → InvoiceSummary.vue.es-DQ4KvTaw.mjs} +576 -565
- package/dist/{Modal.vue.es-JpE0eh_Q.js → Modal.vue.es-8LN4gBh0.js} +1 -1
- package/dist/{Modal.vue.es-BuRlbyZw.mjs → Modal.vue.es-B9xMiyn3.mjs} +5 -5
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-nAuhIopc.js → PaymentErrorCard.vue_vue_type_script_setup_true_lang-B1yGKkWN.js} +1 -1
- package/dist/{PaymentErrorCard.vue_vue_type_script_setup_true_lang-UmKgVvdj.mjs → PaymentErrorCard.vue_vue_type_script_setup_true_lang-BVzL2PGe.mjs} +4 -4
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-YpcWHm24.js → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DSGf6uFP.js} +1 -1
- package/dist/{PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-DggCusgC.mjs → PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-nLTPnH4j.mjs} +3 -3
- package/dist/{PaymentHistoryBlock-DnmParhQ.mjs → PaymentHistoryBlock-DYa99P1M.mjs} +1 -1
- package/dist/{PaymentHistoryBlock-uWuWjr8I.js → PaymentHistoryBlock-Ds93gNvh.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BS8N4yt9.js → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-CBZhXQfC.js} +1 -1
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-BziIf86i.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-D0KnSy0y.mjs} +4 -4
- package/dist/{PaymentIntegrationForm-DTXm56QQ.js → PaymentIntegrationForm-B_Db4DG1.js} +1 -1
- package/dist/{PaymentIntegrationForm-DL55i0HD.mjs → PaymentIntegrationForm-UWoyZgsR.mjs} +1 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-C0J37ZVe.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-J15IDbMc.mjs +154 -0
- package/dist/{PaymentIntegrationFormAdyen-Cqsy82To.mjs → PaymentIntegrationFormAdyen-D4qfNtZ_.mjs} +197 -183
- package/dist/PaymentIntegrationFormAdyen-HeA9XIj-.js +98 -0
- package/dist/{PaymentIntegrationFormStripe-DIU1rnwH.mjs → PaymentIntegrationFormStripe-BIiMCWlV.mjs} +247 -220
- package/dist/PaymentIntegrationFormStripe-DUCJTIAq.js +102 -0
- package/dist/PaymentMethod.vue.es-CJcSZ9lN.js +1 -0
- package/dist/{PaymentMethod.vue.es-m1NasGqw.mjs → PaymentMethod.vue.es-CKu5nApX.mjs} +168 -148
- package/dist/{PaymentMethodForm-BEVdWCrH.js → PaymentMethodForm-1d0YIGOu.js} +1 -1
- package/dist/{PaymentMethodForm-BYzt1PVP.mjs → PaymentMethodForm-B05sHWcW.mjs} +1 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-BDm8l_6N.js +1 -0
- package/dist/{PaymentMethodForm.vue_vue_type_script_setup_true_lang-fdRTp7sc.mjs → PaymentMethodForm.vue_vue_type_script_setup_true_lang-D1yIYsb_.mjs} +45 -41
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FhMBZqtI.js → PaymentMethodsList.vue_vue_type_script_setup_true_lang-BE4S26JX.js} +1 -1
- package/dist/{PaymentMethodsList.vue_vue_type_script_setup_true_lang-FChyZp2v.mjs → PaymentMethodsList.vue_vue_type_script_setup_true_lang-DGpXRtp4.mjs} +6 -6
- package/dist/PlanCustomizationEditor-CEMP_Dhz.js +1 -0
- package/dist/PlanCustomizationEditor-CpZeilm5.mjs +694 -0
- package/dist/{PricingGroupRangeInput.vue.es-B4ZbKxUw.mjs → PricingGroupRangeInput.vue.es-CJpvUP3-.mjs} +4 -4
- package/dist/{PricingGroupRangeInput.vue.es-Ba3v0J_R.js → PricingGroupRangeInput.vue.es-DZSJ5Mz0.js} +1 -1
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-DJ81eUJX.mjs +141 -0
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-jrkraJMu.js +1 -0
- package/dist/{RadioGroupExtended.vue.es-CkhBp9kI.mjs → RadioGroupExtended.vue.es-BalV7gwp.mjs} +2 -2
- package/dist/{RadioGroupExtended.vue.es-CHrcqSRq.js → RadioGroupExtended.vue.es-Dt6LH9Yh.js} +1 -1
- package/dist/{Section.vue.es-D5svcVS_.mjs → Section.vue.es-D7eiXUbk.mjs} +1 -1
- package/dist/{Section.vue.es-CSrVPlUK.js → Section.vue.es-zVXBHAL6.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BqOSBdFQ.js → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BdjYFrVC.js} +1 -1
- package/dist/{SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-BM9Y4Cy3.mjs → SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DudMRVka.mjs} +6 -6
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-D4sbq9nA.js +1 -0
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-DRLoYWGY.mjs → Skeleton.vue_vue_type_script_setup_true_lang-D60YtA9z.mjs} +5 -5
- package/dist/StepInput.vue.es-C3Zm6Wc9.mjs +199 -0
- package/dist/StepInput.vue.es-mAnuCuDQ.js +1 -0
- package/dist/SubscriptionDetails.entry.ce-D4CsSoR9.js +1 -0
- package/dist/SubscriptionDetails.entry.ce-WEimiOex.mjs +1057 -0
- package/dist/{SubscriptionSchedules-CMVoB2bw.js → SubscriptionSchedules-Cm5Dt-1H.js} +1 -1
- package/dist/{SubscriptionSchedules-yDcsD1hd.mjs → SubscriptionSchedules-DrrEAPlx.mjs} +1 -1
- package/dist/{SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DZHsQImd.mjs → SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DHp_KtbF.mjs} +2284 -2341
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-t2Awijf5.js +1 -0
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BmNl5u8R.mjs → SubscriptionSummary.vue_vue_type_script_setup_true_lang-3VYfm6Hm.mjs} +3 -3
- package/dist/{SubscriptionSummary.vue_vue_type_script_setup_true_lang-BgXZMihr.js → SubscriptionSummary.vue_vue_type_script_setup_true_lang-B41qZmcL.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-DOJ0t_fo.js → SubscriptionsList.vue_vue_type_script_setup_true_lang-Bu-_clEa.js} +1 -1
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-BUzdZHah.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DFU0IULg.mjs} +8 -8
- package/dist/{TooltipParagraph.vue.es-CxdL8-B7.mjs → TooltipParagraph.vue.es-BXbOJmjr.mjs} +3 -3
- package/dist/TooltipParagraph.vue.es-Cph6zT31.js +1 -0
- package/dist/{TrialChip.vue.es-BCc8q5j0.js → TrialChip.vue.es-C_wgHGuN.js} +1 -1
- package/dist/{TrialChip.vue.es-BK7m7e7q.mjs → TrialChip.vue.es-C_yRujip.mjs} +2 -2
- package/dist/{cn.es-ZXNzpauQ.mjs → cn.es-CGa6b2Lt.mjs} +2 -2
- package/dist/{cn.es-71nFUose.js → cn.es-D9YMDvG2.js} +1 -1
- package/dist/components/BillingInformation/BillingInformation.cjs +1 -1
- package/dist/components/BillingInformation/BillingInformation.mjs +4 -4
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs +1 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.mjs +246 -230
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +4 -4
- package/dist/components/Invoice/Invoice.cjs +1 -1
- package/dist/components/Invoice/Invoice.mjs +201 -212
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs +1 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.mjs +4 -4
- package/dist/components/InvoiceHeader/InvoiceHeader.cjs +1 -1
- package/dist/components/InvoiceHeader/InvoiceHeader.mjs +2 -2
- package/dist/components/InvoicesList/InvoicesList.cjs +1 -1
- package/dist/components/InvoicesList/InvoicesList.mjs +3 -3
- package/dist/components/PaymentHistory/PaymentHistory.cjs +1 -1
- package/dist/components/PaymentHistory/PaymentHistory.mjs +4 -4
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -1
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +5 -5
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +4 -4
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +5 -5
- package/dist/components/WalletBalances/WalletBalances.cjs +1 -1
- package/dist/components/WalletBalances/WalletBalances.mjs +3 -3
- package/dist/{customElements-hH6pju3X.js → customElements-C963-LtW.js} +36 -32
- package/dist/{customElements-q_i9y0Ph.mjs → customElements-D5DAoHRI.mjs} +231 -196
- package/dist/{customer-BDoOIAFr.mjs → customer-DKa1B2vp.mjs} +4 -4
- package/dist/{customer-C9q6ti8s.js → customer-TE1FnGT0.js} +1 -1
- package/dist/{de-DE-BSlbAnPE.js → de-DE-B4TUdnUf.js} +1 -1
- package/dist/{de-DE-B_ik9VNt.mjs → de-DE-CLfzTbbX.mjs} +38 -6
- package/dist/de-DE-DaBBl-Ak.js +1 -0
- package/dist/{de-DE-DXsG-vXA.mjs → de-DE-jkW2dJrX.mjs} +28 -14
- package/dist/en-US-BNevqm0M.js +1 -0
- package/dist/{en-US-DkCltadt.mjs → en-US-D6SGRAch.mjs} +38 -6
- package/dist/en-US-J85TQRI8.js +1 -0
- package/dist/{en-US-C939IZ5i.mjs → en-US-SDhjlY_v.mjs} +20 -5
- package/dist/formControl-ODrpUvcA.js +1 -0
- package/dist/{index-BPU8tIml.mjs → formControl-dX7l8o3c.mjs} +160 -143
- package/dist/icon-sprite.svg.es-BZIz7-0d.mjs +4 -0
- package/dist/icon-sprite.svg.es-Ds6lDf5p.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{invoices-CHp75zZI.js → invoices-ClqTWYF9.js} +1 -1
- package/dist/{invoices-DIzkXntV.mjs → invoices-DJTwftJv.mjs} +1 -1
- package/dist/it-IT-BkPbTueL.js +1 -0
- package/dist/{it-IT-DT3rfjOY.js → it-IT-CSYvGmpT.js} +1 -1
- package/dist/{it-IT-BxpwB3oJ.mjs → it-IT-CaaFToGB.mjs} +20 -6
- package/dist/{it-IT-CHj2McbF.mjs → it-IT-Cym1UvvK.mjs} +38 -6
- package/dist/{nl-NL-DfkhOJKc.js → nl-NL-CpE4IgwO.js} +1 -1
- package/dist/{nl-NL-na2I4aiP.mjs → nl-NL-D0MQKaql.mjs} +34 -20
- package/dist/{nl-NL-Cdvd_XMN.mjs → nl-NL-D0c4x5C0.mjs} +38 -6
- package/dist/nl-NL-jIfAVGv0.js +1 -0
- package/dist/paymentMethods-AL2U_byg.js +1 -0
- package/dist/{paymentMethods-DEKp_4QM.mjs → paymentMethods-CWzJhcWK.mjs} +16 -14
- package/dist/{payments-DBvregE8.js → payments-BmiHMlQt.js} +1 -1
- package/dist/{payments-C0-Hq2a4.mjs → payments-aXyfylwk.mjs} +6 -6
- package/dist/pricing.es-C07bgEZx.js +1 -0
- package/dist/pricing.es-QYWrKMUJ.mjs +30 -0
- package/dist/pricingPlanSchedules-BD4GIP_F.mjs +32 -0
- package/dist/pricingPlanSchedules-BfsMSvN0.js +1 -0
- package/dist/screens/Checkout/Checkout.cjs +1 -1
- package/dist/screens/Checkout/Checkout.mjs +2 -2
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -1
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +10 -10
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -1
- package/dist/screens/PayInvoice/PayInvoice.mjs +57 -55
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -1
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +9 -9
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -1
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +3 -769
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -1
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +243 -270
- package/dist/{subscription-CrVOr5MF.mjs → subscription-D1yHKUNc.mjs} +2 -2
- package/dist/{subscriptions-BArXBCFr.js → subscriptions-Cm83ckfl.js} +1 -1
- package/dist/{subscriptions--9MaTXMb.mjs → subscriptions-cnR5fnf7.mjs} +1 -1
- package/dist/types/components/{wallets/WalletModalShell.types.d.ts → payments/OnDemandPaymentModalShell/OnDemandPaymentModalShell.types.d.ts} +3 -3
- package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts +5 -0
- package/dist/types/components/payments/PaymentIntegrationFormStripe/PaymentIntegrationFormStripeFrame.types.d.ts +5 -9
- package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/AuthProvider/AuthProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ConfigProvider/ConfigProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/CssOverridesProvider/CssOverridesProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/EntryProvider/EntryProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/ErrorBoundary/ErrorBoundary.vue.d.ts +7 -11
- package/dist/types/components/providers/ExperimentalFeatureProvider/ExperimentalFeatureProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/HostElementProvider/HostElementProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +2 -2
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/PortalProvider/PortalProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/Provider/Provider.vue.d.ts +7 -11
- package/dist/types/components/providers/TeleportProvider/TeleportProvider.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationOverride.vue.d.ts +7 -11
- package/dist/types/components/providers/TranslationProvider/TranslationProvider.vue.d.ts +7 -11
- package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts +21 -0
- package/dist/types/components/subscriptions/OnDemandItemsCard/OnDemandItemsCard.types.d.ts +7 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts +27 -0
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.entry.types.d.ts +1 -1
- package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.types.d.ts +6 -5
- package/dist/types/services/paymentMethods.types.d.ts +4 -2
- package/dist/types/services/requests.types.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/index.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/AgentContext.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ApprovalPolicies.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/ChargeOnDemandPricingItems.d.ts +23 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/CustomFields.d.ts +16 -4
- package/dist/types/vendor/@solvimon/solvimon-types/types/Embeddable.d.ts +8 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Invoice.d.ts +21 -6
- package/dist/types/vendor/@solvimon/solvimon-types/types/OAuth.d.ts +28 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PaymentAcceptor.d.ts +2 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Permission.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Platform.d.ts +6 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/Portal.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingItemConfig.d.ts +5 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanGroups.d.ts +31 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSchedule.d.ts +9 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanScheduleInfo.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlanSubscription.d.ts +3 -3
- package/dist/types/vendor/@solvimon/solvimon-types/types/PricingPlans.d.ts +3 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Product.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ProductItem.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/QuoteTemplates.d.ts +2 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/ResourceStatus.d.ts +1 -1
- package/dist/types/vendor/@solvimon/solvimon-types/types/SeatAssignment.d.ts +22 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Wallet.d.ts +6 -0
- package/dist/types/vendor/@solvimon/solvimon-types/types/Workflows.d.ts +128 -1
- package/dist/{useActionDispatchProvider-CKzeqXzY.js → useActionDispatchProvider-CHkVQMaE.js} +1 -1
- package/dist/{useActionDispatchProvider-BdciAX8T.mjs → useActionDispatchProvider-DDYqIh3r.mjs} +1 -1
- package/dist/{useCustomer-DSYr0F58.js → useCustomer-DGYtowRy.js} +1 -1
- package/dist/{useCustomer-D8ixhuuj.mjs → useCustomer-XZKWsolE.mjs} +1 -1
- package/dist/{useCustomerFormLabels-htMZ0xqB.mjs → useCustomerFormLabels-CcnkJLcB.mjs} +6 -6
- package/dist/useCustomerFormLabels-DAZziqYt.js +1 -0
- package/dist/{useExperimentalFeature-D29-TO3R.js → useExperimentalFeature-COOU6IZd.js} +1 -1
- package/dist/{useExperimentalFeature-JK_kAUQQ.mjs → useExperimentalFeature-ierhOt9Q.mjs} +1 -1
- package/dist/{useInvoiceData-Bpbog3zW.mjs → useInvoiceData-BEK-7msA.mjs} +3 -3
- package/dist/{useInvoiceData-DhrItfv7.js → useInvoiceData-CQRn8l9C.js} +1 -1
- package/dist/{useInvoicesList-duu_b5GW.js → useInvoicesList-BQkKyyXa.js} +1 -1
- package/dist/{useInvoicesList-BGwcJn4I.mjs → useInvoicesList-C4I118KM.mjs} +7 -7
- package/dist/{useLoadInitialData-BDmmpcfb.mjs → useLoadInitialData-CR0kbYw8.mjs} +1 -1
- package/dist/{useLoadInitialData-U2WvBmXT.js → useLoadInitialData-CrKnBZs_.js} +1 -1
- package/dist/{usePaymentMethodAvailability-DwtT5Czz.js → usePaymentMethodAvailability-Ci6LeYKt.js} +1 -1
- package/dist/{usePaymentMethodAvailability-adqRujTA.mjs → usePaymentMethodAvailability-ZH-m3B-A.mjs} +12 -12
- package/dist/{usePaymentMethodOptions-DlZtTQNQ.mjs → usePaymentMethodOptions-Ciifjo6c.mjs} +15 -13
- package/dist/usePaymentMethodOptions-Cqe92ZBn.js +1 -0
- package/dist/{usePaymentMethods-BnmSo_rr.mjs → usePaymentMethods-B-OKRyKd.mjs} +1 -1
- package/dist/{usePaymentMethods-DZ1a0mnr.js → usePaymentMethods-BKwrl82-.js} +1 -1
- package/dist/usePayments-Bauj16B-.js +1 -0
- package/dist/{usePayments-s-Z1di8d.mjs → usePayments-CV85OV8V.mjs} +46 -41
- package/dist/{usePortal-Hm7wvtgQ.js → usePortal-DSLImEfr.js} +1 -1
- package/dist/{usePortal-C4rR5Rhu.mjs → usePortal-H8Tv2TnZ.mjs} +1 -1
- package/dist/{useSubscription-DMAEJves.js → useSubscription-BiYNJT2e.js} +1 -1
- package/dist/{useSubscription-DSsXVO0h.mjs → useSubscription-DqnxWNKg.mjs} +1 -1
- package/dist/{useTimePeriod.es-CW8ycmpT.mjs → useTimePeriod.es-B22-fno3.mjs} +1 -1
- package/dist/{useTimePeriod.es-anHB63am.js → useTimePeriod.es-D2aiyfd-.js} +1 -1
- package/dist/useWatchDebounced-B8iX7ykx.js +1 -0
- package/dist/useWatchDebounced-BHlBPcXB.mjs +20 -0
- package/package.json +11 -8
- package/dist/Checkout.entry.ce-DgA0ckyl.js +0 -2
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-DzbPUvHN.js +0 -1
- package/dist/InvoiceSummary.vue.es-v1TkOUhA.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-4RmdLbzY.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CvpFnl9V.mjs +0 -141
- package/dist/PaymentIntegrationFormAdyen-C9KoiqMh.js +0 -98
- package/dist/PaymentIntegrationFormStripe-DTLgGutU.js +0 -102
- package/dist/PaymentMethod.vue.es-ZWda5GqF.js +0 -1
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-CzUwtVEI.js +0 -1
- package/dist/PlanCustomizationEditor-CunwwXTw.js +0 -1
- package/dist/PlanCustomizationEditor-NLVkEYFF.mjs +0 -877
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-Dvuj-fos.mjs +0 -131
- package/dist/PricingGroupSingleEditor.vue_vue_type_script_setup_true_lang-iE4dLawA.js +0 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DypW8aNJ.js +0 -1
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-DH7IZrNT.js +0 -1
- package/dist/TooltipParagraph.vue.es-DS_69pl1.js +0 -1
- package/dist/de-DE-npBTLtKL.js +0 -1
- package/dist/en-US-9xdcz3T5.js +0 -1
- package/dist/en-US-kGduGoka.js +0 -1
- package/dist/icon-sprite.svg.es-Bt21fMEt.mjs +0 -4
- package/dist/icon-sprite.svg.es-Dauis9LS.js +0 -1
- package/dist/index-DwueOtPi.js +0 -1
- package/dist/it-IT-BayNIAy7.js +0 -1
- package/dist/nl-NL-0rV4nFLw.js +0 -1
- package/dist/paymentMethods-CZGP6_4W.js +0 -1
- package/dist/types/components/subscriptions/SubscriptionManagement/SubscriptionManagement.types.d.ts +0 -47
- package/dist/useCustomerFormLabels-CRumh405.js +0 -1
- package/dist/usePaymentMethodOptions-CXdFKFqZ.js +0 -1
- package/dist/usePayments-DL4agK2i.js +0 -1
- package/dist/useWatchDebounced-CAU1WI1P.js +0 -1
- package/dist/useWatchDebounced-DT5IicPp.mjs +0 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
const r=require("./api.es-duCDtZD9.js"),c=require("./customElements-
|
|
1
|
+
const r=require("./api.es-duCDtZD9.js"),c=require("./customElements-C963-LtW.js"),o=require("./sessionReference-m_6Rp4X1.js"),s="/portal/pricing-plan-subscriptions",N={CANCEL:"NEXT_BILLING_PERIOD",RENEW:"UNDO"};function P(){const t=c.useConfig(),i=c.createRequestService();function a({id:e,expanded:n=!1}){return i({url:`${t.apiUrls.config}${s}/${e}`,query:r.withExpand({expandParams:o.EXPAND_ALL,expand:n})})}function u({customerId:e,pagination:n}){const l=n??{},E=r.withExpand({initialParams:{customer_id:e,statuses:["ACTIVE"],type:"BILLING"},expandParams:o.EXPAND_ALL});return i({url:`${t.apiUrls.config}${s}`,query:r.withPagination(E,l),isCollection:!0})}function p({id:e,variant:n}){return i({url:`${t.apiUrls.config}${s}/${e}/cancel`,data:{type:N[n]},options:{method:"POST"}})}return{getSubscription:a,getActiveSubscriptions:u,setSubscriptionCancellation:p}}exports.createSubscriptionsService=P;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as s, a as f } from "./api.es-QaC926Xu.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { u as E, c as m } from "./customElements-D5DAoHRI.mjs";
|
|
3
3
|
import { E as e } from "./sessionReference-3h-6FdrC.mjs";
|
|
4
4
|
const a = "/portal/pricing-plan-subscriptions", N = {
|
|
5
5
|
CANCEL: "NEXT_BILLING_PERIOD",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Customer, PaymentMethodOptionsResponse } from '
|
|
2
|
-
export interface
|
|
1
|
+
import { Customer, PaymentMethodOptionsResponse } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export interface OnDemandPaymentModalShellProps {
|
|
3
3
|
showModal: boolean;
|
|
4
4
|
title: string;
|
|
5
5
|
subTitle?: string;
|
|
@@ -16,7 +16,7 @@ export interface WalletModalShellProps {
|
|
|
16
16
|
isPaymentMethodOptionsPending?: boolean;
|
|
17
17
|
isAddingPaymentMethod?: boolean;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface OnDemandPaymentModalShellEmits {
|
|
20
20
|
(e: 'confirm'): void;
|
|
21
21
|
(e: 'cancel'): void;
|
|
22
22
|
(e: 'payment-success'): void;
|
package/dist/types/components/payments/PaymentIntegrationForm/PaymentIntegrationForm.types.d.ts
CHANGED
|
@@ -63,6 +63,11 @@ export interface PaymentIntegrationFormEmits {
|
|
|
63
63
|
* Emitted when a payment is successful.
|
|
64
64
|
*/
|
|
65
65
|
(e: 'payment-success'): void;
|
|
66
|
+
/**
|
|
67
|
+
* Emitted when a submit is not sent. `NO_PAYMENT_METHOD` means no payment method is open in
|
|
68
|
+
* the form, so there are no fields of its own to mark.
|
|
69
|
+
*/
|
|
70
|
+
(e: 'invalid', reason?: 'NO_PAYMENT_METHOD'): void;
|
|
66
71
|
/**
|
|
67
72
|
* Emitted when the payment integration form is ready and the payment integration form is initialized.
|
|
68
73
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StripeError } from '@stripe/stripe-js';
|
|
1
2
|
type StripeWalletsOption = {
|
|
2
3
|
link?: 'never' | 'auto';
|
|
3
4
|
};
|
|
@@ -45,18 +46,13 @@ export interface PaymentIntegrationFormStripeFrameProps {
|
|
|
45
46
|
email?: string;
|
|
46
47
|
name?: string;
|
|
47
48
|
}
|
|
49
|
+
export type StripeLoadError = Partial<Pick<StripeError, 'message' | 'type'>>;
|
|
50
|
+
export type StripeSubmitError = Partial<Pick<StripeError, 'message' | 'type' | 'code'>>;
|
|
48
51
|
export type PaymentIntegrationFormStripeFrameEmits = {
|
|
49
52
|
ready: [];
|
|
50
53
|
change: [paymentMethodType: string];
|
|
51
|
-
loaderror: [error:
|
|
52
|
-
message?: string;
|
|
53
|
-
type?: string;
|
|
54
|
-
}];
|
|
54
|
+
loaderror: [error: StripeLoadError];
|
|
55
55
|
'submit-success': [confirmationTokenId: string];
|
|
56
|
-
'submit-error': [error:
|
|
57
|
-
message?: string;
|
|
58
|
-
type?: string;
|
|
59
|
-
code?: string;
|
|
60
|
-
}];
|
|
56
|
+
'submit-error': [error: StripeSubmitError];
|
|
61
57
|
};
|
|
62
58
|
export {};
|
package/dist/types/components/providers/ActionDispatchProvider/ActionDispatchProvider.vue.d.ts
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const
|
|
11
|
-
declare const _default:
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
12
8
|
export default _default;
|
|
13
|
-
type
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
10
|
new (): {
|
|
15
11
|
$slots: S;
|
|
16
12
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { AuthProviderProps } from './AuthProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<AuthProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AuthProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { ConfigProviderProps } from './ConfigProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<ConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { CssOverridesProviderProps } from './CssOverridesProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<CssOverridesProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CssOverridesProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { EntryProviderProps } from './EntryProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_9: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_9) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<EntryProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<EntryProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
7
|
error: (error: Error) => any;
|
|
13
8
|
}, string, import('vue').PublicProps, Readonly<EntryProviderProps> & Readonly<{
|
|
14
9
|
onError?: ((error: Error) => any) | undefined;
|
|
15
10
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
17
13
|
export default _default;
|
|
18
|
-
type
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
15
|
new (): {
|
|
20
16
|
$slots: S;
|
|
21
17
|
};
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
1
|
+
declare var __VLS_9: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_9) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const
|
|
11
|
-
declare const _default:
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
12
8
|
export default _default;
|
|
13
|
-
type
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
10
|
new (): {
|
|
15
11
|
$slots: S;
|
|
16
12
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { ExperimentalFeatureProviderProps } from './ExperimentalFeatureProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<ExperimentalFeatureProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExperimentalFeatureProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { HostElementProviderProps } from './HostElementProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<HostElementProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HostElementProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -77,5 +77,5 @@ export interface LoggerProviderProps {
|
|
|
77
77
|
}
|
|
78
78
|
export type WarnCode =
|
|
79
79
|
/** Also an `ErrorCode`: the level separates a failure the SDK absorbed from one it did not. */
|
|
80
|
-
'REQUEST_FAILED' | 'ACTIVE_SCHEDULE_NOT_FOUND' | 'ADYEN_INVALID_CONFIGURATION' | 'PAYMENT_INTEGRATION_NOT_RENDERABLE' | 'APPLE_PAY_ACTION_REQUIRED' | 'INVOICE_PREVIEW_SKIPPED' | 'TRANSLATION_LOAD_FAILED';
|
|
81
|
-
export type ErrorCode = 'REQUEST_FAILED' | 'UNHANDLED_ERROR' | 'RESOURCE_REVOKED' | 'INVALID_EMAIL' | 'INVALID_COUNTRY_CODE' | 'PAYMENT_INTEGRATION_INITIALIZATION_FAILED' | 'PAYMENT_AUTHORIZATION_FAILED' | 'TOKENIZATION_FAILED' | 'INVALID_TOKEN' | 'SESSION_EXPIRED' | 'INVALID_REDIRECT_RESULT' | 'PAYMENT_DETAILS_CALL_FAILED' | 'PAYMENT_METHOD_OPTIONS_LOAD_FAILED' | 'NO_PAYMENT_METHODS_AVAILABLE' | 'INTEGRATION_ERROR' | 'EXPRESS_CHECKOUT_GOOGLE_PAY_ERROR' | 'EXPRESS_CHECKOUT_PAYPAL_ERROR' | 'APPLE_PAY_ERROR' | 'APPLE_PAY_AUTHORIZATION_FAILED' | 'PROMOTION_CODE_APPLY_FAILED' | 'PROMOTION_CODE_REMOVE_FAILED' | 'SUBSCRIPTION_UPDATE_FAILED' | 'SUBSCRIPTION_CANCELLATION_FAILED' | 'INITIAL_DATA_LOAD_FAILED' | 'SUBSCRIPTION_LOAD_FAILED' | 'INVOICE_PREVIEW_FAILED' | 'TOP_UP_FAILED' | 'AUTO_TOP_UP_SAVE_FAILED' | 'AUTO_TOP_UP_CANCELLATION_FAILED' | 'REQUEST_PARSE_FAILED' | 'ADYEN_SUBMIT_FAILED' | 'STRIPE_SUBMIT_FAILED' | 'STRIPE_CONFIRMATION_TOKEN_FAILED' | 'STRIPE_ACTION_FAILED' | 'STRIPE_REDIRECT_RETURN_FAILED' | 'ADYEN_PAYMENT_FAILED' | 'PAYMENT_DETAILS_REJECTED' | 'PAYMENT_ACCEPTOR_MISSING';
|
|
80
|
+
'REQUEST_FAILED' | 'ACTIVE_SCHEDULE_NOT_FOUND' | 'ADYEN_INVALID_CONFIGURATION' | 'PAYMENT_INTEGRATION_NOT_RENDERABLE' | 'APPLE_PAY_ACTION_REQUIRED' | 'INVOICE_PREVIEW_SKIPPED' | 'ON_DEMAND_CHARGE_REFUSED' | 'TRANSLATION_LOAD_FAILED';
|
|
81
|
+
export type ErrorCode = 'REQUEST_FAILED' | 'UNHANDLED_ERROR' | 'RESOURCE_REVOKED' | 'INVALID_EMAIL' | 'INVALID_COUNTRY_CODE' | 'PAYMENT_INTEGRATION_INITIALIZATION_FAILED' | 'PAYMENT_AUTHORIZATION_FAILED' | 'TOKENIZATION_FAILED' | 'INVALID_TOKEN' | 'SESSION_EXPIRED' | 'INVALID_REDIRECT_RESULT' | 'PAYMENT_DETAILS_CALL_FAILED' | 'PAYMENT_METHOD_OPTIONS_LOAD_FAILED' | 'NO_PAYMENT_METHODS_AVAILABLE' | 'INTEGRATION_ERROR' | 'EXPRESS_CHECKOUT_GOOGLE_PAY_ERROR' | 'EXPRESS_CHECKOUT_PAYPAL_ERROR' | 'APPLE_PAY_ERROR' | 'APPLE_PAY_AUTHORIZATION_FAILED' | 'PROMOTION_CODE_APPLY_FAILED' | 'PROMOTION_CODE_REMOVE_FAILED' | 'SUBSCRIPTION_UPDATE_FAILED' | 'SUBSCRIPTION_CANCELLATION_FAILED' | 'INITIAL_DATA_LOAD_FAILED' | 'SUBSCRIPTION_LOAD_FAILED' | 'INVOICE_PREVIEW_FAILED' | 'TOP_UP_FAILED' | 'ON_DEMAND_ITEMS_LOAD_FAILED' | 'ON_DEMAND_CHARGE_FAILED' | 'AUTO_TOP_UP_SAVE_FAILED' | 'AUTO_TOP_UP_CANCELLATION_FAILED' | 'REQUEST_PARSE_FAILED' | 'ADYEN_SUBMIT_FAILED' | 'STRIPE_SUBMIT_FAILED' | 'STRIPE_CONFIRMATION_TOKEN_FAILED' | 'STRIPE_ACTION_FAILED' | 'STRIPE_REDIRECT_RETURN_FAILED' | 'ADYEN_PAYMENT_FAILED' | 'PAYMENT_DETAILS_REJECTED' | 'PAYMENT_ACCEPTOR_MISSING';
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { LoggerProviderProps } from './LoggerProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const __VLS_component: import('vue').DefineComponent<LoggerProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LoggerProviderProps> & Readonly<{}>, {
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<LoggerProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LoggerProviderProps> & Readonly<{}>, {
|
|
12
7
|
onLog: import('./LoggerProvider.types').LogSink;
|
|
13
8
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
declare const
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
15
11
|
export default _default;
|
|
16
|
-
type
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
13
|
new (): {
|
|
18
14
|
$slots: S;
|
|
19
15
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { PortalProviderProps } from './PortalProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<PortalProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PortalProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
1
|
+
declare var __VLS_78: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_78) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<import('./Provider.types').RequiredProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<import('./Provider.types').RequiredProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
6
|
error: (error: Error) => any;
|
|
12
7
|
}, string, import('vue').PublicProps, Readonly<import('./Provider.types').RequiredProviderProps> & Readonly<{
|
|
13
8
|
onError?: ((error: Error) => any) | undefined;
|
|
14
9
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
declare const
|
|
10
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
16
12
|
export default _default;
|
|
17
|
-
type
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
14
|
new (): {
|
|
19
15
|
$slots: S;
|
|
20
16
|
};
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
1
|
+
declare var __VLS_25: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_25) => any;
|
|
8
4
|
};
|
|
9
|
-
|
|
10
|
-
declare const
|
|
11
|
-
declare const _default:
|
|
5
|
+
declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
12
8
|
export default _default;
|
|
13
|
-
type
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
10
|
new (): {
|
|
15
11
|
$slots: S;
|
|
16
12
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { TranslationOverrideProps } from './TranslationProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<TranslationOverrideProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TranslationOverrideProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { TranslationProviderProps } from './TranslationProvider.types';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
rootEl: any;
|
|
2
|
+
declare var __VLS_7: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
9
5
|
};
|
|
10
|
-
|
|
11
|
-
declare const
|
|
12
|
-
declare const _default:
|
|
6
|
+
declare const __VLS_base: import('vue').DefineComponent<TranslationProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TranslationProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
14
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
11
|
new (): {
|
|
16
12
|
$slots: S;
|
|
17
13
|
};
|
package/dist/types/components/subscriptions/ChargeOnDemandModal/ChargeOnDemandModal.types.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Customer, Invoice, PaymentMethod, PricingPlanSchedule } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { ChargeOnDemandItem } from '@solvimon/solvimon-ui';
|
|
3
|
+
import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
|
|
4
|
+
export declare const CHARGE_ON_DEMAND_MODAL_STEPS: readonly ["ORDER", "ADD_PAYMENT_METHOD", "PLACED", "PAYMENT_FAILED", "FAILED"];
|
|
5
|
+
export type ChargeOnDemandModalStep = (typeof CHARGE_ON_DEMAND_MODAL_STEPS)[number];
|
|
6
|
+
export interface ChargeOnDemandModalProps {
|
|
7
|
+
showModal: boolean;
|
|
8
|
+
subscription: PricingPlanSubscriptionExpanded;
|
|
9
|
+
scheduleId: PricingPlanSchedule['id'];
|
|
10
|
+
items: ChargeOnDemandItem[];
|
|
11
|
+
customer?: Customer;
|
|
12
|
+
paymentMethods?: PaymentMethod[];
|
|
13
|
+
canViewCreatedInvoice?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ChargeOnDemandModalEmits {
|
|
16
|
+
(e: 'close'): void;
|
|
17
|
+
(e: 'invoice-created', invoice: Invoice): void;
|
|
18
|
+
(e: 'view-invoice', invoiceId: Invoice['id']): void;
|
|
19
|
+
(e: 'payment-method-stored'): void;
|
|
20
|
+
(e: 'payment-failed', error: unknown): void;
|
|
21
|
+
}
|
package/dist/types/public/screens/SubscriptionDetails/SubscriptionDetails.configuration.types.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Invoice, PricingPlanSubscription } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
export interface SubscriptionDetailsConfiguration {
|
|
3
|
+
subscriptionId: PricingPlanSubscription['id'];
|
|
4
|
+
avatar?: string;
|
|
5
|
+
/**
|
|
6
|
+
* Offers "Go to invoice" on the receipt of an on-demand order, and when the payment of a placed
|
|
7
|
+
* order was refused, which sends a `view-invoice` action request. Turn it on only when you handle that action request; otherwise the button
|
|
8
|
+
* would only close the order. Defaults to `false`.
|
|
9
|
+
*/
|
|
10
|
+
canViewCreatedInvoice?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Called as soon as an on-demand order creates an invoice, while the customer still sees its
|
|
13
|
+
* receipt. The order created an invoice whether or not its payment went through, so
|
|
14
|
+
* `paymentStatus` says which: `PAID` and `OVERPAID` are settled, while `UNPAID`,
|
|
15
|
+
* `PARTIALLY_PAID` and a missing status are an invoice still to be paid. Use it to refresh an
|
|
16
|
+
* invoice list or to follow up on the order.
|
|
17
|
+
*
|
|
18
|
+
* An order that fails is not reported here, even when it may have left an invoice behind: a
|
|
19
|
+
* payment that could not be made reaches `onLog` as `ON_DEMAND_CHARGE_REFUSED`, and a failure
|
|
20
|
+
* whose outcome is unknown as `ON_DEMAND_CHARGE_FAILED`. Either way the customer is sent to
|
|
21
|
+
* their invoice list.
|
|
22
|
+
*/
|
|
23
|
+
onInvoiceCreated?: (invoice: {
|
|
24
|
+
invoiceId: Invoice['id'];
|
|
25
|
+
paymentStatus: Invoice['payment_status'];
|
|
26
|
+
}) => void;
|
|
27
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomerPortalUrl } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
-
import { SubscriptionDetailsConfiguration } from './SubscriptionDetails.types';
|
|
2
|
+
import { SubscriptionDetailsConfiguration } from './SubscriptionDetails.configuration.types';
|
|
3
3
|
import { EntryBaseProps } from '../../../types/EntryBaseProps';
|
|
4
4
|
export interface SolvimonSubscriptionDetailsEntryProps extends EntryBaseProps<CustomerPortalUrl> {
|
|
5
5
|
configuration: SubscriptionDetailsConfiguration;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Customer, CustomerWalletBalanceItem, PaymentMethod,
|
|
1
|
+
import { Customer, CustomerWalletBalanceItem, Invoice, PaymentMethod, PricingPlanSchedule, PricingPlanScheduleWithPlanData } from '../../../vendor/@solvimon/solvimon-types/index';
|
|
2
|
+
import { ChargeOnDemandItem } from '@solvimon/solvimon-ui';
|
|
2
3
|
import { PricingPlanSubscriptionExpanded } from '../../../types/subscription';
|
|
3
4
|
import { BaseScreenProps } from '../types';
|
|
4
|
-
export interface SubscriptionDetailsConfiguration {
|
|
5
|
-
subscriptionId: PricingPlanSubscription['id'];
|
|
6
|
-
avatar?: string;
|
|
7
|
-
}
|
|
8
5
|
export interface SubscriptionDetailsProps extends BaseScreenProps {
|
|
9
6
|
subscription?: PricingPlanSubscriptionExpanded;
|
|
10
7
|
schedulesData?: PricingPlanScheduleWithPlanData[];
|
|
11
8
|
customer?: Customer;
|
|
12
9
|
paymentMethods?: PaymentMethod[];
|
|
13
10
|
walletBalances?: CustomerWalletBalanceItem[];
|
|
11
|
+
onDemandItems?: ChargeOnDemandItem[];
|
|
12
|
+
onDemandScheduleId?: PricingPlanSchedule['id'];
|
|
14
13
|
hasWalletBalancesError?: boolean;
|
|
15
14
|
avatar?: string;
|
|
15
|
+
canViewCreatedInvoice?: boolean;
|
|
16
16
|
}
|
|
17
17
|
export interface SubscriptionDetailsEmits {
|
|
18
18
|
(e: 'top-up-charged'): void;
|
|
@@ -20,4 +20,5 @@ export interface SubscriptionDetailsEmits {
|
|
|
20
20
|
(e: 'auto-top-up-cancelled'): void;
|
|
21
21
|
(e: 'payment-method-stored'): void;
|
|
22
22
|
(e: 'subscription-changed'): void;
|
|
23
|
+
(e: 'invoice-created', invoice: Invoice): void;
|
|
23
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Amount, Customer, PaymentMethod, PricingPlanSubscription } from '../vendor/@solvimon/solvimon-types/index';
|
|
1
|
+
import { Amount, Customer, Invoice, PaymentMethod, PricingPlanSubscription } from '../vendor/@solvimon/solvimon-types/index';
|
|
2
2
|
export interface SetDefaultPaymentMethodPayload {
|
|
3
3
|
paymentMethodId: PaymentMethod['id'];
|
|
4
4
|
}
|
|
@@ -21,11 +21,13 @@ interface GetPaymentMethodOptionsBasePayload {
|
|
|
21
21
|
}
|
|
22
22
|
export interface GetPaymentMethodOptionsByCustomerIdPayload extends GetPaymentMethodOptionsBasePayload {
|
|
23
23
|
customerId: Customer['id'];
|
|
24
|
-
subscriptionId?:
|
|
24
|
+
subscriptionId?: PricingPlanSubscription['id'];
|
|
25
|
+
invoiceId?: Invoice['id'];
|
|
25
26
|
}
|
|
26
27
|
export interface GetPaymentMethodOptionsBySubscriptionIdPayload extends GetPaymentMethodOptionsBasePayload {
|
|
27
28
|
subscriptionId: PricingPlanSubscription['id'];
|
|
28
29
|
customerId?: never;
|
|
30
|
+
invoiceId?: never;
|
|
29
31
|
}
|
|
30
32
|
export type GetPaymentMethodOptionsPayload = GetPaymentMethodOptionsByCustomerIdPayload | GetPaymentMethodOptionsBySubscriptionIdPayload;
|
|
31
33
|
export {};
|
|
@@ -7,6 +7,11 @@ export type RequestOptions = {
|
|
|
7
7
|
method?: 'GET' | 'POST' | 'PATCH';
|
|
8
8
|
/** Statuses the caller handles itself. Still rejected; only the log entry drops to `warn`. */
|
|
9
9
|
expectedStatusCodes?: number[];
|
|
10
|
+
/**
|
|
11
|
+
* Only the identity token endpoints may raise this to `include`: the refresh token lives in an
|
|
12
|
+
* `HttpOnly` cookie, which `omit` neither stores from the response nor sends back.
|
|
13
|
+
*/
|
|
14
|
+
credentials?: 'omit' | 'include';
|
|
10
15
|
};
|
|
11
16
|
export type QueryParamValue = string | number | boolean | null | undefined | (string | number)[];
|
|
12
17
|
export type QueryParams = Record<string, QueryParamValue>;
|