@bunnyapp/components 1.8.1 → 1.8.3

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.
Files changed (351) hide show
  1. package/README.md +51 -0
  2. package/dist/cjs/index.js +147 -30182
  3. package/dist/cjs/types/src/ajax.d.ts +1 -1
  4. package/dist/cjs/types/src/components/BillingDetails/BillingDetails.d.ts +2 -5
  5. package/dist/cjs/types/src/components/BillingDetails/BillingDetails.stories.d.ts +2 -4
  6. package/dist/cjs/types/src/components/BunnyProvider/BunnyProvider.d.ts +2 -1
  7. package/dist/cjs/types/src/components/BunnyProvider/contexts/BunnyProviderCallbacksProvider.d.ts +2 -0
  8. package/dist/cjs/types/src/components/Checkout/QuoteCheckout.d.ts +6 -6
  9. package/dist/cjs/types/src/components/DocumentTemplatePreview.d.ts +5 -1
  10. package/dist/cjs/types/src/components/Invoice/Invoice.stories.d.ts +1 -1
  11. package/dist/cjs/types/src/components/Invoice/InvoiceQuoteView/DownloadQuoteButton.d.ts +5 -0
  12. package/dist/cjs/types/src/components/Invoice/InvoiceQuoteView/InvoiceQuoteView.d.ts +8 -0
  13. package/dist/cjs/types/src/components/Invoice/InvoiceQuoteView/InvoiceQuoteViewWithButtons.d.ts +14 -0
  14. package/dist/cjs/types/src/components/PandadocPollingModal.d.ts +1 -1
  15. package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/MiniCreditCard.d.ts +2 -0
  16. package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayFormProvider.d.ts +10 -0
  17. package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +2 -4
  18. package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +1 -5
  19. package/dist/cjs/types/src/components/PaymentForm/PaymentForm.d.ts +37 -18
  20. package/dist/cjs/types/src/components/PaymentForm/Stripe/StripeFormProvider.d.ts +4 -0
  21. package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +2 -4
  22. package/dist/cjs/types/src/components/PaymentForm/Stripe/stripeUtils.d.ts +1 -1
  23. package/dist/cjs/types/src/components/PaymentForm/components/CheckoutNoPayment.d.ts +11 -0
  24. package/dist/cjs/types/src/components/PaymentForm/components/Pay.d.ts +6 -0
  25. package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails/PaymentMethodDetails.d.ts +12 -0
  26. package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Cancel.d.ts +1 -0
  27. package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Collapsible.d.ts +7 -0
  28. package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Save.d.ts +9 -0
  29. package/dist/cjs/types/src/components/PaymentForm/components/StoredPaymentMethods.d.ts +5 -0
  30. package/dist/cjs/types/src/components/PaymentForm/constants.d.ts +1 -0
  31. package/dist/cjs/types/src/components/PaymentForm/context/AccountIdContext.d.ts +5 -0
  32. package/dist/cjs/types/src/components/PaymentForm/context/CallbacksContext.d.ts +14 -0
  33. package/dist/cjs/types/src/components/PaymentForm/context/PaymentMethodFormVisibilityContext.d.ts +12 -0
  34. package/dist/cjs/types/src/components/PaymentForm/context/PaymentProvider.d.ts +62 -37
  35. package/dist/cjs/types/src/components/PaymentForm/fragments/PaymentForm_QuoteFragment.d.ts +11 -0
  36. package/dist/cjs/types/src/components/PaymentForm/fragments/StoredPaymentMethods_PaymentMethodsFragment.d.ts +13 -0
  37. package/dist/cjs/types/src/components/PaymentForm/hooks/usePay.d.ts +14 -0
  38. package/dist/cjs/types/src/components/PaymentForm/hooks/usePayableCurrency.d.ts +1 -1
  39. package/dist/cjs/types/src/components/PaymentForm/hooks/usePaymentButtonText.d.ts +7 -1
  40. package/dist/cjs/types/src/components/PaymentForm/hooks/usePaymentHold.d.ts +18 -0
  41. package/dist/cjs/types/src/components/PaymentForm/hooks/useSave.d.ts +16 -0
  42. package/dist/cjs/types/src/components/PaymentForm/types/PaymentType.d.ts +2 -1
  43. package/dist/cjs/types/src/components/Quote/Quote.d.ts +28 -1
  44. package/dist/cjs/types/src/components/Quote/Quote.stories.d.ts +1 -1
  45. package/dist/cjs/types/src/components/Quote/components/PaymentHoldDisplay.d.ts +18 -0
  46. package/dist/cjs/types/src/components/Quote/components/QuoteButtons.d.ts +18 -4
  47. package/dist/cjs/types/src/components/Quote/components/QuoteIsAcceptedLabel.d.ts +6 -0
  48. package/dist/{esm/types/src/components/Quote/hooks/useSendAcceptQuote.d.ts → cjs/types/src/components/Quote/hooks/useAcceptQuote.d.ts} +16 -8
  49. package/dist/cjs/types/src/components/Quote/hooks/useQuotePaymentHold.d.ts +20 -0
  50. package/dist/cjs/types/src/{graphql → components/Quote}/queries/getFormattedQuote.d.ts +6 -1
  51. package/dist/cjs/types/src/components/Quote/queries/quoteAccept.d.ts +38 -0
  52. package/dist/cjs/types/src/components/QuoteProvider/context/quantityEditableChargesContext.d.ts +2 -8
  53. package/dist/cjs/types/src/components/QuoteProvider/fragments/quoteFieldsFragment.d.ts +3 -3
  54. package/dist/cjs/types/src/components/QuoteProvider/fragments/quoteFragment.d.ts +5 -5
  55. package/dist/cjs/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_PriceListChargeFragment.d.ts +16 -0
  56. package/dist/cjs/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_QuoteFragment.d.ts +26 -0
  57. package/dist/cjs/types/src/components/QuoteProvider/fragments/useQuoteQuantities_PriceListChargeFragment.d.ts +13 -0
  58. package/dist/cjs/types/src/components/QuoteProvider/hooks/useQuantityEditableCharges.d.ts +41 -36
  59. package/dist/cjs/types/src/components/QuoteProvider/hooks/useQuoteCreate.d.ts +14 -3
  60. package/dist/cjs/types/src/components/QuoteProvider/hooks/useQuoteQuantities.d.ts +3 -19
  61. package/dist/cjs/types/src/components/QuoteProvider/hooks/useSelectedPriceListQuoteChange.d.ts +18 -30
  62. package/dist/cjs/types/src/components/Quotes/Quotes.stories.d.ts +1 -1
  63. package/dist/cjs/types/src/components/Signup/Signup.d.ts +26 -24
  64. package/dist/cjs/types/src/components/Signup/Signup.stories.d.ts +1 -2
  65. package/dist/cjs/types/src/components/Signup/SignupContent.d.ts +2 -0
  66. package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/CheckoutSummary.d.ts +9 -0
  67. package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/components/CheckoutSummaryTotals.d.ts +11 -0
  68. package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/fragments/CheckoutSummary_PriceListFragment.d.ts +21 -0
  69. package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/fragments/CheckoutSummary_QuoteFragment.d.ts +30 -0
  70. package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/hooks/sortQuoteChangeCharges.d.ts +14 -0
  71. package/dist/cjs/types/src/components/Signup/components/CheckoutSummary/totalsUtils.d.ts +9 -0
  72. package/dist/cjs/types/src/components/Signup/components/InitialSignupFormFields.d.ts +47 -0
  73. package/dist/cjs/types/src/components/Signup/components/LoadingOverlay.d.ts +4 -0
  74. package/dist/cjs/types/src/components/Signup/components/Logo.d.ts +2 -0
  75. package/dist/{esm/types/src/components/Signup → cjs/types/src/components/Signup/components}/PriceListDisplay.d.ts +11 -1
  76. package/dist/cjs/types/src/components/Signup/components/PurchaseSuccessDisplay.d.ts +6 -0
  77. package/dist/cjs/types/src/components/Signup/components/QuoteCreateButton.d.ts +6 -0
  78. package/dist/cjs/types/src/components/Signup/components/SignupForm/SignupForm.d.ts +13 -0
  79. package/dist/cjs/types/src/components/Signup/components/SignupForm/components/ExistingAccountForm.d.ts +31 -0
  80. package/dist/cjs/types/src/components/Signup/components/SignupForm/components/ExistingAccountLoadedEffect.d.ts +34 -0
  81. package/dist/cjs/types/src/components/Signup/components/SignupForm/components/NewAccountForm.d.ts +8 -0
  82. package/dist/cjs/types/src/components/Signup/components/SignupForm/fragments/SignupForm_AccountFragment.d.ts +24 -0
  83. package/dist/cjs/types/src/components/Signup/components/SignupForm/hooks/useExistingAccount.d.ts +15 -0
  84. package/dist/cjs/types/src/components/Signup/components/SignupPaymentForm.d.ts +15 -0
  85. package/dist/cjs/types/src/components/Signup/components/SignupSplitScreenContainer.d.ts +6 -0
  86. package/dist/cjs/types/src/components/Signup/components/SuccessDisplay/SuccessDisplay.d.ts +10 -0
  87. package/dist/cjs/types/src/components/Signup/components/SuccessDisplay/components/SignupSuccessDisplay.d.ts +6 -0
  88. package/dist/cjs/types/src/components/Signup/components/SuccessDisplay/components/SuccessIcon.d.ts +2 -0
  89. package/dist/cjs/types/src/components/Signup/components/SuccessDisplay/components/ViewPortalSubscription.d.ts +5 -0
  90. package/dist/cjs/types/src/components/Signup/consts.d.ts +1 -0
  91. package/dist/cjs/types/src/components/Signup/fragments/QuoteAcceptPage_PriceListFragment.d.ts +9 -0
  92. package/dist/cjs/types/src/components/Signup/fragments/SignupPaymentForm_QuoteFragment.d.ts +13 -0
  93. package/dist/cjs/types/src/components/Signup/fragments/Signup_PriceListFragment.d.ts +9 -3
  94. package/dist/cjs/types/src/components/Signup/fragments/Signup_QuoteFragment.d.ts +15 -1
  95. package/dist/cjs/types/src/components/Signup/hooks/useAccountDetailsUpdate.d.ts +10 -0
  96. package/dist/cjs/types/src/components/Signup/hooks/useApplyDefaultCoupon.d.ts +4 -0
  97. package/dist/cjs/types/src/components/Signup/hooks/useApplySignupFormDefaults.d.ts +9 -0
  98. package/dist/cjs/types/src/components/Signup/hooks/useQuoteAccountSignupMutation.d.ts +29 -0
  99. package/dist/cjs/types/src/components/Signup/hooks/useQuoteRecalculateTaxes.d.ts +4 -0
  100. package/dist/cjs/types/src/components/Signup/hooks/useSetSignupQuoteQueryData.d.ts +5 -0
  101. package/dist/cjs/types/src/components/Signup/hooks/useSignupQuoteQueryData.d.ts +12 -0
  102. package/dist/cjs/types/src/components/Signup/mutations/contactUpdate.d.ts +12 -0
  103. package/dist/cjs/types/src/components/Signup/mutations/quoteAccountSignup.d.ts +6 -3
  104. package/dist/cjs/types/src/components/Signup/mutations/quoteChangeUpdate.d.ts +12 -0
  105. package/dist/cjs/types/src/components/Signup/mutations/quoteRecalculateTaxes.d.ts +1 -0
  106. package/dist/cjs/types/src/components/Signup/queries/getAccountByCode.d.ts +8 -0
  107. package/dist/cjs/types/src/components/Signup/queries/getAccountForSignupCompose.d.ts +20 -0
  108. package/dist/cjs/types/src/components/Signup/queries/getCurrentUserAccountForSignup.d.ts +14 -0
  109. package/dist/cjs/types/src/components/Signup/queries/{getQuote.d.ts → getSignupQuote.d.ts} +2 -2
  110. package/dist/cjs/types/src/components/Signup/signup-quote/SignupQuote.d.ts +2 -0
  111. package/dist/cjs/types/src/components/Signup/signup-quote/SignupQuoteProvider.d.ts +9 -0
  112. package/dist/cjs/types/src/components/Signup/signup-quote/fragments/SignupQuote_QuoteFragment.d.ts +14 -0
  113. package/dist/cjs/types/src/components/Signup/utils/createPortalReturnUrl.d.ts +4 -0
  114. package/dist/cjs/types/src/components/Subscriptions/Subscriptions.stories.d.ts +1 -1
  115. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/CheckoutBarInput.d.ts +1 -13
  116. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/CheckoutBarInput_PriceListChargeFragment.d.ts +13 -0
  117. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/useChargeCRUD_QuoteFragment.d.ts +22 -0
  118. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/hooks/useChargeCRUD.d.ts +1 -1
  119. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +1 -1
  120. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +0 -14
  121. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/fragments/PlanPickerCheckoutBar_PriceListChargeFragment.d.ts +14 -0
  122. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +2 -1
  123. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/GridTemplateColumnsWrapper.d.ts +2 -1
  124. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures/PlanFeatures.d.ts +8 -0
  125. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures/components/FeatureGroup.d.ts +9 -0
  126. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures/components/FeatureTitle.d.ts +6 -0
  127. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/priceListCardDesktop/addonPlans/fragments/AddonPlans_PlanFragment.d.ts +3 -0
  128. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +7 -1
  129. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/BillingPeriodDescription.d.ts +1 -0
  130. package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +3 -0
  131. package/dist/cjs/types/src/components/Subscriptions/Upgrade/Upgrade.stories.d.ts +12 -0
  132. package/dist/cjs/types/src/components/Subscriptions/Upgrade/queries/getSubscriptions.d.ts +2 -163
  133. package/dist/cjs/types/src/components/Subscriptions/context/upgradingSubscriptionContext.d.ts +9 -1
  134. package/dist/cjs/types/src/components/Subscriptions/fragments/Subscriptions_SubscriptionFragment.d.ts +0 -2
  135. package/dist/cjs/types/src/components/Subscriptions/fragments/UpgradingSubscriptionContext_SubscriptionFragment.d.ts +4 -0
  136. package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/utils/utils.d.ts +2 -1
  137. package/dist/cjs/types/src/components/Subscriptions/queries/getSubscriptionChargeHistograms.d.ts +16 -0
  138. package/dist/cjs/types/src/components/Subscriptions/queries/getSubscriptions.d.ts +0 -184
  139. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeTotal.d.ts +1 -1
  140. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeUnitPrice.d.ts +1 -1
  141. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionListSkeleton.d.ts +4 -0
  142. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktopRow.d.ts +3 -11
  143. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/UsageCell.d.ts +8 -0
  144. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardMobile.d.ts +1 -1
  145. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +1 -1
  146. package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/utils/sortSubscriptionCharges.d.ts +1 -1
  147. package/dist/cjs/types/src/components/Transactions/Transactions.stories.d.ts +1 -1
  148. package/dist/cjs/types/src/components/priceListPricing/PricingTooltip.d.ts +0 -2
  149. package/dist/cjs/types/src/contexts/InvoiceQuoteContext.d.ts +1 -3
  150. package/dist/cjs/types/src/graphql/mutations/checkout.d.ts +24 -14
  151. package/dist/cjs/types/src/graphql/mutations/quoteChangeAddCoupon.d.ts +4 -4
  152. package/dist/cjs/types/src/graphql/mutations/quoteChangeRemoveCoupon.d.ts +5 -2
  153. package/dist/cjs/types/src/graphql/queries/getFormattedInvoice.d.ts +1 -1
  154. package/dist/cjs/types/src/hooks/useAllErrorFormats.d.ts +2 -1
  155. package/dist/cjs/types/src/hooks/useIsExpired.d.ts +2 -1
  156. package/dist/cjs/types/src/hooks/useIsVisible.d.ts +4 -0
  157. package/dist/cjs/types/src/hooks/usePaymentMethod.d.ts +4 -0
  158. package/dist/cjs/types/src/hooks/usePaymentPlugins.d.ts +1 -1
  159. package/dist/cjs/types/src/hooks/useUpdateCoupons.d.ts +8 -2
  160. package/dist/cjs/types/src/utils/QueryKeyFactory.d.ts +17 -4
  161. package/dist/cjs/types/src/utils/chargeUtils.d.ts +1 -0
  162. package/dist/cjs/types/src/utils/couponUtils.d.ts +6 -6
  163. package/dist/cjs/types/src/utils/featureAddonUtils/isAddonPurchased.d.ts +1 -1
  164. package/dist/esm/index.js +147 -30169
  165. package/dist/esm/types/src/ajax.d.ts +1 -1
  166. package/dist/esm/types/src/components/BillingDetails/BillingDetails.d.ts +2 -5
  167. package/dist/esm/types/src/components/BillingDetails/BillingDetails.stories.d.ts +2 -4
  168. package/dist/esm/types/src/components/BunnyProvider/BunnyProvider.d.ts +2 -1
  169. package/dist/esm/types/src/components/BunnyProvider/contexts/BunnyProviderCallbacksProvider.d.ts +2 -0
  170. package/dist/esm/types/src/components/Checkout/QuoteCheckout.d.ts +6 -6
  171. package/dist/esm/types/src/components/DocumentTemplatePreview.d.ts +5 -1
  172. package/dist/esm/types/src/components/Invoice/Invoice.stories.d.ts +1 -1
  173. package/dist/esm/types/src/components/Invoice/InvoiceQuoteView/DownloadQuoteButton.d.ts +5 -0
  174. package/dist/esm/types/src/components/Invoice/InvoiceQuoteView/InvoiceQuoteView.d.ts +8 -0
  175. package/dist/esm/types/src/components/Invoice/InvoiceQuoteView/InvoiceQuoteViewWithButtons.d.ts +14 -0
  176. package/dist/esm/types/src/components/PandadocPollingModal.d.ts +1 -1
  177. package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/MiniCreditCard.d.ts +2 -0
  178. package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayFormProvider.d.ts +10 -0
  179. package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +2 -4
  180. package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +1 -5
  181. package/dist/esm/types/src/components/PaymentForm/PaymentForm.d.ts +37 -18
  182. package/dist/esm/types/src/components/PaymentForm/Stripe/StripeFormProvider.d.ts +4 -0
  183. package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +2 -4
  184. package/dist/esm/types/src/components/PaymentForm/Stripe/stripeUtils.d.ts +1 -1
  185. package/dist/esm/types/src/components/PaymentForm/components/CheckoutNoPayment.d.ts +11 -0
  186. package/dist/esm/types/src/components/PaymentForm/components/Pay.d.ts +6 -0
  187. package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails/PaymentMethodDetails.d.ts +12 -0
  188. package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Cancel.d.ts +1 -0
  189. package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Collapsible.d.ts +7 -0
  190. package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails/components/Save.d.ts +9 -0
  191. package/dist/esm/types/src/components/PaymentForm/components/StoredPaymentMethods.d.ts +5 -0
  192. package/dist/esm/types/src/components/PaymentForm/constants.d.ts +1 -0
  193. package/dist/esm/types/src/components/PaymentForm/context/AccountIdContext.d.ts +5 -0
  194. package/dist/esm/types/src/components/PaymentForm/context/CallbacksContext.d.ts +14 -0
  195. package/dist/esm/types/src/components/PaymentForm/context/PaymentMethodFormVisibilityContext.d.ts +12 -0
  196. package/dist/esm/types/src/components/PaymentForm/context/PaymentProvider.d.ts +62 -37
  197. package/dist/esm/types/src/components/PaymentForm/fragments/PaymentForm_QuoteFragment.d.ts +11 -0
  198. package/dist/esm/types/src/components/PaymentForm/fragments/StoredPaymentMethods_PaymentMethodsFragment.d.ts +13 -0
  199. package/dist/esm/types/src/components/PaymentForm/hooks/usePay.d.ts +14 -0
  200. package/dist/esm/types/src/components/PaymentForm/hooks/usePayableCurrency.d.ts +1 -1
  201. package/dist/esm/types/src/components/PaymentForm/hooks/usePaymentButtonText.d.ts +7 -1
  202. package/dist/esm/types/src/components/PaymentForm/hooks/usePaymentHold.d.ts +18 -0
  203. package/dist/esm/types/src/components/PaymentForm/hooks/useSave.d.ts +16 -0
  204. package/dist/esm/types/src/components/PaymentForm/types/PaymentType.d.ts +2 -1
  205. package/dist/esm/types/src/components/Quote/Quote.d.ts +28 -1
  206. package/dist/esm/types/src/components/Quote/Quote.stories.d.ts +1 -1
  207. package/dist/esm/types/src/components/Quote/components/PaymentHoldDisplay.d.ts +18 -0
  208. package/dist/esm/types/src/components/Quote/components/QuoteButtons.d.ts +18 -4
  209. package/dist/esm/types/src/components/Quote/components/QuoteIsAcceptedLabel.d.ts +6 -0
  210. package/dist/{cjs/types/src/components/Quote/hooks/useSendAcceptQuote.d.ts → esm/types/src/components/Quote/hooks/useAcceptQuote.d.ts} +16 -8
  211. package/dist/esm/types/src/components/Quote/hooks/useQuotePaymentHold.d.ts +20 -0
  212. package/dist/esm/types/src/{graphql → components/Quote}/queries/getFormattedQuote.d.ts +6 -1
  213. package/dist/esm/types/src/components/Quote/queries/quoteAccept.d.ts +38 -0
  214. package/dist/esm/types/src/components/QuoteProvider/context/quantityEditableChargesContext.d.ts +2 -8
  215. package/dist/esm/types/src/components/QuoteProvider/fragments/quoteFieldsFragment.d.ts +3 -3
  216. package/dist/esm/types/src/components/QuoteProvider/fragments/quoteFragment.d.ts +5 -5
  217. package/dist/esm/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_PriceListChargeFragment.d.ts +16 -0
  218. package/dist/esm/types/src/components/QuoteProvider/fragments/useQuantityEditableCharges_QuoteFragment.d.ts +26 -0
  219. package/dist/esm/types/src/components/QuoteProvider/fragments/useQuoteQuantities_PriceListChargeFragment.d.ts +13 -0
  220. package/dist/esm/types/src/components/QuoteProvider/hooks/useQuantityEditableCharges.d.ts +41 -36
  221. package/dist/esm/types/src/components/QuoteProvider/hooks/useQuoteCreate.d.ts +14 -3
  222. package/dist/esm/types/src/components/QuoteProvider/hooks/useQuoteQuantities.d.ts +3 -19
  223. package/dist/esm/types/src/components/QuoteProvider/hooks/useSelectedPriceListQuoteChange.d.ts +18 -30
  224. package/dist/esm/types/src/components/Quotes/Quotes.stories.d.ts +1 -1
  225. package/dist/esm/types/src/components/Signup/Signup.d.ts +26 -24
  226. package/dist/esm/types/src/components/Signup/Signup.stories.d.ts +1 -2
  227. package/dist/esm/types/src/components/Signup/SignupContent.d.ts +2 -0
  228. package/dist/esm/types/src/components/Signup/components/CheckoutSummary/CheckoutSummary.d.ts +9 -0
  229. package/dist/esm/types/src/components/Signup/components/CheckoutSummary/components/CheckoutSummaryTotals.d.ts +11 -0
  230. package/dist/esm/types/src/components/Signup/components/CheckoutSummary/fragments/CheckoutSummary_PriceListFragment.d.ts +21 -0
  231. package/dist/esm/types/src/components/Signup/components/CheckoutSummary/fragments/CheckoutSummary_QuoteFragment.d.ts +30 -0
  232. package/dist/esm/types/src/components/Signup/components/CheckoutSummary/hooks/sortQuoteChangeCharges.d.ts +14 -0
  233. package/dist/esm/types/src/components/Signup/components/CheckoutSummary/totalsUtils.d.ts +9 -0
  234. package/dist/esm/types/src/components/Signup/components/InitialSignupFormFields.d.ts +47 -0
  235. package/dist/esm/types/src/components/Signup/components/LoadingOverlay.d.ts +4 -0
  236. package/dist/esm/types/src/components/Signup/components/Logo.d.ts +2 -0
  237. package/dist/{cjs/types/src/components/Signup → esm/types/src/components/Signup/components}/PriceListDisplay.d.ts +11 -1
  238. package/dist/esm/types/src/components/Signup/components/PurchaseSuccessDisplay.d.ts +6 -0
  239. package/dist/esm/types/src/components/Signup/components/QuoteCreateButton.d.ts +6 -0
  240. package/dist/esm/types/src/components/Signup/components/SignupForm/SignupForm.d.ts +13 -0
  241. package/dist/esm/types/src/components/Signup/components/SignupForm/components/ExistingAccountForm.d.ts +31 -0
  242. package/dist/esm/types/src/components/Signup/components/SignupForm/components/ExistingAccountLoadedEffect.d.ts +34 -0
  243. package/dist/esm/types/src/components/Signup/components/SignupForm/components/NewAccountForm.d.ts +8 -0
  244. package/dist/esm/types/src/components/Signup/components/SignupForm/fragments/SignupForm_AccountFragment.d.ts +24 -0
  245. package/dist/esm/types/src/components/Signup/components/SignupForm/hooks/useExistingAccount.d.ts +15 -0
  246. package/dist/esm/types/src/components/Signup/components/SignupPaymentForm.d.ts +15 -0
  247. package/dist/esm/types/src/components/Signup/components/SignupSplitScreenContainer.d.ts +6 -0
  248. package/dist/esm/types/src/components/Signup/components/SuccessDisplay/SuccessDisplay.d.ts +10 -0
  249. package/dist/esm/types/src/components/Signup/components/SuccessDisplay/components/SignupSuccessDisplay.d.ts +6 -0
  250. package/dist/esm/types/src/components/Signup/components/SuccessDisplay/components/SuccessIcon.d.ts +2 -0
  251. package/dist/esm/types/src/components/Signup/components/SuccessDisplay/components/ViewPortalSubscription.d.ts +5 -0
  252. package/dist/esm/types/src/components/Signup/consts.d.ts +1 -0
  253. package/dist/esm/types/src/components/Signup/fragments/QuoteAcceptPage_PriceListFragment.d.ts +9 -0
  254. package/dist/esm/types/src/components/Signup/fragments/SignupPaymentForm_QuoteFragment.d.ts +13 -0
  255. package/dist/esm/types/src/components/Signup/fragments/Signup_PriceListFragment.d.ts +9 -3
  256. package/dist/esm/types/src/components/Signup/fragments/Signup_QuoteFragment.d.ts +15 -1
  257. package/dist/esm/types/src/components/Signup/hooks/useAccountDetailsUpdate.d.ts +10 -0
  258. package/dist/esm/types/src/components/Signup/hooks/useApplyDefaultCoupon.d.ts +4 -0
  259. package/dist/esm/types/src/components/Signup/hooks/useApplySignupFormDefaults.d.ts +9 -0
  260. package/dist/esm/types/src/components/Signup/hooks/useQuoteAccountSignupMutation.d.ts +29 -0
  261. package/dist/esm/types/src/components/Signup/hooks/useQuoteRecalculateTaxes.d.ts +4 -0
  262. package/dist/esm/types/src/components/Signup/hooks/useSetSignupQuoteQueryData.d.ts +5 -0
  263. package/dist/esm/types/src/components/Signup/hooks/useSignupQuoteQueryData.d.ts +12 -0
  264. package/dist/esm/types/src/components/Signup/mutations/contactUpdate.d.ts +12 -0
  265. package/dist/esm/types/src/components/Signup/mutations/quoteAccountSignup.d.ts +6 -3
  266. package/dist/esm/types/src/components/Signup/mutations/quoteChangeUpdate.d.ts +12 -0
  267. package/dist/esm/types/src/components/Signup/mutations/quoteRecalculateTaxes.d.ts +1 -0
  268. package/dist/esm/types/src/components/Signup/queries/getAccountByCode.d.ts +8 -0
  269. package/dist/esm/types/src/components/Signup/queries/getAccountForSignupCompose.d.ts +20 -0
  270. package/dist/esm/types/src/components/Signup/queries/getCurrentUserAccountForSignup.d.ts +14 -0
  271. package/dist/esm/types/src/components/Signup/queries/{getQuote.d.ts → getSignupQuote.d.ts} +2 -2
  272. package/dist/esm/types/src/components/Signup/signup-quote/SignupQuote.d.ts +2 -0
  273. package/dist/esm/types/src/components/Signup/signup-quote/SignupQuoteProvider.d.ts +9 -0
  274. package/dist/esm/types/src/components/Signup/signup-quote/fragments/SignupQuote_QuoteFragment.d.ts +14 -0
  275. package/dist/esm/types/src/components/Signup/utils/createPortalReturnUrl.d.ts +4 -0
  276. package/dist/esm/types/src/components/Subscriptions/Subscriptions.stories.d.ts +1 -1
  277. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/CheckoutBarInput.d.ts +1 -13
  278. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/CheckoutBarInput_PriceListChargeFragment.d.ts +13 -0
  279. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/fragments/useChargeCRUD_QuoteFragment.d.ts +22 -0
  280. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput/hooks/useChargeCRUD.d.ts +1 -1
  281. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +1 -1
  282. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +0 -14
  283. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/fragments/PlanPickerCheckoutBar_PriceListChargeFragment.d.ts +14 -0
  284. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +2 -1
  285. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/GridTemplateColumnsWrapper.d.ts +2 -1
  286. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures/PlanFeatures.d.ts +8 -0
  287. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures/components/FeatureGroup.d.ts +9 -0
  288. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures/components/FeatureTitle.d.ts +6 -0
  289. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/priceListCardDesktop/addonPlans/fragments/AddonPlans_PlanFragment.d.ts +3 -0
  290. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +7 -1
  291. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceDescription/BillingPeriodDescription.d.ts +1 -0
  292. package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +3 -0
  293. package/dist/esm/types/src/components/Subscriptions/Upgrade/Upgrade.stories.d.ts +12 -0
  294. package/dist/esm/types/src/components/Subscriptions/Upgrade/queries/getSubscriptions.d.ts +2 -163
  295. package/dist/esm/types/src/components/Subscriptions/context/upgradingSubscriptionContext.d.ts +9 -1
  296. package/dist/esm/types/src/components/Subscriptions/fragments/Subscriptions_SubscriptionFragment.d.ts +0 -2
  297. package/dist/esm/types/src/components/Subscriptions/fragments/UpgradingSubscriptionContext_SubscriptionFragment.d.ts +4 -0
  298. package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/utils/utils.d.ts +2 -1
  299. package/dist/esm/types/src/components/Subscriptions/queries/getSubscriptionChargeHistograms.d.ts +16 -0
  300. package/dist/esm/types/src/components/Subscriptions/queries/getSubscriptions.d.ts +0 -184
  301. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeTotal.d.ts +1 -1
  302. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeUnitPrice.d.ts +1 -1
  303. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionListSkeleton.d.ts +4 -0
  304. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktopRow.d.ts +3 -11
  305. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/UsageCell.d.ts +8 -0
  306. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardMobile.d.ts +1 -1
  307. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +1 -1
  308. package/dist/esm/types/src/components/Subscriptions/subscriptionsList/utils/sortSubscriptionCharges.d.ts +1 -1
  309. package/dist/esm/types/src/components/Transactions/Transactions.stories.d.ts +1 -1
  310. package/dist/esm/types/src/components/priceListPricing/PricingTooltip.d.ts +0 -2
  311. package/dist/esm/types/src/contexts/InvoiceQuoteContext.d.ts +1 -3
  312. package/dist/esm/types/src/graphql/mutations/checkout.d.ts +24 -14
  313. package/dist/esm/types/src/graphql/mutations/quoteChangeAddCoupon.d.ts +4 -4
  314. package/dist/esm/types/src/graphql/mutations/quoteChangeRemoveCoupon.d.ts +5 -2
  315. package/dist/esm/types/src/graphql/queries/getFormattedInvoice.d.ts +1 -1
  316. package/dist/esm/types/src/hooks/useAllErrorFormats.d.ts +2 -1
  317. package/dist/esm/types/src/hooks/useIsExpired.d.ts +2 -1
  318. package/dist/esm/types/src/hooks/useIsVisible.d.ts +4 -0
  319. package/dist/esm/types/src/hooks/usePaymentMethod.d.ts +4 -0
  320. package/dist/esm/types/src/hooks/usePaymentPlugins.d.ts +1 -1
  321. package/dist/esm/types/src/hooks/useUpdateCoupons.d.ts +8 -2
  322. package/dist/esm/types/src/utils/QueryKeyFactory.d.ts +17 -4
  323. package/dist/esm/types/src/utils/chargeUtils.d.ts +1 -0
  324. package/dist/esm/types/src/utils/couponUtils.d.ts +6 -6
  325. package/dist/esm/types/src/utils/featureAddonUtils/isAddonPurchased.d.ts +1 -1
  326. package/dist/index.d.ts +139 -48
  327. package/package.json +24 -17
  328. package/dist/cjs/types/src/components/Invoice/InvoiceQuoteView.d.ts +0 -12
  329. package/dist/cjs/types/src/components/PaymentForm/components/CheckoutFooter.d.ts +0 -2
  330. package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodDetails.d.ts +0 -2
  331. package/dist/cjs/types/src/components/PaymentForm/components/PaymentMethodFooter.d.ts +0 -4
  332. package/dist/cjs/types/src/components/PaymentForm/hooks/useHandlePayment.d.ts +0 -41
  333. package/dist/cjs/types/src/components/QuoteProvider/utils/getQuantityFromQuoteChange.d.ts +0 -11
  334. package/dist/cjs/types/src/components/Signup/CheckoutSummary.d.ts +0 -50
  335. package/dist/cjs/types/src/components/Signup/PaymentForms.d.ts +0 -39
  336. package/dist/cjs/types/src/components/Signup/PaymentSuccess.d.ts +0 -8
  337. package/dist/cjs/types/src/components/Signup/mutations/accountSignup.d.ts +0 -58
  338. package/dist/cjs/types/src/graphql/mutations/quoteCompose.d.ts +0 -12
  339. package/dist/esm/types/src/components/Invoice/InvoiceQuoteView.d.ts +0 -12
  340. package/dist/esm/types/src/components/PaymentForm/components/CheckoutFooter.d.ts +0 -2
  341. package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodDetails.d.ts +0 -2
  342. package/dist/esm/types/src/components/PaymentForm/components/PaymentMethodFooter.d.ts +0 -4
  343. package/dist/esm/types/src/components/PaymentForm/hooks/useHandlePayment.d.ts +0 -41
  344. package/dist/esm/types/src/components/QuoteProvider/utils/getQuantityFromQuoteChange.d.ts +0 -11
  345. package/dist/esm/types/src/components/Signup/CheckoutSummary.d.ts +0 -50
  346. package/dist/esm/types/src/components/Signup/PaymentForms.d.ts +0 -39
  347. package/dist/esm/types/src/components/Signup/PaymentSuccess.d.ts +0 -8
  348. package/dist/esm/types/src/components/Signup/mutations/accountSignup.d.ts +0 -58
  349. package/dist/esm/types/src/graphql/mutations/quoteCompose.d.ts +0 -12
  350. /package/dist/cjs/types/src/components/PaymentForm/components/{PaymentMethodSelector.d.ts → PaymentMethodDetails/components/PaymentMethodSelector.d.ts} +0 -0
  351. /package/dist/esm/types/src/components/PaymentForm/components/{PaymentMethodSelector.d.ts → PaymentMethodDetails/components/PaymentMethodSelector.d.ts} +0 -0
