@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,241 +0,0 @@
|
|
|
1
|
-
import { GetUsageRecordsQuery, GetUsageRecordsQueryVariables } from '../../../../generated/wspace-operations';
|
|
2
|
-
import { AnalyticsPeriod, QuotaStatus, UsageDashboard } from '../../../shared/types';
|
|
3
|
-
|
|
4
|
-
export interface WorkspaceQuotaStatusItem {
|
|
5
|
-
workspaceId: string;
|
|
6
|
-
quotaName: string;
|
|
7
|
-
productId: string;
|
|
8
|
-
currentValue: number;
|
|
9
|
-
limit: number | null;
|
|
10
|
-
noLimit: boolean;
|
|
11
|
-
scrapedAt: string;
|
|
12
|
-
}
|
|
13
|
-
export interface WorkspaceQuotaSnapshotItem {
|
|
14
|
-
id: string;
|
|
15
|
-
workspaceId: string;
|
|
16
|
-
quotaName: string;
|
|
17
|
-
productId: string;
|
|
18
|
-
value: number;
|
|
19
|
-
limit: number | null;
|
|
20
|
-
noLimit: boolean;
|
|
21
|
-
snapshotAt: string;
|
|
22
|
-
}
|
|
23
|
-
interface UseWorkspaceQuotaStatusesResult {
|
|
24
|
-
statuses: WorkspaceQuotaStatusItem[];
|
|
25
|
-
statusMap: Map<string, WorkspaceQuotaStatusItem>;
|
|
26
|
-
isLoading: boolean;
|
|
27
|
-
error: Error | null;
|
|
28
|
-
}
|
|
29
|
-
export declare function useWorkspaceQuotaStatuses(workspaceId?: string): UseWorkspaceQuotaStatusesResult;
|
|
30
|
-
interface UseWorkspaceQuotaHistoryResult {
|
|
31
|
-
snapshots: WorkspaceQuotaSnapshotItem[];
|
|
32
|
-
isLoading: boolean;
|
|
33
|
-
error: Error | null;
|
|
34
|
-
}
|
|
35
|
-
export declare function useWorkspaceQuotaHistory(workspaceId?: string, quotaName?: string, limit?: number): UseWorkspaceQuotaHistoryResult;
|
|
36
|
-
interface UseUsageDashboardParams {
|
|
37
|
-
billingAccountId?: string;
|
|
38
|
-
period?: AnalyticsPeriod;
|
|
39
|
-
}
|
|
40
|
-
interface UseUsageDashboardResult {
|
|
41
|
-
dashboard: UsageDashboard | null;
|
|
42
|
-
isLoading: boolean;
|
|
43
|
-
error: Error | null;
|
|
44
|
-
refetch: () => void;
|
|
45
|
-
}
|
|
46
|
-
export declare function useUsageDashboard({ billingAccountId, period, }: UseUsageDashboardParams): UseUsageDashboardResult;
|
|
47
|
-
/**
|
|
48
|
-
* Quota assignment from the API
|
|
49
|
-
*/
|
|
50
|
-
interface QuotaAssignmentSummary {
|
|
51
|
-
id: string;
|
|
52
|
-
name: string;
|
|
53
|
-
unit: string;
|
|
54
|
-
quotaType: 'POOLED' | 'PRODUCT_SPECIFIC';
|
|
55
|
-
reusable: boolean;
|
|
56
|
-
limit: number;
|
|
57
|
-
limitLeft: number;
|
|
58
|
-
used: number;
|
|
59
|
-
usagePercentage: number;
|
|
60
|
-
noLimit: boolean;
|
|
61
|
-
subscriptionId?: string;
|
|
62
|
-
context?: Record<string, unknown> | null;
|
|
63
|
-
recentUsages: Array<{
|
|
64
|
-
id: string;
|
|
65
|
-
amount: number;
|
|
66
|
-
description: string;
|
|
67
|
-
timestamp: string;
|
|
68
|
-
tags?: Record<string, unknown>;
|
|
69
|
-
}>;
|
|
70
|
-
createdAt: string;
|
|
71
|
-
endtime: string;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Aggregated quota for display (multiple quota assignments with same name combined)
|
|
75
|
-
*/
|
|
76
|
-
export interface AggregatedQuota {
|
|
77
|
-
name: string;
|
|
78
|
-
displayName?: string;
|
|
79
|
-
description?: string;
|
|
80
|
-
unit: string;
|
|
81
|
-
totalLimit: number;
|
|
82
|
-
totalUsed: number;
|
|
83
|
-
usagePercentage: number;
|
|
84
|
-
status: QuotaStatus;
|
|
85
|
-
quotaCount: number;
|
|
86
|
-
noLimit: boolean;
|
|
87
|
-
reusable: boolean;
|
|
88
|
-
/** True when usage comes from the activity-svc scraper, not billing recordUsage events. */
|
|
89
|
-
isCollectorBased: boolean;
|
|
90
|
-
quotaAssignments: QuotaAssignmentSummary[];
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Subscription with aggregated quotas
|
|
94
|
-
*/
|
|
95
|
-
export interface SubscriptionWithAggregatedQuotas {
|
|
96
|
-
id: string;
|
|
97
|
-
status: string;
|
|
98
|
-
planName?: string;
|
|
99
|
-
productId?: string;
|
|
100
|
-
createdAt: string;
|
|
101
|
-
aggregatedQuotas: AggregatedQuota[];
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* Hook to get billing accounts for the selector
|
|
105
|
-
*/
|
|
106
|
-
interface UseBillingAccountsForUsageResult {
|
|
107
|
-
billingAccounts: Array<{
|
|
108
|
-
id: string;
|
|
109
|
-
name: string;
|
|
110
|
-
email: string;
|
|
111
|
-
currency: string;
|
|
112
|
-
creditAmount: number;
|
|
113
|
-
isActive: boolean;
|
|
114
|
-
isDefault: boolean;
|
|
115
|
-
}>;
|
|
116
|
-
isLoading: boolean;
|
|
117
|
-
error: Error | null;
|
|
118
|
-
}
|
|
119
|
-
export declare function useBillingAccountsForUsage(): UseBillingAccountsForUsageResult;
|
|
120
|
-
/**
|
|
121
|
-
* Hook to get billing account quotas summary with aggregation
|
|
122
|
-
* Only returns pooled quotas - subscription quotas come from useSubscriptionsWithQuotas
|
|
123
|
-
*/
|
|
124
|
-
interface UseBillingAccountQuotasSummaryResult {
|
|
125
|
-
pooledQuotas: AggregatedQuota[];
|
|
126
|
-
isLoading: boolean;
|
|
127
|
-
error: Error | null;
|
|
128
|
-
refetch: () => void;
|
|
129
|
-
}
|
|
130
|
-
export declare function useBillingAccountQuotasSummary(billingAccountId: string | undefined, productId?: string): UseBillingAccountQuotasSummaryResult;
|
|
131
|
-
/**
|
|
132
|
-
* Hook to get subscriptions with their quotas grouped by status
|
|
133
|
-
* Uses lazy loading for past subscriptions and supports backend search
|
|
134
|
-
*/
|
|
135
|
-
type ViewMode = 'active' | 'past' | 'all';
|
|
136
|
-
interface UseSubscriptionsWithQuotasOptions {
|
|
137
|
-
searchQuery?: string;
|
|
138
|
-
viewMode?: ViewMode;
|
|
139
|
-
}
|
|
140
|
-
interface UseSubscriptionsWithQuotasResult {
|
|
141
|
-
activeSubscriptions: SubscriptionWithAggregatedQuotas[];
|
|
142
|
-
pastSubscriptions: SubscriptionWithAggregatedQuotas[];
|
|
143
|
-
isLoading: boolean;
|
|
144
|
-
isPastSubscriptionsLoading: boolean;
|
|
145
|
-
error: Error | null;
|
|
146
|
-
refetch: () => void;
|
|
147
|
-
loadMorePastSubscriptions: () => void;
|
|
148
|
-
hasMorePastSubscriptions: boolean;
|
|
149
|
-
isLoadingMorePast: boolean;
|
|
150
|
-
pastSubscriptionsCount: number;
|
|
151
|
-
}
|
|
152
|
-
export declare function useSubscriptionsWithQuotas(billingAccountId: string | undefined, options?: UseSubscriptionsWithQuotasOptions): UseSubscriptionsWithQuotasResult;
|
|
153
|
-
/**
|
|
154
|
-
* Hook to get quota usage details for drill-down using cursor-based pagination.
|
|
155
|
-
*
|
|
156
|
-
* The activity-svc API is cursor-based (limit / cursor → items / hasNextPage / nextCursor).
|
|
157
|
-
* Callers should maintain a cursor stack:
|
|
158
|
-
* - push nextCursor to go forward
|
|
159
|
-
* - pop to go back
|
|
160
|
-
* - pass null as cursor for the first page
|
|
161
|
-
*/
|
|
162
|
-
export interface QuotaUsageDetail {
|
|
163
|
-
id: string;
|
|
164
|
-
amount: number;
|
|
165
|
-
description: string;
|
|
166
|
-
tags?: Record<string, unknown>;
|
|
167
|
-
productId?: string;
|
|
168
|
-
userId?: string;
|
|
169
|
-
timestamp: string;
|
|
170
|
-
lastUpdated?: string;
|
|
171
|
-
}
|
|
172
|
-
interface UseQuotaUsageDetailsResult {
|
|
173
|
-
usages: QuotaUsageDetail[];
|
|
174
|
-
hasNextPage: boolean;
|
|
175
|
-
nextCursor: string | null;
|
|
176
|
-
isLoading: boolean;
|
|
177
|
-
error: Error | null;
|
|
178
|
-
refetch: () => void;
|
|
179
|
-
}
|
|
180
|
-
type UsageRecord = GetUsageRecordsQuery['getUsageRecords']['items'][number];
|
|
181
|
-
export declare function buildUsageRecordsVariables(quotaAssignmentId: string | undefined, pageSize: number, cursor: string | null, workspaceId?: string): GetUsageRecordsQueryVariables;
|
|
182
|
-
export declare function mapUsageRecordToQuotaUsageDetail(record: UsageRecord): QuotaUsageDetail;
|
|
183
|
-
export declare function useQuotaUsageDetails(quotaAssignmentId: string | undefined, pageSize?: number, cursor?: string | null, workspaceId?: string): UseQuotaUsageDetailsResult;
|
|
184
|
-
/**
|
|
185
|
-
* Hook to get quota analytics
|
|
186
|
-
*/
|
|
187
|
-
interface UseQuotaAnalyticsResult {
|
|
188
|
-
analytics: {
|
|
189
|
-
dailyUsage: Array<{
|
|
190
|
-
date: string;
|
|
191
|
-
usage: number;
|
|
192
|
-
count: number;
|
|
193
|
-
}>;
|
|
194
|
-
usageByType: Array<{
|
|
195
|
-
resourceType: string;
|
|
196
|
-
usage: number;
|
|
197
|
-
count: number;
|
|
198
|
-
percentage: number;
|
|
199
|
-
}>;
|
|
200
|
-
trends?: {
|
|
201
|
-
growthRate?: number;
|
|
202
|
-
predictedUsage?: number;
|
|
203
|
-
averageDailyUsage?: number;
|
|
204
|
-
};
|
|
205
|
-
peakUsage?: {
|
|
206
|
-
maxDailyUsage: number;
|
|
207
|
-
peakDate: string;
|
|
208
|
-
peakHour?: number;
|
|
209
|
-
};
|
|
210
|
-
} | null;
|
|
211
|
-
isLoading: boolean;
|
|
212
|
-
error: Error | null;
|
|
213
|
-
}
|
|
214
|
-
export declare function useQuotaAnalytics(quotaAssignmentId: string | undefined, period?: AnalyticsPeriod): UseQuotaAnalyticsResult;
|
|
215
|
-
/**
|
|
216
|
-
* Combined hook for the enhanced usage page
|
|
217
|
-
*/
|
|
218
|
-
interface UseEnhancedUsagePageParams {
|
|
219
|
-
billingAccountId: string | undefined;
|
|
220
|
-
workspaceId?: string;
|
|
221
|
-
period?: AnalyticsPeriod;
|
|
222
|
-
searchQuery?: string;
|
|
223
|
-
viewMode?: ViewMode;
|
|
224
|
-
}
|
|
225
|
-
interface UseEnhancedUsagePageResult {
|
|
226
|
-
dashboard: UsageDashboard | null;
|
|
227
|
-
pooledQuotas: AggregatedQuota[];
|
|
228
|
-
activeSubscriptions: SubscriptionWithAggregatedQuotas[];
|
|
229
|
-
pastSubscriptions: SubscriptionWithAggregatedQuotas[];
|
|
230
|
-
isLoading: boolean;
|
|
231
|
-
isPastSubscriptionsLoading: boolean;
|
|
232
|
-
error: Error | null;
|
|
233
|
-
refetch: () => void;
|
|
234
|
-
loadMorePastSubscriptions: () => void;
|
|
235
|
-
hasMorePastSubscriptions: boolean;
|
|
236
|
-
isLoadingMorePast: boolean;
|
|
237
|
-
pastSubscriptionsCount: number;
|
|
238
|
-
}
|
|
239
|
-
export declare function useEnhancedUsagePage({ billingAccountId, workspaceId, period, searchQuery, viewMode, }: UseEnhancedUsagePageParams): UseEnhancedUsagePageResult;
|
|
240
|
-
export {};
|
|
241
|
-
//# sourceMappingURL=useUsage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useUsage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/usage/hooks/useUsage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAYH,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,6BAA6B,EACnC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAmC5D,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EA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A0B;IAClC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,UAAU,0BAA0B;IAElC,SAAS,EAAE,cAAc,GAAG,IAAI,CAAC;IAGjC,YAAY,EAAE,eAAe,EAAE,CAAC;IAGhC,mBAAmB,EAAE,gCAAgC,EAAE,CAAC;IACxD,iBAAiB,EAAE,gCAAgC,EAAE,CAAC;IAGtD,SAAS,EAAE,OAAO,CAAC;IACnB,0BAA0B,EAAE,OAAO,CAAC;IACpC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAGpB,OAAO,EAAE,MAAM,IAAI,CAAC;IAGpB,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,wBAAwB,EAAE,OAAO,CAAC;IAClC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,wBAAgB,oBAAoB,CAAC,EACnC,gBAAgB,EAChB,WAAW,EACX,MAAqC,EACrC,WAAW,EACX,QAAmB,GACpB,EAAE,0BAA0B,GAAG,0BAA0B,CAiEzD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/usage/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UsagePage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/usage/pages/UsagePage.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAoD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA2pBlF,eAAO,MAAM,SAAS,EAAE,EAskBvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/usage/pages/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import { BillingRootProps } from '../types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Hook to access Billing context
|
|
6
|
-
*/
|
|
7
|
-
export declare const useBilling: () => BillingRootProps;
|
|
8
|
-
/**
|
|
9
|
-
* Provider component for Billing microfrontend
|
|
10
|
-
* Sets up routing and context
|
|
11
|
-
*
|
|
12
|
-
* When integrated into a shell (basePath provided), the shell already has a router
|
|
13
|
-
* so we don't create another one. When standalone (no basePath), use MemoryRouter.
|
|
14
|
-
*/
|
|
15
|
-
export declare const BillingProvider: FC<PropsWithChildren<BillingRootProps>>;
|
|
16
|
-
//# sourceMappingURL=BillingProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BillingProvider.d.ts","sourceRoot":"","sources":["../../../src/billing/providers/BillingProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AASjD;;GAEG;AACH,eAAO,MAAM,UAAU,wBAMtB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAoDnE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccessDenied.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/AccessDenied.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoC9C,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CurrencyPriceOverrideInput } from '../types';
|
|
3
|
-
|
|
4
|
-
interface CurrencyPriceOverridesEditorProps {
|
|
5
|
-
overrides: CurrencyPriceOverrideInput[];
|
|
6
|
-
onChange: (overrides: CurrencyPriceOverrideInput[]) => void;
|
|
7
|
-
showPerSeatAmount?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const CurrencyPriceOverridesEditor: FC<CurrencyPriceOverridesEditorProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=CurrencyPriceOverridesEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CurrencyPriceOverridesEditor.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/CurrencyPriceOverridesEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAE3D,UAAU,iCAAiC;IACzC,SAAS,EAAE,0BAA0B,EAAE,CAAC;IACxC,QAAQ,EAAE,CAAC,SAAS,EAAE,0BAA0B,EAAE,KAAK,IAAI,CAAC;IAC5D,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAyBD,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAAC,iCAAiC,CAgJ9E,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface EmptyStateProps {
|
|
4
|
-
icon?: ReactNode;
|
|
5
|
-
title: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
action?: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const EmptyState: FC<EmptyStateProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/EmptyState.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAe1C,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { GeoPricingOverrideInput } from '../types';
|
|
3
|
-
|
|
4
|
-
interface GeoPricingOverridesEditorProps {
|
|
5
|
-
overrides: GeoPricingOverrideInput[];
|
|
6
|
-
onChange: (overrides: GeoPricingOverrideInput[]) => void;
|
|
7
|
-
showPerSeatAmount?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const GeoPricingOverridesEditor: FC<GeoPricingOverridesEditorProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=GeoPricingOverridesEditor.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GeoPricingOverridesEditor.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/GeoPricingOverridesEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,UAAU,8BAA8B;IACtC,SAAS,EAAE,uBAAuB,EAAE,CAAC;IACrC,QAAQ,EAAE,CAAC,SAAS,EAAE,uBAAuB,EAAE,KAAK,IAAI,CAAC;IACzD,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAID,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAqLxE,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface PageHeaderProps {
|
|
4
|
-
title: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
actions?: ReactNode;
|
|
7
|
-
icon?: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const PageHeader: FC<PageHeaderProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/PageHeader.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAa1C,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
|
|
3
|
-
interface ServerErrorProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
onRetry?: () => void;
|
|
7
|
-
showRetry?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const ServerError: FC<ServerErrorProps>;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=ServerError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServerError.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/ServerError.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA8F5C,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
interface StatCardProps {
|
|
4
|
-
label: string;
|
|
5
|
-
value: string | number;
|
|
6
|
-
icon?: ReactNode;
|
|
7
|
-
trend?: {
|
|
8
|
-
value: number;
|
|
9
|
-
isPositive: boolean;
|
|
10
|
-
};
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const StatCard: FC<StatCardProps>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=StatCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/StatCard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAkBtC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared Components
|
|
3
|
-
*/
|
|
4
|
-
export { AccessDenied } from './AccessDenied';
|
|
5
|
-
export { PageHeader } from './PageHeader';
|
|
6
|
-
export { StatCard } from './StatCard';
|
|
7
|
-
export { EmptyState } from './EmptyState';
|
|
8
|
-
export { ServerError } from './ServerError';
|
|
9
|
-
export { GeoPricingOverridesEditor } from './GeoPricingOverridesEditor';
|
|
10
|
-
export { CurrencyPriceOverridesEditor } from './CurrencyPriceOverridesEditor';
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/billing/shared/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC"}
|