@burdenoff/microfe-billing 2026.1030.1 → 2026.1101.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/BillingAdminRoutes.d.ts +6 -0
- package/dist/billing/BillingAdminRoutes.d.ts.map +1 -0
- package/dist/billing/BillingRoot.d.ts +36 -0
- package/dist/billing/BillingRoot.d.ts.map +1 -0
- package/dist/billing/BillingUserRoutes.d.ts +7 -0
- package/dist/billing/BillingUserRoutes.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingAccountSelection.d.ts +36 -0
- package/dist/billing/hooks/useBillingAccountSelection.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingEventEmitter.d.ts +7 -0
- package/dist/billing/hooks/useBillingEventEmitter.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingNavigate.d.ts +30 -0
- package/dist/billing/hooks/useBillingNavigate.d.ts.map +1 -0
- package/dist/billing/hooks/useBillingPermissions.d.ts +106 -0
- package/dist/billing/hooks/useBillingPermissions.d.ts.map +1 -0
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts +14 -0
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts.map +1 -0
- package/dist/billing/hooks/useProducts.d.ts +18 -0
- package/dist/billing/hooks/useProducts.d.ts.map +1 -0
- package/dist/billing/index.d.ts +31 -0
- package/dist/billing/index.d.ts.map +1 -0
- package/dist/billing/lib/native-purchases.d.ts +10 -0
- package/dist/billing/lib/native-purchases.d.ts.map +1 -0
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts +3 -0
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts.map +1 -0
- package/dist/billing/modules/addons/hooks/index.d.ts +8 -0
- package/dist/billing/modules/addons/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts +23 -0
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts.map +1 -0
- package/dist/billing/modules/addons/hooks/useAddons.d.ts +54 -0
- package/dist/billing/modules/addons/hooks/useAddons.d.ts.map +1 -0
- package/dist/billing/modules/addons/index.d.ts +7 -0
- package/dist/billing/modules/addons/index.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts +3 -0
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts.map +1 -0
- package/dist/billing/modules/addons/pages/index.d.ts +11 -0
- package/dist/billing/modules/addons/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/addons/store/addonCartStore.d.ts +37 -0
- package/dist/billing/modules/addons/store/addonCartStore.d.ts.map +1 -0
- package/dist/billing/modules/affiliate/api.d.ts +101 -0
- package/dist/billing/modules/affiliate/api.d.ts.map +1 -0
- package/dist/billing/modules/affiliate/index.d.ts +2 -0
- package/dist/billing/modules/affiliate/index.d.ts.map +1 -0
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts +3 -0
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts.map +1 -0
- package/dist/billing/modules/analytics/index.d.ts +5 -0
- package/dist/billing/modules/analytics/index.d.ts.map +1 -0
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts +3 -0
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts.map +1 -0
- package/dist/billing/modules/analytics/pages/index.d.ts +5 -0
- package/dist/billing/modules/analytics/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/index.d.ts +12 -0
- package/dist/billing/modules/billing/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts +76 -0
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts +57 -0
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/usePayments.d.ts +61 -0
- package/dist/billing/modules/billing/hooks/usePayments.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts +216 -0
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts.map +1 -0
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts +40 -0
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts.map +1 -0
- package/dist/billing/modules/billing/index.d.ts +7 -0
- package/dist/billing/modules/billing/index.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts +3 -0
- package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts.map +1 -0
- package/dist/billing/modules/billing/pages/index.d.ts +14 -0
- package/dist/billing/modules/billing/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts +13 -0
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts +13 -0
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts +13 -0
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts +23 -0
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts +13 -0
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts +15 -0
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts +18 -0
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts +13 -0
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts +36 -0
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts +18 -0
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts +18 -0
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts +34 -0
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts +12 -0
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts +12 -0
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts +17 -0
- package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts +15 -0
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts +25 -0
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts +28 -0
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts +11 -0
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts +30 -0
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts.map +1 -0
- package/dist/billing/modules/checkout/components/index.d.ts +24 -0
- package/dist/billing/modules/checkout/components/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/index.d.ts +9 -0
- package/dist/billing/modules/checkout/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts +78 -0
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts +25 -0
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts +19 -0
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts +59 -0
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts.map +1 -0
- package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts +122 -0
- package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts.map +1 -0
- package/dist/billing/modules/checkout/index.d.ts +24 -0
- package/dist/billing/modules/checkout/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts +3 -0
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts.map +1 -0
- package/dist/billing/modules/checkout/pages/index.d.ts +5 -0
- package/dist/billing/modules/checkout/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/types/index.d.ts +279 -0
- package/dist/billing/modules/checkout/types/index.d.ts.map +1 -0
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts +19 -0
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts.map +1 -0
- package/dist/billing/modules/coupons/index.d.ts +5 -0
- package/dist/billing/modules/coupons/index.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts +3 -0
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts.map +1 -0
- package/dist/billing/modules/coupons/pages/index.d.ts +8 -0
- package/dist/billing/modules/coupons/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/credits/hooks/index.d.ts +5 -0
- package/dist/billing/modules/credits/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/credits/hooks/useCredits.d.ts +74 -0
- package/dist/billing/modules/credits/hooks/useCredits.d.ts.map +1 -0
- package/dist/billing/modules/credits/index.d.ts +6 -0
- package/dist/billing/modules/credits/index.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts +3 -0
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts.map +1 -0
- package/dist/billing/modules/credits/pages/index.d.ts +8 -0
- package/dist/billing/modules/credits/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts +15 -0
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts +71 -0
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts +17 -0
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts +12 -0
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts +16 -0
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts +28 -0
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/components/index.d.ts +10 -0
- package/dist/billing/modules/dashboard/components/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/hooks/index.d.ts +6 -0
- package/dist/billing/modules/dashboard/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts +16 -0
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts +144 -0
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/index.d.ts +8 -0
- package/dist/billing/modules/dashboard/index.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts +3 -0
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts.map +1 -0
- package/dist/billing/modules/dashboard/pages/index.d.ts +5 -0
- package/dist/billing/modules/dashboard/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/discounts/index.d.ts +6 -0
- package/dist/billing/modules/discounts/index.d.ts.map +1 -0
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts +3 -0
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts.map +1 -0
- package/dist/billing/modules/discounts/pages/index.d.ts +6 -0
- package/dist/billing/modules/discounts/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/earnings/api.d.ts +226 -0
- package/dist/billing/modules/earnings/api.d.ts.map +1 -0
- package/dist/billing/modules/earnings/index.d.ts +6 -0
- package/dist/billing/modules/earnings/index.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts.map +1 -0
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts +3 -0
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/constants/enterprise.d.ts +20 -0
- package/dist/billing/modules/plans/constants/enterprise.d.ts.map +1 -0
- package/dist/billing/modules/plans/constants/featuredQuotas.d.ts +10 -0
- package/dist/billing/modules/plans/constants/featuredQuotas.d.ts.map +1 -0
- package/dist/billing/modules/plans/hooks/index.d.ts +7 -0
- package/dist/billing/modules/plans/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/plans/hooks/usePlans.d.ts +45 -0
- package/dist/billing/modules/plans/hooks/usePlans.d.ts.map +1 -0
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts +26 -0
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts.map +1 -0
- package/dist/billing/modules/plans/index.d.ts +7 -0
- package/dist/billing/modules/plans/index.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlanEditPage.js +90 -92
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts +3 -0
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts.map +1 -0
- package/dist/billing/modules/plans/pages/index.d.ts +12 -0
- package/dist/billing/modules/plans/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts +3 -0
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts.map +1 -0
- package/dist/billing/modules/plans/utils/planSelector.d.ts +3 -0
- package/dist/billing/modules/plans/utils/planSelector.d.ts.map +1 -0
- package/dist/billing/modules/promotions/index.d.ts +2 -0
- package/dist/billing/modules/promotions/index.d.ts.map +1 -0
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts +3 -0
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts.map +1 -0
- package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts +3 -0
- package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts.map +1 -0
- package/dist/billing/modules/promotions/pages/index.d.ts +3 -0
- package/dist/billing/modules/promotions/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/hooks/index.d.ts +6 -0
- package/dist/billing/modules/quota/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/hooks/useQuota.d.ts +132 -0
- package/dist/billing/modules/quota/hooks/useQuota.d.ts.map +1 -0
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts +38 -0
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts.map +1 -0
- package/dist/billing/modules/quota/index.d.ts +6 -0
- package/dist/billing/modules/quota/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts +3 -0
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts.map +1 -0
- package/dist/billing/modules/quota/pages/index.d.ts +10 -0
- package/dist/billing/modules/quota/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/quota/utils/quotaSelector.d.ts +4 -0
- package/dist/billing/modules/quota/utils/quotaSelector.d.ts.map +1 -0
- package/dist/billing/modules/settings/index.d.ts +5 -0
- package/dist/billing/modules/settings/index.d.ts.map +1 -0
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts +3 -0
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts.map +1 -0
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts +3 -0
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts.map +1 -0
- package/dist/billing/modules/settings/pages/index.d.ts +6 -0
- package/dist/billing/modules/settings/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/store/graphql/index.d.ts +6 -0
- package/dist/billing/modules/store/graphql/index.d.ts.map +1 -0
- package/dist/billing/modules/store/index.d.ts +6 -0
- package/dist/billing/modules/store/index.d.ts.map +1 -0
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts +10 -0
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts +11 -0
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/hooks/index.d.ts +6 -0
- package/dist/billing/modules/subscriptions/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts +91 -0
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/index.d.ts +7 -0
- package/dist/billing/modules/subscriptions/index.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts +3 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts +3 -0
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts +3 -0
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts.map +1 -0
- package/dist/billing/modules/subscriptions/pages/index.d.ts +8 -0
- package/dist/billing/modules/subscriptions/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts +7 -0
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts.map +1 -0
- package/dist/billing/modules/usage/hooks/index.d.ts +6 -0
- package/dist/billing/modules/usage/hooks/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/hooks/useUsage.d.ts +316 -0
- package/dist/billing/modules/usage/hooks/useUsage.d.ts.map +1 -0
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts +13 -0
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts.map +1 -0
- package/dist/billing/modules/usage/index.d.ts +6 -0
- package/dist/billing/modules/usage/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/pages/UsagePage.d.ts +3 -0
- package/dist/billing/modules/usage/pages/UsagePage.d.ts.map +1 -0
- package/dist/billing/modules/usage/pages/index.d.ts +5 -0
- package/dist/billing/modules/usage/pages/index.d.ts.map +1 -0
- package/dist/billing/modules/usage/utils/aiSpend.d.ts +71 -0
- package/dist/billing/modules/usage/utils/aiSpend.d.ts.map +1 -0
- package/dist/billing/providers/BillingProvider.d.ts +20 -0
- package/dist/billing/providers/BillingProvider.d.ts.map +1 -0
- package/dist/billing/shared/components/AccessDenied.d.ts +7 -0
- package/dist/billing/shared/components/AccessDenied.d.ts.map +1 -0
- package/dist/billing/shared/components/ActorIdentity.d.ts +9 -0
- package/dist/billing/shared/components/ActorIdentity.d.ts.map +1 -0
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts +10 -0
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts.map +1 -0
- package/dist/billing/shared/components/EmptyState.d.ts +10 -0
- package/dist/billing/shared/components/EmptyState.d.ts.map +1 -0
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts +10 -0
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts.map +1 -0
- package/dist/billing/shared/components/PageHeader.d.ts +10 -0
- package/dist/billing/shared/components/PageHeader.d.ts.map +1 -0
- package/dist/billing/shared/components/PushPermissionNudge.d.ts +7 -0
- package/dist/billing/shared/components/PushPermissionNudge.d.ts.map +1 -0
- package/dist/billing/shared/components/ServerError.d.ts +10 -0
- package/dist/billing/shared/components/ServerError.d.ts.map +1 -0
- package/dist/billing/shared/components/StatCard.d.ts +14 -0
- package/dist/billing/shared/components/StatCard.d.ts.map +1 -0
- package/dist/billing/shared/components/index.d.ts +13 -0
- package/dist/billing/shared/components/index.d.ts.map +1 -0
- package/dist/billing/shared/hooks/index.d.ts +4 -0
- package/dist/billing/shared/hooks/index.d.ts.map +1 -0
- package/dist/billing/shared/hooks/useActorProfiles.d.ts +17 -0
- package/dist/billing/shared/hooks/useActorProfiles.d.ts.map +1 -0
- package/dist/billing/shared/hooks/useTr.d.ts +17 -0
- package/dist/billing/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/billing/shared/index.d.ts +9 -0
- package/dist/billing/shared/index.d.ts.map +1 -0
- package/dist/billing/shared/types/graphql.d.ts +946 -0
- package/dist/billing/shared/types/graphql.d.ts.map +1 -0
- package/dist/billing/shared/types/index.d.ts +101 -0
- package/dist/billing/shared/types/index.d.ts.map +1 -0
- package/dist/billing/shared/ui/Card.d.ts +17 -0
- package/dist/billing/shared/ui/Card.d.ts.map +1 -0
- package/dist/billing/shared/ui/MetricCard.d.ts +20 -0
- package/dist/billing/shared/ui/MetricCard.d.ts.map +1 -0
- package/dist/billing/shared/ui/ProgressBar.d.ts +15 -0
- package/dist/billing/shared/ui/ProgressBar.d.ts.map +1 -0
- package/dist/billing/shared/ui/SectionHeader.d.ts +15 -0
- package/dist/billing/shared/ui/SectionHeader.d.ts.map +1 -0
- package/dist/billing/shared/ui/StatusPill.d.ts +14 -0
- package/dist/billing/shared/ui/StatusPill.d.ts.map +1 -0
- package/dist/billing/shared/ui/index.d.ts +13 -0
- package/dist/billing/shared/ui/index.d.ts.map +1 -0
- package/dist/billing/shared/utils/directActivityGraphql.d.ts +12 -0
- package/dist/billing/shared/utils/directActivityGraphql.d.ts.map +1 -0
- package/dist/billing/shared/utils/directBillingGraphql.d.ts +12 -0
- package/dist/billing/shared/utils/directBillingGraphql.d.ts.map +1 -0
- package/dist/billing/shared/utils/error.d.ts +30 -0
- package/dist/billing/shared/utils/error.d.ts.map +1 -0
- package/dist/billing/shared/utils/format.d.ts +33 -0
- package/dist/billing/shared/utils/format.d.ts.map +1 -0
- package/dist/billing/shared/utils/gatewayGraphql.d.ts +14 -0
- package/dist/billing/shared/utils/gatewayGraphql.d.ts.map +1 -0
- package/dist/billing/shared/utils/index.d.ts +14 -0
- package/dist/billing/shared/utils/index.d.ts.map +1 -0
- package/dist/billing/shared/utils/navigation.d.ts +2 -0
- package/dist/billing/shared/utils/navigation.d.ts.map +1 -0
- package/dist/billing/shared/utils/paymentTheme.d.ts +18 -0
- package/dist/billing/shared/utils/paymentTheme.d.ts.map +1 -0
- package/dist/billing/shared/utils/planFeatureQuantity.d.ts +40 -0
- package/dist/billing/shared/utils/planFeatureQuantity.d.ts.map +1 -0
- package/dist/billing/shared/utils/status.d.ts +27 -0
- package/dist/billing/shared/utils/status.d.ts.map +1 -0
- package/dist/billing/shared/utils/tokens.d.ts +156 -0
- package/dist/billing/shared/utils/tokens.d.ts.map +1 -0
- package/dist/billing/translations/en.d.ts +534 -0
- package/dist/billing/translations/en.d.ts.map +1 -0
- package/dist/billing/types/index.d.ts +275 -0
- package/dist/billing/types/index.d.ts.map +1 -0
- package/dist/dev/main.d.ts +1 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +10856 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +26958 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +261 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +49193 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/utils/nativeBridge.d.ts +3 -0
- package/dist/utils/nativeBridge.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workspace AI spend in US dollars (BOFF-10273).
|
|
3
|
+
*
|
|
4
|
+
* wspace-prompts-svc keeps an AI ledger row for every platform-key AI call, with
|
|
5
|
+
* its cost in USD micro-dollars. `promptUsageBreakdownV2` sums that ledger for the
|
|
6
|
+
* workspace in the request context, and reports money as a decimal string of
|
|
7
|
+
* micro-dollars because integer money does not drift in a rollup and a total can
|
|
8
|
+
* exceed a GraphQL Int. These helpers keep the value as a BigInt until the last
|
|
9
|
+
* step and then render dollars, so the usage page shows what AI cost the
|
|
10
|
+
* workspace rather than only how many credits it used.
|
|
11
|
+
*/
|
|
12
|
+
export type AiSpendWindow = 'month' | '30d' | '7d';
|
|
13
|
+
export declare const AI_SPEND_WINDOWS: ReadonlyArray<{
|
|
14
|
+
value: AiSpendWindow;
|
|
15
|
+
label: string;
|
|
16
|
+
}>;
|
|
17
|
+
/** Parse a micro-dollar decimal string; anything missing or malformed reads as zero. */
|
|
18
|
+
export declare function parseMicroUsd(value: string | null | undefined): bigint;
|
|
19
|
+
/**
|
|
20
|
+
* Render micro-dollars as USD. Amounts under one cent keep four decimals so a
|
|
21
|
+
* workspace that spent USD 0.0042 does not read as zero, and anything above
|
|
22
|
+
* zero but under USD 0.0001 reads as "<$0.0001".
|
|
23
|
+
*/
|
|
24
|
+
export declare function formatMicroUsd(value: string | bigint | null | undefined): string;
|
|
25
|
+
/**
|
|
26
|
+
* The [from, to) range for a window. `to` is the start of the next UTC minute,
|
|
27
|
+
* so renders inside one minute share an Apollo cache key; "month" starts at
|
|
28
|
+
* 00:00 UTC on the first of the current UTC month, matching how the AI credit
|
|
29
|
+
* quota resets.
|
|
30
|
+
*/
|
|
31
|
+
export declare function aiSpendRange(window: AiSpendWindow, now?: Date): {
|
|
32
|
+
from: string;
|
|
33
|
+
to: string;
|
|
34
|
+
};
|
|
35
|
+
/** The money part of one breakdown row, as the gateway returns it. */
|
|
36
|
+
export interface AiSpendBreakdownRowInput {
|
|
37
|
+
productKey: string | null;
|
|
38
|
+
attempts: string;
|
|
39
|
+
costMicroUsd: {
|
|
40
|
+
knownSubtotal: string | null;
|
|
41
|
+
knownAttempts: string;
|
|
42
|
+
missingAttempts: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface AiSpendProductRow {
|
|
46
|
+
productKey: string;
|
|
47
|
+
attempts: number;
|
|
48
|
+
/** Calls whose ledger row carries no cost (for example bring-your-own-key calls). */
|
|
49
|
+
unpricedAttempts: number;
|
|
50
|
+
costMicroUsd: bigint;
|
|
51
|
+
}
|
|
52
|
+
export interface AiSpendSummary {
|
|
53
|
+
totalMicroUsd: bigint;
|
|
54
|
+
attempts: number;
|
|
55
|
+
unpricedAttempts: number;
|
|
56
|
+
products: AiSpendProductRow[];
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Fold a per-product breakdown into the panel's model: the workspace total and
|
|
60
|
+
* one row per product, highest cost first (ties by name so the order is stable).
|
|
61
|
+
*/
|
|
62
|
+
export declare function summarizeAiSpend(rows: ReadonlyArray<AiSpendBreakdownRowInput>): AiSpendSummary;
|
|
63
|
+
/** A product key as a readable label: "coolandlovely" -> "Coolandlovely", "ai_studio" -> "Ai Studio". */
|
|
64
|
+
export declare function formatProductKey(productKey: string): string;
|
|
65
|
+
/**
|
|
66
|
+
* True when the gateway refused the query because the caller lacks permission
|
|
67
|
+
* to read the workspace's AI ledger. The panel then stays hidden instead of
|
|
68
|
+
* showing an error to members who were never meant to see spend.
|
|
69
|
+
*/
|
|
70
|
+
export declare function isAiSpendPermissionError(error: unknown): boolean;
|
|
71
|
+
//# sourceMappingURL=aiSpend.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiSpend.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/usage/utils/aiSpend.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,IAAI,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAInF,CAAC;AAKF,wFAAwF;AACxF,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAGtE;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAehF;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,aAAa,EACrB,GAAG,GAAE,IAAiB,GACrB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAY9B;AAED,sEAAsE;AACtE,MAAM,WAAW,wBAAwB;IACvC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE;QACZ,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,aAAa,EAAE,MAAM,CAAC;QACtB,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,qFAAqF;IACrF,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAQD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,aAAa,CAAC,wBAAwB,CAAC,GAAG,cAAc,CAiB9F;AAED,yGAAyG;AACzG,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAO3D;AAQD;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAqBhE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { BillingRootProps } from '../types';
|
|
3
|
+
/** Dispatched when the background StoreKit 2/Play Billing listener observes a
|
|
4
|
+
* transaction (renewal, restore, or an interrupted purchase resumed on launch).
|
|
5
|
+
* Background transactions are reconciled authoritatively server-side via the
|
|
6
|
+
* Apple/Google webhooks; this just lets mounted UI react (e.g. refresh entitlements). */
|
|
7
|
+
export declare const NATIVE_IAP_TRANSACTION_EVENT = "burdenoff:nativeIapTransaction";
|
|
8
|
+
/**
|
|
9
|
+
* Hook to access Billing context
|
|
10
|
+
*/
|
|
11
|
+
export declare const useBilling: () => BillingRootProps;
|
|
12
|
+
/**
|
|
13
|
+
* Provider component for Billing microfrontend
|
|
14
|
+
* Sets up routing and context
|
|
15
|
+
*
|
|
16
|
+
* When integrated into a shell (basePath provided), the shell already has a router
|
|
17
|
+
* so we don't create another one. When standalone (no basePath), use MemoryRouter.
|
|
18
|
+
*/
|
|
19
|
+
export declare const BillingProvider: FC<PropsWithChildren<BillingRootProps>>;
|
|
20
|
+
//# sourceMappingURL=BillingProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAGjD;;;yFAGyF;AACzF,eAAO,MAAM,4BAA4B,mCAAmC,CAAC;AAS7E;;GAEG;AACH,eAAO,MAAM,UAAU,wBAMtB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAiEnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
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,CAgC9C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ActorProfile } from '../hooks/useActorProfiles';
|
|
3
|
+
interface ActorIdentityProps {
|
|
4
|
+
profile: ActorProfile;
|
|
5
|
+
variant?: 'cell' | 'inline' | 'chip';
|
|
6
|
+
}
|
|
7
|
+
export declare const ActorIdentity: FC<ActorIdentityProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=ActorIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActorIdentity.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/ActorIdentity.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,UAAU,kBAAkB;IAC1B,OAAO,EAAE,YAAY,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CACtC;AAUD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA6EhD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CurrencyPriceOverrideInput } from '../types';
|
|
3
|
+
interface CurrencyPriceOverridesEditorProps {
|
|
4
|
+
overrides: CurrencyPriceOverrideInput[];
|
|
5
|
+
onChange: (overrides: CurrencyPriceOverrideInput[]) => void;
|
|
6
|
+
showPerSeatAmount?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const CurrencyPriceOverridesEditor: FC<CurrencyPriceOverridesEditorProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=CurrencyPriceOverridesEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
interface EmptyStateProps {
|
|
3
|
+
icon?: ReactNode;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
action?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const EmptyState: FC<EmptyStateProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/EmptyState.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,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,CAI1C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { GeoPricingOverrideInput } from '../types';
|
|
3
|
+
interface GeoPricingOverridesEditorProps {
|
|
4
|
+
overrides: GeoPricingOverrideInput[];
|
|
5
|
+
onChange: (overrides: GeoPricingOverrideInput[]) => void;
|
|
6
|
+
showPerSeatAmount?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const GeoPricingOverridesEditor: FC<GeoPricingOverridesEditorProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=GeoPricingOverridesEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,CAyLxE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
interface PageHeaderProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
actions?: ReactNode;
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const PageHeader: FC<PageHeaderProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=PageHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/PageHeader.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3C,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,CAI1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PushPermissionNudge.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/components/PushPermissionNudge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ1C,UAAU,wBAAwB;IAChC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAuE5D,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface ServerErrorProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
message?: string;
|
|
5
|
+
onRetry?: () => void;
|
|
6
|
+
showRetry?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const ServerError: FC<ServerErrorProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ServerError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,CA2F5C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
interface StatCardProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
trend?: {
|
|
7
|
+
value: number;
|
|
8
|
+
isPositive: boolean;
|
|
9
|
+
};
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const StatCard: FC<StatCardProps>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=StatCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,CAEtC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export { ActorIdentity } from './ActorIdentity';
|
|
12
|
+
export { PushPermissionNudge } from './PushPermissionNudge';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ActorProfile {
|
|
2
|
+
actorId: string;
|
|
3
|
+
actorType: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
secondaryLabel: string;
|
|
6
|
+
email?: string;
|
|
7
|
+
avatarUrl?: string;
|
|
8
|
+
resolved: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type ActorProfileMap = Record<string, ActorProfile>;
|
|
11
|
+
interface ActorInput {
|
|
12
|
+
actorId: string;
|
|
13
|
+
actorType: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function useActorProfiles(actors: ActorInput[]): ActorProfileMap;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=useActorProfiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useActorProfiles.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/hooks/useActorProfiles.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAE3D,UAAU,UAAU;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAoFD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,eAAe,CAqGtE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* useTr — translation hook with fallback semantics.
|
|
3
|
+
*
|
|
4
|
+
* Wraps `useI18n().t()` so that when a key has no translation (i.e. the
|
|
5
|
+
* provider returns the key itself), the caller's English fallback is used
|
|
6
|
+
* instead. This keeps consumer call sites consistent and avoids leaking
|
|
7
|
+
* untranslated keys into the UI.
|
|
8
|
+
*
|
|
9
|
+
* Supports optional interpolation params using `{{key}}` placeholders.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* const tr = useTr();
|
|
13
|
+
* return <h1>{tr('billing.dashboard.title', 'Dashboard')}</h1>;
|
|
14
|
+
* return <p>{tr('billing.delete.confirm', 'Delete {{count}} items?', { count: 5 })}</p>;
|
|
15
|
+
*/
|
|
16
|
+
export declare function useTr(): (key: string, fallback: string, params?: Record<string, string | number>) => string;
|
|
17
|
+
//# sourceMappingURL=useTr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTr.d.ts","sourceRoot":"","sources":["../../../../src/billing/shared/hooks/useTr.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,KAAK,IAAI,CACvB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAAM,CAcV"}
|
|
@@ -0,0 +1 @@
|
|
|
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;AAC7B,cAAc,MAAM,CAAC"}
|