@bunnyapp/components 1.7.0-beta.8 → 1.8.0-beta.10
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/dist/cjs/index.js +5727 -4743
- package/dist/cjs/types/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +5 -0
- package/dist/cjs/types/src/UI/Tooltip.d.ts +2 -0
- package/dist/cjs/types/src/UI/TruncatedText/TruncatedText.d.ts +4 -0
- package/dist/cjs/types/src/UI/TruncatedText/hooks/useIsTextTruncated.d.ts +3 -0
- package/dist/cjs/types/src/ajax.d.ts +1 -1
- package/dist/cjs/types/src/components/BillingDetails/BillingDetails.d.ts +3 -2
- package/dist/cjs/types/src/components/{BunnyProvider.d.ts → BunnyProvider/BunnyProvider.d.ts} +4 -1
- package/dist/cjs/types/src/components/BunnyProvider/contexts/BunnyProviderCallbacksProvider.d.ts +13 -0
- package/dist/cjs/types/src/components/Checkout/Checkout.d.ts +2 -1
- package/dist/cjs/types/src/components/Checkout/QuoteCheckout.d.ts +5 -3
- package/dist/cjs/types/src/components/Checkout/QuoteIsLoadingIndicator.d.ts +1 -0
- package/dist/cjs/types/src/components/Invoice/Invoice.d.ts +3 -1
- package/dist/cjs/types/src/components/PandadocPollingModal.d.ts +1 -1
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayFormProvider.d.ts +10 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +2 -4
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +1 -5
- package/dist/cjs/types/src/components/PaymentForm/PaymentForm.d.ts +50 -10
- package/dist/cjs/types/src/components/PaymentForm/Stripe/StripeFormProvider.d.ts +5 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +2 -4
- package/dist/cjs/types/src/components/PaymentForm/components/CheckoutNoPayment.d.ts +6 -0
- package/dist/cjs/types/src/components/PaymentForm/components/Pay.d.ts +5 -0
- package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails/PaymentMethodDetails.d.ts +12 -0
- package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Cancel.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Save.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/components/StoredPaymentMethods.d.ts +18 -0
- package/dist/cjs/types/src/components/PaymentForm/context/AccountIdContext.d.ts +5 -0
- package/dist/cjs/types/src/components/PaymentForm/context/CallbacksContext.d.ts +14 -0
- package/dist/cjs/types/src/components/PaymentForm/context/PaymentMethodFormVisibilityContext.d.ts +12 -0
- package/dist/cjs/types/src/components/PaymentForm/context/PaymentProvider.d.ts +46 -30
- package/dist/cjs/types/src/components/PaymentForm/fragments/PaymentForm_PaymentMethodsFragment.d.ts +3 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/usePay.d.ts +14 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/usePayableCurrency.d.ts +2 -1
- package/dist/cjs/types/src/components/PaymentForm/hooks/usePaymentButtonText.d.ts +7 -1
- package/dist/cjs/types/src/components/PaymentForm/hooks/usePaymentHold.d.ts +18 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/useRemovePaymentMethod.d.ts +4 -1
- package/dist/cjs/types/src/components/PaymentForm/hooks/useSave.d.ts +16 -0
- package/dist/cjs/types/src/components/PaymentForm/types/PaymentType.d.ts +2 -1
- package/dist/cjs/types/src/components/Quote/Quote.d.ts +31 -2
- package/dist/{esm/types/src/components/Quote → cjs/types/src/components/Quote/components}/AcceptQuoteModal.d.ts +3 -3
- package/dist/cjs/types/src/components/Quote/components/NoSigningPluginsForm.d.ts +17 -0
- package/dist/cjs/types/src/components/Quote/components/PaymentHoldDisplay.d.ts +18 -0
- package/dist/cjs/types/src/components/Quote/{PaymentHoldModal.d.ts → components/PaymentHoldModal.d.ts} +5 -1
- package/dist/cjs/types/src/components/Quote/components/QuoteButtons.d.ts +13 -4
- package/dist/cjs/types/src/{hooks/quotes/useSendAcceptQuote.d.ts → components/Quote/hooks/useAcceptQuote.d.ts} +6 -3
- package/dist/cjs/types/src/components/Quote/hooks/useQuotePaymentHold.d.ts +20 -0
- package/dist/cjs/types/src/{graphql → components/Quote}/queries/getFormattedQuote.d.ts +6 -1
- package/dist/cjs/types/src/components/Quote/queries/quoteAccept.d.ts +14 -0
- package/dist/cjs/types/src/components/QuoteProvider/context/QuoteContext.d.ts +1 -0
- package/dist/cjs/types/src/components/QuoteProvider/context/quantityEditableChargesContext.d.ts +26 -0
- package/dist/cjs/types/src/components/QuoteProvider/fragments/quoteFragment.d.ts +5 -0
- package/dist/cjs/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_PriceListChargeFragment.d.ts +16 -0
- package/dist/cjs/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_QuoteFragment.d.ts +26 -0
- package/dist/cjs/types/src/components/QuoteProvider/fragments/useQuoteQuantities_PriceListChargeFragment.d.ts +13 -0
- package/dist/cjs/types/src/components/QuoteProvider/hooks/useFeatureQuantities.d.ts +4 -4
- package/dist/cjs/types/src/components/QuoteProvider/hooks/useIsFetchingQuote.d.ts +4 -0
- package/dist/cjs/types/src/components/QuoteProvider/hooks/useQuantityEditableCharges.d.ts +75 -0
- package/dist/cjs/types/src/components/QuoteProvider/hooks/useQuoteCreate.d.ts +14 -3
- package/dist/cjs/types/src/components/QuoteProvider/hooks/useQuoteQuantities.d.ts +16 -8
- package/dist/cjs/types/src/components/QuoteProvider/hooks/useSelectedPriceListQuoteChange.d.ts +25 -0
- package/dist/cjs/types/src/components/QuoteProvider/mutations/quoteChargeCreate.d.ts +23 -0
- package/dist/cjs/types/src/components/QuoteProvider/mutations/quoteChargeUpdate.d.ts +12 -0
- package/dist/cjs/types/src/components/QuoteProvider/quoteMutationKeys.d.ts +20 -0
- package/dist/cjs/types/src/components/Signup/PaymentForms.d.ts +1 -1
- package/dist/cjs/types/src/components/Signup/PriceListDisplay.d.ts +18 -4
- package/dist/cjs/types/src/components/Signup/Signup.d.ts +0 -1
- package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/CheckoutSummary.d.ts +50 -0
- package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/hooks/sortQuoteChangeCharges.d.ts +14 -0
- package/dist/cjs/types/src/components/Signup/components/SelfServiceBuyWarning.d.ts +14 -0
- package/dist/cjs/types/src/components/Signup/fragments/Signup_PriceListFragment.d.ts +17 -0
- package/dist/cjs/types/src/components/Signup/fragments/Signup_QuoteFragment.d.ts +19 -0
- package/dist/cjs/types/src/components/Signup/hooks/useApplyDefaultCoupon.d.ts +21 -0
- package/dist/cjs/types/src/components/Signup/mutations/accountSignup.d.ts +58 -0
- package/dist/cjs/types/src/components/Signup/mutations/quoteAccountSignup.d.ts +31 -0
- package/dist/{esm/types/src/graphql → cjs/types/src/components/Signup}/mutations/quoteRecalculateTaxes.d.ts +5 -1
- package/dist/{esm/types/src/graphql → cjs/types/src/components/Signup}/queries/getPriceList.d.ts +5 -2
- package/dist/cjs/types/src/components/Signup/queries/getQuote.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/Subscriptions.d.ts +4 -1
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/CheckoutBarInput.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/CheckoutBarInput_PriceListChargeFragment.d.ts +13 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/useChargeCRUD_QuoteFragment.d.ts +22 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/hooks/useChargeCRUD.d.ts +31 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +8 -3
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +0 -19
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/fragments/PlanPickerCheckoutBar_PriceListChargeFragment.d.ts +14 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/fragments/PlanPickerCheckoutBar_QuoteFragment.d.ts +20 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonRow.d.ts +0 -3
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonsList.d.ts +2 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/priceListCardDesktop/PriceListCardDesktop.d.ts +2 -17
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +3 -5
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/BillingPeriodDescription.d.ts +12 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/PriceListCardPriceDescription.d.ts +13 -6
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCard.d.ts +1 -1
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardDescription.d.ts +3 -2
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/priceListCardUtils.d.ts +0 -4
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +3 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/Upgrade.d.ts +10 -4
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/contexts/DefaultBillingPeriodContext.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/queries/getSubscriptions.d.ts +2 -163
- package/dist/cjs/types/src/components/Subscriptions/context/upgradingSubscriptionContext.d.ts +21 -1
- package/dist/cjs/types/src/components/Subscriptions/fragments/UpgradingSubscriptionContext_SubscriptionFragment.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityDrawer.d.ts +2 -3
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/context/quoteRecalculateTaxesContext.d.ts +4 -1
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +2 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardHeader/SubscriptionCardHeader.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +61 -0
- package/dist/cjs/types/src/components/index.d.ts +1 -1
- package/dist/cjs/types/src/components/priceListPricing/PricingTooltip.d.ts +4 -5
- package/dist/cjs/types/src/components/priceListPricing/components/ChargePriceTiers.d.ts +2 -1
- package/dist/cjs/types/src/components/priceListPricing/components/PriceTierPrice.d.ts +10 -3
- package/dist/cjs/types/src/components/priceListPricing/utils/getPricingModelDescription.d.ts +1 -1
- package/dist/cjs/types/src/components/priceListPricing/utils/getPricingModelTitle.d.ts +1 -1
- package/dist/cjs/types/src/consts/AppConsts.d.ts +3 -0
- package/dist/cjs/types/src/contexts/InvoiceQuoteContext.d.ts +3 -3
- package/dist/cjs/types/src/contexts/onPaymentMethodRemoved.d.ts +5 -0
- package/dist/cjs/types/src/contexts/onPaymentMethodSaved.d.ts +5 -0
- package/dist/cjs/types/src/graphql/queries/getFormattedInvoice.d.ts +1 -1
- package/dist/cjs/types/src/hooks/useAllErrorFormats.d.ts +5 -1
- package/dist/cjs/types/src/hooks/usePaymentMethod.d.ts +4 -0
- package/dist/cjs/types/src/types/PriceList.d.ts +1 -0
- package/dist/cjs/types/src/types/frontendTypes/ComponentJSON.d.ts +1 -1
- package/dist/cjs/types/src/utils/QueryKeyFactory.d.ts +4 -4
- package/dist/cjs/types/src/utils/chargeUtils.d.ts +11 -5
- package/dist/cjs/types/src/utils/couponUtils.d.ts +6 -5
- package/dist/cjs/types/src/utils/featureAddonUtils/isAddonPurchased.d.ts +1 -1
- package/dist/cjs/types/src/utils/htmlUtils/isEmptyHTML.d.ts +5 -0
- package/dist/cjs/types/src/utils/htmlUtils/removeHTMLTags.d.ts +4 -0
- package/dist/cjs/types/src/utils/priceListChargeUtils/filterDeprecatedCharges.d.ts +11 -0
- package/dist/cjs/types/src/utils/priceListChargeUtils/priceListChargePriceDescription.d.ts +13 -0
- package/dist/cjs/types/src/utils/priceListUtils/getActiveCharges.d.ts +10 -0
- package/dist/cjs/types/src/utils/priceListUtils/getPrice.d.ts +9 -0
- package/dist/cjs/types/src/utils/priceListUtils/getPricingUnit.d.ts +16 -0
- package/dist/cjs/types/src/utils/priceListUtils/priceDescription.d.ts +11 -4
- package/dist/cjs/types/src/utils/pricePickerUtils.d.ts +1 -1
- package/dist/esm/index.js +6657 -5673
- package/dist/esm/types/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +5 -0
- package/dist/esm/types/src/UI/Tooltip.d.ts +2 -0
- package/dist/esm/types/src/UI/TruncatedText/TruncatedText.d.ts +4 -0
- package/dist/esm/types/src/UI/TruncatedText/hooks/useIsTextTruncated.d.ts +3 -0
- package/dist/esm/types/src/ajax.d.ts +1 -1
- package/dist/esm/types/src/components/BillingDetails/BillingDetails.d.ts +3 -2
- package/dist/esm/types/src/components/{BunnyProvider.d.ts → BunnyProvider/BunnyProvider.d.ts} +4 -1
- package/dist/esm/types/src/components/BunnyProvider/contexts/BunnyProviderCallbacksProvider.d.ts +13 -0
- package/dist/esm/types/src/components/Checkout/Checkout.d.ts +2 -1
- package/dist/esm/types/src/components/Checkout/QuoteCheckout.d.ts +5 -3
- package/dist/esm/types/src/components/Checkout/QuoteIsLoadingIndicator.d.ts +1 -0
- package/dist/esm/types/src/components/Invoice/Invoice.d.ts +3 -1
- package/dist/esm/types/src/components/PandadocPollingModal.d.ts +1 -1
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayFormProvider.d.ts +10 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +2 -4
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +1 -5
- package/dist/esm/types/src/components/PaymentForm/PaymentForm.d.ts +50 -10
- package/dist/esm/types/src/components/PaymentForm/Stripe/StripeFormProvider.d.ts +5 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +2 -4
- package/dist/esm/types/src/components/PaymentForm/components/CheckoutNoPayment.d.ts +6 -0
- package/dist/esm/types/src/components/PaymentForm/components/Pay.d.ts +5 -0
- package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails/PaymentMethodDetails.d.ts +12 -0
- package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Cancel.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Save.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/components/StoredPaymentMethods.d.ts +18 -0
- package/dist/esm/types/src/components/PaymentForm/context/AccountIdContext.d.ts +5 -0
- package/dist/esm/types/src/components/PaymentForm/context/CallbacksContext.d.ts +14 -0
- package/dist/esm/types/src/components/PaymentForm/context/PaymentMethodFormVisibilityContext.d.ts +12 -0
- package/dist/esm/types/src/components/PaymentForm/context/PaymentProvider.d.ts +46 -30
- package/dist/esm/types/src/components/PaymentForm/fragments/PaymentForm_PaymentMethodsFragment.d.ts +3 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/usePay.d.ts +14 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/usePayableCurrency.d.ts +2 -1
- package/dist/esm/types/src/components/PaymentForm/hooks/usePaymentButtonText.d.ts +7 -1
- package/dist/esm/types/src/components/PaymentForm/hooks/usePaymentHold.d.ts +18 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/useRemovePaymentMethod.d.ts +4 -1
- package/dist/esm/types/src/components/PaymentForm/hooks/useSave.d.ts +16 -0
- package/dist/esm/types/src/components/PaymentForm/types/PaymentType.d.ts +2 -1
- package/dist/esm/types/src/components/Quote/Quote.d.ts +31 -2
- package/dist/{cjs/types/src/components/Quote → esm/types/src/components/Quote/components}/AcceptQuoteModal.d.ts +3 -3
- package/dist/esm/types/src/components/Quote/components/NoSigningPluginsForm.d.ts +17 -0
- package/dist/esm/types/src/components/Quote/components/PaymentHoldDisplay.d.ts +18 -0
- package/dist/esm/types/src/components/Quote/{PaymentHoldModal.d.ts → components/PaymentHoldModal.d.ts} +5 -1
- package/dist/esm/types/src/components/Quote/components/QuoteButtons.d.ts +13 -4
- package/dist/esm/types/src/{hooks/quotes/useSendAcceptQuote.d.ts → components/Quote/hooks/useAcceptQuote.d.ts} +6 -3
- package/dist/esm/types/src/components/Quote/hooks/useQuotePaymentHold.d.ts +20 -0
- package/dist/esm/types/src/{graphql → components/Quote}/queries/getFormattedQuote.d.ts +6 -1
- package/dist/esm/types/src/components/Quote/queries/quoteAccept.d.ts +14 -0
- package/dist/esm/types/src/components/QuoteProvider/context/QuoteContext.d.ts +1 -0
- package/dist/esm/types/src/components/QuoteProvider/context/quantityEditableChargesContext.d.ts +26 -0
- package/dist/esm/types/src/components/QuoteProvider/fragments/quoteFragment.d.ts +5 -0
- package/dist/esm/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_PriceListChargeFragment.d.ts +16 -0
- package/dist/esm/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_QuoteFragment.d.ts +26 -0
- package/dist/esm/types/src/components/QuoteProvider/fragments/useQuoteQuantities_PriceListChargeFragment.d.ts +13 -0
- package/dist/esm/types/src/components/QuoteProvider/hooks/useFeatureQuantities.d.ts +4 -4
- package/dist/esm/types/src/components/QuoteProvider/hooks/useIsFetchingQuote.d.ts +4 -0
- package/dist/esm/types/src/components/QuoteProvider/hooks/useQuantityEditableCharges.d.ts +75 -0
- package/dist/esm/types/src/components/QuoteProvider/hooks/useQuoteCreate.d.ts +14 -3
- package/dist/esm/types/src/components/QuoteProvider/hooks/useQuoteQuantities.d.ts +16 -8
- package/dist/esm/types/src/components/QuoteProvider/hooks/useSelectedPriceListQuoteChange.d.ts +25 -0
- package/dist/esm/types/src/components/QuoteProvider/mutations/quoteChargeCreate.d.ts +23 -0
- package/dist/esm/types/src/components/QuoteProvider/mutations/quoteChargeUpdate.d.ts +12 -0
- package/dist/esm/types/src/components/QuoteProvider/quoteMutationKeys.d.ts +20 -0
- package/dist/esm/types/src/components/Signup/PaymentForms.d.ts +1 -1
- package/dist/esm/types/src/components/Signup/PriceListDisplay.d.ts +18 -4
- package/dist/esm/types/src/components/Signup/Signup.d.ts +0 -1
- package/dist/esm/types/src/components/Signup/components/CheckoutSummary/CheckoutSummary.d.ts +50 -0
- package/dist/esm/types/src/components/Signup/components/CheckoutSummary/hooks/sortQuoteChangeCharges.d.ts +14 -0
- package/dist/esm/types/src/components/Signup/components/SelfServiceBuyWarning.d.ts +14 -0
- package/dist/esm/types/src/components/Signup/fragments/Signup_PriceListFragment.d.ts +17 -0
- package/dist/esm/types/src/components/Signup/fragments/Signup_QuoteFragment.d.ts +19 -0
- package/dist/esm/types/src/components/Signup/hooks/useApplyDefaultCoupon.d.ts +21 -0
- package/dist/esm/types/src/components/Signup/mutations/accountSignup.d.ts +58 -0
- package/dist/esm/types/src/components/Signup/mutations/quoteAccountSignup.d.ts +31 -0
- package/dist/{cjs/types/src/graphql → esm/types/src/components/Signup}/mutations/quoteRecalculateTaxes.d.ts +5 -1
- package/dist/{cjs/types/src/graphql → esm/types/src/components/Signup}/queries/getPriceList.d.ts +5 -2
- package/dist/esm/types/src/components/Signup/queries/getQuote.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/Subscriptions.d.ts +4 -1
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/CheckoutBarInput.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/CheckoutBarInput_PriceListChargeFragment.d.ts +13 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/useChargeCRUD_QuoteFragment.d.ts +22 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/hooks/useChargeCRUD.d.ts +31 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +8 -3
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +0 -19
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/fragments/PlanPickerCheckoutBar_PriceListChargeFragment.d.ts +14 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/fragments/PlanPickerCheckoutBar_QuoteFragment.d.ts +20 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonRow.d.ts +0 -3
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonsList.d.ts +2 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/priceListCardDesktop/PriceListCardDesktop.d.ts +2 -17
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +3 -5
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/BillingPeriodDescription.d.ts +12 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/PriceListCardPriceDescription.d.ts +13 -6
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCard.d.ts +1 -1
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardDescription.d.ts +3 -2
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/priceListCardUtils.d.ts +0 -4
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +3 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/Upgrade.d.ts +10 -4
- package/dist/esm/types/src/components/Subscriptions/Upgrade/contexts/DefaultBillingPeriodContext.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/queries/getSubscriptions.d.ts +2 -163
- package/dist/esm/types/src/components/Subscriptions/context/upgradingSubscriptionContext.d.ts +21 -1
- package/dist/esm/types/src/components/Subscriptions/fragments/UpgradingSubscriptionContext_SubscriptionFragment.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuantityDrawer.d.ts +2 -3
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/context/quoteRecalculateTaxesContext.d.ts +4 -1
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +2 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardHeader/SubscriptionCardHeader.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +61 -0
- package/dist/esm/types/src/components/index.d.ts +1 -1
- package/dist/esm/types/src/components/priceListPricing/PricingTooltip.d.ts +4 -5
- package/dist/esm/types/src/components/priceListPricing/components/ChargePriceTiers.d.ts +2 -1
- package/dist/esm/types/src/components/priceListPricing/components/PriceTierPrice.d.ts +10 -3
- package/dist/esm/types/src/components/priceListPricing/utils/getPricingModelDescription.d.ts +1 -1
- package/dist/esm/types/src/components/priceListPricing/utils/getPricingModelTitle.d.ts +1 -1
- package/dist/esm/types/src/consts/AppConsts.d.ts +3 -0
- package/dist/esm/types/src/contexts/InvoiceQuoteContext.d.ts +3 -3
- package/dist/esm/types/src/contexts/onPaymentMethodRemoved.d.ts +5 -0
- package/dist/esm/types/src/contexts/onPaymentMethodSaved.d.ts +5 -0
- package/dist/esm/types/src/graphql/queries/getFormattedInvoice.d.ts +1 -1
- package/dist/esm/types/src/hooks/useAllErrorFormats.d.ts +5 -1
- package/dist/esm/types/src/hooks/usePaymentMethod.d.ts +4 -0
- package/dist/esm/types/src/types/PriceList.d.ts +1 -0
- package/dist/esm/types/src/types/frontendTypes/ComponentJSON.d.ts +1 -1
- package/dist/esm/types/src/utils/QueryKeyFactory.d.ts +4 -4
- package/dist/esm/types/src/utils/chargeUtils.d.ts +11 -5
- package/dist/esm/types/src/utils/couponUtils.d.ts +6 -5
- package/dist/esm/types/src/utils/featureAddonUtils/isAddonPurchased.d.ts +1 -1
- package/dist/esm/types/src/utils/htmlUtils/isEmptyHTML.d.ts +5 -0
- package/dist/esm/types/src/utils/htmlUtils/removeHTMLTags.d.ts +4 -0
- package/dist/esm/types/src/utils/priceListChargeUtils/filterDeprecatedCharges.d.ts +11 -0
- package/dist/esm/types/src/utils/priceListChargeUtils/priceListChargePriceDescription.d.ts +13 -0
- package/dist/esm/types/src/utils/priceListUtils/getActiveCharges.d.ts +10 -0
- package/dist/esm/types/src/utils/priceListUtils/getPrice.d.ts +9 -0
- package/dist/esm/types/src/utils/priceListUtils/getPricingUnit.d.ts +16 -0
- package/dist/esm/types/src/utils/priceListUtils/priceDescription.d.ts +11 -4
- package/dist/esm/types/src/utils/pricePickerUtils.d.ts +1 -1
- package/dist/index.d.ts +128 -24
- package/package.json +17 -17
- package/dist/cjs/types/src/components/PaymentForm/components/CheckoutFooter.d.ts +0 -2
- package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails.d.ts +0 -2
- package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodFooter.d.ts +0 -4
- package/dist/cjs/types/src/components/PaymentForm/hooks/useHandlePayment.d.ts +0 -40
- package/dist/cjs/types/src/components/Signup/CheckoutSummary.d.ts +0 -14
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput.d.ts +0 -8
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/utils/hasMultipleRecurringCharges.d.ts +0 -12
- package/dist/cjs/types/src/graphql/mutations/accountSignup.d.ts +0 -11
- package/dist/cjs/types/src/graphql/mutations/quoteAccountSignup.d.ts +0 -15
- package/dist/cjs/types/src/graphql/queries/getQuote.d.ts +0 -36
- package/dist/cjs/types/src/utils/priceListUtils/doesPriceListHaveFlatFeeCharges.d.ts +0 -12
- package/dist/esm/types/src/components/PaymentForm/components/CheckoutFooter.d.ts +0 -2
- package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails.d.ts +0 -2
- package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodFooter.d.ts +0 -4
- package/dist/esm/types/src/components/PaymentForm/hooks/useHandlePayment.d.ts +0 -40
- package/dist/esm/types/src/components/Signup/CheckoutSummary.d.ts +0 -14
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput.d.ts +0 -8
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/utils/hasMultipleRecurringCharges.d.ts +0 -12
- package/dist/esm/types/src/graphql/mutations/accountSignup.d.ts +0 -11
- package/dist/esm/types/src/graphql/mutations/quoteAccountSignup.d.ts +0 -15
- package/dist/esm/types/src/graphql/queries/getQuote.d.ts +0 -36
- package/dist/esm/types/src/utils/priceListUtils/doesPriceListHaveFlatFeeCharges.d.ts +0 -12
- /package/dist/cjs/types/src/{hooks → components/BunnyProvider/hooks}/useCreateQueryClient.d.ts +0 -0
- /package/dist/cjs/types/src/components/PaymentForm/components/{PaymentMethodSelector.d.ts → PaymentMethodDetails/components/PaymentMethodSelector.d.ts} +0 -0
- /package/dist/cjs/types/src/{hooks/quotes → components/Quote/hooks}/useSigningComplete.d.ts +0 -0
- /package/dist/esm/types/src/{hooks → components/BunnyProvider/hooks}/useCreateQueryClient.d.ts +0 -0
- /package/dist/esm/types/src/components/PaymentForm/components/{PaymentMethodSelector.d.ts → PaymentMethodDetails/components/PaymentMethodSelector.d.ts} +0 -0
- /package/dist/esm/types/src/{hooks/quotes → components/Quote/hooks}/useSigningComplete.d.ts +0 -0
|
@@ -5,171 +5,10 @@ export declare const getSubscriptions: ({ apiHost, isInPreviewMode, token, }: {
|
|
|
5
5
|
}) => Promise<{
|
|
6
6
|
subscriptions: {
|
|
7
7
|
nodes: ({
|
|
8
|
-
addonSubscriptions: {
|
|
9
|
-
id: string;
|
|
10
|
-
priceList: {
|
|
11
|
-
id: string;
|
|
12
|
-
} | null;
|
|
13
|
-
plan: {
|
|
14
|
-
id: string;
|
|
15
|
-
} | null;
|
|
16
|
-
}[] | null;
|
|
17
|
-
cancellationDate: unknown;
|
|
18
|
-
currencyId: string;
|
|
19
|
-
endDate: unknown;
|
|
20
|
-
evergreen: boolean;
|
|
21
8
|
id: string;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
id: string;
|
|
9
|
+
[$tada.fragmentRefs]: {
|
|
10
|
+
UpgradingSubscriptionContext_SubscriptionFragment: "Subscription";
|
|
25
11
|
};
|
|
26
|
-
daysLeftInTrial: number | null;
|
|
27
|
-
plan: {
|
|
28
|
-
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
selfServiceBuy: boolean | null;
|
|
31
|
-
selfServiceCancel: boolean | null;
|
|
32
|
-
selfServiceRenew: boolean | null;
|
|
33
|
-
} | null;
|
|
34
|
-
priceList: {
|
|
35
|
-
id: string;
|
|
36
|
-
periodMonths: number | null;
|
|
37
|
-
name: string;
|
|
38
|
-
plan: {
|
|
39
|
-
id: string;
|
|
40
|
-
addon: boolean | null;
|
|
41
|
-
addonPlans: {
|
|
42
|
-
id: string;
|
|
43
|
-
}[] | null;
|
|
44
|
-
} | null;
|
|
45
|
-
} | null;
|
|
46
|
-
product: {
|
|
47
|
-
id: string;
|
|
48
|
-
name: string;
|
|
49
|
-
showProductNameOnLineItem: boolean | null;
|
|
50
|
-
} | null;
|
|
51
|
-
startDate: unknown;
|
|
52
|
-
state: "ACTIVE" | "TRIAL" | "CANCELED" | "EXPIRED" | "TRIAL_EXPIRED" | "PENDING";
|
|
53
|
-
trialEndDate: unknown;
|
|
54
|
-
trialPeriod: string;
|
|
55
|
-
trialStartDate: unknown;
|
|
56
|
-
trialExpirationAction: "ACTIVATE" | "CANCEL" | null;
|
|
57
|
-
charges: {
|
|
58
|
-
priceListCharge: {
|
|
59
|
-
priceListChargeTiers: {
|
|
60
|
-
price: number | null;
|
|
61
|
-
starts: number | null;
|
|
62
|
-
}[] | null;
|
|
63
|
-
featureAddon: boolean | null;
|
|
64
|
-
id: string;
|
|
65
|
-
} | null;
|
|
66
|
-
amount: number | null;
|
|
67
|
-
billingPeriod: "MONTHLY" | "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | "ONCE" | null;
|
|
68
|
-
chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
|
|
69
|
-
discount: number | null;
|
|
70
|
-
discountedPrice: string | null;
|
|
71
|
-
endDate: unknown;
|
|
72
|
-
expired: boolean;
|
|
73
|
-
feature: {
|
|
74
|
-
name: string;
|
|
75
|
-
} | null;
|
|
76
|
-
id: string | null;
|
|
77
|
-
isAmendment: boolean;
|
|
78
|
-
isRamp: boolean;
|
|
79
|
-
kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
|
|
80
|
-
name: string | null;
|
|
81
|
-
periodPrice: number | null;
|
|
82
|
-
price: string | null;
|
|
83
|
-
priceDecimals: number | null;
|
|
84
|
-
priceListChargeId: string | null;
|
|
85
|
-
priceTiers: {
|
|
86
|
-
starts: number | null;
|
|
87
|
-
price: number | null;
|
|
88
|
-
}[] | null;
|
|
89
|
-
pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
|
|
90
|
-
quantity: number | null;
|
|
91
|
-
selfServiceQuantity: boolean | null;
|
|
92
|
-
startDate: unknown;
|
|
93
|
-
trial: boolean;
|
|
94
|
-
}[] | null;
|
|
95
|
-
chargeReport: {
|
|
96
|
-
priceListCharge: {
|
|
97
|
-
priceListChargeTiers: {
|
|
98
|
-
price: number | null;
|
|
99
|
-
starts: number | null;
|
|
100
|
-
}[] | null;
|
|
101
|
-
featureAddon: boolean | null;
|
|
102
|
-
id: string;
|
|
103
|
-
code: string | null;
|
|
104
|
-
} | null;
|
|
105
|
-
amount: number | null;
|
|
106
|
-
billingPeriod: "MONTHLY" | "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | "ONCE" | null;
|
|
107
|
-
chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
|
|
108
|
-
discount: number | null;
|
|
109
|
-
discountedPrice: string | null;
|
|
110
|
-
endDate: unknown;
|
|
111
|
-
expired: boolean;
|
|
112
|
-
feature: {
|
|
113
|
-
name: string;
|
|
114
|
-
} | null;
|
|
115
|
-
id: string | null;
|
|
116
|
-
isAmendment: boolean;
|
|
117
|
-
isRamp: boolean;
|
|
118
|
-
kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
|
|
119
|
-
name: string | null;
|
|
120
|
-
periodPrice: number | null;
|
|
121
|
-
price: string | null;
|
|
122
|
-
priceDecimals: number | null;
|
|
123
|
-
priceListChargeId: string | null;
|
|
124
|
-
priceTiers: {
|
|
125
|
-
starts: number | null;
|
|
126
|
-
price: number | null;
|
|
127
|
-
}[] | null;
|
|
128
|
-
pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
|
|
129
|
-
quantity: number | null;
|
|
130
|
-
selfServiceQuantity: boolean | null;
|
|
131
|
-
startDate: unknown;
|
|
132
|
-
trial: boolean;
|
|
133
|
-
}[] | null;
|
|
134
|
-
currentCharges: {
|
|
135
|
-
priceListCharge: {
|
|
136
|
-
priceListChargeTiers: {
|
|
137
|
-
price: number | null;
|
|
138
|
-
starts: number | null;
|
|
139
|
-
}[] | null;
|
|
140
|
-
featureAddon: boolean | null;
|
|
141
|
-
id: string;
|
|
142
|
-
code: string | null;
|
|
143
|
-
} | null;
|
|
144
|
-
amount: number | null;
|
|
145
|
-
billingPeriod: "MONTHLY" | "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | "ONCE" | null;
|
|
146
|
-
chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
|
|
147
|
-
discount: number | null;
|
|
148
|
-
discountedPrice: string | null;
|
|
149
|
-
endDate: unknown;
|
|
150
|
-
expired: boolean;
|
|
151
|
-
feature: {
|
|
152
|
-
name: string;
|
|
153
|
-
} | null;
|
|
154
|
-
id: string | null;
|
|
155
|
-
isAmendment: boolean;
|
|
156
|
-
isRamp: boolean;
|
|
157
|
-
kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
|
|
158
|
-
name: string | null;
|
|
159
|
-
periodPrice: number | null;
|
|
160
|
-
price: string | null;
|
|
161
|
-
priceDecimals: number | null;
|
|
162
|
-
priceListChargeId: string | null;
|
|
163
|
-
priceTiers: {
|
|
164
|
-
starts: number | null;
|
|
165
|
-
price: number | null;
|
|
166
|
-
}[] | null;
|
|
167
|
-
pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
|
|
168
|
-
quantity: number | null;
|
|
169
|
-
selfServiceQuantity: boolean | null;
|
|
170
|
-
startDate: unknown;
|
|
171
|
-
trial: boolean;
|
|
172
|
-
}[] | null;
|
|
173
12
|
} | null)[] | null;
|
|
174
13
|
} | null;
|
|
175
14
|
}>;
|
package/dist/cjs/types/src/components/Subscriptions/context/upgradingSubscriptionContext.d.ts
CHANGED
|
@@ -19,8 +19,18 @@ export declare const UpgradingSubscriptionProvider: ({ value, children }: {
|
|
|
19
19
|
PriceListSelectorUpgradingSubscription_SubscriptionFragment: "Subscription";
|
|
20
20
|
} & {
|
|
21
21
|
PriceListCardButtonUpgradingSubscription_SubscriptionFragment: "Subscription";
|
|
22
|
+
} & {
|
|
23
|
+
useQuantityEditableCharges_SubscriptionFragment: "Subscription";
|
|
24
|
+
} & {
|
|
25
|
+
useChargeCRUD_SubscriptionFragment: "Subscription";
|
|
26
|
+
} & {
|
|
27
|
+
useQuoteQuantities_SubscriptionFragment: "Subscription";
|
|
28
|
+
} & {
|
|
29
|
+
isAddonPurchased_SubscriptionChargeFragment: "Subscription";
|
|
30
|
+
} & {
|
|
31
|
+
useQuoteCreate_SubscriptionFragment: "Subscription";
|
|
22
32
|
};
|
|
23
|
-
} | undefined;
|
|
33
|
+
} | null | undefined;
|
|
24
34
|
children?: import("react").ReactNode;
|
|
25
35
|
}) => import("react/jsx-runtime").JSX.Element, useUpgradingSubscription: () => {
|
|
26
36
|
id: string;
|
|
@@ -42,5 +52,15 @@ export declare const UpgradingSubscriptionProvider: ({ value, children }: {
|
|
|
42
52
|
PriceListSelectorUpgradingSubscription_SubscriptionFragment: "Subscription";
|
|
43
53
|
} & {
|
|
44
54
|
PriceListCardButtonUpgradingSubscription_SubscriptionFragment: "Subscription";
|
|
55
|
+
} & {
|
|
56
|
+
useQuantityEditableCharges_SubscriptionFragment: "Subscription";
|
|
57
|
+
} & {
|
|
58
|
+
useChargeCRUD_SubscriptionFragment: "Subscription";
|
|
59
|
+
} & {
|
|
60
|
+
useQuoteQuantities_SubscriptionFragment: "Subscription";
|
|
61
|
+
} & {
|
|
62
|
+
isAddonPurchased_SubscriptionChargeFragment: "Subscription";
|
|
63
|
+
} & {
|
|
64
|
+
useQuoteCreate_SubscriptionFragment: "Subscription";
|
|
45
65
|
};
|
|
46
66
|
} | undefined;
|
|
@@ -18,6 +18,16 @@ export declare const UpgradingSubscriptionContext_SubscriptionFragment: import("
|
|
|
18
18
|
PriceListSelectorUpgradingSubscription_SubscriptionFragment: "Subscription";
|
|
19
19
|
} & {
|
|
20
20
|
PriceListCardButtonUpgradingSubscription_SubscriptionFragment: "Subscription";
|
|
21
|
+
} & {
|
|
22
|
+
useQuantityEditableCharges_SubscriptionFragment: "Subscription";
|
|
23
|
+
} & {
|
|
24
|
+
useChargeCRUD_SubscriptionFragment: "Subscription";
|
|
25
|
+
} & {
|
|
26
|
+
useQuoteQuantities_SubscriptionFragment: "Subscription";
|
|
27
|
+
} & {
|
|
28
|
+
isAddonPurchased_SubscriptionChargeFragment: "Subscription";
|
|
29
|
+
} & {
|
|
30
|
+
useQuoteCreate_SubscriptionFragment: "Subscription";
|
|
21
31
|
};
|
|
22
32
|
}, {}, {
|
|
23
33
|
fragment: "UpgradingSubscriptionContext_SubscriptionFragment";
|
package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityDrawer.d.ts
CHANGED
|
@@ -5,8 +5,7 @@ interface QuantityDrawerProps {
|
|
|
5
5
|
quantityDrawerOpen: boolean;
|
|
6
6
|
setQuantityDrawerOpen: (open: boolean) => void;
|
|
7
7
|
handlePortalErrors?: (errors: any) => void;
|
|
8
|
-
setShowInactive: (showInactive: boolean) => void;
|
|
9
8
|
}
|
|
10
|
-
export declare const QuantityDrawerContent: ({ subscriptions, quantityDrawerOpen, setQuantityDrawerOpen, handlePortalErrors,
|
|
11
|
-
export declare const QuantityDrawer: ({ subscriptions, quantityDrawerOpen, setQuantityDrawerOpen, handlePortalErrors,
|
|
9
|
+
export declare const QuantityDrawerContent: ({ subscriptions, quantityDrawerOpen, setQuantityDrawerOpen, handlePortalErrors, }: QuantityDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const QuantityDrawer: ({ subscriptions, quantityDrawerOpen, setQuantityDrawerOpen, handlePortalErrors, }: QuantityDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export {};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export type QuoteRecalculateTaxesValue =
|
|
1
|
+
export type QuoteRecalculateTaxesValue = {
|
|
2
|
+
quoteRecalculateTaxesMutation: (quoteId: string) => void;
|
|
3
|
+
isRecalculatingTaxes: boolean;
|
|
4
|
+
};
|
|
2
5
|
declare const QuoteRecalculateTaxesProvider: ({ value, children }: {
|
|
3
6
|
value: QuoteRecalculateTaxesValue;
|
|
4
7
|
children?: import("react").ReactNode;
|
package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export declare const SubscriptionsList_SubscriptionFragment: import("gql.tada").
|
|
|
3
3
|
id: string;
|
|
4
4
|
state: "ACTIVE" | "TRIAL" | "CANCELED" | "EXPIRED" | "TRIAL_EXPIRED" | "PENDING";
|
|
5
5
|
[$tada.fragmentRefs]: {
|
|
6
|
+
splitSubscriptionsByPriceList_SubscriptionFragment: "Subscription";
|
|
7
|
+
} & {
|
|
6
8
|
findNonAddonSubscriptions_SubscriptionFragment: "Subscription";
|
|
7
9
|
} & {
|
|
8
10
|
SubscriptionCardDesktop_SubscriptionFragment: "Subscription";
|
|
@@ -16,6 +16,7 @@ export declare const SubscriptionCardHeader_SubscriptionFragment: import("gql.ta
|
|
|
16
16
|
plan: {
|
|
17
17
|
addon: boolean | null;
|
|
18
18
|
} | null;
|
|
19
|
+
deprecated: boolean | null;
|
|
19
20
|
} | null;
|
|
20
21
|
[$tada.fragmentRefs]: {
|
|
21
22
|
SubscriptionStatusAndActions_SubscriptionFragment: "Subscription";
|
package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { Plan } from '@/types/Plan';
|
|
|
3
3
|
import Product from '@/types/Product';
|
|
4
4
|
import Subscription from '@/types/Subscription';
|
|
5
5
|
import { SubscriptionCharge } from '@/types/SubscriptionCharge';
|
|
6
|
+
import { FragmentOf } from 'gql.tada';
|
|
6
7
|
export declare const isSubscriptionNotActive: (subscriptionState: SubscriptionState) => boolean;
|
|
7
8
|
export declare const productPlanName: ({ plan, product }: {
|
|
8
9
|
plan: Plan;
|
|
@@ -16,3 +17,63 @@ export declare const hasPriceTiers: (charge: {
|
|
|
16
17
|
priceTiers: {}[] | null;
|
|
17
18
|
}) => boolean;
|
|
18
19
|
export declare const getUpdatingChargeQuantityId: (charge: SubscriptionCharge, subscription: Subscription) => string;
|
|
20
|
+
export declare const splitSubscriptionsByPriceList_SubscriptionFragment: import("gql.tada").TadaDocumentNode<{
|
|
21
|
+
id: string;
|
|
22
|
+
state: "ACTIVE" | "TRIAL" | "CANCELED" | "EXPIRED" | "TRIAL_EXPIRED" | "PENDING";
|
|
23
|
+
evergreen: boolean;
|
|
24
|
+
startDate: unknown;
|
|
25
|
+
endDate: unknown;
|
|
26
|
+
addonSubscriptions: {
|
|
27
|
+
id: string;
|
|
28
|
+
startDate: unknown;
|
|
29
|
+
endDate: unknown;
|
|
30
|
+
priceList: {
|
|
31
|
+
id: string;
|
|
32
|
+
} | null;
|
|
33
|
+
plan: {
|
|
34
|
+
id: string;
|
|
35
|
+
} | null;
|
|
36
|
+
}[] | null;
|
|
37
|
+
chargeReport: {
|
|
38
|
+
kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
|
|
39
|
+
startDate: unknown;
|
|
40
|
+
endDate: unknown;
|
|
41
|
+
priceList: {
|
|
42
|
+
id: string;
|
|
43
|
+
plan: {
|
|
44
|
+
id: string;
|
|
45
|
+
name: string;
|
|
46
|
+
selfServiceBuy: boolean | null;
|
|
47
|
+
selfServiceCancel: boolean | null;
|
|
48
|
+
selfServiceRenew: boolean | null;
|
|
49
|
+
addon: boolean | null;
|
|
50
|
+
addonPlans: {
|
|
51
|
+
id: string;
|
|
52
|
+
}[] | null;
|
|
53
|
+
} | null;
|
|
54
|
+
product: {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
showProductNameOnLineItem: boolean | null;
|
|
58
|
+
} | null;
|
|
59
|
+
periodMonths: number | null;
|
|
60
|
+
name: string;
|
|
61
|
+
} | null;
|
|
62
|
+
}[] | null;
|
|
63
|
+
charges: {
|
|
64
|
+
priceList: {
|
|
65
|
+
id: string;
|
|
66
|
+
} | null;
|
|
67
|
+
}[] | null;
|
|
68
|
+
}, {}, {
|
|
69
|
+
fragment: "splitSubscriptionsByPriceList_SubscriptionFragment";
|
|
70
|
+
on: "Subscription";
|
|
71
|
+
masked: true;
|
|
72
|
+
}>;
|
|
73
|
+
/**
|
|
74
|
+
* Splits a subscription into multiple subscriptions if it has RENEW charges
|
|
75
|
+
* with different price lists.
|
|
76
|
+
* This handles cases where a subscription has been changed to a different plan/price list.
|
|
77
|
+
* Each resulting subscription is a complete duplicate with just the charges filtered.
|
|
78
|
+
*/
|
|
79
|
+
export declare function splitSubscriptionsByPriceList<T extends FragmentOf<typeof splitSubscriptionsByPriceList_SubscriptionFragment>>(maskedSubscriptions: T[]): T[];
|
|
@@ -3,7 +3,7 @@ export { Quote } from './Quote';
|
|
|
3
3
|
export { Quotes } from './Quotes';
|
|
4
4
|
export { PaymentForm } from './PaymentForm';
|
|
5
5
|
export { Signup } from './Signup';
|
|
6
|
-
export { default as BunnyProvider } from './BunnyProvider';
|
|
6
|
+
export { default as BunnyProvider } from './BunnyProvider/BunnyProvider';
|
|
7
7
|
export { default as Transactions } from './Transactions';
|
|
8
8
|
export { Subscriptions } from './Subscriptions';
|
|
9
9
|
export { BillingDetails } from './BillingDetails';
|
|
@@ -12,6 +12,8 @@ export declare const PricingTooltip_PriceListChargeFragment: import("gql.tada").
|
|
|
12
12
|
basePrice: number;
|
|
13
13
|
name: string;
|
|
14
14
|
[$tada.fragmentRefs]: {
|
|
15
|
+
priceListChargePriceDescription_PriceListChargeFragment: "PriceListCharge";
|
|
16
|
+
} & {
|
|
15
17
|
ChargeHasPriceTiers_PriceListChargeFragment: "PriceListCharge";
|
|
16
18
|
} & {
|
|
17
19
|
ChargePriceTiers_PriceListChargeFragment: "PriceListCharge";
|
|
@@ -22,22 +24,19 @@ export declare const PricingTooltip_PriceListChargeFragment: import("gql.tada").
|
|
|
22
24
|
masked: true;
|
|
23
25
|
}>;
|
|
24
26
|
export declare const PricingTooltip_PriceListFragment: import("gql.tada").TadaDocumentNode<{
|
|
25
|
-
showPriceAsMonthly: boolean | null;
|
|
26
|
-
periodMonths: number | null;
|
|
27
27
|
currencyId: string;
|
|
28
28
|
monthlyBasePrice: number | null;
|
|
29
29
|
basePrice: number | null;
|
|
30
30
|
[$tada.fragmentRefs]: {
|
|
31
|
-
|
|
31
|
+
priceDescriptionString_PriceListFragment: "PriceList";
|
|
32
32
|
};
|
|
33
33
|
}, {}, {
|
|
34
34
|
fragment: "PricingTooltip_PriceListFragment";
|
|
35
35
|
on: "PriceList";
|
|
36
36
|
masked: true;
|
|
37
37
|
}>;
|
|
38
|
-
export declare const PricingTooltip: ({ className, priceListCharges: maskedPriceListCharges, currencyId,
|
|
38
|
+
export declare const PricingTooltip: ({ className, priceListCharges: maskedPriceListCharges, currencyId, }: {
|
|
39
39
|
className?: string;
|
|
40
40
|
priceListCharges: FragmentOf<typeof PricingTooltip_PriceListChargeFragment>[];
|
|
41
41
|
currencyId: string;
|
|
42
|
-
priceList: FragmentOf<typeof PricingTooltip_PriceListFragment>;
|
|
43
42
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,9 +6,10 @@ export declare const ChargePriceTiers_PriceListChargeFragment: import("gql.tada"
|
|
|
6
6
|
priceDecimals: number | null;
|
|
7
7
|
priceListChargeTiers: {
|
|
8
8
|
starts: number | null;
|
|
9
|
-
price: number | null;
|
|
10
9
|
[$tada.fragmentRefs]: {
|
|
11
10
|
PriceTierRow_PriceTierFragment: "PriceListChargeTier";
|
|
11
|
+
} & {
|
|
12
|
+
PriceTierPrice_PriceTierFragment: "PriceListChargeTier";
|
|
12
13
|
};
|
|
13
14
|
}[] | null;
|
|
14
15
|
}, {}, {
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const
|
|
1
|
+
import { FragmentOf } from 'gql.tada';
|
|
2
|
+
export declare const PriceTierPrice_PriceTierFragment: import("gql.tada").TadaDocumentNode<{
|
|
3
|
+
price: number | null;
|
|
4
|
+
}, {}, {
|
|
5
|
+
fragment: "PriceTierPrice_PriceTierFragment";
|
|
6
|
+
on: "PriceListChargeTier";
|
|
7
|
+
masked: true;
|
|
8
|
+
}>;
|
|
9
|
+
declare const PriceTierPrice: ({ currencyId, priceDecimals, tier: maskedTier, }: {
|
|
3
10
|
currencyId: string;
|
|
4
11
|
priceDecimals: number;
|
|
5
|
-
tier:
|
|
12
|
+
tier: FragmentOf<typeof PriceTierPrice_PriceTierFragment>;
|
|
6
13
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
14
|
export default PriceTierPrice;
|
package/dist/cjs/types/src/components/priceListPricing/utils/getPricingModelDescription.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PricingModel } from '@/graphql-codegen/exportedScalarTypes';
|
|
2
|
-
export declare const getPricingModelDescription: (pricingModel: PricingModel | null) => "" | "units in each tier are priced separately
|
|
2
|
+
export declare const getPricingModelDescription: (pricingModel: PricingModel | null) => "" | "units in each tier are priced separately" | "the highest tier reached prices all units" | "the quantity indexes to a flat price" | "the price is a flat rate";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { PricingModel } from '@/graphql-codegen/exportedScalarTypes';
|
|
2
|
-
export declare const getPricingModelTitle: (pricingModel: PricingModel | null) => "" | "Tiered" | "Volume" | "Bands";
|
|
2
|
+
export declare const getPricingModelTitle: (pricingModel: PricingModel | null) => "" | "Tiered" | "Volume" | "Bands" | "Flat";
|
|
@@ -8,3 +8,6 @@ export declare const MARK_PRO = "Markpro, Inter, system-ui, -apple-system, Blink
|
|
|
8
8
|
export declare const MARK_PRO_MEDIUM = "Markpro Medium, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji";
|
|
9
9
|
export declare const MARK_PRO_BOLD = "Markpro Bold, Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji";
|
|
10
10
|
export declare const X_BUNNY_COMPONENTS_VERSION_HEADER_NAME = "x-components-version";
|
|
11
|
+
export declare const TIME_TRAVEL_DATE = "timeTravelDate";
|
|
12
|
+
export declare const TIME_TRAVEL_HEADER = "X-Bunny-Time-Travel";
|
|
13
|
+
export declare const DEV_AUTH_AS_USER = "DevAuthAsUser";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ShadowType } from '../types/shadowType';
|
|
2
2
|
import FormattedInvoice from '@/types/FormattedInvoice';
|
|
3
|
-
import { FormattedQuote } from '@/types/FormattedQuote';
|
|
4
3
|
export type InvoiceQuoteContextProps = {
|
|
5
|
-
id?: string;
|
|
4
|
+
id?: string | null | undefined;
|
|
6
5
|
invoiceQuoteViewComponent?: React.ReactNode;
|
|
7
6
|
backButtonName?: string;
|
|
8
7
|
onBackButtonClick?: () => void;
|
|
@@ -12,6 +11,7 @@ export type InvoiceQuoteContextProps = {
|
|
|
12
11
|
className?: string;
|
|
13
12
|
hideDownloadButton?: boolean;
|
|
14
13
|
onInvoiceLoaded?: (formattedInvoice: FormattedInvoice) => void;
|
|
15
|
-
|
|
14
|
+
onQuoteUnavailableError?: () => void;
|
|
15
|
+
suppressQuoteUnavailableErrorNotification?: boolean;
|
|
16
16
|
};
|
|
17
17
|
export declare const InvoiceQuoteContext: import("react").Context<InvoiceQuoteContextProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const OnPaymentMethodRemovedProvider: ({ value, children }: {
|
|
2
|
+
value: ((paymentMethodId: string) => void) | undefined;
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element, useOnPaymentMethodRemoved: () => ((paymentMethodId: string) => void) | undefined;
|
|
5
|
+
export { OnPaymentMethodRemovedProvider, useOnPaymentMethodRemoved };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const OnPaymentMethodSavedProvider: ({ value, children }: {
|
|
2
|
+
value: ((paymentMethodId: string) => void) | undefined;
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element, useOnPaymentMethodSaved: () => ((paymentMethodId: string) => void) | undefined;
|
|
5
|
+
export { OnPaymentMethodSavedProvider, useOnPaymentMethodSaved };
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export declare const useAllErrorFormats: (
|
|
1
|
+
export declare const useAllErrorFormats: ({ onUserUnavailable, onInvalidOrMissingAuthorization, suppressUserUnavailableErrorNotification }?: {
|
|
2
|
+
onUserUnavailable?: () => void;
|
|
3
|
+
onInvalidOrMissingAuthorization?: () => void;
|
|
4
|
+
suppressUserUnavailableErrorNotification?: boolean;
|
|
5
|
+
}) => (error: any, mutationName?: string) => any;
|
|
@@ -23,6 +23,8 @@ export declare const usePaymentMethod: ({ accountId, enabled, }: {
|
|
|
23
23
|
isDefault: boolean | null;
|
|
24
24
|
[$tada.fragmentRefs]: {
|
|
25
25
|
PaymentForm_PaymentMethodsFragment: "PaymentMethod";
|
|
26
|
+
} & {
|
|
27
|
+
StoredPaymentMethods_PaymentMethodsFragment: "PaymentMethod";
|
|
26
28
|
};
|
|
27
29
|
}[] | undefined;
|
|
28
30
|
defaultPaymentMethod: {
|
|
@@ -46,6 +48,8 @@ export declare const usePaymentMethod: ({ accountId, enabled, }: {
|
|
|
46
48
|
isDefault: boolean | null;
|
|
47
49
|
[$tada.fragmentRefs]: {
|
|
48
50
|
PaymentForm_PaymentMethodsFragment: "PaymentMethod";
|
|
51
|
+
} & {
|
|
52
|
+
StoredPaymentMethods_PaymentMethodsFragment: "PaymentMethod";
|
|
49
53
|
};
|
|
50
54
|
} | undefined;
|
|
51
55
|
isLoading: boolean;
|
|
@@ -38,7 +38,7 @@ interface TableKeyParams {
|
|
|
38
38
|
token?: string;
|
|
39
39
|
}
|
|
40
40
|
interface FormattedInvoiceKeyParams {
|
|
41
|
-
id?: string;
|
|
41
|
+
id?: string | null | undefined;
|
|
42
42
|
token?: string;
|
|
43
43
|
}
|
|
44
44
|
interface InvoiceKeyParams {
|
|
@@ -55,7 +55,7 @@ interface PortalPreviewDataKeyParams {
|
|
|
55
55
|
token?: string;
|
|
56
56
|
}
|
|
57
57
|
interface QuoteKeyParams {
|
|
58
|
-
id?: string;
|
|
58
|
+
id?: string | null | undefined;
|
|
59
59
|
token?: string;
|
|
60
60
|
}
|
|
61
61
|
interface QuoteTaxCalculateKeyParams {
|
|
@@ -78,10 +78,10 @@ declare const QueryKeyFactory: {
|
|
|
78
78
|
brandingKey: (token?: string) => string[];
|
|
79
79
|
calculatedPricesKey: ({ priceListId, quantity, token }: CalculatedPricesKeyParams) => (string | number)[];
|
|
80
80
|
createEventsKey: ({ entityId, pluralType, token }: EventsKeyParams) => string[];
|
|
81
|
-
createFormattedInvoiceKey: ({ id, token }: FormattedInvoiceKeyParams) => (string | undefined)[];
|
|
81
|
+
createFormattedInvoiceKey: ({ id, token }: FormattedInvoiceKeyParams) => (string | null | undefined)[];
|
|
82
82
|
createInvoiceKey: ({ id, token }: InvoiceKeyParams) => (string | undefined)[];
|
|
83
83
|
createObjectKey: ({ id, objectName, token }: ObjectKeyParams) => string[];
|
|
84
|
-
createQuoteKey: ({ id, token }: QuoteKeyParams) => (string | undefined)[];
|
|
84
|
+
createQuoteKey: ({ id, token }: QuoteKeyParams) => (string | null | undefined)[];
|
|
85
85
|
createQuoteTaxCalculateKey: ({ id, token }: QuoteTaxCalculateKeyParams) => string[];
|
|
86
86
|
createTableKey: ({ filterString, pluralType, token }: TableKeyParams) => (string | undefined)[];
|
|
87
87
|
currentUserKey: (token?: string) => string[];
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare
|
|
3
|
-
chargeType:
|
|
4
|
-
pricingModel:
|
|
5
|
-
|
|
1
|
+
import { FragmentOf } from 'gql.tada';
|
|
2
|
+
export declare const CanEditChargeQuantity_PriceListChargeFragment: import("gql.tada").TadaDocumentNode<{
|
|
3
|
+
chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
|
|
4
|
+
pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
|
|
5
|
+
selfServiceQuantity: boolean | null;
|
|
6
|
+
}, {}, {
|
|
7
|
+
fragment: "CanEditChargeQuantity_PriceListChargeFragment";
|
|
8
|
+
on: "PriceListCharge";
|
|
9
|
+
masked: true;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function canEditChargeQuantity(maskedCharge: FragmentOf<typeof CanEditChargeQuantity_PriceListChargeFragment> | null): boolean;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { FragmentOf } from 'gql.tada';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const canApplyCoupons_QuoteFragment: import("gql.tada").TadaDocumentNode<{
|
|
3
3
|
id: string | null;
|
|
4
4
|
kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE";
|
|
5
|
+
amountDue: number | null;
|
|
5
6
|
}, {}, {
|
|
6
|
-
fragment: "
|
|
7
|
+
fragment: "canApplyCoupons_QuoteFragment";
|
|
7
8
|
on: "Quote";
|
|
8
9
|
masked: true;
|
|
9
10
|
}>;
|
|
10
|
-
export declare const
|
|
11
|
+
export declare const canApplyCoupons_SubscriptionFragment: import("gql.tada").TadaDocumentNode<{
|
|
11
12
|
id: string;
|
|
12
13
|
state: "ACTIVE" | "TRIAL" | "CANCELED" | "EXPIRED" | "TRIAL_EXPIRED" | "PENDING";
|
|
13
14
|
charges: {
|
|
14
15
|
discountedPrice: string | null;
|
|
15
16
|
}[] | null;
|
|
16
17
|
}, {}, {
|
|
17
|
-
fragment: "
|
|
18
|
+
fragment: "canApplyCoupons_SubscriptionFragment";
|
|
18
19
|
on: "Subscription";
|
|
19
20
|
masked: true;
|
|
20
21
|
}>;
|
|
21
|
-
export declare function
|
|
22
|
+
export declare function canApplyCoupons(maskedQuote: FragmentOf<typeof canApplyCoupons_QuoteFragment> | undefined | null, activeCouponsExist: boolean, maskedUpgradingSubscription?: FragmentOf<typeof canApplyCoupons_SubscriptionFragment>): boolean;
|
|
@@ -21,4 +21,4 @@ export declare const isAddonPurchased_SubscriptionChargeFragment: import("gql.ta
|
|
|
21
21
|
on: "Subscription";
|
|
22
22
|
masked: true;
|
|
23
23
|
}>;
|
|
24
|
-
export declare function isAddonPurchased(maskedFeatureAddon: FragmentOf<typeof isAddonPurchased_PriceListChargeFragment>, maskedCurrentSubscription: FragmentOf<typeof isAddonPurchased_SubscriptionChargeFragment>): boolean;
|
|
24
|
+
export declare function isAddonPurchased(maskedFeatureAddon: FragmentOf<typeof isAddonPurchased_PriceListChargeFragment>, maskedCurrentSubscription: FragmentOf<typeof isAddonPurchased_SubscriptionChargeFragment> | undefined): boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { QuoteChangeKind } from '@/graphql-codegen/exportedScalarTypes';
|
|
2
|
+
import { FragmentOf } from 'gql.tada';
|
|
3
|
+
export declare const filterDeprecatedCharges_PriceListChargeFragment: import("gql.tada").TadaDocumentNode<{
|
|
4
|
+
deprecated: boolean | null;
|
|
5
|
+
removeOnRenewal: boolean | null;
|
|
6
|
+
}, {}, {
|
|
7
|
+
fragment: "filterDeprecatedCharges_PriceListChargeFragment";
|
|
8
|
+
on: "PriceListCharge";
|
|
9
|
+
masked: true;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function filterDeprecatedCharges(quoteChangeKind: QuoteChangeKind | undefined, maskedCharge: FragmentOf<typeof filterDeprecatedCharges_PriceListChargeFragment>): boolean;
|