@bunnyapp/components 1.6.0-beta.7 → 1.6.0-beta.9
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 +25773 -0
- package/dist/cjs/types/playground/billingdetails/index.d.ts +1 -0
- package/dist/cjs/types/playground/main.d.ts +1 -0
- package/dist/cjs/types/playground/transactions/index.d.ts +1 -0
- package/dist/cjs/types/src/ajax.d.ts +1 -0
- package/dist/cjs/types/src/components/BillingDetails/BillingDetails.d.ts +16 -0
- package/dist/cjs/types/src/components/BillingDetails/BillingDetails.stories.d.ts +14 -0
- package/dist/cjs/types/src/components/BillingDetails/BillingDetailsForm.d.ts +8 -0
- package/dist/cjs/types/src/components/BillingDetails/index.d.ts +1 -0
- package/dist/cjs/types/src/components/BunnyProvider.d.ts +21 -0
- package/dist/cjs/types/src/components/Card.d.ts +6 -0
- package/dist/cjs/types/src/components/Checkout/Checkout.d.ts +13 -0
- package/dist/cjs/types/src/components/Checkout/QuoteCheckout.d.ts +12 -0
- package/dist/cjs/types/src/components/Checkout/checkoutUtils.d.ts +2 -0
- package/dist/cjs/types/src/components/CustomizedAntdComponents/Tag.d.ts +37 -0
- package/dist/cjs/types/src/components/DocumentTemplatePreview.d.ts +4 -0
- package/dist/cjs/types/src/components/DrawerHeader.d.ts +7 -0
- package/dist/cjs/types/src/components/Error.d.ts +5 -0
- package/dist/cjs/types/src/components/FeatureUsageGraph.d.ts +6 -0
- package/dist/cjs/types/src/components/Footer/BunnyFooterIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/Footer/Footer.d.ts +4 -0
- package/dist/cjs/types/src/components/Footer/index.d.ts +1 -0
- package/dist/cjs/types/src/components/HeaderModalWrapper.d.ts +2 -0
- package/dist/cjs/types/src/components/Invoice/Invoice.d.ts +6 -0
- package/dist/cjs/types/src/components/Invoice/Invoice.stories.d.ts +17 -0
- package/dist/cjs/types/src/components/Invoice/InvoiceQuoteView.d.ts +12 -0
- package/dist/cjs/types/src/components/Invoice/index.d.ts +7 -0
- package/dist/cjs/types/src/components/LegacyInvoicePDF.d.ts +4 -0
- package/dist/cjs/types/src/components/PandadocPollingModal.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/CheckoutFooter.d.ts +13 -0
- package/dist/cjs/types/src/components/PaymentForm/CouponEditor.d.ts +10 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/CreditCard.d.ts +21 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/LargCardIcon.d.ts +2 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/PlusIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/CreditCard/index.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayCardCvc.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayCardNumber.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayExpiry.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/DemoPayForm.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/demoPayUtils.d.ts +21 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/useApproveHold.d.ts +13 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +12 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +22 -0
- package/dist/cjs/types/src/components/PaymentForm/DemoPay/index.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentForm.d.ts +18 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentFormTypes.d.ts +14 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentMethodDetails.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/PaymentMethodSelector.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/SavePaymentMethodFooter.d.ts +6 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/PaymentMethodForm.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/StripeForm.d.ts +7 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/useApproveHold.d.ts +13 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +12 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/hooks/useSave.d.ts +11 -0
- package/dist/cjs/types/src/components/PaymentForm/Stripe/stripeUtils.d.ts +29 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/useAutoSetDefaultPaymentMethod.d.ts +9 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/useHasActiveSubscription.d.ts +5 -0
- package/dist/cjs/types/src/components/PaymentForm/hooks/usePaymentMethodSelectorPlugin.d.ts +10 -0
- package/dist/cjs/types/src/components/PaymentForm/index.d.ts +1 -0
- package/dist/cjs/types/src/components/PaymentForm/useRemovePaymentMethod.d.ts +3 -0
- package/dist/cjs/types/src/components/PaymentForm/useSetDefaultPaymentMethod.d.ts +6 -0
- package/dist/cjs/types/src/components/Quote/AcceptQuoteModal.d.ts +10 -0
- package/dist/cjs/types/src/components/Quote/PaymentHoldModal.d.ts +7 -0
- package/dist/cjs/types/src/components/Quote/Quote.d.ts +3 -0
- package/dist/cjs/types/src/components/Quote/Quote.stories.d.ts +13 -0
- package/dist/cjs/types/src/components/Quote/StyledModal.d.ts +3 -0
- package/dist/cjs/types/src/components/Quote/index.d.ts +1 -0
- package/dist/cjs/types/src/components/QuoteProvider.d.ts +21 -0
- package/dist/cjs/types/src/components/Quotes/Quotes.d.ts +38 -0
- package/dist/cjs/types/src/components/Quotes/Quotes.stories.d.ts +22 -0
- package/dist/cjs/types/src/components/Quotes/index.d.ts +1 -0
- package/dist/cjs/types/src/components/Signup/CheckoutSummary.d.ts +14 -0
- package/dist/cjs/types/src/components/Signup/PaymentForms.d.ts +31 -0
- package/dist/cjs/types/src/components/Signup/PaymentSuccess.d.ts +8 -0
- package/dist/cjs/types/src/components/Signup/PriceListDisplay.d.ts +5 -0
- package/dist/cjs/types/src/components/Signup/Signup.d.ts +28 -0
- package/dist/cjs/types/src/components/Signup/Signup.stories.d.ts +9 -0
- package/dist/cjs/types/src/components/Signup/index.d.ts +1 -0
- package/dist/cjs/types/src/components/StateTag.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/AddonIndentation.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/AddonSubscriptionCards.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/CheckIcon.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/QuantityDrawerContainer.d.ts +15 -0
- package/dist/cjs/types/src/components/Subscriptions/SubscriptionRequests.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/Subscriptions.d.ts +27 -0
- package/dist/cjs/types/src/components/Subscriptions/Subscriptions.stories.d.ts +12 -0
- package/dist/cjs/types/src/components/Subscriptions/SubscriptionsListContainer.d.ts +16 -0
- package/dist/cjs/types/src/components/Subscriptions/TieredDisplayDropdown.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/NextPriceListButton.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/PlanPicker.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/PriceListGrid.d.ts +15 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutButton.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/BillingPeriodSelector.d.ts +11 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/FeatureGridCell.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/GridTemplateColumnsWrapper.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanAddonsCard.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanPickerGridCell.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListCardDesktop.d.ts +15 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +16 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddons.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonsList.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/planManagerUtils.d.ts +2 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +64 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +13 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListGridMobile.d.ts +11 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerUtils.d.ts +13 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCard.d.ts +12 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardButton.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardDescription.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardFeature.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPrice.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPriceDescription.d.ts +13 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardTitle.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/priceListCardUtils.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/BackButton.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/PreviewModeAdvisary.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/Upgrade.d.ts +11 -0
- package/dist/cjs/types/src/components/Subscriptions/Upgrade/index.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/index.d.ts +2 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridRow.d.ts +53 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridTitle.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuantityInput.d.ts +55 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/QuoteChangeSummarySection.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/quantityChangeDrawerDesktop/QuantityChangeDrawerDesktop.d.ts +30 -0
- package/dist/cjs/types/src/components/Subscriptions/quantityChangeDrawer/utils.d.ts +44 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/ChangeQuantitiesButton.d.ts +4 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/ShowInactiveToggle.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardHeader.d.ts +7 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeTotal.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeUnitPrice.d.ts +6 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/SubscriptionsNavigation.d.ts +10 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardColumnHeaders.d.ts +12 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktop.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionsCardCell.d.ts +9 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardCellMobile.d.ts +8 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardMobile.d.ts +5 -0
- package/dist/cjs/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +16 -0
- package/dist/cjs/types/src/components/Subscriptions/tagConsts.d.ts +1 -0
- package/dist/cjs/types/src/components/Subscriptions/util.d.ts +2 -0
- package/dist/cjs/types/src/components/TaxationForm.d.ts +6 -0
- package/dist/cjs/types/src/components/Transactions/Transactions.d.ts +55 -0
- package/dist/cjs/types/src/components/Transactions/Transactions.stories.d.ts +25 -0
- package/dist/cjs/types/src/components/Transactions/index.d.ts +1 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionDate.d.ts +4 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionDownload.d.ts +7 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionGridCell.d.ts +2 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionTitle.d.ts +5 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionsEmptyState.d.ts +2 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +7 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts +6 -0
- package/dist/cjs/types/src/components/Transactions/transactionsList/utils.d.ts +3 -0
- package/dist/cjs/types/src/components/icons/Amex.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/ArrowDownToLine.d.ts +5 -0
- package/dist/cjs/types/src/components/icons/Bancontact.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/CardIcon.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Cashapp.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/ChinaUnionPay.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/CreditCard.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/DinersClub.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Discover.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/IDeal.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/JSB.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Link.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Mastercard.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Sepa.d.ts +4 -0
- package/dist/cjs/types/src/components/icons/Visa.d.ts +4 -0
- package/dist/cjs/types/src/components/index.d.ts +12 -0
- package/dist/cjs/types/src/contexts/BrandContext.d.ts +6 -0
- package/dist/cjs/types/src/contexts/InvoiceQuoteContext.d.ts +16 -0
- package/dist/cjs/types/src/contexts/NavigationContext.d.ts +8 -0
- package/dist/cjs/types/src/contexts/PaymentContext.d.ts +10 -0
- package/dist/cjs/types/src/contexts/SubscriptionsContext.d.ts +14 -0
- package/dist/cjs/types/src/contexts/TransactionsListContext.d.ts +29 -0
- package/dist/cjs/types/src/enums/BillingPeriodConverter.d.ts +8 -0
- package/dist/cjs/types/src/enums/SubscriptionState.d.ts +9 -0
- package/dist/cjs/types/src/graphql/QuoteRequests.d.ts +23 -0
- package/dist/cjs/types/src/graphql/mutations/accountSignup.d.ts +11 -0
- package/dist/cjs/types/src/graphql/mutations/accountUpdate.d.ts +7 -0
- package/dist/cjs/types/src/graphql/mutations/billingDetailsUpdate.d.ts +6 -0
- package/dist/cjs/types/src/graphql/mutations/checkout.d.ts +23 -0
- package/dist/cjs/types/src/graphql/mutations/quoteAccountSignup.d.ts +15 -0
- package/dist/cjs/types/src/graphql/mutations/quoteAddonCreate.d.ts +7 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeAddCoupon.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeCreate.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeDelete.d.ts +6 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChangeRemoveCoupon.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChargeCreate.d.ts +13 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChargeDelete.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteChargeUpdate.d.ts +13 -0
- package/dist/cjs/types/src/graphql/mutations/quoteCompose.d.ts +12 -0
- package/dist/cjs/types/src/graphql/mutations/quoteCreate.d.ts +8 -0
- package/dist/cjs/types/src/graphql/mutations/quoteCreateWithDeal.d.ts +10 -0
- package/dist/cjs/types/src/graphql/mutations/quoteRecalculateTaxes.d.ts +6 -0
- package/dist/cjs/types/src/graphql/mutations/subscriptionTrialConvert.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getAddonPlans.d.ts +37 -0
- package/dist/cjs/types/src/graphql/queries/getBillingDetails.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getBranding.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getCoupons.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getCurrentUserData.d.ts +13 -0
- package/dist/cjs/types/src/graphql/queries/getFeatureUsage.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getFormattedInvoice.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getFormattedQuote.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getPriceList.d.ts +7 -0
- package/dist/cjs/types/src/graphql/queries/getPriceListChangeOptions.d.ts +9 -0
- package/dist/cjs/types/src/graphql/queries/getQuote.d.ts +9 -0
- package/dist/cjs/types/src/graphql/queries/getQuotes.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getTaxationRequiredAccountFields.d.ts +6 -0
- package/dist/cjs/types/src/graphql/queries/getTransactions.d.ts +3 -0
- package/dist/cjs/types/src/graphql-codegen/execute.d.ts +5 -0
- package/dist/cjs/types/src/graphql-codegen/graphql.d.ts +7 -0
- package/dist/cjs/types/src/hooks/quotes/useQuoteCreate.d.ts +9 -0
- package/dist/cjs/types/src/hooks/quotes/useQuoteQuantities.d.ts +14 -0
- package/dist/cjs/types/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +7 -0
- package/dist/cjs/types/src/hooks/quotes/useSendAcceptQuote.d.ts +18 -0
- package/dist/cjs/types/src/hooks/quotes/useSigningComplete.d.ts +5 -0
- package/dist/cjs/types/src/hooks/useCurrentUserData.d.ts +14 -0
- package/dist/cjs/types/src/hooks/useFocusFirstInput.d.ts +7 -0
- package/dist/cjs/types/src/hooks/useHasTaxPlugin.d.ts +5 -0
- package/dist/cjs/types/src/hooks/useIsExpired.d.ts +2 -0
- package/dist/cjs/types/src/hooks/usePaymentMethod.d.ts +11 -0
- package/dist/cjs/types/src/hooks/usePaymentPlugins.d.ts +30 -0
- package/dist/cjs/types/src/hooks/usePlugins.d.ts +5 -0
- package/dist/cjs/types/src/hooks/usePriceListChangeOptions.d.ts +9 -0
- package/dist/cjs/types/src/hooks/useSigningPlugins.d.ts +5 -0
- package/dist/cjs/types/src/hooks/useToggleAddonQuoteChange.d.ts +7 -0
- package/dist/cjs/types/src/hooks/useToken.d.ts +2 -0
- package/dist/cjs/types/src/hooks/useUpdateCoupons.d.ts +14 -0
- package/dist/cjs/types/src/index.d.ts +2 -0
- package/dist/cjs/types/src/mocks/browser.d.ts +1 -0
- package/dist/cjs/types/src/mocks/handlers.d.ts +1 -0
- package/dist/cjs/types/src/storybook-utils.d.ts +10 -0
- package/dist/cjs/types/src/styles/constants.d.ts +1 -0
- package/dist/cjs/types/src/types/billingDetails.d.ts +14 -0
- package/dist/cjs/types/src/types/shadowType.d.ts +1 -0
- package/dist/cjs/types/src/utils/GraphQLClient.d.ts +2 -0
- package/dist/cjs/types/src/utils/addonPlanUtils.d.ts +7 -0
- package/dist/cjs/types/src/utils/apiUtils.d.ts +15 -0
- package/dist/cjs/types/src/utils/chargeUtils.d.ts +2 -0
- package/dist/cjs/types/src/utils/couponUtils.d.ts +2 -0
- package/dist/cjs/types/src/utils/featureAddonUtils.d.ts +6 -0
- package/dist/cjs/types/src/utils/pricePickerUtils.d.ts +5 -0
- package/dist/cjs/types/src/utils/stringUtils.d.ts +1 -0
- package/dist/cjs/types/src/utils/styled.d.ts +3 -0
- package/dist/cjs/types/vite.config.d.ts +2 -0
- package/dist/esm/index.js +25760 -0
- package/dist/esm/types/playground/billingdetails/index.d.ts +1 -0
- package/dist/esm/types/playground/main.d.ts +1 -0
- package/dist/esm/types/playground/transactions/index.d.ts +1 -0
- package/dist/esm/types/src/ajax.d.ts +1 -0
- package/dist/esm/types/src/components/BillingDetails/BillingDetails.d.ts +16 -0
- package/dist/esm/types/src/components/BillingDetails/BillingDetails.stories.d.ts +14 -0
- package/dist/esm/types/src/components/BillingDetails/BillingDetailsForm.d.ts +8 -0
- package/dist/esm/types/src/components/BillingDetails/index.d.ts +1 -0
- package/dist/esm/types/src/components/BunnyProvider.d.ts +21 -0
- package/dist/esm/types/src/components/Card.d.ts +6 -0
- package/dist/esm/types/src/components/Checkout/Checkout.d.ts +13 -0
- package/dist/esm/types/src/components/Checkout/QuoteCheckout.d.ts +12 -0
- package/dist/esm/types/src/components/Checkout/checkoutUtils.d.ts +2 -0
- package/dist/esm/types/src/components/CustomizedAntdComponents/Tag.d.ts +37 -0
- package/dist/esm/types/src/components/DocumentTemplatePreview.d.ts +4 -0
- package/dist/esm/types/src/components/DrawerHeader.d.ts +7 -0
- package/dist/esm/types/src/components/Error.d.ts +5 -0
- package/dist/esm/types/src/components/FeatureUsageGraph.d.ts +6 -0
- package/dist/esm/types/src/components/Footer/BunnyFooterIcon.d.ts +4 -0
- package/dist/esm/types/src/components/Footer/Footer.d.ts +4 -0
- package/dist/esm/types/src/components/Footer/index.d.ts +1 -0
- package/dist/esm/types/src/components/HeaderModalWrapper.d.ts +2 -0
- package/dist/esm/types/src/components/Invoice/Invoice.d.ts +6 -0
- package/dist/esm/types/src/components/Invoice/Invoice.stories.d.ts +17 -0
- package/dist/esm/types/src/components/Invoice/InvoiceQuoteView.d.ts +12 -0
- package/dist/esm/types/src/components/Invoice/index.d.ts +7 -0
- package/dist/esm/types/src/components/LegacyInvoicePDF.d.ts +4 -0
- package/dist/esm/types/src/components/PandadocPollingModal.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/CheckoutFooter.d.ts +13 -0
- package/dist/esm/types/src/components/PaymentForm/CouponEditor.d.ts +10 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/CreditCard.d.ts +21 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/LargCardIcon.d.ts +2 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/PlusIcon.d.ts +4 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/CreditCard/index.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayCardCvc.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayCardNumber.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayExpiry.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/DemoPayForm.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/demoPayUtils.d.ts +21 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/useApproveHold.d.ts +13 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/usePay.d.ts +12 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/hooks/useSave.d.ts +22 -0
- package/dist/esm/types/src/components/PaymentForm/DemoPay/index.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentForm.d.ts +18 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentFormTypes.d.ts +14 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentMethodDetails.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/PaymentMethodSelector.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/SavePaymentMethodFooter.d.ts +6 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/PaymentMethodForm.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/StripeForm.d.ts +7 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/useApproveHold.d.ts +13 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/usePay.d.ts +12 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/hooks/useSave.d.ts +11 -0
- package/dist/esm/types/src/components/PaymentForm/Stripe/stripeUtils.d.ts +29 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/useAutoSetDefaultPaymentMethod.d.ts +9 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/useHasActiveSubscription.d.ts +5 -0
- package/dist/esm/types/src/components/PaymentForm/hooks/usePaymentMethodSelectorPlugin.d.ts +10 -0
- package/dist/esm/types/src/components/PaymentForm/index.d.ts +1 -0
- package/dist/esm/types/src/components/PaymentForm/useRemovePaymentMethod.d.ts +3 -0
- package/dist/esm/types/src/components/PaymentForm/useSetDefaultPaymentMethod.d.ts +6 -0
- package/dist/esm/types/src/components/Quote/AcceptQuoteModal.d.ts +10 -0
- package/dist/esm/types/src/components/Quote/PaymentHoldModal.d.ts +7 -0
- package/dist/esm/types/src/components/Quote/Quote.d.ts +3 -0
- package/dist/esm/types/src/components/Quote/Quote.stories.d.ts +13 -0
- package/dist/esm/types/src/components/Quote/StyledModal.d.ts +3 -0
- package/dist/esm/types/src/components/Quote/index.d.ts +1 -0
- package/dist/esm/types/src/components/QuoteProvider.d.ts +21 -0
- package/dist/esm/types/src/components/Quotes/Quotes.d.ts +38 -0
- package/dist/esm/types/src/components/Quotes/Quotes.stories.d.ts +22 -0
- package/dist/esm/types/src/components/Quotes/index.d.ts +1 -0
- package/dist/esm/types/src/components/Signup/CheckoutSummary.d.ts +14 -0
- package/dist/esm/types/src/components/Signup/PaymentForms.d.ts +31 -0
- package/dist/esm/types/src/components/Signup/PaymentSuccess.d.ts +8 -0
- package/dist/esm/types/src/components/Signup/PriceListDisplay.d.ts +5 -0
- package/dist/esm/types/src/components/Signup/Signup.d.ts +28 -0
- package/dist/esm/types/src/components/Signup/Signup.stories.d.ts +9 -0
- package/dist/esm/types/src/components/Signup/index.d.ts +1 -0
- package/dist/esm/types/src/components/StateTag.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/AddonIndentation.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/AddonSubscriptionCards.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/CheckIcon.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/QuantityDrawerContainer.d.ts +15 -0
- package/dist/esm/types/src/components/Subscriptions/SubscriptionRequests.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/Subscriptions.d.ts +27 -0
- package/dist/esm/types/src/components/Subscriptions/Subscriptions.stories.d.ts +12 -0
- package/dist/esm/types/src/components/Subscriptions/SubscriptionsListContainer.d.ts +16 -0
- package/dist/esm/types/src/components/Subscriptions/TieredDisplayDropdown.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/NextPriceListButton.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/PlanPicker.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/PriceListGrid.d.ts +15 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarInput.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutBarSummarySection.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutButton.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/CheckoutPrice.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/checkoutBar/PlanPickerCheckoutBar.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/BillingPeriodSelector.d.ts +11 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/EverythingPlanFeatures.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/FeatureGridCell.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/GridTemplateColumnsWrapper.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanAddonsCard.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanFeatures.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PlanPickerGridCell.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListCardDesktop.d.ts +15 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/PriceListGridDesktop.d.ts +16 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddons.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/featureAddons/FeatureAddonsList.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/planManagerUtils.d.ts +2 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerDesktop/util.d.ts +64 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListCardMobile.d.ts +13 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerMobile/PriceListGridMobile.d.ts +11 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/planPickerUtils.d.ts +13 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCard.d.ts +12 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardButton.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardDescription.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardFeature.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPrice.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardPriceDescription.d.ts +13 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/PriceListCardTitle.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListCard/priceListCardUtils.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/BackButton.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PlanPicker/priceListSelector/PriceListSelector.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/PreviewModeAdvisary.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/Upgrade.d.ts +11 -0
- package/dist/esm/types/src/components/Subscriptions/Upgrade/index.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/index.d.ts +2 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridRow.d.ts +53 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuantityChangeGridTitle.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuantityInput.d.ts +55 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/QuoteChangeSummarySection.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/quantityChangeDrawerDesktop/QuantityChangeDrawerDesktop.d.ts +30 -0
- package/dist/esm/types/src/components/Subscriptions/quantityChangeDrawer/utils.d.ts +44 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/ChangeQuantitiesButton.d.ts +4 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/ShowInactiveToggle.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardActions.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionCardHeader.d.ts +7 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeTotal.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionChargeUnitPrice.d.ts +6 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionsList.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/SubscriptionsNavigation.d.ts +10 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardColumnHeaders.d.ts +12 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionCardDesktop.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardDesktop/SubscriptionsCardCell.d.ts +9 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardCellMobile.d.ts +8 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionCardMobile/SubscriptionCardMobile.d.ts +5 -0
- package/dist/esm/types/src/components/Subscriptions/subscriptionsList/subscriptionUtils.d.ts +16 -0
- package/dist/esm/types/src/components/Subscriptions/tagConsts.d.ts +1 -0
- package/dist/esm/types/src/components/Subscriptions/util.d.ts +2 -0
- package/dist/esm/types/src/components/TaxationForm.d.ts +6 -0
- package/dist/esm/types/src/components/Transactions/Transactions.d.ts +55 -0
- package/dist/esm/types/src/components/Transactions/Transactions.stories.d.ts +25 -0
- package/dist/esm/types/src/components/Transactions/index.d.ts +1 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionDate.d.ts +4 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionDownload.d.ts +7 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionGridCell.d.ts +2 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionTitle.d.ts +5 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsEmptyState.d.ts +2 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts +7 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts +6 -0
- package/dist/esm/types/src/components/Transactions/transactionsList/utils.d.ts +3 -0
- package/dist/esm/types/src/components/icons/Amex.d.ts +4 -0
- package/dist/esm/types/src/components/icons/ArrowDownToLine.d.ts +5 -0
- package/dist/esm/types/src/components/icons/Bancontact.d.ts +4 -0
- package/dist/esm/types/src/components/icons/CardIcon.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Cashapp.d.ts +4 -0
- package/dist/esm/types/src/components/icons/ChinaUnionPay.d.ts +4 -0
- package/dist/esm/types/src/components/icons/CreditCard.d.ts +4 -0
- package/dist/esm/types/src/components/icons/DinersClub.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Discover.d.ts +4 -0
- package/dist/esm/types/src/components/icons/IDeal.d.ts +4 -0
- package/dist/esm/types/src/components/icons/JSB.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Link.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Mastercard.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Sepa.d.ts +4 -0
- package/dist/esm/types/src/components/icons/Visa.d.ts +4 -0
- package/dist/esm/types/src/components/index.d.ts +12 -0
- package/dist/esm/types/src/contexts/BrandContext.d.ts +6 -0
- package/dist/esm/types/src/contexts/InvoiceQuoteContext.d.ts +16 -0
- package/dist/esm/types/src/contexts/NavigationContext.d.ts +8 -0
- package/dist/esm/types/src/contexts/PaymentContext.d.ts +10 -0
- package/dist/esm/types/src/contexts/SubscriptionsContext.d.ts +14 -0
- package/dist/esm/types/src/contexts/TransactionsListContext.d.ts +29 -0
- package/dist/esm/types/src/enums/BillingPeriodConverter.d.ts +8 -0
- package/dist/esm/types/src/enums/SubscriptionState.d.ts +9 -0
- package/dist/esm/types/src/graphql/QuoteRequests.d.ts +23 -0
- package/dist/esm/types/src/graphql/mutations/accountSignup.d.ts +11 -0
- package/dist/esm/types/src/graphql/mutations/accountUpdate.d.ts +7 -0
- package/dist/esm/types/src/graphql/mutations/billingDetailsUpdate.d.ts +6 -0
- package/dist/esm/types/src/graphql/mutations/checkout.d.ts +23 -0
- package/dist/esm/types/src/graphql/mutations/quoteAccountSignup.d.ts +15 -0
- package/dist/esm/types/src/graphql/mutations/quoteAddonCreate.d.ts +7 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeAddCoupon.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeCreate.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeDelete.d.ts +6 -0
- package/dist/esm/types/src/graphql/mutations/quoteChangeRemoveCoupon.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChargeCreate.d.ts +13 -0
- package/dist/esm/types/src/graphql/mutations/quoteChargeDelete.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteChargeUpdate.d.ts +13 -0
- package/dist/esm/types/src/graphql/mutations/quoteCompose.d.ts +12 -0
- package/dist/esm/types/src/graphql/mutations/quoteCreate.d.ts +8 -0
- package/dist/esm/types/src/graphql/mutations/quoteCreateWithDeal.d.ts +10 -0
- package/dist/esm/types/src/graphql/mutations/quoteRecalculateTaxes.d.ts +6 -0
- package/dist/esm/types/src/graphql/mutations/subscriptionTrialConvert.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getAddonPlans.d.ts +37 -0
- package/dist/esm/types/src/graphql/queries/getBillingDetails.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getBranding.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getCoupons.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getCurrentUserData.d.ts +13 -0
- package/dist/esm/types/src/graphql/queries/getFeatureUsage.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getFormattedInvoice.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getFormattedQuote.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getPriceList.d.ts +7 -0
- package/dist/esm/types/src/graphql/queries/getPriceListChangeOptions.d.ts +9 -0
- package/dist/esm/types/src/graphql/queries/getQuote.d.ts +9 -0
- package/dist/esm/types/src/graphql/queries/getQuotes.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getTaxationRequiredAccountFields.d.ts +6 -0
- package/dist/esm/types/src/graphql/queries/getTransactions.d.ts +3 -0
- package/dist/esm/types/src/graphql-codegen/execute.d.ts +5 -0
- package/dist/esm/types/src/graphql-codegen/graphql.d.ts +7 -0
- package/dist/esm/types/src/hooks/quotes/useQuoteCreate.d.ts +9 -0
- package/dist/esm/types/src/hooks/quotes/useQuoteQuantities.d.ts +14 -0
- package/dist/esm/types/src/hooks/quotes/useQuoteUpdateFeatureAddon.d.ts +7 -0
- package/dist/esm/types/src/hooks/quotes/useSendAcceptQuote.d.ts +18 -0
- package/dist/esm/types/src/hooks/quotes/useSigningComplete.d.ts +5 -0
- package/dist/esm/types/src/hooks/useCurrentUserData.d.ts +14 -0
- package/dist/esm/types/src/hooks/useFocusFirstInput.d.ts +7 -0
- package/dist/esm/types/src/hooks/useHasTaxPlugin.d.ts +5 -0
- package/dist/esm/types/src/hooks/useIsExpired.d.ts +2 -0
- package/dist/esm/types/src/hooks/usePaymentMethod.d.ts +11 -0
- package/dist/esm/types/src/hooks/usePaymentPlugins.d.ts +30 -0
- package/dist/esm/types/src/hooks/usePlugins.d.ts +5 -0
- package/dist/esm/types/src/hooks/usePriceListChangeOptions.d.ts +9 -0
- package/dist/esm/types/src/hooks/useSigningPlugins.d.ts +5 -0
- package/dist/esm/types/src/hooks/useToggleAddonQuoteChange.d.ts +7 -0
- package/dist/esm/types/src/hooks/useToken.d.ts +2 -0
- package/dist/esm/types/src/hooks/useUpdateCoupons.d.ts +14 -0
- package/dist/esm/types/src/index.d.ts +2 -0
- package/dist/esm/types/src/mocks/browser.d.ts +1 -0
- package/dist/esm/types/src/mocks/handlers.d.ts +1 -0
- package/dist/esm/types/src/storybook-utils.d.ts +10 -0
- package/dist/esm/types/src/styles/constants.d.ts +1 -0
- package/dist/esm/types/src/types/billingDetails.d.ts +14 -0
- package/dist/esm/types/src/types/shadowType.d.ts +1 -0
- package/dist/esm/types/src/utils/GraphQLClient.d.ts +2 -0
- package/dist/esm/types/src/utils/addonPlanUtils.d.ts +7 -0
- package/dist/esm/types/src/utils/apiUtils.d.ts +15 -0
- package/dist/esm/types/src/utils/chargeUtils.d.ts +2 -0
- package/dist/esm/types/src/utils/couponUtils.d.ts +2 -0
- package/dist/esm/types/src/utils/featureAddonUtils.d.ts +6 -0
- package/dist/esm/types/src/utils/pricePickerUtils.d.ts +5 -0
- package/dist/esm/types/src/utils/stringUtils.d.ts +1 -0
- package/dist/esm/types/src/utils/styled.d.ts +3 -0
- package/dist/esm/types/vite.config.d.ts +2 -0
- package/dist/index.d.ts +232 -0
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Transaction, TransactionKind } from '@bunnyapp/common';
|
|
3
|
+
import { ShadowType } from '../../types/shadowType';
|
|
4
|
+
import { TransactionListColumnType } from './transactionsList/TransactionsListDesktop';
|
|
5
|
+
import { TransactionDateType } from '../../contexts/TransactionsListContext';
|
|
6
|
+
export default function Transactions({ transactionComponent, showSearchBar, showTitle, title, columns, className, shadow, searchBarClassName, useModal, onTransactionClick, suppressTransactionDisplay, kindsToShow, style, filter, noTransactionsMessage, filterTransactions, sortTransactions, transactionDateType, hidePaymentForm, }: {
|
|
7
|
+
/** A custom component to render instead of the default invoice component */
|
|
8
|
+
transactionComponent?: React.ReactNode;
|
|
9
|
+
/** Whether to show the search bar */
|
|
10
|
+
showSearchBar?: boolean;
|
|
11
|
+
/** Whether to show the title */
|
|
12
|
+
showTitle?: boolean;
|
|
13
|
+
/** The title to display in the transactions list */
|
|
14
|
+
title?: string;
|
|
15
|
+
/** The columns to display in the transactions list */
|
|
16
|
+
columns?: TransactionListColumnType[];
|
|
17
|
+
/** A custom class name to apply to the component */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** Whether to use a modal for the invoice drawer */
|
|
20
|
+
useModal?: boolean;
|
|
21
|
+
/** Whether to show a shadow around the transactions list */
|
|
22
|
+
shadow?: ShadowType;
|
|
23
|
+
/** A custom class name to apply to the search bar */
|
|
24
|
+
searchBarClassName?: string;
|
|
25
|
+
/** A function to call when a transaction is clicked */
|
|
26
|
+
onTransactionClick?: (transaction: Transaction) => void;
|
|
27
|
+
/** Whether to hide the display showing the transaction */
|
|
28
|
+
suppressTransactionDisplay?: boolean;
|
|
29
|
+
/** The kinds of transactions to show */
|
|
30
|
+
kindsToShow?: TransactionKind[];
|
|
31
|
+
/** A custom style to apply to the component */
|
|
32
|
+
style?: React.CSSProperties;
|
|
33
|
+
/** A filter to apply to the transactions. Docs on filter: https://docs.bunny.com/developer/getting-started/using-filters-in-queries
|
|
34
|
+
* Filtering is applied on the api side, potentially speeding up the transactions query
|
|
35
|
+
*/
|
|
36
|
+
filter?: string;
|
|
37
|
+
/** Message to display when there are no transactions */
|
|
38
|
+
noTransactionsMessage?: string;
|
|
39
|
+
/** A function to filter the transactions
|
|
40
|
+
* Filtering is applied on the client side.
|
|
41
|
+
* This is useful to have more control over the filtering logic.
|
|
42
|
+
*/
|
|
43
|
+
filterTransactions?: (transaction: Transaction) => boolean;
|
|
44
|
+
/** A function to sort the transactions. Runs on the client side. */
|
|
45
|
+
sortTransactions?: (transactionA: Transaction, transactionB: Transaction) => number;
|
|
46
|
+
/** The type of date to display for transactions if applicable. Payments will always only show createdAt date. */
|
|
47
|
+
transactionDateType?: TransactionDateType;
|
|
48
|
+
/** Whether to hide the payment form on invoices */
|
|
49
|
+
hidePaymentForm?: boolean;
|
|
50
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export declare function TransactionsDisplay({ transactions, onSearchValueChanged, search, }: {
|
|
52
|
+
transactions: Transaction[] | undefined;
|
|
53
|
+
onSearchValueChanged: (value: string) => void;
|
|
54
|
+
search: string;
|
|
55
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import Transactions from "./Transactions";
|
|
3
|
+
declare const meta: Meta<typeof Transactions>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const basicArgs: {
|
|
7
|
+
token: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const Default: Story;
|
|
10
|
+
export declare const Padding0BGRed: Story;
|
|
11
|
+
export declare const NoShadow: Story;
|
|
12
|
+
export declare const WithModal: Story;
|
|
13
|
+
export declare const HideSearchBar: Story;
|
|
14
|
+
export declare const HideTitle: Story;
|
|
15
|
+
export declare const HideTitleAndSearchBar: Story;
|
|
16
|
+
export declare const CustomTitle: Story;
|
|
17
|
+
export declare const Mobile: Story;
|
|
18
|
+
export declare const WithCustomTransactionComponent: Story;
|
|
19
|
+
export declare const WithCustomColumns1: Story;
|
|
20
|
+
export declare const WithCustomColumns2: Story;
|
|
21
|
+
export declare const WithCustomColumns3: Story;
|
|
22
|
+
export declare const WithCustomColumns4: Story;
|
|
23
|
+
export declare const WithCustomColumns5: Story;
|
|
24
|
+
export declare const DarkMode: Story;
|
|
25
|
+
export declare const CustomColors: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Transactions";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Transaction } from '@bunnyapp/common';
|
|
2
|
+
declare const TransactionDownload: ({ transaction, token, apiHost, }: {
|
|
3
|
+
transaction: Transaction;
|
|
4
|
+
token?: string;
|
|
5
|
+
apiHost: string;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export default TransactionDownload;
|
package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsListDesktop.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Transaction } from '@bunnyapp/common';
|
|
2
|
+
export type TransactionListColumnType = 'date' | 'title' | 'state' | 'amount' | 'download' | 'accountName';
|
|
3
|
+
declare const TransactionsListDesktop: ({ transactions, onTransactionClick, }: {
|
|
4
|
+
transactions: Transaction[] | undefined;
|
|
5
|
+
onTransactionClick?: (transaction: Transaction) => void;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default TransactionsListDesktop;
|
package/dist/esm/types/src/components/Transactions/transactionsList/TransactionsListMobile.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Transaction } from '@bunnyapp/common';
|
|
2
|
+
declare const TransactionsListMobile: ({ transactions, onTransactionClick, }: {
|
|
3
|
+
transactions: Transaction[] | undefined;
|
|
4
|
+
onTransactionClick: (transaction: Transaction) => void;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default TransactionsListMobile;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { Invoice } from './Invoice';
|
|
2
|
+
export { Quote } from './Quote';
|
|
3
|
+
export { Quotes } from './Quotes';
|
|
4
|
+
export { PaymentForm } from './PaymentForm';
|
|
5
|
+
export { Signup } from './Signup';
|
|
6
|
+
export { default as BunnyProvider } from './BunnyProvider';
|
|
7
|
+
export { default as Transactions } from './Transactions';
|
|
8
|
+
export { Subscriptions } from './Subscriptions';
|
|
9
|
+
export { BillingDetails } from './BillingDetails';
|
|
10
|
+
export { Footer } from './Footer';
|
|
11
|
+
export { MiniCreditCard } from './PaymentForm/DemoPay/CreditCard';
|
|
12
|
+
export { Upgrade } from './Subscriptions';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ShadowType } from '../types/shadowType';
|
|
2
|
+
import { FormattedInvoice, FormattedQuote } from '@bunnyapp/common';
|
|
3
|
+
export type InvoiceQuoteContextProps = {
|
|
4
|
+
id?: string;
|
|
5
|
+
invoiceQuoteViewComponent?: React.ReactNode;
|
|
6
|
+
backButtonName?: string;
|
|
7
|
+
onBackButtonClick?: () => void;
|
|
8
|
+
onInvoiceDownloadError?: () => void;
|
|
9
|
+
onPaymentSuccess?: (savePaymentMethod?: boolean) => void;
|
|
10
|
+
shadow?: ShadowType;
|
|
11
|
+
className?: string;
|
|
12
|
+
hideDownloadButton?: boolean;
|
|
13
|
+
onInvoiceLoaded?: (formattedInvoice: FormattedInvoice) => void;
|
|
14
|
+
onQuoteLoaded?: (formattedQuote: FormattedQuote) => void;
|
|
15
|
+
};
|
|
16
|
+
export declare const InvoiceQuoteContext: import("react").Context<InvoiceQuoteContextProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type NavigationContextValues = {
|
|
2
|
+
searchParams: URLSearchParams;
|
|
3
|
+
location: Location;
|
|
4
|
+
apiHost: string;
|
|
5
|
+
navigate?: (url: string) => void;
|
|
6
|
+
navigateBackAfterDownload?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const NavigationContext: import("react").Context<NavigationContextValues>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PaymentMethod, PluginData } from '@bunnyapp/common';
|
|
2
|
+
export type PaymentContextValues = {
|
|
3
|
+
onClickCancel?: () => void;
|
|
4
|
+
accountId?: string;
|
|
5
|
+
overrideToken?: string;
|
|
6
|
+
storedPaymentMethods?: PaymentMethod[];
|
|
7
|
+
defaultPaymentMethod?: PaymentMethod;
|
|
8
|
+
customCheckoutFunction?: (plugin: PluginData | undefined) => Promise<any>;
|
|
9
|
+
};
|
|
10
|
+
export declare const PaymentContext: import("react").Context<PaymentContextValues>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Subscription } from '@bunnyapp/common';
|
|
2
|
+
export type SubscriptionsContextValues = {
|
|
3
|
+
gap?: number;
|
|
4
|
+
shadow?: 'none' | 'sm' | 'md' | 'lg';
|
|
5
|
+
showTitle?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
subscriptionProductNameStyle?: React.CSSProperties;
|
|
8
|
+
productId?: string;
|
|
9
|
+
isInPreviewMode: boolean;
|
|
10
|
+
showInactiveSubscriptions?: boolean;
|
|
11
|
+
upgradingSubscription?: Subscription;
|
|
12
|
+
setUpgradingSubscription: React.Dispatch<React.SetStateAction<Subscription | undefined>>;
|
|
13
|
+
};
|
|
14
|
+
export declare const SubscriptionsContext: import("react").Context<SubscriptionsContextValues>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Transaction, TransactionKind } from '@bunnyapp/common';
|
|
2
|
+
import { ShadowType } from '../types/shadowType';
|
|
3
|
+
import { TransactionListColumnType } from '../components/Transactions/transactionsList/TransactionsListDesktop';
|
|
4
|
+
export type TransactionsContextValues = {
|
|
5
|
+
showSearchBar?: boolean;
|
|
6
|
+
showTitle?: boolean;
|
|
7
|
+
title?: string;
|
|
8
|
+
transactionComponent?: React.ReactNode;
|
|
9
|
+
transactionStateRenderer?: (state: string) => React.ReactNode;
|
|
10
|
+
columns: TransactionListColumnType[];
|
|
11
|
+
className?: string;
|
|
12
|
+
shadow?: ShadowType;
|
|
13
|
+
searchBarClassName?: string;
|
|
14
|
+
useModal?: boolean;
|
|
15
|
+
onTransactionClick?: (transaction: Transaction) => void;
|
|
16
|
+
onTransactionDisplayClose?: (transaction: Transaction | null) => void;
|
|
17
|
+
suppressTransactionDisplay?: boolean;
|
|
18
|
+
kindsToShow?: TransactionKind[];
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
filter?: string;
|
|
21
|
+
noTransactionsMessage?: string;
|
|
22
|
+
downloadTransactionLink?: (id: string) => string;
|
|
23
|
+
filterTransactions?: (transaction: Transaction) => boolean;
|
|
24
|
+
sortTransactions?: (transactionA: Transaction, transactionB: Transaction) => number;
|
|
25
|
+
transactionDateType: TransactionDateType;
|
|
26
|
+
hidePaymentForm?: boolean;
|
|
27
|
+
};
|
|
28
|
+
export type TransactionDateType = 'createdAt' | 'issuedAt' | 'dueAt';
|
|
29
|
+
export declare const TransactionsListContext: import("react").Context<TransactionsContextValues>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const quoteSubscriptionUpgrade: ({ subscriptionId, priceListId, apiHost, token, }: {
|
|
2
|
+
subscriptionId: string;
|
|
3
|
+
priceListId: string;
|
|
4
|
+
apiHost: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
}) => Promise<unknown>;
|
|
7
|
+
export declare const useCreateSubscriptionQuote: () => (subscriptionIds: string[], apiHost: string, token?: string) => Promise<unknown>;
|
|
8
|
+
export declare const useQuoteChangeUpdate: () => (charges: {
|
|
9
|
+
id: string;
|
|
10
|
+
quantity: number;
|
|
11
|
+
}[], quoteChangeId: string, apiHost: string, token?: string) => Promise<any>;
|
|
12
|
+
export declare const useQuoteDelete: () => (quoteId: string, apiHost: string, token?: string) => Promise<unknown>;
|
|
13
|
+
export declare const quoteSubscriptionAddon: ({ subscriptionId, priceListId, apiHost, token, }: {
|
|
14
|
+
subscriptionId: string;
|
|
15
|
+
priceListId?: string;
|
|
16
|
+
apiHost: string;
|
|
17
|
+
token?: string;
|
|
18
|
+
}) => Promise<unknown>;
|
|
19
|
+
export declare const quoteSubscriptionActivate: ({ subscriptionId, apiHost, token, }: {
|
|
20
|
+
subscriptionId: string;
|
|
21
|
+
apiHost: string;
|
|
22
|
+
token?: string;
|
|
23
|
+
}) => Promise<unknown>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const accountSignup: ({ token, apiHost, accountId, quoteId, paymentToken, paymentMethodId, pluginId, priceListCode, }: {
|
|
2
|
+
token: string;
|
|
3
|
+
apiHost: string;
|
|
4
|
+
accountId: string;
|
|
5
|
+
quoteId?: string;
|
|
6
|
+
paymentToken?: string;
|
|
7
|
+
paymentMethodId?: string;
|
|
8
|
+
pluginId: string;
|
|
9
|
+
priceListCode: string;
|
|
10
|
+
}) => Promise<any>;
|
|
11
|
+
export default accountSignup;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Payment, Invoice, Transaction, PaymentApplication } from '@bunnyapp/common';
|
|
2
|
+
export type CheckoutResponse = {
|
|
3
|
+
invoice: Invoice;
|
|
4
|
+
payment: Payment;
|
|
5
|
+
paymentApplication: PaymentApplication;
|
|
6
|
+
transaction: Transaction;
|
|
7
|
+
};
|
|
8
|
+
declare const checkout: ({ quoteId, invoiceId, paymentMethodId, paymentMethodData, token, apiHost, }: {
|
|
9
|
+
quoteId?: string;
|
|
10
|
+
invoiceId?: string;
|
|
11
|
+
paymentMethodId?: string;
|
|
12
|
+
paymentMethodData?: {
|
|
13
|
+
token: string;
|
|
14
|
+
pluginGuid: string;
|
|
15
|
+
savePaymentMethod?: boolean;
|
|
16
|
+
metadata?: Record<string, any>;
|
|
17
|
+
};
|
|
18
|
+
token?: string;
|
|
19
|
+
apiHost: string;
|
|
20
|
+
}) => Promise<{
|
|
21
|
+
savePaymentMethod: boolean | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export default checkout;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import BillingDetails from '../../types/billingDetails';
|
|
2
|
+
type BillingContact = {
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
email: string;
|
|
6
|
+
};
|
|
7
|
+
declare const quoteAccountSignup: ({ token, apiHost, priceListCode, accountName, billingContact, billingDetails, }: {
|
|
8
|
+
token?: string;
|
|
9
|
+
apiHost: string;
|
|
10
|
+
priceListCode: string;
|
|
11
|
+
accountName: string;
|
|
12
|
+
billingContact: BillingContact;
|
|
13
|
+
billingDetails?: BillingDetails;
|
|
14
|
+
}) => Promise<any>;
|
|
15
|
+
export default quoteAccountSignup;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Quote } from '@bunnyapp/common';
|
|
2
|
+
declare const quoteChangeAddCoupon: ({ quoteChangeId, couponCode, token, apiHost, }: {
|
|
3
|
+
quoteChangeId: string;
|
|
4
|
+
couponCode: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
apiHost: string;
|
|
7
|
+
}) => Promise<Quote>;
|
|
8
|
+
export default quoteChangeAddCoupon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const quoteChangeCreate: ({ parentQuoteChangeId, priceListId, apiHost, token, quoteId, }: {
|
|
2
|
+
parentQuoteChangeId: string | null;
|
|
3
|
+
priceListId: string | null;
|
|
4
|
+
apiHost: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
quoteId: string;
|
|
7
|
+
}) => Promise<any>;
|
|
8
|
+
export default quoteChangeCreate;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Quote } from '@bunnyapp/common';
|
|
2
|
+
declare const quoteChangeRemoveCoupon: ({ quoteChangeId, couponCode, token, apiHost, }: {
|
|
3
|
+
quoteChangeId: string;
|
|
4
|
+
couponCode: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
apiHost: string;
|
|
7
|
+
}) => Promise<Quote>;
|
|
8
|
+
export default quoteChangeRemoveCoupon;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QuoteCharge } from '@bunnyapp/common';
|
|
2
|
+
type QuoteChangeCreateChargeProps = {
|
|
3
|
+
apiHost: string;
|
|
4
|
+
price?: number;
|
|
5
|
+
priceListChargeId?: string;
|
|
6
|
+
quantity?: number;
|
|
7
|
+
quoteChangeId: string;
|
|
8
|
+
startDate: string;
|
|
9
|
+
subscriptionChargeId?: string;
|
|
10
|
+
token?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const quoteChargeCreate: ({ price, priceListChargeId, quantity, quoteChangeId, startDate, subscriptionChargeId, token, apiHost, }: QuoteChangeCreateChargeProps) => Promise<QuoteCharge>;
|
|
13
|
+
export default quoteChargeCreate;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { QuoteCharge } from '@bunnyapp/common';
|
|
2
|
+
type QuoteChargeDeleteProps = {
|
|
3
|
+
apiHost: string;
|
|
4
|
+
quoteChargeId: string;
|
|
5
|
+
token?: string;
|
|
6
|
+
};
|
|
7
|
+
declare const quoteChargeDelete: ({ quoteChargeId, token, apiHost }: QuoteChargeDeleteProps) => Promise<QuoteCharge>;
|
|
8
|
+
export default quoteChargeDelete;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { QuoteCharge } from '@bunnyapp/common';
|
|
2
|
+
declare const quoteChargeUpdate: ({ discount, name, price, quantity, quoteChargeId, startDate, subtotal, apiHost, token, }: {
|
|
3
|
+
discount?: number;
|
|
4
|
+
name?: string;
|
|
5
|
+
price?: number;
|
|
6
|
+
quantity?: number;
|
|
7
|
+
quoteChargeId: string;
|
|
8
|
+
startDate?: string;
|
|
9
|
+
subtotal?: number;
|
|
10
|
+
apiHost: string;
|
|
11
|
+
token: string;
|
|
12
|
+
}) => Promise<QuoteCharge>;
|
|
13
|
+
export default quoteChargeUpdate;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Quote } from '@bunnyapp/common';
|
|
2
|
+
type Options = {
|
|
3
|
+
quoteId?: string;
|
|
4
|
+
priceListId?: string;
|
|
5
|
+
subscriptionId?: string;
|
|
6
|
+
quantity?: number;
|
|
7
|
+
accountId?: string;
|
|
8
|
+
token?: string;
|
|
9
|
+
apiHost: string;
|
|
10
|
+
};
|
|
11
|
+
declare const quoteCompose: ({ quoteId, priceListId, subscriptionId, quantity, accountId, token, apiHost, }: Options) => Promise<Quote>;
|
|
12
|
+
export default quoteCompose;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Quote } from '@bunnyapp/common';
|
|
2
|
+
type Options = {
|
|
3
|
+
dealAttributes: any;
|
|
4
|
+
quoteAttributes: any;
|
|
5
|
+
token?: string;
|
|
6
|
+
apiHost: string;
|
|
7
|
+
accountId: string;
|
|
8
|
+
};
|
|
9
|
+
declare const quoteCreateWithDeal: ({ dealAttributes, quoteAttributes, accountId, token, apiHost, }: Options) => Promise<Quote>;
|
|
10
|
+
export default quoteCreateWithDeal;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Plan } from '@bunnyapp/common';
|
|
2
|
+
declare const getAddonPlans: ({ token, id, apiHost, }: {
|
|
3
|
+
token?: string;
|
|
4
|
+
id: string;
|
|
5
|
+
apiHost: string;
|
|
6
|
+
}) => Promise<{
|
|
7
|
+
priceLists: import("@bunnyapp/common").PriceList[];
|
|
8
|
+
addon?: boolean;
|
|
9
|
+
compatiblePlans?: Plan[];
|
|
10
|
+
addonPlans?: Plan[];
|
|
11
|
+
availableFrom?: string;
|
|
12
|
+
availableTo?: string;
|
|
13
|
+
basePrice?: number;
|
|
14
|
+
code?: string;
|
|
15
|
+
contactUsLabel?: string;
|
|
16
|
+
contactUsUrl?: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
features?: import("@bunnyapp/common").Feature[];
|
|
20
|
+
id: string;
|
|
21
|
+
internalNotes?: string;
|
|
22
|
+
isAvailableNow?: boolean;
|
|
23
|
+
isVisible?: boolean;
|
|
24
|
+
name: string;
|
|
25
|
+
planFeatures?: import("@bunnyapp/common").PlanFeature[];
|
|
26
|
+
position: number;
|
|
27
|
+
pricingDescription?: string;
|
|
28
|
+
pricingStyle: import("@bunnyapp/common").PricingStyle;
|
|
29
|
+
product: import("@bunnyapp/common").Product;
|
|
30
|
+
productId: string;
|
|
31
|
+
selfServiceBuy?: boolean;
|
|
32
|
+
selfServiceCancel?: boolean;
|
|
33
|
+
selfServiceRenew?: boolean;
|
|
34
|
+
trialEndDate?: string;
|
|
35
|
+
updatedAt: string;
|
|
36
|
+
}[]>;
|
|
37
|
+
export default getAddonPlans;
|