@solvimon/solvimon-web 0.1.0-alpha.2 → 0.1.0-alpha.20
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 +244 -49
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-Ce30EXY5.mjs +240 -0
- package/dist/AddPaymentMethodPane.vue_vue_type_script_setup_true_lang-kmam2c7P.js +1 -0
- package/dist/Amount.vue.es-BO5sS1UX.mjs +25 -0
- package/dist/Amount.vue.es-JDVa_3H-.js +1 -0
- package/dist/Avatar.vue.es-BGTZSAqU.js +1 -0
- package/dist/Avatar.vue.es-DJzJiYtv.mjs +91 -0
- package/dist/{BillingInformation.vue_vue_type_script_setup_true_lang-DQAp1xwu.mjs → BillingInformation.vue_vue_type_script_setup_true_lang-Bq2mTdUs.mjs} +23 -13
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BtNTRSqH.js +1 -0
- package/dist/Button.vue.es-Cm9pLU9i.mjs +421 -0
- package/dist/Button.vue.es-O8mNivLL.js +1 -0
- package/dist/Chip.vue.es-BBmn-qJp.mjs +120 -0
- package/dist/Chip.vue.es-DmCjC1hi.js +1 -0
- package/dist/Comparators.vue.es-CYfxd5H-.mjs +120 -0
- package/dist/Comparators.vue.es-DK8wGjxM.js +1 -0
- package/dist/ContentWithAsideLayout-DHpnJfGA.js +1 -0
- package/dist/ContentWithAsideLayout-Dy9xgxuF.mjs +39 -0
- package/dist/ContextMenu.vue.es-CTc1ktXb.mjs +681 -0
- package/dist/ContextMenu.vue.es-DaW0yp4Y.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-BX0Da7Kr.js +1 -0
- package/dist/CustomerBillingInformation.vue.es-CMZO8oLj.mjs +175 -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-Bi_dCntQ.js +1 -0
- package/dist/{useCustomerPaymentMethodOptions-BzEquyUV.mjs → CustomerPaymentMethods.vue_vue_type_script_setup_true_lang-CtdFharm.mjs} +43 -62
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-BDqBXbJq.mjs +3264 -0
- package/dist/CustomerWalletBalances.vue_vue_type_script_setup_true_lang-ZyN2vlNu.js +1 -0
- package/dist/Divider.vue.es-ClFG8QtG.js +1 -0
- package/dist/Divider.vue.es-wKkIVBgb.mjs +24 -0
- package/dist/DividerText.vue.es-CeAHAe_Y.mjs +72 -0
- package/dist/DividerText.vue.es-DjT4i_YD.js +1 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DLE5-9wz.mjs +562 -0
- package/dist/EmptyStatePlaceholder.vue_vue_type_script_setup_true_lang-DkIK-lID.js +1 -0
- package/dist/ErrorNotification.vue.es-CHyVTBGs.mjs +38 -0
- package/dist/ErrorNotification.vue.es-CaEFTi2k.js +1 -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-Bd4_NG9H.js +1 -0
- package/dist/FormMessage.vue.es-C3oxwq_8.mjs +46 -0
- package/dist/IconButton.vue.es-BHdQskx0.js +1 -0
- package/dist/IconButton.vue.es-KywqWWvr.mjs +228 -0
- package/dist/IconTitle.vue.es-BmjBdZb_.mjs +107 -0
- package/dist/IconTitle.vue.es-D9Wc3PIq.js +1 -0
- package/dist/Input.vue.es-DqKJhFTr.js +1 -0
- package/dist/Input.vue.es-WZGF8dfr.mjs +251 -0
- package/dist/{InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-D0ie9Krt.mjs → InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-B6efz7NU.mjs} +21 -9
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-LE6zBLKM.js +1 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-C2aLMfu6.mjs +49 -0
- package/dist/InvoiceEntryView.vue_vue_type_script_setup_true_lang-CtpFzWU3.js +1 -0
- package/dist/InvoiceSummary.vue.es-BI5sD_8F.mjs +2944 -0
- package/dist/InvoiceSummary.vue.es-BWYIHezU.js +1 -0
- package/dist/Modal.vue.es-B_1aqm_m.js +1 -0
- package/dist/Modal.vue.es-qdUHDOnU.mjs +483 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-BKKXQbge.js +1 -0
- package/dist/PaymentErrorCard.vue_vue_type_script_setup_true_lang-Ch1TFO7x.mjs +154 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-CsH47WSM.mjs +54 -0
- package/dist/PaymentFeedbackCard.vue_vue_type_script_setup_true_lang-mKNNYnMU.js +1 -0
- package/dist/PaymentHistoryBlock-CgNUV8Gy.mjs +4 -0
- package/dist/PaymentHistoryBlock-Ci8aSJeb.js +1 -0
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DZwnDzha.js +1 -0
- package/dist/{PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-DVDOsMnT.mjs → PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-Uj1aK-dp.mjs} +34 -23
- package/dist/PaymentIntegrationForm-CLokpXvK.mjs +4 -0
- package/dist/PaymentIntegrationForm-CsuueDE0.js +1 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-CRUs7sP4.mjs +167 -0
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-kKkzRi6w.js +1 -0
- package/dist/PaymentIntegrationFormAdyen-C885o8IE.mjs +699 -0
- package/dist/PaymentIntegrationFormAdyen-Co19AgvG.js +1 -0
- package/dist/PaymentIntegrationFormStripe-BjMdJmDC.mjs +547 -0
- package/dist/PaymentIntegrationFormStripe-DWff6wzK.js +1 -0
- package/dist/PaymentMethod.vue.es-CdskNJ3Z.js +1 -0
- package/dist/PaymentMethod.vue.es-rv-pu1CC.mjs +677 -0
- package/dist/PaymentMethodForm-IEuDxEPN.mjs +4 -0
- package/dist/PaymentMethodForm-hZuVHAti.js +1 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-Cj60U90J.js +1 -0
- package/dist/PaymentMethodForm.vue_vue_type_script_setup_true_lang-gA74Rak9.mjs +172 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-B3H_AWMM.js +1 -0
- package/dist/PaymentMethodsList.vue_vue_type_script_setup_true_lang-CTn-OxM6.mjs +189 -0
- package/dist/PricingGroupRangeInput.vue.es-ButaePib.mjs +632 -0
- package/dist/PricingGroupRangeInput.vue.es-Cls2lm80.js +1 -0
- package/dist/Section.vue.es-CAJvEDn6.js +1 -0
- package/dist/Section.vue.es-DX_9ueCG.mjs +79 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-CQAkPfJz.js +1 -0
- package/dist/SecurePaymentsKPI.vue_vue_type_script_setup_true_lang-DVtMzgjc.mjs +1044 -0
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-C-taYlG4.mjs → Skeleton.vue_vue_type_script_setup_true_lang-DGMxHc20.mjs} +23 -8
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-DfMgIsGm.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-BJVXCHny.js +1 -0
- package/dist/SubscriptionSchedules.vue_vue_type_script_setup_true_lang-ByO-L6nm.mjs +6171 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-C5zB3CgZ.mjs +101 -0
- package/dist/SubscriptionSummary.vue_vue_type_script_setup_true_lang-CabskT-r.js +1 -0
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-D-T1wGg7.js +1 -0
- package/dist/{SubscriptionsList.vue_vue_type_script_setup_true_lang-Bp5RvQVS.mjs → SubscriptionsList.vue_vue_type_script_setup_true_lang-DKd2DIVb.mjs} +61 -125
- package/dist/TooltipParagraph.vue.es-C5RTcrid.mjs +136 -0
- package/dist/TooltipParagraph.vue.es-H9fI7zzt.js +1 -0
- package/dist/TrialChip.vue.es-B1puKyR-.mjs +56 -0
- package/dist/TrialChip.vue.es-CCs50m02.js +1 -0
- package/dist/accel.svg.es-CE5tIWtm.mjs +4 -0
- package/dist/accel.svg.es-Dt_1wJmV.js +1 -0
- package/dist/ach.svg.es-B4tn0_IV.js +1 -0
- package/dist/ach.svg.es-D4QPcIU-.mjs +4 -0
- package/dist/adyen-51SvcyqV.mjs +4 -0
- package/dist/adyen-BXi_D9TQ.mjs +123 -0
- package/dist/adyen-DZsyEXkw.js +1 -0
- package/dist/adyen-VS2sDW0m.js +1 -0
- package/dist/amazon-pay.svg.es-B428S4f3.js +1 -0
- package/dist/amazon-pay.svg.es-DUScOW15.mjs +4 -0
- package/dist/amex.svg.es-BCXkaVLN.mjs +4 -0
- package/dist/amex.svg.es-Bn9e31C3.js +1 -0
- package/dist/api.es-C5pe8LUl.mjs +62 -0
- package/dist/api.es-Czekkp_X.js +1 -0
- package/dist/apple-pay.svg.es-Cfgn0K28.js +1 -0
- package/dist/apple-pay.svg.es-DlCfkt39.mjs +4 -0
- package/dist/bacs.svg.es-BKsvSeIP.mjs +4 -0
- package/dist/bacs.svg.es-hL7hLPkQ.js +1 -0
- package/dist/bancontact.svg.es-BbRqGgZ9.mjs +4 -0
- package/dist/bancontact.svg.es-DU2ejvNL.js +1 -0
- package/dist/carnet.svg.es-C5SFaOsa.js +1 -0
- package/dist/carnet.svg.es-Db-KEb13.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-ByD-JAAi.mjs +4 -0
- package/dist/cartes-bancaires.svg.es-CbBJQZrk.js +1 -0
- package/dist/cashapp.svg.es-CnS5r_D8.mjs +4 -0
- package/dist/cashapp.svg.es-DE4vMu_p.js +1 -0
- package/dist/cn.es-BEU5D0Wz.mjs +3298 -0
- package/dist/cn.es-DxSeYcoP.js +1 -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} +26 -34
- 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} +68 -154
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.ce.d.ts +1 -3
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs +1 -0
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.mjs +95 -0
- 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} +133 -180
- 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} +17 -29
- package/dist/components/InvoiceHeader/InvoiceHeader.ce.d.ts +1 -0
- 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} +21 -29
- 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} +17 -29
- package/dist/components/PaymentMethodForm/PaymentMethodForm.ce.d.ts +1 -3
- package/dist/components/PaymentMethodForm/PaymentMethodForm.cjs +1 -0
- package/dist/components/PaymentMethodForm/PaymentMethodForm.mjs +108 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.ce.d.ts +1 -3
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs +1 -0
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.mjs +93 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.ce.d.ts +1 -3
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs +1 -0
- package/dist/components/SubscriptionsList/SubscriptionsList.mjs +103 -0
- 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} +38 -34
- package/dist/configuration-BjYwV4_B.js +1 -0
- package/dist/configuration-CD8cOXAJ.mjs +15 -0
- package/dist/core/action-request.types.d.ts +1 -58
- package/dist/core/configuration.d.ts +1 -3
- package/dist/core/index.cjs +1 -0
- package/dist/core/index.d.ts +1 -10
- 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 -111
- package/dist/countryData.es--zJAd6LA.mjs +252 -0
- package/dist/countryData.es-D3MFzU92.js +1 -0
- package/dist/customElements-B-89a5oH.mjs +6810 -0
- package/dist/customElements-DD7bpqkx.js +1 -0
- package/dist/customer-DozNwS_a.js +1 -0
- package/dist/customer-Dzj1g9lV.mjs +32 -0
- package/dist/customer.es-C_vSWcVA.mjs +30 -0
- package/dist/customer.es-D42Md24r.js +1 -0
- package/dist/dana.svg.es-Bbn6_ktN.mjs +4 -0
- package/dist/dana.svg.es-DKZaseoJ.js +1 -0
- package/dist/dankort.svg.es-D8FgSiFf.js +1 -0
- package/dist/dankort.svg.es-DtAdliQq.mjs +4 -0
- package/dist/de-DE-BeyQVhTv.mjs +299 -0
- package/dist/de-DE-BvHD68Ay.js +1 -0
- package/dist/de-DE-CI2zQkiP.mjs +266 -0
- package/dist/de-DE-_40QfLNJ.js +1 -0
- package/dist/diners.svg.es-DhchsD1D.mjs +4 -0
- package/dist/diners.svg.es-SydF_H-Z.js +1 -0
- package/dist/discover.svg.es-B8vgzVNG.js +1 -0
- package/dist/discover.svg.es-BnqYPvnV.mjs +4 -0
- package/dist/eftpos.svg.es-DO0YPaY1.js +1 -0
- package/dist/eftpos.svg.es-DRLaafYa.mjs +4 -0
- package/dist/elo.svg.es-CTOm1rvj.js +1 -0
- package/dist/elo.svg.es-CgkEOP_O.mjs +4 -0
- package/dist/en-US--NRsi7Hz.js +1 -0
- package/dist/en-US-5YWNEi-V.mjs +299 -0
- package/dist/en-US-DksUWPIu.mjs +266 -0
- package/dist/en-US-dqfKx3GS.js +1 -0
- package/dist/eps.svg.es-CApyGjyU.js +1 -0
- package/dist/eps.svg.es-D6IHsRYP.mjs +4 -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-DBtYnvI5.js +1 -0
- package/dist/formatting.es-eYgXv_AK.mjs +70 -0
- package/dist/gcash.svg.es-BhJ-eA2z.mjs +4 -0
- package/dist/gcash.svg.es-JaL4fpZr.js +1 -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/girocard.svg.es-D_3LML4l.mjs +4 -0
- package/dist/girocard.svg.es-tVgtT23w.js +1 -0
- package/dist/go-pay.svg.es-6UtgwVBA.mjs +4 -0
- package/dist/go-pay.svg.es-fYX6yMzJ.js +1 -0
- package/dist/google-pay.svg.es-BYXX1em8.js +1 -0
- package/dist/google-pay.svg.es-CRxXgFVl.mjs +4 -0
- package/dist/hipercard.svg.es-Ct1-mF9F.mjs +4 -0
- package/dist/hipercard.svg.es-D-nmiFXB.js +1 -0
- package/dist/icon-sprite.svg.es-BpwT0GQ5.js +1 -0
- package/dist/icon-sprite.svg.es-YYqtl2IP.mjs +4 -0
- package/dist/ideal.svg.es-D23EhJJ2.mjs +4 -0
- package/dist/ideal.svg.es-DXtHE0Jb.js +1 -0
- package/dist/index-Cai7laNY.mjs +1069 -0
- package/dist/index-DIFK3mcJ.js +6 -0
- package/dist/index-DyvRdSR7.mjs +9673 -0
- package/dist/index-IZaUTAsE.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +1 -15
- package/dist/index.es-2JWHHSgP.js +1 -0
- package/dist/index.es-D5xOw_SJ.mjs +542 -0
- package/dist/index.mjs +42 -0
- package/dist/invoices-1oYkdQQV.mjs +121 -0
- package/dist/invoices-BAoh6X2a.js +1 -0
- package/dist/it-IT-B6blp8MI.mjs +299 -0
- package/dist/it-IT-CEP3oeWs.js +1 -0
- package/dist/it-IT-CMy1tHKZ.mjs +266 -0
- package/dist/it-IT-aPQY57ht.js +1 -0
- package/dist/jcb.svg.es-Bz6J-c0s.js +1 -0
- package/dist/jcb.svg.es-CcH08OoO.mjs +4 -0
- package/dist/kakao-pay.svg.es-DcgRDAsc.mjs +4 -0
- package/dist/kakao-pay.svg.es-qVTABboW.js +1 -0
- package/dist/klarna.svg.es-Clu-7zkp.js +1 -0
- package/dist/klarna.svg.es-DfIPX0gr.mjs +4 -0
- package/dist/maestro.svg.es-CVmNVokN.mjs +4 -0
- package/dist/maestro.svg.es-e8E_H2QU.js +1 -0
- package/dist/mastercard.svg.es-B8z0ZySS.mjs +4 -0
- package/dist/mastercard.svg.es-YO3_jGD6.js +1 -0
- package/dist/momo.svg.es-BXTQlQRy.js +1 -0
- package/dist/momo.svg.es-Bm5zCTOT.mjs +4 -0
- package/dist/nl-NL-CckNM7R9.mjs +266 -0
- package/dist/nl-NL-CjoW8r_M.mjs +314 -0
- package/dist/nl-NL-e_vf6OuT.js +1 -0
- package/dist/nl-NL-zRUAuEHg.js +1 -0
- package/dist/nyce.svg.es-CgurqLKH.mjs +4 -0
- package/dist/nyce.svg.es-DM6esO47.js +1 -0
- package/dist/object.es-DFXiU9p3.js +1 -0
- package/dist/object.es-jvvnR8Kr.mjs +12 -0
- package/dist/open-banking.svg.es-DUM360xB.js +1 -0
- package/dist/open-banking.svg.es-DzzLCVp_.mjs +4 -0
- package/dist/paymentMethods-CZ3ydybI.js +1 -0
- package/dist/{paymentMethods-CqKUfc3w.mjs → paymentMethods-DIV78w0O.mjs} +31 -18
- package/dist/payments--lkjiwCt.js +1 -0
- package/dist/{payments-CosaPZwo.mjs → payments-Cvqdrprv.mjs} +1 -1
- package/dist/paypal.svg.es-BdkNTf3c.js +1 -0
- package/dist/paypal.svg.es-DltWzW4V.mjs +4 -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/pricingPlanSchedule-B9HFiXy-.js +1 -0
- package/dist/pricingPlanSchedule-CXG3CQ61.mjs +146 -0
- package/dist/pulse.svg.es-BdpWAuIN.js +1 -0
- package/dist/pulse.svg.es-BecAwT-p.mjs +4 -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} +1531 -1434
- package/dist/screens/CustomerOverview/CustomerOverview.ce.d.ts +1 -3
- package/dist/screens/CustomerOverview/CustomerOverview.cjs +1 -0
- package/dist/screens/CustomerOverview/CustomerOverview.mjs +175 -0
- package/dist/screens/PayInvoice/PayInvoice.ce.d.ts +1 -0
- package/dist/screens/PayInvoice/PayInvoice.cjs +1 -0
- package/dist/screens/PayInvoice/PayInvoice.mjs +582 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.ce.d.ts +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.cjs +1 -0
- package/dist/screens/PaymentMethodsManagement/PaymentMethodsManagement.mjs +227 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.ce.d.ts +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.cjs +1 -0
- package/dist/screens/SubscriptionDetails/SubscriptionDetails.mjs +882 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.ce.d.ts +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.cjs +1 -0
- package/dist/screens/SubscriptionManagement/SubscriptionManagement.mjs +707 -0
- package/dist/sepa.svg.es-BF8PYKZg.js +1 -0
- package/dist/sepa.svg.es-cbE9g8gV.mjs +4 -0
- 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/star.svg.es-DsCD-tSp.mjs +4 -0
- package/dist/star.svg.es-Q50IzqXr.js +1 -0
- package/dist/subscription-C41lG-rH.mjs +89 -0
- package/dist/subscription-b0OPx8Du.js +1 -0
- package/dist/subscriptions-300o4ae0.js +1 -0
- package/dist/subscriptions-DcMHBPVJ.mjs +58 -0
- package/dist/trustly.svg.es-C0Ou1HWk.mjs +4 -0
- package/dist/trustly.svg.es-CHojqNqm.js +1 -0
- package/dist/twint.svg.es-CQ-ZDfy8.js +1 -0
- package/dist/twint.svg.es-WrZYquRs.mjs +4 -0
- 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 +74 -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/PaymentMethodsUnavailableCard/PaymentMethodsUnavailableCard.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 +32 -0
- package/dist/types/components/providers/LoggerProvider/LoggerProvider.types.d.ts +70 -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/unionpay.svg.es-DYgo83Hf.mjs +4 -0
- package/dist/unionpay.svg.es-YqJKKFEj.js +1 -0
- package/dist/url-CjULBkjW.js +1 -0
- package/dist/url-CvNDq4wp.mjs +22 -0
- package/dist/{useActionDispatchProvider-CgRcOqv3.mjs → useActionDispatchProvider-BVOBO0Jx.mjs} +1 -1
- package/dist/useActionDispatchProvider-Cv9amjTf.js +1 -0
- package/dist/useCustomer-DLHOs4BR.js +1 -0
- package/dist/useCustomer-EDhref7T.mjs +25 -0
- package/dist/useCustomerFormLabels-B61-4xQ7.mjs +1168 -0
- package/dist/useCustomerFormLabels-C6wW4n2e.js +1 -0
- package/dist/useExperimentalFeature-0yFoaEzV.js +1 -0
- package/dist/useExperimentalFeature-DvxOrFPU.mjs +9 -0
- package/dist/{useIncrementalLoading-C7ToTmZK.mjs → useIncrementalLoading-BK9pRYAU.mjs} +9 -9
- package/dist/useIncrementalLoading-CdtGJm_Y.js +1 -0
- package/dist/useInvoiceData-BSjVeJrI.js +1 -0
- package/dist/{useInvoiceData-CcueV3We.mjs → useInvoiceData-C0Y5WrbT.mjs} +6 -12
- package/dist/useInvoicesList-BRDZqsaB.js +1 -0
- package/dist/useInvoicesList-CYoE7q0u.mjs +580 -0
- package/dist/{useLoadInitialData-Dm48tlSO.mjs → useLoadInitialData-Cp1OA8y6.mjs} +5 -0
- package/dist/useLoadInitialData-u7IyXqb6.js +1 -0
- package/dist/usePaymentMethodAvailability-B3s1lqQ2.js +1 -0
- package/dist/usePaymentMethodAvailability-EuhZPghG.mjs +141 -0
- package/dist/usePaymentMethodOptions--8QpMvNm.js +1 -0
- package/dist/usePaymentMethodOptions-Cljh7HYp.mjs +36 -0
- package/dist/{usePaymentMethods-Db-1R6rI.mjs → usePaymentMethods-BJzoI8dZ.mjs} +2 -2
- package/dist/{usePaymentMethods-DCGVRXA4.js → usePaymentMethods-DvEnJWmB.js} +1 -1
- package/dist/usePayments-CANj0QVc.js +1 -0
- package/dist/usePayments-CaT1CBzE.mjs +362 -0
- package/dist/usePortal-BjGoSeLy.js +1 -0
- package/dist/usePortal-CMPQ0M9R.mjs +12 -0
- package/dist/useService-D73FNBjT.js +1 -0
- package/dist/useService-W3Kxems4.mjs +72 -0
- package/dist/useSubscription-D1UKnZAx.mjs +250 -0
- package/dist/useSubscription-DZfRHbL7.js +1 -0
- package/dist/useViewport-Bu0cyeSi.mjs +38 -0
- package/dist/useViewport-CKRY1CKR.js +1 -0
- package/dist/useWatchDebounced-C_YxgoQ6.js +1 -0
- package/dist/useWatchDebounced-Zmxd6InB.mjs +16 -0
- package/dist/visa.svg.es-B6aU_qRs.mjs +4 -0
- package/dist/visa.svg.es-D6sc4YTE.js +1 -0
- package/dist/vpay.svg.es-4qIqS4aX.mjs +4 -0
- package/dist/vpay.svg.es-CLGTyB09.js +1 -0
- package/dist/zip.svg.es-3PzSBe1E.mjs +4 -0
- package/dist/zip.svg.es-BRsgmur-.js +1 -0
- package/package.json +112 -61
- package/dist/BillingInformation.vue_vue_type_script_setup_true_lang-BD3CrJzj.js +0 -1
- package/dist/ContentWithAsideLayout-CRsFr9TH.mjs +0 -42
- package/dist/ContentWithAsideLayout-DczcgSrt.js +0 -1
- package/dist/InvoiceDetailsBlock.vue_vue_type_script_setup_true_lang-BE3I7Oe1.js +0 -1
- package/dist/PaymentHistoryBlock.vue_vue_type_script_setup_true_lang-sNdlKgdU.js +0 -1
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-DJEZEEwZ.mjs +0 -6568
- package/dist/PaymentIntegrationForm.vue_vue_type_script_setup_true_lang-Sn1Jq19s.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-Bifo4jTH.js +0 -1
- package/dist/PricingGroupContent.vue_vue_type_script_setup_true_lang-DWp42_G4.mjs +0 -75
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-C_BwMlBE.js +0 -1
- package/dist/SubscriptionsList.vue_vue_type_script_setup_true_lang-yyhwzYSM.js +0 -1
- package/dist/_Uint8Array-DHE03FZr.mjs +0 -507
- package/dist/_Uint8Array-DxISR7XF.js +0 -1
- package/dist/auto-DzZuCneB.mjs +0 -14387
- package/dist/auto-PpnAChnH.js +0 -6
- package/dist/cloneDeep-DranHQkY.js +0 -1
- package/dist/cloneDeep-sm9cY-u2.mjs +0 -212
- package/dist/component-DEo_ndpK.mjs +0 -58668
- package/dist/component-XHQYFLA_.js +0 -1
- package/dist/components/BillingInformation/BillingInformation.cjs.js +0 -1
- package/dist/components/BillingInformationForm/BillingInformationForm.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.cjs.js +0 -1
- package/dist/components/CustomerPaymentMethods/CustomerPaymentMethods.es.js +0 -134
- package/dist/components/Invoice/Invoice.cjs.js +0 -1
- package/dist/components/InvoiceDetails/InvoiceDetails.cjs.js +0 -1
- 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/PaymentMethodForm/PaymentMethodForm.es.js +0 -238
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.cjs.js +0 -1
- package/dist/components/SubscriptionSchedules/SubscriptionSchedules.es.js +0 -152
- package/dist/components/SubscriptionsList/SubscriptionsList.cjs.js +0 -1
- package/dist/components/SubscriptionsList/SubscriptionsList.es.js +0 -134
- package/dist/components/WalletBalances/WalletBalances.cjs.js +0 -1
- package/dist/core/index.cjs.js +0 -1
- package/dist/core/index.es.js +0 -6
- package/dist/index-2jo9BSPM.js +0 -1
- package/dist/index-BFZ0dPh9.mjs +0 -179
- package/dist/index-CWSXne1Q.js +0 -1
- package/dist/index-CzL1ZcGi.mjs +0 -85
- package/dist/index-D3v7hAtc.mjs +0 -253
- package/dist/index-DRdBmZ2-.js +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -45
- package/dist/invoices-BW1notiX.js +0 -1
- package/dist/invoices-M5oYVch6.mjs +0 -84
- package/dist/paymentMethods-BX80t2zk.js +0 -1
- package/dist/payments-BHv4hCeJ.js +0 -1
- package/dist/registry-BwKEYOf7.js +0 -1
- package/dist/registry-Cag1Jj7P.mjs +0 -143
- package/dist/screens/Checkout/Checkout.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.cjs.js +0 -1
- package/dist/screens/CustomerOverview/CustomerOverview.es.js +0 -136
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.ce.d.ts +0 -3
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.cjs.js +0 -1
- package/dist/screens/UpgradeSubscription/UpgradeSubscription.es.js +0 -1012
- package/dist/solvimon-web.css +0 -1
- package/dist/sprite-i5T7eZnk-C55G-dBo.js +0 -1
- package/dist/sprite-i5T7eZnk-i5T7eZnk.mjs +0 -4
- package/dist/subscriptions-Bs4DIE8f.mjs +0 -74
- package/dist/subscriptions-CnxvsBXd.js +0 -1
- package/dist/useActionDispatchProvider-Cru69mAl.js +0 -1
- package/dist/useCustomer-B0NK96dA.js +0 -1
- package/dist/useCustomer-DlcjY3fP.mjs +0 -45
- package/dist/useCustomerPaymentMethodOptions-C-8BLzqb.js +0 -1
- package/dist/useIncrementalLoading-D60Vttil.js +0 -1
- package/dist/useInvoiceData-DstXfI7t.js +0 -1
- package/dist/useInvoicesList-CXng3aUm.mjs +0 -294
- package/dist/useInvoicesList-DmzjgMlW.js +0 -1
- package/dist/useLoadInitialData-BRg7IWqW.js +0 -1
- package/dist/useService-B4qv5N2D.mjs +0 -281
- package/dist/useService-D-CUtlp3.js +0 -1
- package/dist/useWalletBalanceItems-BZyiAhcV.js +0 -1
- package/dist/useWalletBalanceItems-CHkLaccm.mjs +0 -105
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { PricingItemConfig, PricingItemConfigBillingPeriodConfig, PricingItemConfigExtended, UnsavedPricingItemConfig, UnsavedPricingItemConfigOverride, UpdatedPricingItemConfig } from './PricingItemConfig';
|
|
2
|
+
import type { Currency } from './Currency';
|
|
3
|
+
import type { ProductItemExtended } from './ProductItem';
|
|
4
|
+
export interface PricingItem {
|
|
5
|
+
object_type?: string;
|
|
6
|
+
id: string;
|
|
7
|
+
product_item_ids: string[];
|
|
8
|
+
configs?: PricingItemConfig[];
|
|
9
|
+
billing_period_configs?: PricingItemConfigBillingPeriodConfig<PricingItemConfig>[];
|
|
10
|
+
pricing_currency_configs?: PricingCurrencyConfig<PricingItemConfig>[];
|
|
11
|
+
original_pricing_item_id?: PricingItem['id'];
|
|
12
|
+
original_pricing_item?: PricingItem;
|
|
13
|
+
override?: 'ALL' | 'SPECIFIC';
|
|
14
|
+
display_order?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface PricingItemExtended extends PricingItem {
|
|
17
|
+
configs?: PricingItemConfigExtended[];
|
|
18
|
+
product_items?: ProductItemExtended[];
|
|
19
|
+
}
|
|
20
|
+
export interface UnsavedPricingItemOverride extends Omit<UnsavedPricingItem, 'configs'> {
|
|
21
|
+
original_pricing_item_id: NonNullable<PricingItem['original_pricing_item_id']>;
|
|
22
|
+
override: NonNullable<PricingItem['override']>;
|
|
23
|
+
configs?: (PricingItemConfig | UnsavedPricingItemConfigOverride)[];
|
|
24
|
+
}
|
|
25
|
+
export interface PricingCurrencyConfig<TConfig> {
|
|
26
|
+
currency: Currency['currencyCode'];
|
|
27
|
+
configs?: TConfig[];
|
|
28
|
+
billing_period_configs?: PricingItemConfigBillingPeriodConfig<TConfig>[];
|
|
29
|
+
fallback_currency?: Currency['currencyCode'];
|
|
30
|
+
}
|
|
31
|
+
export interface UnsavedPricingItem extends Omit<PricingItem, 'object_type' | 'id' | 'configs' | 'billing_period_configs' | 'pricing_currency_configs' | 'original_pricing_item_id' | 'original_pricing_item' | 'override'> {
|
|
32
|
+
configs?: UnsavedPricingItemConfig[];
|
|
33
|
+
billing_period_configs?: PricingItemConfigBillingPeriodConfig<UnsavedPricingItemConfig>[];
|
|
34
|
+
pricing_currency_configs?: PricingCurrencyConfig<UnsavedPricingItemConfig>[];
|
|
35
|
+
}
|
|
36
|
+
export interface UpdatedPricingItem extends Omit<UnsavedPricingItem, 'configs'> {
|
|
37
|
+
id: PricingItem['id'];
|
|
38
|
+
configs: UpdatedPricingItemConfig[];
|
|
39
|
+
}
|
|
40
|
+
export type EditedPricingItem = UnsavedPricingItem | UpdatedPricingItem;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import type { Amount } from './Amount';
|
|
2
|
+
import type { Band } from './Band';
|
|
3
|
+
import type { BillingPeriod } from './BillingPeriod';
|
|
4
|
+
import type { CreditType } from './CreditType';
|
|
5
|
+
import type { Currency } from './Currency';
|
|
6
|
+
import type { ConfigMeterProperties, ConfigMeterPropertiesExtended, UnsavedConfigMeterProperties } from './ConfigMeterProperties';
|
|
7
|
+
import type { MeterConditions, MeterConditionsExtended } from './MeterConditions';
|
|
8
|
+
import type { MeterProperty } from './MeterProperty';
|
|
9
|
+
import type { PricingType } from './Pricing';
|
|
10
|
+
import type { WalletType } from './WalletType';
|
|
11
|
+
import type { TimePeriod } from './TimePeriod';
|
|
12
|
+
export type IncludedVolumeResetType = 'PRICING_PLAN_SCHEDULE' | 'BILLING_PERIOD';
|
|
13
|
+
export interface PricingItemConfig {
|
|
14
|
+
object_type: string;
|
|
15
|
+
id: string;
|
|
16
|
+
details: {
|
|
17
|
+
pricing_type?: PricingType;
|
|
18
|
+
billing_period?: BillingPeriod;
|
|
19
|
+
pricing_period?: BillingPeriod;
|
|
20
|
+
bands?: Band[];
|
|
21
|
+
};
|
|
22
|
+
billing_period_configs?: PricingItemConfigBillingPeriodConfig<PricingItemConfig>[];
|
|
23
|
+
conditions?: {
|
|
24
|
+
name?: string;
|
|
25
|
+
meter_properties?: ConfigMeterProperties[];
|
|
26
|
+
configs?: PricingItemConfig[];
|
|
27
|
+
};
|
|
28
|
+
tiering_conditions?: MeterConditions;
|
|
29
|
+
order: number;
|
|
30
|
+
billing_in_advance: boolean;
|
|
31
|
+
on_demand?: boolean;
|
|
32
|
+
default_included_volume?: {
|
|
33
|
+
amount?: Amount;
|
|
34
|
+
number?: string;
|
|
35
|
+
reset_type?: IncludedVolumeResetType;
|
|
36
|
+
};
|
|
37
|
+
default_seats_value?: {
|
|
38
|
+
amount?: Amount;
|
|
39
|
+
number?: string;
|
|
40
|
+
};
|
|
41
|
+
original_pricing_item_config_id?: PricingItemConfig['id'];
|
|
42
|
+
original_pricing_item_config?: PricingItemConfig;
|
|
43
|
+
volume_group_reference?: string;
|
|
44
|
+
top_up?: {
|
|
45
|
+
rollover?: boolean;
|
|
46
|
+
};
|
|
47
|
+
split_pricing?: {
|
|
48
|
+
meter_properties: SplitPricingMeterProperty[];
|
|
49
|
+
};
|
|
50
|
+
wallet_grants?: PricingItemConfigWalletGrant[];
|
|
51
|
+
}
|
|
52
|
+
export interface PricingItemConfigWalletGrantCredits {
|
|
53
|
+
quantity: string;
|
|
54
|
+
credit_type_id: string;
|
|
55
|
+
credit_type?: CreditType;
|
|
56
|
+
}
|
|
57
|
+
export interface PricingItemConfigWalletGrantExpiryPolicy {
|
|
58
|
+
expiry_period: TimePeriod;
|
|
59
|
+
}
|
|
60
|
+
export interface PricingItemConfigWalletGrantAmountGrant {
|
|
61
|
+
amount?: Amount;
|
|
62
|
+
percentage?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface CreditsExtended extends Credits {
|
|
65
|
+
credit_type?: CreditType;
|
|
66
|
+
}
|
|
67
|
+
export interface Credits {
|
|
68
|
+
quantity: string;
|
|
69
|
+
credit_type_id: string;
|
|
70
|
+
}
|
|
71
|
+
export interface PricingItemConfigWalletGrantConversion {
|
|
72
|
+
credit_type_id: string;
|
|
73
|
+
rate: string;
|
|
74
|
+
}
|
|
75
|
+
export interface PricingItemConfigWalletGrantCreditsGrant {
|
|
76
|
+
credits?: Credits;
|
|
77
|
+
conversion?: PricingItemConfigWalletGrantConversion;
|
|
78
|
+
}
|
|
79
|
+
export interface PricingItemConfigWalletGrant {
|
|
80
|
+
wallet_type_id: string;
|
|
81
|
+
wallet_type?: WalletType;
|
|
82
|
+
amount_grant?: PricingItemConfigWalletGrantAmountGrant;
|
|
83
|
+
credits_grant?: PricingItemConfigWalletGrantCreditsGrant;
|
|
84
|
+
expiry_policy?: PricingItemConfigWalletGrantExpiryPolicy;
|
|
85
|
+
}
|
|
86
|
+
export interface SplitPricingMeterProperty {
|
|
87
|
+
id: MeterProperty['id'];
|
|
88
|
+
meter_property?: Partial<MeterProperty>;
|
|
89
|
+
}
|
|
90
|
+
export interface UnsavedPricingItemConfigOverride extends UnsavedPricingItemConfig {
|
|
91
|
+
original_pricing_item_config_id: NonNullable<PricingItemConfig['original_pricing_item_config_id']>;
|
|
92
|
+
}
|
|
93
|
+
export type PricingItemConfigWalletGrantExtended = PricingItemConfigWalletGrant & {
|
|
94
|
+
credits_grant?: PricingItemConfigWalletGrantCreditsGrant & {
|
|
95
|
+
credits?: CreditsExtended;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
export interface PricingItemConfigExtended extends Omit<PricingItemConfig, 'conditions' | 'tiering_conditions' | 'wallet_grants'> {
|
|
99
|
+
use_fallback_currency?: boolean;
|
|
100
|
+
fallback_currency?: Currency['currencyCode'];
|
|
101
|
+
conditions?: Omit<NonNullable<PricingItemConfig['conditions']>, 'meter_properties' | 'configs'> & {
|
|
102
|
+
meter_properties?: ConfigMeterPropertiesExtended[];
|
|
103
|
+
configs?: PricingItemConfigExtended[];
|
|
104
|
+
};
|
|
105
|
+
tiering_conditions?: MeterConditionsExtended;
|
|
106
|
+
wallet_grants?: PricingItemConfigWalletGrantExtended[];
|
|
107
|
+
}
|
|
108
|
+
export interface PricingItemConfigBillingPeriodConfig<TConfig> {
|
|
109
|
+
billing_period: BillingPeriod;
|
|
110
|
+
configs: TConfig[];
|
|
111
|
+
}
|
|
112
|
+
export interface UnsavedPricingItemConfig extends Omit<PricingItemConfig, 'object_type' | 'id' | 'conditions' | 'billing_in_advance' | 'billing_period_configs'> {
|
|
113
|
+
billing_in_advance: PricingItemConfig['billing_in_advance'] | undefined;
|
|
114
|
+
use_billing_cycles?: boolean;
|
|
115
|
+
use_fallback_currency?: boolean;
|
|
116
|
+
fallback_currency?: Currency['currencyCode'];
|
|
117
|
+
billing_period_configs?: PricingItemConfigBillingPeriodConfig<UnsavedPricingItemConfig>[];
|
|
118
|
+
conditions?: Omit<NonNullable<PricingItemConfig['conditions']>, 'meter_properties' | 'configs'> & {
|
|
119
|
+
meter_properties?: UnsavedConfigMeterProperties[];
|
|
120
|
+
configs?: UnsavedPricingItemConfig[];
|
|
121
|
+
};
|
|
122
|
+
wallet_grants?: PricingItemConfig['wallet_grants'];
|
|
123
|
+
}
|
|
124
|
+
export type UpdatedPricingItemConfig = Omit<PricingItemConfig, 'conditions' | 'object_type' | 'billing_period_configs'> & {
|
|
125
|
+
conditions?: Omit<NonNullable<UnsavedPricingItemConfig['conditions']>, 'configs'> & {
|
|
126
|
+
configs?: UpdatedPricingItemConfig[];
|
|
127
|
+
};
|
|
128
|
+
billing_period_configs?: PricingItemConfigBillingPeriodConfig<UpdatedPricingItemConfig>[];
|
|
129
|
+
};
|
|
130
|
+
export type EditedPricingItemConfig = UnsavedPricingItemConfig | UpdatedPricingItemConfig;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { Nullable } from '../utils';
|
|
2
|
+
import type { Amount } from './Amount';
|
|
3
|
+
import type { Commitment } from './Commitment';
|
|
4
|
+
import type { BillingPeriod } from './BillingPeriod';
|
|
5
|
+
import type { ConfiguredMeterValue } from './ConfiguredMeterValue';
|
|
6
|
+
import type { Discount } from './Discount';
|
|
7
|
+
import type { DiscountCondition } from './DiscountItem';
|
|
8
|
+
import type { Entitlement } from './Entitlement';
|
|
9
|
+
import type { Markup } from './Markup';
|
|
10
|
+
import type { EnabledPricing, Pricing, UnsavedPricingOverride } from './Pricing';
|
|
11
|
+
import type { PricingCategory, UnsavedPricingCategory } from './PricingCategory';
|
|
12
|
+
import type { PricingItemConfig } from './PricingItemConfig';
|
|
13
|
+
import type { PricingPlanVersionExtended } from './PricingPlanVersionExtended';
|
|
14
|
+
export interface IncludedVolumeItem extends ConfiguredMeterValue, NonNullable<PricingItemConfig['default_included_volume']> {
|
|
15
|
+
}
|
|
16
|
+
type PricingPlanScheduleCouponDiscount = {
|
|
17
|
+
amount?: Amount;
|
|
18
|
+
percentage?: string;
|
|
19
|
+
condition?: DiscountCondition;
|
|
20
|
+
promotion_code_details?: {
|
|
21
|
+
code: string;
|
|
22
|
+
promotion_code_id: string;
|
|
23
|
+
};
|
|
24
|
+
[key: string]: unknown;
|
|
25
|
+
};
|
|
26
|
+
type PricingPlanScheduleCoupon = {
|
|
27
|
+
id: string;
|
|
28
|
+
coupon_name: string;
|
|
29
|
+
discount?: PricingPlanScheduleCouponDiscount;
|
|
30
|
+
};
|
|
31
|
+
export interface PricingPlanSchedule {
|
|
32
|
+
commitment?: Nullable<Commitment>;
|
|
33
|
+
discount?: Nullable<Discount>;
|
|
34
|
+
markup?: Nullable<Markup>;
|
|
35
|
+
end_at?: string;
|
|
36
|
+
entitlements?: Nullable<Entitlement[]>;
|
|
37
|
+
id: string;
|
|
38
|
+
included_volumes?: Nullable<IncludedVolumeItem[]>;
|
|
39
|
+
pricing_plan_id?: string;
|
|
40
|
+
pricing_plan_version_id: string | null;
|
|
41
|
+
pricing_plan_subscription_id: string;
|
|
42
|
+
seats_values?: Nullable<ConfiguredMeterValue[]>;
|
|
43
|
+
start_at: string;
|
|
44
|
+
enabled_pricings?: {
|
|
45
|
+
pricing_id: Pricing['id'];
|
|
46
|
+
}[];
|
|
47
|
+
override_pricings?: (Pricing | UnsavedPricingOverride)[] | null;
|
|
48
|
+
/**
|
|
49
|
+
* Pricing defined directly on the schedule (additive to any linked version / rate-card plan).
|
|
50
|
+
* Identical in shape to `PricingPlanVersion.pricing_categories`. Read here; written via the
|
|
51
|
+
* standalone Pricing API (`POST /pricings` with `pricing_plan_schedule_id`, no `override`).
|
|
52
|
+
*/
|
|
53
|
+
pricing_categories?: Nullable<PricingCategory[]>;
|
|
54
|
+
type?: 'DEFAULT' | 'TRIAL';
|
|
55
|
+
realign_invoice_date_to_pricing_plan_schedule_start_at?: boolean;
|
|
56
|
+
coupon_discount?: {
|
|
57
|
+
totals: Array<{
|
|
58
|
+
coupon_id: string;
|
|
59
|
+
amount?: Amount;
|
|
60
|
+
percentage: string;
|
|
61
|
+
condition?: DiscountCondition;
|
|
62
|
+
promotion_code_details?: {
|
|
63
|
+
code: string;
|
|
64
|
+
promotion_code_id: string;
|
|
65
|
+
};
|
|
66
|
+
[key: string]: unknown;
|
|
67
|
+
}>;
|
|
68
|
+
};
|
|
69
|
+
coupon_ids?: string[];
|
|
70
|
+
coupons?: PricingPlanScheduleCoupon[];
|
|
71
|
+
promotion_codes?: string[];
|
|
72
|
+
pricing_currency?: string;
|
|
73
|
+
billing_period?: BillingPeriod;
|
|
74
|
+
}
|
|
75
|
+
export interface PricingPlanScheduleWithCombinedPricingPlanVersion extends PricingPlanSchedule {
|
|
76
|
+
combined_pricing_plan_version: PricingPlanVersionExtended;
|
|
77
|
+
}
|
|
78
|
+
export type UnsavedPricingPlanSchedule = Omit<PricingPlanSchedule, 'start_at' | 'end_at' | 'pricing_plan_version_id' | 'override_pricings' | 'pricing_categories'> & {
|
|
79
|
+
start_at: PricingPlanSchedule['start_at'] | undefined;
|
|
80
|
+
end_at?: PricingPlanSchedule['end_at'] | undefined;
|
|
81
|
+
pricing_plan_version_id: PricingPlanSchedule['pricing_plan_version_id'] | undefined;
|
|
82
|
+
override_pricings?: (Pricing | UnsavedPricingOverride)[] | null | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Read returns saved `PricingCategory[]`. Before the schedule is created the form may hold
|
|
85
|
+
* unsaved direct pricing groups (sent in the schedule POST), hence the union. See DD-3003.
|
|
86
|
+
*/
|
|
87
|
+
pricing_categories?: Nullable<(PricingCategory | UnsavedPricingCategory)[]>;
|
|
88
|
+
type?: PricingPlanSchedule['type'] | undefined;
|
|
89
|
+
};
|
|
90
|
+
export interface OnDemandPricingItem {
|
|
91
|
+
pricing_item_id: string;
|
|
92
|
+
flexible_amount: Amount;
|
|
93
|
+
}
|
|
94
|
+
export type PricingPlanScheduleCustomization = {
|
|
95
|
+
pricing_plan_schedule_id: PricingPlanSchedule['id'];
|
|
96
|
+
enabled_pricings?: EnabledPricing[];
|
|
97
|
+
seats_values?: ConfiguredMeterValue[];
|
|
98
|
+
promotion_codes?: string[];
|
|
99
|
+
pricing_currency?: string;
|
|
100
|
+
billing_period?: BillingPeriod;
|
|
101
|
+
on_demand_pricing_items?: OnDemandPricingItem[];
|
|
102
|
+
};
|
|
103
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PricingPlanSchedule } from './PricingPlanSchedule';
|
|
2
|
+
import type { PricingPlanVersionExtended } from './PricingPlanVersionExtended';
|
|
3
|
+
export type PricingPlanScheduleInfo = Pick<PricingPlanSchedule, 'end_at' | 'id' | 'pricing_plan_version_id' | 'start_at' | 'type'>;
|
|
4
|
+
export interface PricingPlanScheduleInfoExpanded extends PricingPlanScheduleInfo {
|
|
5
|
+
pricing_plan_version: PricingPlanVersionExtended;
|
|
6
|
+
pricing_plan_schedule: PricingPlanSchedule;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { PricingPlan } from './PricingPlans';
|
|
2
|
+
import type { PricingPlanSchedule } from './PricingPlanSchedule';
|
|
3
|
+
import type { PricingPlanVersionExtended } from './PricingPlanVersionExtended';
|
|
4
|
+
import type { UnsavedPricingPlanSchedule } from './PricingPlanSchedule';
|
|
5
|
+
export interface PricingPlanScheduleWithPlanData {
|
|
6
|
+
schedule: PricingPlanSchedule | UnsavedPricingPlanSchedule;
|
|
7
|
+
selectedPricingPlan?: PricingPlan;
|
|
8
|
+
selectedPricingPlanVersion?: PricingPlanVersionExtended;
|
|
9
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import type { Filter, Nullable } from '../utils';
|
|
2
|
+
import type { BillingEntity } from './BillingEntity';
|
|
3
|
+
import type { BillingPeriod } from './BillingPeriod';
|
|
4
|
+
import type { BillingTime } from './BillingTime';
|
|
5
|
+
import type { Customer } from './Customers';
|
|
6
|
+
import type { CustomField } from './CustomFields';
|
|
7
|
+
import type { DueDateConfiguration } from './DueDateConfiguration';
|
|
8
|
+
import type { PaymentAcceptor } from './PaymentAcceptor';
|
|
9
|
+
import type { PaymentMethod } from './PaymentMethod';
|
|
10
|
+
import type { PricingPlanScheduleInfo, PricingPlanScheduleInfoExpanded } from './PricingPlanScheduleInfo';
|
|
11
|
+
import type { PricingPlanSubscriptionGroup } from './PricingPlanSubscriptionGroup';
|
|
12
|
+
import type { QuoteVersion } from './QuoteVersions';
|
|
13
|
+
import type { ResourceStatus } from './ResourceStatus';
|
|
14
|
+
export declare const PricingPlanSubscriptionVariants: {
|
|
15
|
+
readonly Default: "DEFAULT";
|
|
16
|
+
readonly ForwardBilling: "FORWARD_BILLING";
|
|
17
|
+
readonly SelfBilling: "SELF_BILLING";
|
|
18
|
+
};
|
|
19
|
+
export type PricingPlanSubscriptionVariant = (typeof PricingPlanSubscriptionVariants)[keyof typeof PricingPlanSubscriptionVariants];
|
|
20
|
+
export interface PricingPlanSubscriptionPayload {
|
|
21
|
+
billing_currency: string;
|
|
22
|
+
billing_entity_id: BillingEntity['id'];
|
|
23
|
+
billing_period: BillingPeriod;
|
|
24
|
+
billing_time: BillingTime;
|
|
25
|
+
due_date_configuration?: DueDateConfiguration;
|
|
26
|
+
combine: boolean;
|
|
27
|
+
customer_id: Customer['id'];
|
|
28
|
+
customer_reference: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
payment_acceptor_ids?: Nullable<PaymentAcceptor['id'][]>;
|
|
31
|
+
purchase_order_number: string;
|
|
32
|
+
reference: string;
|
|
33
|
+
renewal_term?: BillingPeriod;
|
|
34
|
+
name?: string;
|
|
35
|
+
initial_term?: BillingPeriod;
|
|
36
|
+
type: 'QUOTE' | 'BILLING' | 'TEMPLATE';
|
|
37
|
+
variant: PricingPlanSubscriptionVariant;
|
|
38
|
+
pricing_plan_subscription_group_id?: Nullable<PricingPlanSubscriptionGroup['id']>;
|
|
39
|
+
quote_version_id?: QuoteVersion['id'];
|
|
40
|
+
init_invoice_on_hold: boolean;
|
|
41
|
+
status: Filter<ResourceStatus, 'ACTIVE' | 'ARCHIVED' | 'CANCELLED' | 'DRAFT' | 'VOID'>;
|
|
42
|
+
forward_customer_id: Customer['id'];
|
|
43
|
+
sales_tax_percentage?: string;
|
|
44
|
+
payment_method_id?: PaymentMethod['id'];
|
|
45
|
+
display_invoice_sub_lines_per_processing_only_customer?: boolean;
|
|
46
|
+
show_tax_per_line_item?: boolean;
|
|
47
|
+
show_original_customer_invoice_line?: Nullable<boolean>;
|
|
48
|
+
}
|
|
49
|
+
export interface PricingPlanSubscription extends PricingPlanSubscriptionPayload {
|
|
50
|
+
id: string;
|
|
51
|
+
created_at: string;
|
|
52
|
+
object_type: 'PRICING_PLAN_SUBSCRIPTION';
|
|
53
|
+
upgraded_from_pricing_plan_subscription_id?: PricingPlanSubscription['id'];
|
|
54
|
+
upgraded_to_pricing_plan_subscription_id?: PricingPlanSubscription['id'];
|
|
55
|
+
pricing_plan_schedule_infos?: PricingPlanScheduleInfo[];
|
|
56
|
+
inactive_periods?: {
|
|
57
|
+
type: 'UPGRADE' | 'CANCEL';
|
|
58
|
+
start_at: string;
|
|
59
|
+
end_at: string;
|
|
60
|
+
reason?: string;
|
|
61
|
+
}[];
|
|
62
|
+
custom_fields: CustomField[];
|
|
63
|
+
next_invoice?: {
|
|
64
|
+
invoice_date: string;
|
|
65
|
+
invoice_id: string;
|
|
66
|
+
};
|
|
67
|
+
auto_renewal: boolean;
|
|
68
|
+
}
|
|
69
|
+
export interface PricingPlanSubscriptionExpanded extends PricingPlanSubscription {
|
|
70
|
+
customer: Customer;
|
|
71
|
+
billing_entity: BillingEntity;
|
|
72
|
+
payment_acceptors: PaymentAcceptor[];
|
|
73
|
+
forward_customer: Customer;
|
|
74
|
+
pricing_plan_subscription_group: PricingPlanSubscriptionGroup;
|
|
75
|
+
pricing_plan_schedule_infos: PricingPlanScheduleInfoExpanded[];
|
|
76
|
+
}
|
|
77
|
+
export interface PricingPlanSubscriptionExpandedListItem extends PricingPlanSubscription {
|
|
78
|
+
customer: Customer;
|
|
79
|
+
pricing_plan_subscription_group?: PricingPlanSubscriptionGroup;
|
|
80
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Nullable } from '../utils';
|
|
2
|
+
import type { Customer } from './Customers';
|
|
3
|
+
export interface PricingPlanSubscriptionGroup {
|
|
4
|
+
object_type: 'PRICING_PLAN_SUBSCRIPTION_GROUP';
|
|
5
|
+
id: string;
|
|
6
|
+
reference: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
owner_customer_id?: Nullable<Customer['id']>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { Amount } from './Amount';
|
|
2
|
+
import type { BaseResourceStatus } from './BaseResourceStatus';
|
|
3
|
+
import type { CreditType } from './CreditType';
|
|
4
|
+
import type { PricingCategory } from './PricingCategory';
|
|
5
|
+
import type { TaxCategory } from './TaxCategory';
|
|
6
|
+
import type { TimePeriod } from './TimePeriod';
|
|
7
|
+
export interface PricingPlanBillingPeriod {
|
|
8
|
+
period: TimePeriod;
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface BillingPeriodSettings {
|
|
12
|
+
billing_periods?: PricingPlanBillingPeriod[];
|
|
13
|
+
}
|
|
14
|
+
export interface PricingCurrencySettings {
|
|
15
|
+
default_pricing_currency?: string;
|
|
16
|
+
pricing_currencies?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface PricingPlanVersionWalletType {
|
|
19
|
+
object_type: string;
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
reference: string;
|
|
23
|
+
status: BaseResourceStatus;
|
|
24
|
+
type: 'CREDIT' | 'BALANCE';
|
|
25
|
+
credit?: {
|
|
26
|
+
grant_type: 'AMOUNT' | 'CREDITS';
|
|
27
|
+
amount_grant?: {
|
|
28
|
+
default_currency: string;
|
|
29
|
+
tax_category: Exclude<TaxCategory, null>;
|
|
30
|
+
};
|
|
31
|
+
credits_grant?: {
|
|
32
|
+
credit_type_id: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
balance?: {
|
|
36
|
+
default_currency: string;
|
|
37
|
+
};
|
|
38
|
+
created_at: string;
|
|
39
|
+
updated_at: string;
|
|
40
|
+
}
|
|
41
|
+
export interface PricingPlanVersionWalletGrant {
|
|
42
|
+
wallet_type_id: string;
|
|
43
|
+
wallet_type?: PricingPlanVersionWalletType;
|
|
44
|
+
amount_grant?: {
|
|
45
|
+
amount?: Amount;
|
|
46
|
+
percentage?: string;
|
|
47
|
+
};
|
|
48
|
+
credits_grant?: {
|
|
49
|
+
credits?: {
|
|
50
|
+
quantity: string;
|
|
51
|
+
credit_type_id: string;
|
|
52
|
+
};
|
|
53
|
+
conversion?: string;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export interface PricingPlanVersion {
|
|
57
|
+
object_type: 'PRICING_PLAN_VERSION';
|
|
58
|
+
id: string;
|
|
59
|
+
pricing_plan_id: string;
|
|
60
|
+
version: number;
|
|
61
|
+
status: BaseResourceStatus;
|
|
62
|
+
pricing_categories?: PricingCategory[];
|
|
63
|
+
copied_from_pricing_plan_version_id?: PricingPlanVersion['id'];
|
|
64
|
+
pricing_currency_settings?: PricingCurrencySettings;
|
|
65
|
+
billing_period_settings?: BillingPeriodSettings;
|
|
66
|
+
credit_types?: CreditType[];
|
|
67
|
+
wallet_grants?: PricingPlanVersionWalletGrant[];
|
|
68
|
+
rate_card?: {
|
|
69
|
+
start_at: string;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PricingCategoryExtended } from './PricingCategoryExtended';
|
|
2
|
+
import type { PricingPlanVersion } from './PricingPlanVersion';
|
|
3
|
+
import type { PricingPlan } from './PricingPlans';
|
|
4
|
+
export interface PricingPlanVersionExtended extends Omit<PricingPlanVersion, 'pricing_categories'> {
|
|
5
|
+
pricing_categories?: PricingCategoryExtended[];
|
|
6
|
+
pricing_plan: PricingPlan;
|
|
7
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Currency, PricingPlanVersion } from '..';
|
|
2
|
+
import type { BaseResourceStatus } from './BaseResourceStatus';
|
|
3
|
+
import type { WithCustomFields, WithCustomFieldsPayload } from './CustomFields';
|
|
4
|
+
import type { Customer } from './Customers';
|
|
5
|
+
/**
|
|
6
|
+
* Type `DEFAULT` is deprecated and will be removed in the near future.
|
|
7
|
+
*/
|
|
8
|
+
export type PricingPlanType = 'DEFAULT' | 'CUSTOM' | 'STANDARD';
|
|
9
|
+
export type PricingPlanAmountType = 'EXCLUDING_TAX' | 'INCLUDING_TAX';
|
|
10
|
+
export type PricingPlanVariant = 'DEFAULT' | 'RATE_CARD';
|
|
11
|
+
export interface PricingPlansVersionInfo {
|
|
12
|
+
version: number;
|
|
13
|
+
id: PricingPlanVersion['id'];
|
|
14
|
+
status: BaseResourceStatus;
|
|
15
|
+
rate_card?: {
|
|
16
|
+
start_at: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export type PricingPlan = WithCustomFields<{
|
|
20
|
+
object_type: 'PRICING_PLAN';
|
|
21
|
+
id: string;
|
|
22
|
+
reference: string;
|
|
23
|
+
name: string;
|
|
24
|
+
pricing_plan_version_infos?: PricingPlansVersionInfo[];
|
|
25
|
+
description?: string;
|
|
26
|
+
type: PricingPlanType;
|
|
27
|
+
customer_id?: Customer['id'];
|
|
28
|
+
amount_type?: PricingPlanAmountType;
|
|
29
|
+
pricing_currencies?: Currency['currencyCode'][];
|
|
30
|
+
variant: PricingPlanVariant;
|
|
31
|
+
rate_card?: {
|
|
32
|
+
start_at: string;
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
35
|
+
export type PricingPlanPayload = WithCustomFieldsPayload<{
|
|
36
|
+
name: string;
|
|
37
|
+
reference: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
customer_id?: Customer['id'];
|
|
40
|
+
amount_type?: PricingPlanAmountType;
|
|
41
|
+
pricing_currencies?: Currency['currencyCode'][];
|
|
42
|
+
type?: PricingPlanType;
|
|
43
|
+
variant?: PricingPlanVariant;
|
|
44
|
+
}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { BaseResourceStatus } from './BaseResourceStatus';
|
|
2
|
+
import type { Feature } from './Features';
|
|
3
|
+
import type { WithCustomFields } from './CustomFields';
|
|
4
|
+
import type { TaxCategory } from './TaxCategory';
|
|
5
|
+
export type ProductType = 'DEFAULT' | 'ADDON';
|
|
6
|
+
export type Product = WithCustomFields<{
|
|
7
|
+
object_type: 'PRODUCT';
|
|
8
|
+
id: string;
|
|
9
|
+
parent_product_id?: string;
|
|
10
|
+
category_id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
product_type: ProductType;
|
|
14
|
+
tax_category?: TaxCategory;
|
|
15
|
+
status: BaseResourceStatus;
|
|
16
|
+
reference: string;
|
|
17
|
+
features?: {
|
|
18
|
+
id: Feature['id'];
|
|
19
|
+
name?: Feature['name'];
|
|
20
|
+
}[];
|
|
21
|
+
display_order?: number;
|
|
22
|
+
}>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { ConfigMeterPropertiesExtended } from './ConfigMeterProperties';
|
|
2
|
+
import type { MeterConditionExpression, MeterConditionExpressionExtended } from './MeterConditions';
|
|
3
|
+
import type { MeterProperty } from './MeterProperty';
|
|
4
|
+
import type { MeterValueCalcExtended } from './MeterValueCalculation';
|
|
5
|
+
import type { ModelType } from './ModelType';
|
|
6
|
+
import type { TaxCategory } from './TaxCategory';
|
|
7
|
+
import type { Nullable, Filter } from '../utils';
|
|
8
|
+
import type { ResourceStatus } from './ResourceStatus';
|
|
9
|
+
export type ProductItemType = 'REVENUE' | 'DEDUCTION';
|
|
10
|
+
export type ProductItemAndFeatureType = ProductItemType | 'FEATURE';
|
|
11
|
+
export interface ProductItem {
|
|
12
|
+
object_type: 'PRODUCT_ITEM';
|
|
13
|
+
id: string;
|
|
14
|
+
type: ProductItemType;
|
|
15
|
+
product_id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
model_type: ModelType;
|
|
19
|
+
usage_based?: {
|
|
20
|
+
report_meter_value_calculation_ids?: string[];
|
|
21
|
+
meter_value_calculation_id?: string;
|
|
22
|
+
tiering_meter_value_calculation_id?: string;
|
|
23
|
+
conditions?: {
|
|
24
|
+
name?: string;
|
|
25
|
+
expression?: MeterConditionExpression;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
credits?: {
|
|
29
|
+
credit_type_id?: string;
|
|
30
|
+
};
|
|
31
|
+
tax_category?: TaxCategory;
|
|
32
|
+
features?: string;
|
|
33
|
+
reference: string;
|
|
34
|
+
display_order?: number;
|
|
35
|
+
unit_name?: {
|
|
36
|
+
singular?: string;
|
|
37
|
+
plural?: string;
|
|
38
|
+
};
|
|
39
|
+
status: Filter<ResourceStatus, 'DRAFT' | 'ACTIVE' | 'DEPRECATED' | 'ARCHIVED'>;
|
|
40
|
+
}
|
|
41
|
+
export type ProductItemPayload = Omit<ProductItem, 'usage_based'> & {
|
|
42
|
+
usage_based?: Nullable<Omit<NonNullable<ProductItem['usage_based']>, 'conditions'> & {
|
|
43
|
+
conditions: Nullable<NonNullable<ProductItem['usage_based']>['conditions']>;
|
|
44
|
+
}>;
|
|
45
|
+
};
|
|
46
|
+
export type ProductItemExtended = ProductItem & {
|
|
47
|
+
usage_based?: ProductItem['usage_based'] & {
|
|
48
|
+
meter_value_calculation?: MeterValueCalcExtended & {
|
|
49
|
+
meter_property?: MeterProperty;
|
|
50
|
+
};
|
|
51
|
+
tiering_meter_value_calculation?: MeterValueCalcExtended & {
|
|
52
|
+
meter_property?: MeterProperty;
|
|
53
|
+
};
|
|
54
|
+
conditions?: Omit<NonNullable<ProductItem['usage_based']>['conditions'], 'meter_properties'> & {
|
|
55
|
+
meter_properties?: ConfigMeterPropertiesExtended[];
|
|
56
|
+
} & Omit<NonNullable<ProductItem['usage_based']>['conditions'], 'expressions'> & {
|
|
57
|
+
expression: MeterConditionExpressionExtended;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ResourceStatus } from '../index';
|
|
2
|
+
export interface PromotionCode {
|
|
3
|
+
object_type: 'PROMOTION_CODE';
|
|
4
|
+
id: string;
|
|
5
|
+
code: string;
|
|
6
|
+
coupon_id: string;
|
|
7
|
+
status: PromotionCodeStatus;
|
|
8
|
+
number_of_redemptions: number;
|
|
9
|
+
created_at: string;
|
|
10
|
+
end_at?: string;
|
|
11
|
+
started_at: string;
|
|
12
|
+
}
|
|
13
|
+
type PromotionCodeStatus = Extract<ResourceStatus, 'ACTIVE' | 'DRAFT' | 'INACTIVE' | 'ARCHIVED' | 'DEPRECATED'>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type QuoteTemplateStatus = 'DRAFT' | 'ACTIVE' | 'ARCHIVED';
|
|
2
|
+
export type QuoteVersionContentType = 'DEFAULT' | 'TIPTAP';
|
|
3
|
+
export type QuoteVersionTiptapContent = {
|
|
4
|
+
type: 'TIPTAP';
|
|
5
|
+
tiptap?: string | null;
|
|
6
|
+
};
|
|
7
|
+
export type QuoteVersionDefaultContent = {
|
|
8
|
+
type: 'DEFAULT';
|
|
9
|
+
default?: {
|
|
10
|
+
header?: string | null;
|
|
11
|
+
footer?: string | null;
|
|
12
|
+
} | null;
|
|
13
|
+
};
|
|
14
|
+
export type QuoteTemplatePeriod = {
|
|
15
|
+
type: 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
16
|
+
value: number;
|
|
17
|
+
};
|
|
18
|
+
export type QuoteTemplatePricingPlanSubscription = {
|
|
19
|
+
billing_currency?: string;
|
|
20
|
+
initial_term?: QuoteTemplatePeriod;
|
|
21
|
+
renewal_term?: QuoteTemplatePeriod;
|
|
22
|
+
auto_renewal?: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type QuoteTemplatePricingPlanSchedule = {
|
|
25
|
+
pricing_plan_version_id?: string;
|
|
26
|
+
};
|
|
27
|
+
export type QuoteTemplateQuoteVersion = {
|
|
28
|
+
content?: QuoteVersionDefaultContent | QuoteVersionTiptapContent;
|
|
29
|
+
document_ids?: string[];
|
|
30
|
+
};
|
|
31
|
+
export type QuoteTemplate = {
|
|
32
|
+
object_type: 'QUOTE_TEMPLATE';
|
|
33
|
+
id: string;
|
|
34
|
+
name: string;
|
|
35
|
+
reference: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
status: QuoteTemplateStatus;
|
|
38
|
+
pricing_plan_subscription?: QuoteTemplatePricingPlanSubscription;
|
|
39
|
+
pricing_plan_schedule?: QuoteTemplatePricingPlanSchedule;
|
|
40
|
+
quote_version?: QuoteTemplateQuoteVersion;
|
|
41
|
+
created_at: string;
|
|
42
|
+
updated_at?: string;
|
|
43
|
+
};
|