@@ -25,8 +25,12 @@ export declare const UpgradingSubscriptionProvider: ({ value, children }: {
25
25
  useChargeCRUD_SubscriptionFragment: "Subscription";
26
26
  } & {
27
27
  useQuoteQuantities_SubscriptionFragment: "Subscription";
28
+ } & {
29
+ isAddonPurchased_SubscriptionChargeFragment: "Subscription";
30
+ } & {
31
+ useQuoteCreate_SubscriptionFragment: "Subscription";
28
32
  };
29
- } | undefined;
33
+ } | null | undefined;
30
34
  children?: import("react").ReactNode;
31
35
  }) => import("react/jsx-runtime").JSX.Element, useUpgradingSubscription: () => {
32
36
  id: string;
@@ -54,5 +58,9 @@ export declare const UpgradingSubscriptionProvider: ({ value, children }: {
54
58
  useChargeCRUD_SubscriptionFragment: "Subscription";
55
59
  } & {
56
60
  useQuoteQuantities_SubscriptionFragment: "Subscription";
61
+ } & {
62
+ isAddonPurchased_SubscriptionChargeFragment: "Subscription";
63
+ } & {
64
+ useQuoteCreate_SubscriptionFragment: "Subscription";
57
65
  };
58
66
  } | undefined;
@@ -2,8 +2,6 @@ export declare const Subscriptions_SubscriptionFragment: import("gql.tada").Tada
2
2
  state: "ACTIVE" | "TRIAL" | "CANCELED" | "EXPIRED" | "TRIAL_EXPIRED" | "PENDING";
3
3
  id: string;
4
4
  [$tada.fragmentRefs]: {
5
- UpgradingSubscriptionContext_SubscriptionFragment: "Subscription";
6
- } & {
7
5
  SubscriptionsListContainer_SubscriptionFragment: "Subscription";
8
6
  } & {
9
7
  CanShowQuantitiesInput_SubscriptionFragment: "Subscription";
@@ -24,6 +24,10 @@ export declare const UpgradingSubscriptionContext_SubscriptionFragment: import("
24
24
  useChargeCRUD_SubscriptionFragment: "Subscription";
25
25
  } & {
26
26
  useQuoteQuantities_SubscriptionFragment: "Subscription";
27
+ } & {
28
+ isAddonPurchased_SubscriptionChargeFragment: "Subscription";
29
+ } & {
30
+ useQuoteCreate_SubscriptionFragment: "Subscription";
27
31
  };
28
32
  }, {}, {
29
33
  fragment: "UpgradingSubscriptionContext_SubscriptionFragment";
@@ -4,7 +4,8 @@ export declare const CanShowQuantitiesInput_SubscriptionChargeFragment: import("
4
4
  pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
5
5
  expired: boolean;
6
6
  selfServiceQuantity: boolean | null;
7
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
7
+ kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "PERCENTAGE_DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
8
+ chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
8
9
  }, {}, {
9
10
  fragment: "CanShowQuantitiesInput_SubscriptionChargeFragment";
10
11
  on: "SubscriptionCharge";
@@ -0,0 +1,16 @@
1
+ export declare const getSubscriptionChargeHistograms: ({ id, apiHost, token, }: {
2
+ id: string;
3
+ apiHost: string;
4
+ token?: string;
5
+ }) => Promise<{
6
+ subscription: {
7
+ chargeReport: {
8
+ priceListChargeId: string | null;
9
+ histogram: {
10
+ [$tada.fragmentRefs]: {
11
+ FeatureUsageGraph_HistogramFragment: "Histogram";
12
+ };
13
+ } | null;
14
+ }[] | null;
15
+ } | null;
16
+ }>;
@@ -5,190 +5,6 @@ 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
- id: string;
22
- period: string;
23
- account: {
24
- id: string;
25
- };
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
- trialEndDate: unknown;
53
- trialPeriod: string;
54
- trialStartDate: unknown;
55
- trialExpirationAction: "ACTIVATE" | "CANCEL" | null;
56
- charges: {
57
- priceListCharge: {
58
- priceListChargeTiers: {
59
- price: number | null;
60
- starts: number | null;
61
- }[] | null;
62
- featureAddon: boolean | null;
63
- id: string;
64
- } | null;
65
- amount: number | null;
66
- billingPeriod: "MONTHLY" | "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | "ONCE" | null;
67
- chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
68
- discount: number | null;
69
- discountedPrice: string | null;
70
- endDate: unknown;
71
- expired: boolean;
72
- feature: {
73
- name: string;
74
- } | null;
75
- id: string | null;
76
- isAmendment: boolean;
77
- isRamp: boolean;
78
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
79
- name: string | null;
80
- periodPrice: number | null;
81
- price: string | null;
82
- priceDecimals: number | null;
83
- priceListChargeId: string | null;
84
- priceTiers: {
85
- starts: number | null;
86
- price: number | null;
87
- }[] | null;
88
- pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
89
- quantity: number | null;
90
- selfServiceQuantity: boolean | null;
91
- startDate: unknown;
92
- trial: boolean;
93
- }[] | null;
94
- chargeReport: {
95
- [$tada.fragmentRefs]: {
96
- CanShowQuantitiesInput_SubscriptionChargeFragment: "Undefined Fragment";
97
- };
98
- priceListCharge: {
99
- priceListChargeTiers: {
100
- price: number | null;
101
- starts: number | null;
102
- }[] | null;
103
- featureAddon: boolean | null;
104
- id: string;
105
- code: string | null;
106
- } | null;
107
- histogram: {
108
- feature: {
109
- id: string;
110
- name: string;
111
- };
112
- periodRange: string;
113
- dataInterval: "MONTHLY" | "QUARTERLY" | "DAILY" | "SEMIANNUALLY" | "YEARLY";
114
- data: {
115
- periodStart: unknown;
116
- periodEnd: unknown;
117
- intervals: {
118
- intervalStart: unknown;
119
- intervalUsage: number;
120
- }[];
121
- intervalsTotal: number;
122
- }[] | null;
123
- } | null;
124
- amount: number | null;
125
- billingPeriod: "MONTHLY" | "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | "ONCE" | null;
126
- chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
127
- discount: number | null;
128
- discountedPrice: string | null;
129
- endDate: unknown;
130
- expired: boolean;
131
- feature: {
132
- name: string;
133
- } | null;
134
- id: string | null;
135
- isAmendment: boolean;
136
- isRamp: boolean;
137
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
138
- name: string | null;
139
- periodPrice: number | null;
140
- price: string | null;
141
- priceDecimals: number | null;
142
- priceListChargeId: string | null;
143
- priceTiers: {
144
- starts: number | null;
145
- price: number | null;
146
- }[] | null;
147
- pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
148
- quantity: number | null;
149
- selfServiceQuantity: boolean | null;
150
- startDate: unknown;
151
- trial: boolean;
152
- }[] | null;
153
- currentCharges: {
154
- priceListCharge: {
155
- priceListChargeTiers: {
156
- price: number | null;
157
- starts: number | null;
158
- }[] | null;
159
- featureAddon: boolean | null;
160
- id: string;
161
- code: string | null;
162
- } | null;
163
- amount: number | null;
164
- billingPeriod: "MONTHLY" | "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | "ONCE" | null;
165
- chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
166
- discount: number | null;
167
- discountedPrice: string | null;
168
- endDate: unknown;
169
- expired: boolean;
170
- feature: {
171
- name: string;
172
- } | null;
173
- id: string | null;
174
- isAmendment: boolean;
175
- isRamp: boolean;
176
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
177
- name: string | null;
178
- periodPrice: number | null;
179
- price: string | null;
180
- priceDecimals: number | null;
181
- priceListChargeId: string | null;
182
- priceTiers: {
183
- starts: number | null;
184
- price: number | null;
185
- }[] | null;
186
- pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
187
- quantity: number | null;
188
- selfServiceQuantity: boolean | null;
189
- startDate: unknown;
190
- trial: boolean;
191
- }[] | null;
192
8
  [$tada.fragmentRefs]: {
193
9
  Subscriptions_SubscriptionFragment: "Subscription";
194
10
  };
@@ -3,7 +3,7 @@ export declare const SubscriptionChargeTotal_SubscriptionChargeFragment: import(
3
3
  billingPeriod: "MONTHLY" | "QUARTERLY" | "SEMI_ANNUAL" | "ANNUAL" | "ONCE" | null;
4
4
  chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
5
5
  trial: boolean;
6
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
6
+ kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "PERCENTAGE_DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
7
7
  price: string | null;
8
8
  periodPrice: number | null;
9
9
  }, {}, {
@@ -3,7 +3,7 @@ export declare const SubscriptionChargeUnitPrice_SubscriptionChargeFragment: imp
3
3
  trial: boolean;
4
4
  discountedPrice: string | null;
5
5
  priceDecimals: number | null;
6
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
6
+ kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "PERCENTAGE_DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
7
7
  pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
8
8
  priceTiers: {
9
9
  starts: number | null;
@@ -0,0 +1,4 @@
1
+ declare const SubscriptionListSkeleton: ({ className }: {
2
+ className?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
+ export default SubscriptionListSkeleton;
@@ -5,20 +5,11 @@ export declare const SubscriptionCardDesktopRow_SubscriptionChargeFragment: impo
5
5
  trial: boolean;
6
6
  startDate: unknown;
7
7
  endDate: unknown;
8
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
8
+ kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "PERCENTAGE_DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
9
9
  chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
10
10
  quantity: number | null;
11
11
  name: string | null;
12
12
  isAmendment: boolean;
13
- histogram: {
14
- feature: {
15
- id: string;
16
- name: string;
17
- };
18
- [$tada.fragmentRefs]: {
19
- FeatureUsageGraph_HistogramFragment: "Histogram";
20
- };
21
- } | null;
22
13
  [$tada.fragmentRefs]: {
23
14
  SubscriptionChargeTotal_SubscriptionChargeFragment: "SubscriptionCharge";
24
15
  } & {
@@ -31,9 +22,10 @@ export declare const SubscriptionCardDesktopRow_SubscriptionChargeFragment: impo
31
22
  on: "SubscriptionCharge";
32
23
  masked: true;
33
24
  }>;
34
- export declare const SubscriptionCardDesktopRow: ({ charge: maskedCharge, chargeIndex, charges: maskedCharges, currencyId, }: {
25
+ export declare const SubscriptionCardDesktopRow: ({ charge: maskedCharge, chargeIndex, charges: maskedCharges, currencyId, subscriptionId, }: {
35
26
  charge: FragmentOf<typeof SubscriptionCardDesktopRow_SubscriptionChargeFragment>;
36
27
  chargeIndex: number;
37
28
  charges: FragmentOf<typeof SubscriptionCardDesktopRow_SubscriptionChargeFragment>[];
38
29
  currencyId: string;
30
+ subscriptionId: string;
39
31
  }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { FeatureUsageGraph_SubscriptionChargeFragment } from '@/components/FeatureUsageGraph';
2
+ import { FragmentOf } from 'gql.tada';
3
+ declare const UsageCell: ({ subscriptionId, priceListChargeId, charge, }: {
4
+ subscriptionId: string;
5
+ priceListChargeId: string;
6
+ charge: FragmentOf<typeof FeatureUsageGraph_SubscriptionChargeFragment>;
7
+ }) => import("react/jsx-runtime").JSX.Element | null;
8
+ export default UsageCell;
@@ -14,7 +14,7 @@ export declare const SubscriptionCardMobile_SubscriptionFragment: import("gql.ta
14
14
  };
15
15
  isRamp: boolean;
16
16
  name: string | null;
17
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
17
+ kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "PERCENTAGE_DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
18
18
  startDate: unknown;
19
19
  endDate: unknown;
20
20
  quantity: number | null;
@@ -35,7 +35,7 @@ export declare const splitSubscriptionsByPriceList_SubscriptionFragment: import(
35
35
  } | null;
36
36
  }[] | null;
37
37
  chargeReport: {
38
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
38
+ kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "PERCENTAGE_DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
39
39
  startDate: unknown;
40
40
  endDate: unknown;
41
41
  priceList: {
@@ -2,7 +2,7 @@ import { FragmentOf } from 'gql.tada';
2
2
  export declare const sortSubscriptionCharges_SubscriptionChargeFragment: import("gql.tada").TadaDocumentNode<{
3
3
  id: string | null;
4
4
  priceListChargeId: string | null;
5
- kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
5
+ kind: "SUBSCRIBE" | "UPDATE" | "RENEW" | "REINSTATE" | "UNSUBSCRIBE" | "ADJUSTMENT" | "COUPON" | "DISCOUNT" | "PERCENTAGE_DISCOUNT" | "CREDIT" | "PRICE_UPDATE" | "QUANTITY_UPDATE" | "FREE_PERIOD_DISCOUNT" | "ACTIVATE" | null;
6
6
  endDate: unknown;
7
7
  startDate: unknown;
8
8
  isAmendment: boolean;
@@ -1,4 +1,4 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
1
+ import type { Meta, StoryObj } from "@storybook/react-vite";
2
2
  import Transactions from "./Transactions";
3
3
  declare const meta: Meta<typeof Transactions>;
4
4
  export default meta;
@@ -17,8 +17,6 @@ export declare const PricingTooltip_PriceListChargeFragment: import("gql.tada").
17
17
  ChargeHasPriceTiers_PriceListChargeFragment: "PriceListCharge";
18
18
  } & {
19
19
  ChargePriceTiers_PriceListChargeFragment: "PriceListCharge";
20
- } & {
21
- GetActiveCharges_PriceListChargeFragment: "PriceListCharge";
22
20
  };
23
21
  }, {}, {
24
22
  fragment: "PricingTooltip_PriceListChargeFragment";
@@ -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,7 +11,6 @@ export type InvoiceQuoteContextProps = {
12
11
  className?: string;
13
12
  hideDownloadButton?: boolean;
14
13
  onInvoiceLoaded?: (formattedInvoice: FormattedInvoice) => void;
15
- onQuoteLoaded?: (formattedQuote: FormattedQuote) => void;
16
14
  onQuoteUnavailableError?: () => void;
17
15
  suppressQuoteUnavailableErrorNotification?: boolean;
18
16
  };
@@ -1,14 +1,4 @@
1
- import Payment from '@/types/Payment';
2
- import Invoice from '@/types/Invoice';
3
- import { Transaction } from '@/types/Transaction';
4
- import PaymentApplication from '@/types/PaymentApplication';
5
- export type CheckoutResponse = {
6
- invoice: Invoice;
7
- payment: Payment;
8
- paymentApplication: PaymentApplication;
9
- transaction: Transaction;
10
- };
11
- declare const checkout: ({ quoteId, invoiceId, paymentMethodId, paymentMethodData, token, apiHost, }: {
1
+ type CheckoutProps = {
12
2
  quoteId?: string | null;
13
3
  invoiceId?: string | null;
14
4
  paymentMethodId?: string;
@@ -20,7 +10,27 @@ declare const checkout: ({ quoteId, invoiceId, paymentMethodId, paymentMethodDat
20
10
  };
21
11
  token?: string;
22
12
  apiHost: string;
23
- }) => Promise<{
24
- savePaymentMethod: boolean | undefined;
25
- }>;
13
+ };
14
+ declare const checkout: ({ quoteId, invoiceId, paymentMethodId, paymentMethodData, token, apiHost, }: CheckoutProps) => Promise<{
15
+ invoice: {
16
+ id: string | null;
17
+ state: "READY" | "NOT_DUE" | "DUE" | "UNPAID" | "DRAFT" | "PREPARING" | "PAID" | "VOIDED" | "FAILED" | "PROCESSING_PAYMENT" | "MERGED" | "QUEUED" | "CONSOLIDATED";
18
+ amount: number;
19
+ amountDue: number | null;
20
+ } | null;
21
+ payment: {
22
+ id: string;
23
+ state: "APPLIED" | "PARTIALLY_APPLIED" | "UNAPPLIED";
24
+ amount: number;
25
+ } | null;
26
+ paymentApplication: {
27
+ id: string;
28
+ invoiceId: string | null;
29
+ paymentId: string | null;
30
+ } | null;
31
+ transaction: {
32
+ id: string;
33
+ amount: number;
34
+ } | null;
35
+ } | null>;
26
36
  export default checkout;
@@ -1,8 +1,8 @@
1
- import { Quote } from '@/types/Quote';
2
- declare const quoteChangeAddCoupon: ({ quoteChangeId, couponCode, token, apiHost, }: {
1
+ export declare const quoteChangeAddCoupon: ({ quoteChangeId, couponCode, token, apiHost, }: {
3
2
  quoteChangeId: string;
4
3
  couponCode: string;
5
4
  token?: string;
6
5
  apiHost: string;
7
- }) => Promise<Quote>;
8
- export default quoteChangeAddCoupon;
6
+ }) => Promise<{
7
+ id: string | null;
8
+ } | null | undefined>;
@@ -1,8 +1,11 @@
1
- import { Quote } from '@/types/Quote';
2
1
  declare const quoteChangeRemoveCoupon: ({ quoteChangeId, couponCode, token, apiHost, }: {
3
2
  quoteChangeId: string;
4
3
  couponCode: string;
5
4
  token?: string;
6
5
  apiHost: string;
7
- }) => Promise<Quote>;
6
+ }) => Promise<{
7
+ quote: {
8
+ id: string | null;
9
+ };
10
+ } | null | undefined>;
8
11
  export default quoteChangeRemoveCoupon;
@@ -1,6 +1,6 @@
1
1
  import FormattedInvoice from '@/types/FormattedInvoice';
2
2
  declare const getFormattedInvoice: ({ id, token, apiHost, }: {
3
- id?: string;
3
+ id?: string | null | undefined;
4
4
  apiHost: string;
5
5
  token?: string;
6
6
  }) => Promise<FormattedInvoice>;
@@ -1,5 +1,6 @@
1
- export declare const useAllErrorFormats: ({ onUserUnavailable, onInvalidOrMissingAuthorization, suppressUserUnavailableErrorNotification }?: {
1
+ export declare const useAllErrorFormats: ({ onUserUnavailable, onInvalidOrMissingAuthorization, suppressUserUnavailableErrorNotification, disableErrorNotifications }?: {
2
2
  onUserUnavailable?: () => void;
3
3
  onInvalidOrMissingAuthorization?: () => void;
4
4
  suppressUserUnavailableErrorNotification?: boolean;
5
+ disableErrorNotifications?: boolean;
5
6
  }) => (error: any, mutationName?: string) => any;
@@ -1,2 +1,3 @@
1
- declare const useIsExpired: (expiresAt?: string) => boolean;
1
+ export declare const isExpired: (expiresAt?: string | null, timezone?: string | null) => boolean;
2
+ declare const useIsExpired: (expiresAt?: string, timezone?: string | null) => boolean;
2
3
  export default useIsExpired;
@@ -0,0 +1,4 @@
1
+ import { RefObject } from 'react';
2
+ export declare const useIsVisible: <T extends Element = HTMLDivElement>(options?: IntersectionObserverInit & {
3
+ once?: boolean;
4
+ }) => [RefObject<T>, boolean];
@@ -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;
@@ -1,4 +1,4 @@
1
- export declare const usePaymentPlugins: (accountId: string | undefined) => {
1
+ export declare const usePaymentPlugins: () => {
2
2
  paymentPlugins: {
3
3
  enabled: boolean;
4
4
  entities: string[];
@@ -5,8 +5,14 @@ declare const useUpdateCoupons: ({ apiHost, token, quoteChangeId, onCouponAdded,
5
5
  onCouponAdded?: () => void;
6
6
  onCouponRemoved?: () => void;
7
7
  }) => {
8
- addCoupon: import("@tanstack/react-query").UseMutateFunction<import("../types/Quote").Quote, any, string, unknown>;
9
- removeCoupon: import("@tanstack/react-query").UseMutateFunction<import("../types/Quote").Quote, any, string, unknown>;
8
+ addCoupon: import("@tanstack/react-query").UseMutateFunction<{
9
+ id: string | null;
10
+ } | null | undefined, Error, string, unknown>;
11
+ removeCoupon: import("@tanstack/react-query").UseMutateFunction<{
12
+ quote: {
13
+ id: string | null;
14
+ };
15
+ } | null | undefined, Error, string, unknown>;
10
16
  isAddingCoupon: boolean;
11
17
  isRemovingCoupon: boolean;
12
18
  activeCouponsExist: 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,14 @@ 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
+ quotesKey: (filter?: string, token?: string) => string[];
82
+ createFormattedInvoiceKey: ({ id, token }: FormattedInvoiceKeyParams) => (string | null | undefined)[];
82
83
  createInvoiceKey: ({ id, token }: InvoiceKeyParams) => (string | undefined)[];
83
84
  createObjectKey: ({ id, objectName, token }: ObjectKeyParams) => string[];
84
- createQuoteKey: ({ id, token }: QuoteKeyParams) => (string | undefined)[];
85
+ createQuoteKey: ({ id, token }: QuoteKeyParams) => (string | null | undefined)[];
86
+ signupQuoteKey: ({ token }: {
87
+ token?: string;
88
+ }) => string[];
85
89
  createQuoteTaxCalculateKey: ({ id, token }: QuoteTaxCalculateKeyParams) => string[];
86
90
  createTableKey: ({ filterString, pluralType, token }: TableKeyParams) => (string | undefined)[];
87
91
  currentUserKey: (token?: string) => string[];
@@ -102,5 +106,14 @@ declare const QueryKeyFactory: {
102
106
  token?: string;
103
107
  }) => string[];
104
108
  paymentPluginsKey: (token?: string) => string[];
109
+ subscriptionChargeHistogramsKey: ({ subscriptionId, token, }: {
110
+ subscriptionId: string;
111
+ token?: string;
112
+ }) => string[];
113
+ signupAccount: (token?: string) => string[];
114
+ signupPriceList: (code?: string, token?: string) => string[];
105
115
  };
106
116
  export default QueryKeyFactory;
117
+ export declare const MutationKeyFactory: {
118
+ quoteAccountSignup: readonly ["quoteAccountSignup"];
119
+ };
@@ -2,6 +2,7 @@ import { FragmentOf } from 'gql.tada';
2
2
  export declare const CanEditChargeQuantity_PriceListChargeFragment: import("gql.tada").TadaDocumentNode<{
3
3
  chargeType: "ONE_TIME" | "RECURRING" | "USAGE" | null;
4
4
  pricingModel: "FLAT" | "TIERED" | "VOLUME" | "BANDS" | null;
5
+ selfServiceQuantity: boolean | null;
5
6
  }, {}, {
6
7
  fragment: "CanEditChargeQuantity_PriceListChargeFragment";
7
8
  on: "PriceListCharge";