@burdenoff/microfe-billing 2026.522.1 → 2026.525.1
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/billing/modules/checkout/components/RazorpayPaymentButton.js +58 -88
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js.map +1 -1
- package/package.json +1 -1
- package/dist/billing/BillingAdminRoutes.d.ts +0 -6
- package/dist/billing/BillingAdminRoutes.d.ts.map +0 -1
- package/dist/billing/BillingRoot.d.ts +0 -37
- package/dist/billing/BillingRoot.d.ts.map +0 -1
- package/dist/billing/BillingUserRoutes.d.ts +0 -7
- package/dist/billing/BillingUserRoutes.d.ts.map +0 -1
- package/dist/billing/constants/permissions.d.ts +0 -18
- package/dist/billing/constants/permissions.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingAccountSelection.d.ts +0 -36
- package/dist/billing/hooks/useBillingAccountSelection.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingEventEmitter.d.ts +0 -8
- package/dist/billing/hooks/useBillingEventEmitter.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingNavigate.d.ts +0 -30
- package/dist/billing/hooks/useBillingNavigate.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingPermissions.d.ts +0 -106
- package/dist/billing/hooks/useBillingPermissions.d.ts.map +0 -1
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts +0 -14
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts.map +0 -1
- package/dist/billing/index.d.ts +0 -31
- package/dist/billing/index.d.ts.map +0 -1
- package/dist/billing/lib/native-purchases.d.ts +0 -51
- package/dist/billing/lib/native-purchases.d.ts.map +0 -1
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts +0 -4
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts.map +0 -1
- package/dist/billing/modules/addons/components/index.d.ts +0 -5
- package/dist/billing/modules/addons/components/index.d.ts.map +0 -1
- package/dist/billing/modules/addons/hooks/index.d.ts +0 -6
- package/dist/billing/modules/addons/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/addons/hooks/useAddons.d.ts +0 -55
- package/dist/billing/modules/addons/hooks/useAddons.d.ts.map +0 -1
- package/dist/billing/modules/addons/index.d.ts +0 -7
- package/dist/billing/modules/addons/index.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts +0 -4
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts +0 -4
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts +0 -4
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts +0 -4
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts +0 -4
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts +0 -4
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/index.d.ts +0 -11
- package/dist/billing/modules/addons/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/addons/store/addonCartStore.d.ts +0 -38
- package/dist/billing/modules/addons/store/addonCartStore.d.ts.map +0 -1
- package/dist/billing/modules/affiliate/api.d.ts +0 -101
- package/dist/billing/modules/affiliate/api.d.ts.map +0 -1
- package/dist/billing/modules/affiliate/index.d.ts +0 -2
- package/dist/billing/modules/affiliate/index.d.ts.map +0 -1
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts +0 -4
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts.map +0 -1
- package/dist/billing/modules/analytics/index.d.ts +0 -5
- package/dist/billing/modules/analytics/index.d.ts.map +0 -1
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts +0 -4
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts.map +0 -1
- package/dist/billing/modules/analytics/pages/index.d.ts +0 -5
- package/dist/billing/modules/analytics/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/index.d.ts +0 -10
- package/dist/billing/modules/billing/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts +0 -68
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/usePayments.d.ts +0 -62
- package/dist/billing/modules/billing/hooks/usePayments.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts +0 -191
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts +0 -41
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts.map +0 -1
- package/dist/billing/modules/billing/index.d.ts +0 -7
- package/dist/billing/modules/billing/index.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts +0 -4
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts +0 -4
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts +0 -4
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts +0 -4
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts +0 -4
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/index.d.ts +0 -10
- package/dist/billing/modules/billing/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts +0 -14
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts +0 -14
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts +0 -14
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts +0 -14
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts +0 -16
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts +0 -19
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts +0 -14
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts +0 -22
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts +0 -19
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts +0 -19
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts +0 -25
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts +0 -13
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts +0 -13
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts +0 -16
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts +0 -26
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts +0 -23
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/index.d.ts +0 -20
- package/dist/billing/modules/checkout/components/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/graphql/index.d.ts +0 -6
- package/dist/billing/modules/checkout/graphql/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/index.d.ts +0 -9
- package/dist/billing/modules/checkout/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts +0 -69
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts +0 -26
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts +0 -19
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts +0 -59
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts.map +0 -1
- package/dist/billing/modules/checkout/index.d.ts +0 -24
- package/dist/billing/modules/checkout/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts +0 -4
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts.map +0 -1
- package/dist/billing/modules/checkout/pages/index.d.ts +0 -5
- package/dist/billing/modules/checkout/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/types/index.d.ts +0 -270
- package/dist/billing/modules/checkout/types/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts +0 -20
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts.map +0 -1
- package/dist/billing/modules/coupons/index.d.ts +0 -5
- package/dist/billing/modules/coupons/index.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts +0 -4
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts +0 -4
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts +0 -4
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts +0 -4
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/index.d.ts +0 -8
- package/dist/billing/modules/coupons/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/credits/hooks/index.d.ts +0 -5
- package/dist/billing/modules/credits/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/credits/hooks/useCredits.d.ts +0 -75
- package/dist/billing/modules/credits/hooks/useCredits.d.ts.map +0 -1
- package/dist/billing/modules/credits/index.d.ts +0 -6
- package/dist/billing/modules/credits/index.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts +0 -4
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts +0 -4
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts +0 -4
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts +0 -4
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/index.d.ts +0 -8
- package/dist/billing/modules/credits/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts +0 -14
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts +0 -111
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts +0 -16
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts +0 -13
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts +0 -15
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts +0 -27
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/index.d.ts +0 -10
- package/dist/billing/modules/dashboard/components/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/hooks/index.d.ts +0 -6
- package/dist/billing/modules/dashboard/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts +0 -17
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts +0 -145
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/index.d.ts +0 -8
- package/dist/billing/modules/dashboard/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts +0 -4
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/pages/index.d.ts +0 -5
- package/dist/billing/modules/dashboard/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/discounts/index.d.ts +0 -6
- package/dist/billing/modules/discounts/index.d.ts.map +0 -1
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts +0 -4
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts.map +0 -1
- package/dist/billing/modules/discounts/pages/index.d.ts +0 -6
- package/dist/billing/modules/discounts/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/earnings/api.d.ts +0 -135
- package/dist/billing/modules/earnings/api.d.ts.map +0 -1
- package/dist/billing/modules/earnings/index.d.ts +0 -4
- package/dist/billing/modules/earnings/index.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts +0 -4
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts +0 -4
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts +0 -4
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/hooks/index.d.ts +0 -7
- package/dist/billing/modules/plans/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/plans/hooks/usePlans.d.ts +0 -46
- package/dist/billing/modules/plans/hooks/usePlans.d.ts.map +0 -1
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts +0 -27
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts.map +0 -1
- package/dist/billing/modules/plans/index.d.ts +0 -7
- package/dist/billing/modules/plans/index.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts +0 -4
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts +0 -4
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts +0 -4
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts +0 -4
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts +0 -4
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts +0 -4
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/index.d.ts +0 -11
- package/dist/billing/modules/plans/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/quota/hooks/index.d.ts +0 -6
- package/dist/billing/modules/quota/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/quota/hooks/useQuota.d.ts +0 -102
- package/dist/billing/modules/quota/hooks/useQuota.d.ts.map +0 -1
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts +0 -39
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts.map +0 -1
- package/dist/billing/modules/quota/index.d.ts +0 -6
- package/dist/billing/modules/quota/index.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts +0 -4
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts +0 -4
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts +0 -4
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts +0 -4
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts +0 -4
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/index.d.ts +0 -9
- package/dist/billing/modules/quota/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/settings/index.d.ts +0 -5
- package/dist/billing/modules/settings/index.d.ts.map +0 -1
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts +0 -4
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts.map +0 -1
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts +0 -4
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts.map +0 -1
- package/dist/billing/modules/settings/pages/index.d.ts +0 -6
- package/dist/billing/modules/settings/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/store/graphql/index.d.ts +0 -6
- package/dist/billing/modules/store/graphql/index.d.ts.map +0 -1
- package/dist/billing/modules/store/index.d.ts +0 -6
- package/dist/billing/modules/store/index.d.ts.map +0 -1
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts +0 -11
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts +0 -12
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/hooks/index.d.ts +0 -6
- package/dist/billing/modules/subscriptions/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts +0 -92
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/index.d.ts +0 -7
- package/dist/billing/modules/subscriptions/index.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts +0 -4
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts +0 -4
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts +0 -4
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/index.d.ts +0 -8
- package/dist/billing/modules/subscriptions/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/usage/hooks/index.d.ts +0 -6
- package/dist/billing/modules/usage/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/usage/hooks/useUsage.d.ts +0 -241
- package/dist/billing/modules/usage/hooks/useUsage.d.ts.map +0 -1
- package/dist/billing/modules/usage/index.d.ts +0 -6
- package/dist/billing/modules/usage/index.d.ts.map +0 -1
- package/dist/billing/modules/usage/pages/UsagePage.d.ts +0 -4
- package/dist/billing/modules/usage/pages/UsagePage.d.ts.map +0 -1
- package/dist/billing/modules/usage/pages/index.d.ts +0 -5
- package/dist/billing/modules/usage/pages/index.d.ts.map +0 -1
- package/dist/billing/providers/BillingProvider.d.ts +0 -16
- package/dist/billing/providers/BillingProvider.d.ts.map +0 -1
- package/dist/billing/shared/components/AccessDenied.d.ts +0 -8
- package/dist/billing/shared/components/AccessDenied.d.ts.map +0 -1
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts +0 -11
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts.map +0 -1
- package/dist/billing/shared/components/EmptyState.d.ts +0 -11
- package/dist/billing/shared/components/EmptyState.d.ts.map +0 -1
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts +0 -11
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts.map +0 -1
- package/dist/billing/shared/components/PageHeader.d.ts +0 -11
- package/dist/billing/shared/components/PageHeader.d.ts.map +0 -1
- package/dist/billing/shared/components/ServerError.d.ts +0 -11
- package/dist/billing/shared/components/ServerError.d.ts.map +0 -1
- package/dist/billing/shared/components/StatCard.d.ts +0 -15
- package/dist/billing/shared/components/StatCard.d.ts.map +0 -1
- package/dist/billing/shared/components/index.d.ts +0 -11
- package/dist/billing/shared/components/index.d.ts.map +0 -1
- package/dist/billing/shared/index.d.ts +0 -8
- package/dist/billing/shared/index.d.ts.map +0 -1
- package/dist/billing/shared/types/graphql.d.ts +0 -928
- package/dist/billing/shared/types/graphql.d.ts.map +0 -1
- package/dist/billing/shared/types/index.d.ts +0 -96
- package/dist/billing/shared/types/index.d.ts.map +0 -1
- package/dist/billing/shared/utils/directActivityGraphql.d.ts +0 -13
- package/dist/billing/shared/utils/directActivityGraphql.d.ts.map +0 -1
- package/dist/billing/shared/utils/directBillingGraphql.d.ts +0 -13
- package/dist/billing/shared/utils/directBillingGraphql.d.ts.map +0 -1
- package/dist/billing/shared/utils/error.d.ts +0 -30
- package/dist/billing/shared/utils/error.d.ts.map +0 -1
- package/dist/billing/shared/utils/format.d.ts +0 -28
- package/dist/billing/shared/utils/format.d.ts.map +0 -1
- package/dist/billing/shared/utils/gatewayGraphql.d.ts +0 -15
- package/dist/billing/shared/utils/gatewayGraphql.d.ts.map +0 -1
- package/dist/billing/shared/utils/index.d.ts +0 -13
- package/dist/billing/shared/utils/index.d.ts.map +0 -1
- package/dist/billing/shared/utils/navigation.d.ts +0 -2
- package/dist/billing/shared/utils/navigation.d.ts.map +0 -1
- package/dist/billing/shared/utils/paymentTheme.d.ts +0 -18
- package/dist/billing/shared/utils/paymentTheme.d.ts.map +0 -1
- package/dist/billing/shared/utils/status.d.ts +0 -28
- package/dist/billing/shared/utils/status.d.ts.map +0 -1
- package/dist/billing/shared/utils/tokens.d.ts +0 -156
- package/dist/billing/shared/utils/tokens.d.ts.map +0 -1
- package/dist/billing/types/index.d.ts +0 -268
- package/dist/billing/types/index.d.ts.map +0 -1
- package/dist/billing/utils/index.d.ts +0 -128
- package/dist/billing/utils/index.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -2
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts +0 -9595
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts +0 -22485
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts +0 -61
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts +0 -49106
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts +0 -3
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpF;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA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AAC;CACH;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,KAAK,IAAI,CAAC;CACnE"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CheckoutItem, Currency } from '../types';
|
|
2
|
-
|
|
3
|
-
export interface StoreOrderLineItem {
|
|
4
|
-
productId?: string | null;
|
|
5
|
-
name?: string | null;
|
|
6
|
-
quantity?: number | null;
|
|
7
|
-
unitPrice?: number | null;
|
|
8
|
-
itemType?: string | null;
|
|
9
|
-
variantId?: string | null;
|
|
10
|
-
}
|
|
11
|
-
export interface StoreOrderCheckoutSource {
|
|
12
|
-
id: string;
|
|
13
|
-
billingOrderId?: string | null;
|
|
14
|
-
currency?: string | null;
|
|
15
|
-
lineItems?: StoreOrderLineItem[] | null;
|
|
16
|
-
}
|
|
17
|
-
export declare const DEFAULT_STORE_ORDER_CURRENCY = "USD";
|
|
18
|
-
export declare function normalizeStoreOrderCurrency(currency?: string | null): Currency;
|
|
19
|
-
export declare function buildStoreOrderCheckoutItems(storeOrder: StoreOrderCheckoutSource): CheckoutItem[];
|
|
20
|
-
//# sourceMappingURL=storeOrder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storeOrder.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/utils/storeOrder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEvD,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,4BAA4B,QAAQ,CAAC;AAElD,wBAAgB,2BAA2B,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,QAAQ,CAM9E;AAED,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,wBAAwB,GAAG,YAAY,EAAE,CAmBjG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/coupons/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CouponDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/coupons/pages/CouponDetailPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAuB,MAAM,OAAO,CAAC;AAkErD,eAAO,MAAM,gBAAgB,EAAE,EAyZ9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CouponsListPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/coupons/pages/CouponsListPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAgC,MAAM,OAAO,CAAC;AAwD9D,eAAO,MAAM,eAAe,EAAE,EAgiB7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCouponPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/coupons/pages/CreateCouponPage.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AA6B1C,eAAO,MAAM,gBAAgB,EAAE,EAof9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EditCouponPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/coupons/pages/EditCouponPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAuB,MAAM,OAAO,CAAC;AAqBrD,eAAO,MAAM,cAAc,EAAE,EA6Y5B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Coupon Pages
|
|
3
|
-
*/
|
|
4
|
-
export { CouponsListPage } from './CouponsListPage';
|
|
5
|
-
export { CreateCouponPage } from './CreateCouponPage';
|
|
6
|
-
export { EditCouponPage } from './EditCouponPage';
|
|
7
|
-
export { CouponDetailPage } from './CouponDetailPage';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/coupons/pages/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/credits/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,kBAAkB,GACnB,MAAM,cAAc,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { CreditTransaction, CreditNote } from '../../../shared/types';
|
|
2
|
-
|
|
3
|
-
interface UseCreditTransactionsOptions {
|
|
4
|
-
billingAccountId: string;
|
|
5
|
-
days?: number;
|
|
6
|
-
page?: number;
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
}
|
|
9
|
-
interface UseCreditTransactionsResult {
|
|
10
|
-
transactions: CreditTransaction[];
|
|
11
|
-
pagination: {
|
|
12
|
-
page: number;
|
|
13
|
-
pageSize: number;
|
|
14
|
-
totalCount: number;
|
|
15
|
-
hasMore: boolean;
|
|
16
|
-
};
|
|
17
|
-
isLoading: boolean;
|
|
18
|
-
error: Error | undefined;
|
|
19
|
-
refetch: () => Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
interface UseCreditTransactionResult {
|
|
22
|
-
transaction: CreditTransaction | null;
|
|
23
|
-
isLoading: boolean;
|
|
24
|
-
error: Error | undefined;
|
|
25
|
-
}
|
|
26
|
-
interface UseCostOfCreditsResult {
|
|
27
|
-
cost: number | null;
|
|
28
|
-
isLoading: boolean;
|
|
29
|
-
error: Error | undefined;
|
|
30
|
-
}
|
|
31
|
-
interface UseCreditNotesResult {
|
|
32
|
-
creditNotes: CreditNote[];
|
|
33
|
-
isLoading: boolean;
|
|
34
|
-
error: Error | undefined;
|
|
35
|
-
refetch: () => Promise<void>;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Hook for fetching credit transactions
|
|
39
|
-
*/
|
|
40
|
-
export declare function useCreditTransactions(options: UseCreditTransactionsOptions): UseCreditTransactionsResult;
|
|
41
|
-
/**
|
|
42
|
-
* Hook for fetching a single credit transaction
|
|
43
|
-
*/
|
|
44
|
-
export declare function useCreditTransaction(creditTransactionId: string | undefined): UseCreditTransactionResult;
|
|
45
|
-
/**
|
|
46
|
-
* Hook for getting cost of credits
|
|
47
|
-
*/
|
|
48
|
-
export declare function useCostOfCredits(creditAmount: number, currency: string): UseCostOfCreditsResult;
|
|
49
|
-
/**
|
|
50
|
-
* Hook for fetching credit notes
|
|
51
|
-
*/
|
|
52
|
-
export declare function useCreditNotes(): UseCreditNotesResult;
|
|
53
|
-
/**
|
|
54
|
-
* Hook for credit mutations
|
|
55
|
-
*/
|
|
56
|
-
export declare function useCreditMutations(): {
|
|
57
|
-
createCreditNote: (params: {
|
|
58
|
-
billingAccountId: string;
|
|
59
|
-
amount: number;
|
|
60
|
-
reason?: string;
|
|
61
|
-
invoiceId?: string;
|
|
62
|
-
currency?: string;
|
|
63
|
-
metadata?: Record<string, unknown>;
|
|
64
|
-
}) => Promise<CreditNote>;
|
|
65
|
-
grantCredits: (params: {
|
|
66
|
-
billingAccountId: string;
|
|
67
|
-
amount: number;
|
|
68
|
-
productId?: string;
|
|
69
|
-
reason?: string;
|
|
70
|
-
metadata?: Record<string, unknown>;
|
|
71
|
-
}) => Promise<CreditTransaction>;
|
|
72
|
-
isCreating: boolean;
|
|
73
|
-
};
|
|
74
|
-
export {};
|
|
75
|
-
//# sourceMappingURL=useCredits.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useCredits.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/credits/hooks/useCredits.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAgBH,OAAO,KAAK,EACV,iBAAiB,EACjB,UAAU,EAEX,MAAM,uBAAuB,CAAC;AAE/B,UAAU,4BAA4B;IACpC,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,2BAA2B;IACnC,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,UAAU,EAAE;QACV,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AM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,KAAG,OAAO,CAAC,UAAU,CAAC;2BAgBR;QACb,gBAAgB,EAAE,MAAM,CAAC;QACzB,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,KAAG,OAAO,CAAC,iBAAiB,CAAC;;EA8BjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/credits/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdminCreditsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/credits/pages/AdminCreditsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAQnD,eAAO,MAAM,gBAAgB,EAAE,EAqK9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreditTransactionsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/credits/pages/CreditTransactionsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAoC1C,eAAO,MAAM,sBAAsB,EAAE,EAoTpC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreditWithdrawalPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/credits/pages/CreditWithdrawalPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2JrD,eAAO,MAAM,oBAAoB,EAAE,EA8xBlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreditsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/credits/pages/CreditsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAoB1C,eAAO,MAAM,WAAW,EAAE,EAmQzB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Credits Module - Pages
|
|
3
|
-
*/
|
|
4
|
-
export { CreditsPage } from './CreditsPage';
|
|
5
|
-
export { CreditTransactionsPage } from './CreditTransactionsPage';
|
|
6
|
-
export { AdminCreditsPage } from './AdminCreditsPage';
|
|
7
|
-
export { CreditWithdrawalPage } from './CreditWithdrawalPage';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/credits/pages/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { BillingSubscription } from '../../../shared/types';
|
|
3
|
-
|
|
4
|
-
interface ActiveSubscriptionCardProps {
|
|
5
|
-
subscription: BillingSubscription | null;
|
|
6
|
-
onViewDetails?: () => void;
|
|
7
|
-
onUpgrade?: () => void;
|
|
8
|
-
onManage?: () => void;
|
|
9
|
-
onPurchasePlan?: () => void;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const ActiveSubscriptionCard: FC<ActiveSubscriptionCardProps>;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=ActiveSubscriptionCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveSubscriptionCard.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/ActiveSubscriptionCard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAYzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAIjE,UAAU,2BAA2B;IACnC,YAAY,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACzC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA6OlE,CAAC"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
Stripe?: (key: string) => StripeInstance;
|
|
6
|
-
Razorpay?: new (options: RazorpayOptions) => RazorpayInstance;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
interface StripeInstance {
|
|
10
|
-
elements: () => StripeElements;
|
|
11
|
-
createPaymentMethod: (options: {
|
|
12
|
-
type: 'card';
|
|
13
|
-
card: StripeCardElement;
|
|
14
|
-
billing_details?: {
|
|
15
|
-
name?: string;
|
|
16
|
-
};
|
|
17
|
-
}) => Promise<{
|
|
18
|
-
paymentMethod?: {
|
|
19
|
-
id: string;
|
|
20
|
-
card?: {
|
|
21
|
-
brand: string;
|
|
22
|
-
last4: string;
|
|
23
|
-
exp_month: number;
|
|
24
|
-
exp_year: number;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
error?: {
|
|
28
|
-
message: string;
|
|
29
|
-
};
|
|
30
|
-
}>;
|
|
31
|
-
confirmCardSetup: (clientSecret: string, options?: {
|
|
32
|
-
payment_method?: {
|
|
33
|
-
card: StripeCardElement;
|
|
34
|
-
billing_details?: {
|
|
35
|
-
name?: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
}) => Promise<{
|
|
39
|
-
setupIntent?: {
|
|
40
|
-
id: string;
|
|
41
|
-
status: string;
|
|
42
|
-
payment_method?: string;
|
|
43
|
-
};
|
|
44
|
-
error?: {
|
|
45
|
-
message: string;
|
|
46
|
-
};
|
|
47
|
-
}>;
|
|
48
|
-
}
|
|
49
|
-
interface StripeElements {
|
|
50
|
-
create: (type: 'card', options?: object) => StripeCardElement;
|
|
51
|
-
}
|
|
52
|
-
interface StripeCardElement {
|
|
53
|
-
mount: (element: HTMLElement | string) => void;
|
|
54
|
-
unmount: () => void;
|
|
55
|
-
on: (event: string, handler: (event: {
|
|
56
|
-
complete: boolean;
|
|
57
|
-
error?: {
|
|
58
|
-
message: string;
|
|
59
|
-
};
|
|
60
|
-
}) => void) => void;
|
|
61
|
-
destroy: () => void;
|
|
62
|
-
}
|
|
63
|
-
interface RazorpayOptions {
|
|
64
|
-
key: string;
|
|
65
|
-
amount: number;
|
|
66
|
-
currency: string;
|
|
67
|
-
order_id: string;
|
|
68
|
-
customer_id?: string;
|
|
69
|
-
name: string;
|
|
70
|
-
description: string;
|
|
71
|
-
method?: 'card' | 'upi' | 'netbanking' | 'wallet' | 'emi' | 'cardless_emi';
|
|
72
|
-
handler: (response: RazorpayResponse) => void;
|
|
73
|
-
modal?: {
|
|
74
|
-
ondismiss?: () => void;
|
|
75
|
-
};
|
|
76
|
-
prefill?: {
|
|
77
|
-
name?: string;
|
|
78
|
-
email?: string;
|
|
79
|
-
contact?: string;
|
|
80
|
-
};
|
|
81
|
-
notes?: Record<string, string>;
|
|
82
|
-
config?: {
|
|
83
|
-
display?: {
|
|
84
|
-
hide?: Array<{
|
|
85
|
-
method: string;
|
|
86
|
-
}>;
|
|
87
|
-
preferences?: {
|
|
88
|
-
show_default_blocks?: boolean;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
interface RazorpayInstance {
|
|
94
|
-
open: () => void;
|
|
95
|
-
close: () => void;
|
|
96
|
-
}
|
|
97
|
-
interface RazorpayResponse {
|
|
98
|
-
razorpay_payment_id: string;
|
|
99
|
-
razorpay_token?: string;
|
|
100
|
-
}
|
|
101
|
-
interface AddPaymentMethodModalProps {
|
|
102
|
-
isOpen: boolean;
|
|
103
|
-
onClose: () => void;
|
|
104
|
-
billingAccountId: string;
|
|
105
|
-
currency: string;
|
|
106
|
-
country?: string;
|
|
107
|
-
onSuccess?: () => void;
|
|
108
|
-
}
|
|
109
|
-
export declare const AddPaymentMethodModal: FC<AddPaymentMethodModalProps>;
|
|
110
|
-
export {};
|
|
111
|
-
//# sourceMappingURL=AddPaymentMethodModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddPaymentMethodModal.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/AddPaymentMethodModal.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAA4C,MAAM,OAAO,CAAC;AAQ1E,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,cAAc,CAAC;QACzC,QAAQ,CAAC,EAAE,KAAK,OAAO,EAAE,eAAe,KAAK,gBAAgB,CAAC;KAC/D;CACF;AAED,UAAU,cAAc;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AAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,UAAU,gBAAgB;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,UAAU,0BAA0B;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAqBD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA0kBhE,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { BillingAccount } from '../../../shared/types';
|
|
3
|
-
|
|
4
|
-
interface BillingAccountCardProps {
|
|
5
|
-
account: BillingAccount;
|
|
6
|
-
isDefault?: boolean;
|
|
7
|
-
isSelected?: boolean;
|
|
8
|
-
onSelect?: () => void;
|
|
9
|
-
onEdit?: () => void;
|
|
10
|
-
onViewTransactions?: () => void;
|
|
11
|
-
onViewCreditTransactions?: () => void;
|
|
12
|
-
className?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const BillingAccountCard: FC<BillingAccountCardProps>;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=BillingAccountCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingAccountCard.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/BillingAccountCard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAW1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAI5D,UAAU,uBAAuB;IAC/B,OAAO,EAAE,cAAc,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,wBAAwB,CAAC,EAAE,MAAM,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAmK1D,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CreateBillingAccountInput, SetBillingAddressInput } from '../../../shared/types';
|
|
3
|
-
|
|
4
|
-
interface CreateBillingAccountModalProps {
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
onSubmit: (input: CreateBillingAccountInput, address?: Omit<SetBillingAddressInput, 'billingAccountId'>) => Promise<void>;
|
|
8
|
-
isSubmitting?: boolean;
|
|
9
|
-
error?: string | null;
|
|
10
|
-
}
|
|
11
|
-
export declare const CreateBillingAccountModal: FC<CreateBillingAccountModalProps>;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=CreateBillingAccountModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateBillingAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/CreateBillingAccountModal.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAqD,MAAM,OAAO,CAAC;AAanF,OAAO,KAAK,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAG/F,UAAU,8BAA8B;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CACR,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,IAAI,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,KACvD,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAoKD,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CA2sBxE,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { PaymentMethod } from '../../../shared/types';
|
|
3
|
-
|
|
4
|
-
interface PaymentMethodsSectionProps {
|
|
5
|
-
paymentMethods: PaymentMethod[];
|
|
6
|
-
billingAccountId: string;
|
|
7
|
-
onAddPaymentMethod: () => void;
|
|
8
|
-
onSetDefault: (id: string) => Promise<void>;
|
|
9
|
-
onDelete: (id: string) => Promise<void>;
|
|
10
|
-
isLoading?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const PaymentMethodsSection: FC<PaymentMethodsSectionProps>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=PaymentMethodsSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethodsSection.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/PaymentMethodsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,aAAa,EAAqB,MAAM,uBAAuB,CAAC;AAI9E,UAAU,0BAA0B;IAClC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkPD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAuEhE,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { Addon } from '../../../shared/types';
|
|
3
|
-
|
|
4
|
-
interface RecommendedAddonsSectionProps {
|
|
5
|
-
addons: Addon[];
|
|
6
|
-
hasSubscription: boolean;
|
|
7
|
-
onViewAddon: (addonId: string) => void;
|
|
8
|
-
onPurchaseAddon: (addonId: string) => void;
|
|
9
|
-
onViewAllAddons: () => void;
|
|
10
|
-
/** Handler for adding addon to cart */
|
|
11
|
-
onAddToCart?: (addon: Addon) => void;
|
|
12
|
-
/** Check if addon is in cart */
|
|
13
|
-
isInCart?: (addonId: string) => boolean;
|
|
14
|
-
/** Get cart quantity for addon */
|
|
15
|
-
getCartQuantity?: (addonId: string) => number;
|
|
16
|
-
/** Update quantity in cart */
|
|
17
|
-
onUpdateQuantity?: (addonId: string, quantity: number) => void;
|
|
18
|
-
/** Remove from cart */
|
|
19
|
-
onRemoveFromCart?: (addonId: string) => void;
|
|
20
|
-
/** Maximum number of addons to show (default: 3) */
|
|
21
|
-
maxAddons?: number;
|
|
22
|
-
isLoading?: boolean;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare const RecommendedAddonsSection: FC<RecommendedAddonsSectionProps>;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=RecommendedAddonsSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RecommendedAddonsSection.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/RecommendedAddonsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAqB,MAAM,OAAO,CAAC;AAanD,OAAO,KAAK,EAAE,KAAK,EAAsC,MAAM,uBAAuB,CAAC;AAyCvF,UAAU,6BAA6B;IACrC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,eAAe,EAAE,OAAO,CAAC;IACzB,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,uCAAuC;IACvC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACrC,gCAAgC;IAChC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IACxC,kCAAkC;IAClC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9C,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/D,uBAAuB;IACvB,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAgKD,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAyGtE,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dashboard Module - Components Exports
|
|
3
|
-
*/
|
|
4
|
-
export { BillingAccountCard } from './BillingAccountCard';
|
|
5
|
-
export { PaymentMethodsSection } from './PaymentMethodsSection';
|
|
6
|
-
export { ActiveSubscriptionCard } from './ActiveSubscriptionCard';
|
|
7
|
-
export { RecommendedAddonsSection } from './RecommendedAddonsSection';
|
|
8
|
-
export { CreateBillingAccountModal } from './CreateBillingAccountModal';
|
|
9
|
-
export { AddPaymentMethodModal } from './AddPaymentMethodModal';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/hooks/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Addon, BillingAccount, BillingAddress, BillingSubscription, PaymentMethod } from '../../../shared/types';
|
|
2
|
-
|
|
3
|
-
interface BillingOverviewDataResult {
|
|
4
|
-
billingAccounts: BillingAccount[];
|
|
5
|
-
currentAccount: BillingAccount | null;
|
|
6
|
-
paymentMethods: PaymentMethod[];
|
|
7
|
-
billingAddresses: BillingAddress[];
|
|
8
|
-
activeSubscriptions: BillingSubscription[];
|
|
9
|
-
hasActiveSubscription: boolean;
|
|
10
|
-
recommendedAddons: Addon[];
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
error: Error | undefined;
|
|
13
|
-
refetchAll: () => Promise<void>;
|
|
14
|
-
}
|
|
15
|
-
export declare function useBillingOverviewData(selectedAccountId?: string | null, productId?: string | null): BillingOverviewDataResult;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=useBillingOverviewData.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBillingOverviewData.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/dashboard/hooks/useBillingOverviewData.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,KAAK,EACL,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAE/B,UAAU,yBAAyB;IACjC,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,gBAAgB,EAAE,cAAc,EAAE,CAAC;IACnC,mBAAmB,EAAE,mBAAmB,EAAE,CAAC;IAC3C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,iBAAiB,EAAE,KAAK,EAAE,CAAC;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;IACzB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAID,wBAAgB,sBAAsB,CACpC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,EACjC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,yBAAyB,CAiG3B"}
|