@burdenoff/microfe-billing 2026.1031.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/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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/billing/modules/billing/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingWebhookLogsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/BillingWebhookLogsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAkI1C,eAAO,MAAM,sBAAsB,EAAE,EA4PpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvoiceDetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/InvoiceDetailPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AA2B1C,eAAO,MAAM,iBAAiB,EAAE,EAwqB/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvoicesListPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/InvoicesListPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAqD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA6BnF,eAAO,MAAM,gBAAgB,EAAE,EAqa9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderCallbackLogsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/OrderCallbackLogsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAY,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAqK1C,eAAO,MAAM,qBAAqB,EAAE,EA6QnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentMethodsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/PaymentMethodsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAoC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA+BlE,eAAO,MAAM,kBAAkB,EAAE,EAgOhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefundIssueLogsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/RefundIssueLogsPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAgC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAiB9D,eAAO,MAAM,mBAAmB,EAAE,EA+OjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefundsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/RefundsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAqD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA0yBnF,eAAO,MAAM,WAAW,EAAE,EAokBzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/TransactionsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAA+B,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA+b7D,eAAO,MAAM,gBAAgB,EAAE,EAoa9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserRefundsPage.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/UserRefundsPage.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAwC,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAuFtF,eAAO,MAAM,eAAe,EAAE,EAwe7B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Billing Module - Pages
|
|
3
|
+
* Re-exports all page components
|
|
4
|
+
*/
|
|
5
|
+
export { InvoicesListPage } from './InvoicesListPage';
|
|
6
|
+
export { InvoiceDetailPage } from './InvoiceDetailPage';
|
|
7
|
+
export { TransactionsPage } from './TransactionsPage';
|
|
8
|
+
export { PaymentMethodsPage } from './PaymentMethodsPage';
|
|
9
|
+
export { RefundsPage } from './RefundsPage';
|
|
10
|
+
export { RefundIssueLogsPage } from './RefundIssueLogsPage';
|
|
11
|
+
export { UserRefundsPage } from './UserRefundsPage';
|
|
12
|
+
export { BillingWebhookLogsPage } from './BillingWebhookLogsPage';
|
|
13
|
+
export { OrderCallbackLogsPage } from './OrderCallbackLogsPage';
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/billing/pages/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SavedPaymentMethod } from '../types';
|
|
3
|
+
interface AutoPayToggleProps {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
onToggle: (enabled: boolean) => void;
|
|
6
|
+
selectedPaymentMethodId: string | null;
|
|
7
|
+
savedPaymentMethods: SavedPaymentMethod[];
|
|
8
|
+
onSelectPaymentMethod: (paymentMethodId: string) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const AutoPayToggle: FC<AutoPayToggleProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=AutoPayToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AutoPayToggle.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/AutoPayToggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,qBAAqB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAYD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAyIhD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CheckoutBillingAccount } from '../types';
|
|
3
|
+
interface BillingAccountSelectorProps {
|
|
4
|
+
accounts: CheckoutBillingAccount[];
|
|
5
|
+
selectedAccountId: string | null;
|
|
6
|
+
onSelect: (account: CheckoutBillingAccount) => void;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
disabledMessage?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const BillingAccountSelector: FC<BillingAccountSelectorProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=BillingAccountSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingAccountSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/BillingAccountSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAIvD,UAAU,2BAA2B;IACnC,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IACnC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,CAAC,OAAO,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAgMlE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SavedPaymentMethod } from '../types';
|
|
3
|
+
interface CompactAutoPayToggleProps {
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
onToggle: (enabled: boolean) => void;
|
|
6
|
+
selectedPaymentMethodId: string | null;
|
|
7
|
+
savedPaymentMethods: SavedPaymentMethod[];
|
|
8
|
+
onSelectPaymentMethod: (paymentMethodId: string) => void;
|
|
9
|
+
onSelectForCurrentPayment?: (paymentMethodId: string) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const CompactAutoPayToggle: FC<CompactAutoPayToggleProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=CompactAutoPayToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompactAutoPayToggle.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CompactAutoPayToggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAoC,MAAM,OAAO,CAAC;AAElE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,qBAAqB,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAEzD,yBAAyB,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D;AAQD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAwM9D,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface Props {
|
|
3
|
+
billingAccountId: string;
|
|
4
|
+
/** Whether contactNumber is already filled on the account */
|
|
5
|
+
hasPhone: boolean;
|
|
6
|
+
/** Whether a billing address already exists (with line1 + postalCode) */
|
|
7
|
+
hasAddress: boolean;
|
|
8
|
+
onCompleted: () => void;
|
|
9
|
+
onCancel: () => void;
|
|
10
|
+
}
|
|
11
|
+
/** Returns true when a billing account has everything required for checkout. */
|
|
12
|
+
export declare function isBillingAccountComplete(account: {
|
|
13
|
+
contactNumber?: string | null;
|
|
14
|
+
billingAddresses?: Array<{
|
|
15
|
+
line1?: string | null;
|
|
16
|
+
city?: string | null;
|
|
17
|
+
postalCode?: string | null;
|
|
18
|
+
country?: string | null;
|
|
19
|
+
}> | null;
|
|
20
|
+
}): boolean;
|
|
21
|
+
export declare const CompleteBillingAccountModal: FC<Props>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=CompleteBillingAccountModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompleteBillingAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CompleteBillingAccountModal.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAqC1C,UAAU,KAAK;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,QAAQ,EAAE,OAAO,CAAC;IAClB,yEAAyE;IACzE,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,gFAAgF;AAChF,wBAAgB,wBAAwB,CAAC,OAAO,EAAE;IAChD,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,gBAAgB,CAAC,EAAE,KAAK,CAAC;QACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACrB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC,GAAG,IAAI,CAAC;CACX,GAAG,OAAO,CAUV;AAED,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAAC,KAAK,CAiRjD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface CreditsAmountInputProps {
|
|
3
|
+
value: number;
|
|
4
|
+
onChange: (value: number) => void;
|
|
5
|
+
minAmount?: number;
|
|
6
|
+
maxAmount?: number;
|
|
7
|
+
costPerCredit?: number;
|
|
8
|
+
currency?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const CreditsAmountInput: FC<CreditsAmountInputProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=CreditsAmountInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreditsAmountInput.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CreditsAmountInput.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAyB,MAAM,OAAO,CAAC;AAKvD,UAAU,uBAAuB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA0J1D,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface CreditsPaymentOptionProps {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
onToggle: (enabled: boolean) => void;
|
|
5
|
+
creditsToUse: number;
|
|
6
|
+
onCreditsChange: (amount: number) => void;
|
|
7
|
+
availableCredits: number;
|
|
8
|
+
maxCreditsUsable: number;
|
|
9
|
+
totalAmount: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
disabledReason?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const CreditsPaymentOption: FC<CreditsPaymentOptionProps>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=CreditsPaymentOption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreditsPaymentOption.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CreditsPaymentOption.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAe,MAAM,OAAO,CAAC;AAM7C,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+N9D,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { Currency, PaymentProvider } from '../types';
|
|
3
|
+
interface CurrencySelectorProps {
|
|
4
|
+
selectedCurrency: Currency;
|
|
5
|
+
onSelect: (currency: Currency) => void;
|
|
6
|
+
selectedProvider: PaymentProvider;
|
|
7
|
+
baseAmount: number;
|
|
8
|
+
convertedAmount: number | null;
|
|
9
|
+
conversionRate: number;
|
|
10
|
+
isConverting?: boolean;
|
|
11
|
+
/** Billing address country code (e.g., 'IN', 'US') - used to restrict currencies */
|
|
12
|
+
billingCountry?: string;
|
|
13
|
+
/** Billing account's default currency - used for auto-selection */
|
|
14
|
+
billingAccountCurrency?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const CurrencySelector: FC<CurrencySelectorProps>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=CurrencySelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencySelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/CurrencySelector.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAwC,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAI1D,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,gBAAgB,EAAE,eAAe,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mEAAmE;IACnE,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAsED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA2PtD,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { useNativeCheckout } from '../hooks/useNativeCheckout';
|
|
3
|
+
import { PurchaseType } from '../types';
|
|
4
|
+
interface NativeCheckoutViewProps {
|
|
5
|
+
purchaseType: PurchaseType;
|
|
6
|
+
productId?: string;
|
|
7
|
+
billingAccountId?: string;
|
|
8
|
+
nativeCheckout: ReturnType<typeof useNativeCheckout>;
|
|
9
|
+
onBack: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const NativeCheckoutView: FC<NativeCheckoutViewProps>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=NativeCheckoutView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeCheckoutView.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/NativeCheckoutView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAgC,MAAM,OAAO,CAAC;AAiB9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,UAAU,uBAAuB;IAC/B,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;IACrD,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAuPD,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA8J1D,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CheckoutItem, Currency } from '../types';
|
|
3
|
+
interface OrderSummaryProps {
|
|
4
|
+
items: CheckoutItem[];
|
|
5
|
+
subtotal: number;
|
|
6
|
+
discountAmount: number;
|
|
7
|
+
taxAmount: number;
|
|
8
|
+
taxRate: number;
|
|
9
|
+
taxType?: string;
|
|
10
|
+
total: number;
|
|
11
|
+
currency: Currency;
|
|
12
|
+
showInCredits?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Total credits this order will actually charge — computed by useCheckout
|
|
15
|
+
* (subtotalUSD × CREDITS_PER_USD, with subtotalUSD properly currency-converted
|
|
16
|
+
* for non-USD-native items). Required whenever showInCredits is true.
|
|
17
|
+
*
|
|
18
|
+
* This component must NOT recompute credits itself: it used to fall back to
|
|
19
|
+
* `item.priceUSD ?? item.price`, and for a non-USD-native item (e.g. a
|
|
20
|
+
* store order priced in INR with no priceUSD) that silently treated the raw
|
|
21
|
+
* native-currency price as if it were already USD — a ₹349 item showed as
|
|
22
|
+
* "34,900 Credits" instead of ~365 (BOFF-7192, live-reported: the checkout
|
|
23
|
+
* page's "Insufficient credits" gate was fixed in useCheckout, but this
|
|
24
|
+
* component's own independent, duplicate — and still-broken — copy of the
|
|
25
|
+
* same fallback kept showing the wrong figure in the Order Summary itself).
|
|
26
|
+
*/
|
|
27
|
+
creditsRequired?: number;
|
|
28
|
+
/** Whether tax is being calculated */
|
|
29
|
+
isCalculatingTax?: boolean;
|
|
30
|
+
onUpdateQuantity?: (itemId: string, quantity: number) => void;
|
|
31
|
+
onRemoveItem?: (itemId: string) => void;
|
|
32
|
+
isEditable?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare const OrderSummary: FC<OrderSummaryProps>;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=OrderSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderSummary.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/OrderSummary.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAkBzC,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAmB,MAAM,UAAU,CAAC;AAKxE,UAAU,iBAAiB;IACzB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;;;;;;;OAaG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sCAAsC;IACtC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9D,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAqW9C,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { PaymentProvider, Currency } from '../types';
|
|
3
|
+
interface PaymentProviderSelectorProps {
|
|
4
|
+
selectedProvider: PaymentProvider;
|
|
5
|
+
onSelect: (provider: PaymentProvider) => void;
|
|
6
|
+
selectedCurrency: Currency;
|
|
7
|
+
stripeEnabled: boolean;
|
|
8
|
+
razorpayEnabled: boolean;
|
|
9
|
+
canPayWithCredits: boolean;
|
|
10
|
+
availableCredits: number;
|
|
11
|
+
totalAmount: number;
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
/** Billing address country code (e.g., 'IN', 'US') - used to restrict payment providers */
|
|
14
|
+
billingCountry?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const PaymentProviderSelector: FC<PaymentProviderSelectorProps>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=PaymentProviderSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentProviderSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/PaymentProviderSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAS1D,UAAU,4BAA4B;IACpC,gBAAgB,EAAE,eAAe,CAAC;IAClC,QAAQ,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,2FAA2F;IAC3F,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAYD,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA6LpE,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface PromoCodeInputProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
onValidate: () => Promise<{
|
|
6
|
+
valid: boolean;
|
|
7
|
+
error?: string;
|
|
8
|
+
}>;
|
|
9
|
+
onClear: () => void;
|
|
10
|
+
isApplied: boolean;
|
|
11
|
+
discountValue?: number;
|
|
12
|
+
discountType?: 'PERCENTAGE' | 'FIXED';
|
|
13
|
+
isValidating?: boolean;
|
|
14
|
+
error?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const PromoCodeInput: FC<PromoCodeInputProps>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=PromoCodeInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PromoCodeInput.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/PromoCodeInput.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAyB,MAAM,OAAO,CAAC;AAKvD,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC9D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA4IlD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { RazorpaySuccessResponse, CheckoutRazorpayOptions, CheckoutRazorpayInstance } from '../types';
|
|
3
|
+
type RazorpayCheckoutOptions = CheckoutRazorpayOptions & {
|
|
4
|
+
customer_id?: string;
|
|
5
|
+
remember_customer?: boolean;
|
|
6
|
+
handler: (response: RazorpaySuccessResponse) => void;
|
|
7
|
+
};
|
|
8
|
+
declare global {
|
|
9
|
+
interface Window {
|
|
10
|
+
Razorpay?: new (options: RazorpayCheckoutOptions) => CheckoutRazorpayInstance;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
interface RazorpayPaymentButtonProps {
|
|
14
|
+
orderId: string;
|
|
15
|
+
keyId: string;
|
|
16
|
+
amount: number;
|
|
17
|
+
currency: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
customerId?: string;
|
|
21
|
+
prefill?: {
|
|
22
|
+
name?: string;
|
|
23
|
+
email?: string;
|
|
24
|
+
contact?: string;
|
|
25
|
+
};
|
|
26
|
+
notes?: Record<string, string>;
|
|
27
|
+
onSuccess: (response: RazorpaySuccessResponse) => void;
|
|
28
|
+
onError: (error: string) => void;
|
|
29
|
+
onCancel?: () => void;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export declare const RazorpayPaymentButton: FC<RazorpayPaymentButtonProps>;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=RazorpayPaymentButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RazorpayPaymentButton.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/RazorpayPaymentButton.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAoC,MAAM,OAAO,CAAC;AAGlE,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,UAAU,CAAC;AAGlB,KAAK,uBAAuB,GAAG,uBAAuB,GAAG;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,EAAE,CAAC,QAAQ,EAAE,uBAAuB,KAAK,IAAI,CAAC;CACtD,CAAC;AAEF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,QAAQ,CAAC,EAAE,KAAK,OAAO,EAAE,uBAAuB,KAAK,wBAAwB,CAAC;KAC/E;CACF;AAED,UAAU,0BAA0B;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,SAAS,EAAE,CAAC,QAAQ,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACvD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAID,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAkOhE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SavedPaymentMethod } from '../types';
|
|
3
|
+
interface SavedCardSelectorProps {
|
|
4
|
+
savedCards: SavedPaymentMethod[];
|
|
5
|
+
selectedCardId: string | null;
|
|
6
|
+
onSelectCard: (cardId: string | null) => void;
|
|
7
|
+
onRemoveCard?: (cardId: string) => void;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const SavedCardSelector: FC<SavedCardSelectorProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=SavedCardSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SavedCardSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/SavedCardSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAW1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,sBAAsB;IAC9B,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAoGD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA4KxD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface SimpleAutoPayToggleProps {
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
onToggle: (enabled: boolean) => void;
|
|
5
|
+
hasPaymentMethodSelected: boolean;
|
|
6
|
+
selectedPaymentMethodDisplay?: string;
|
|
7
|
+
isNewCard?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const SimpleAutoPayToggle: FC<SimpleAutoPayToggleProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=SimpleAutoPayToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleAutoPayToggle.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/SimpleAutoPayToggle.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAI1C,UAAU,wBAAwB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,wBAAwB,EAAE,OAAO,CAAC;IAClC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAiG5D,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface StoreShippingSelection {
|
|
3
|
+
shippingAddressId: string | null;
|
|
4
|
+
shippingMethodId: string | null;
|
|
5
|
+
/** DISPLAY-ONLY estimate in the order currency; backend recomputes on submit. */
|
|
6
|
+
shippingCost: number;
|
|
7
|
+
destinationCountry: string | null;
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
storeOrderId: string;
|
|
11
|
+
/** Order/checkout currency, used only for formatting the estimate. */
|
|
12
|
+
currency: string;
|
|
13
|
+
onChange: (selection: StoreShippingSelection) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const StoreShippingSection: FC<Props>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=StoreShippingSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoreShippingSection.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/StoreShippingSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAwC,MAAM,OAAO,CAAC;AAuBtE,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,iFAAiF;IACjF,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED,UAAU,KAAK;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,SAAS,EAAE,sBAAsB,KAAK,IAAI,CAAC;CACvD;AAiDD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAyiB1C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface StripePaymentFormProps {
|
|
3
|
+
clientSecret: string;
|
|
4
|
+
publishableKey: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
currency: string;
|
|
7
|
+
onSuccess: (paymentIntentId: string) => void;
|
|
8
|
+
onError: (error: string) => void;
|
|
9
|
+
onCancel?: () => void;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
isCompletingExistingPayment?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const StripePaymentForm: FC<StripePaymentFormProps>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=StripePaymentForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripePaymentForm.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/StripePaymentForm.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAA4C,MAAM,OAAO,CAAC;AAgD1E,UAAU,sBAAsB;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAmCD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAwXxD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface Subscription {
|
|
3
|
+
id: string;
|
|
4
|
+
status: string;
|
|
5
|
+
startDate: string;
|
|
6
|
+
endDate: string;
|
|
7
|
+
plan?: {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
productID?: string;
|
|
11
|
+
product?: {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
} | null;
|
|
15
|
+
} | null;
|
|
16
|
+
}
|
|
17
|
+
interface SubscriptionSelectorProps {
|
|
18
|
+
subscriptions: Subscription[];
|
|
19
|
+
selectedSubscriptionId: string | null;
|
|
20
|
+
onSelect: (subscriptionId: string | null) => void;
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const SubscriptionSelector: FC<SubscriptionSelectorProps>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=SubscriptionSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubscriptionSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/SubscriptionSelector.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAK7D,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE;YACR,EAAE,EAAE,MAAM,CAAC;YACX,IAAI,EAAE,MAAM,CAAC;SACd,GAAG,IAAI,CAAC;KACV,GAAG,IAAI,CAAC;CACV;AAED,UAAU,yBAAyB;IACjC,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,EAAE,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAuI9D,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SavedPaymentMethod } from '../types';
|
|
3
|
+
interface UnifiedPaymentMethodSelectorProps {
|
|
4
|
+
savedPaymentMethods: SavedPaymentMethod[];
|
|
5
|
+
selectedPaymentMethodId: string | null;
|
|
6
|
+
onSelectSavedCard: (id: string | null) => void;
|
|
7
|
+
selectedProvider: 'CREDITS' | 'STRIPE' | 'RAZORPAY' | 'AUTO';
|
|
8
|
+
onSelectProvider: (provider: 'CREDITS' | 'STRIPE' | 'RAZORPAY') => void;
|
|
9
|
+
stripeEnabled: boolean;
|
|
10
|
+
razorpayEnabled: boolean;
|
|
11
|
+
canPayWithCredits: boolean;
|
|
12
|
+
availableCredits: number;
|
|
13
|
+
/** Credits (not a currency amount) needed to pay for this purchase —
|
|
14
|
+
* comparable directly to availableCredits. Passing a raw USD/local-
|
|
15
|
+
* currency total here compares two different units and silently lets
|
|
16
|
+
* a purchase proceed with insufficient credits (reproduced live,
|
|
17
|
+
* BOFF-7192: 800 available credits read as "enough" for a 2,474-credit
|
|
18
|
+
* item because the prop held $24.74, not 2,474). */
|
|
19
|
+
creditsRequired: number;
|
|
20
|
+
billingCountry?: string;
|
|
21
|
+
saveCard: boolean;
|
|
22
|
+
onSaveCardChange: (save: boolean) => void;
|
|
23
|
+
autoRenewEnabled?: boolean;
|
|
24
|
+
isLoading?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare const UnifiedPaymentMethodSelector: FC<UnifiedPaymentMethodSelectorProps>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=UnifiedPaymentMethodSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnifiedPaymentMethodSelector.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/UnifiedPaymentMethodSelector.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAY,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAGnD,UAAU,iCAAiC;IAEzC,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAC1C,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAG/C,gBAAgB,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;IAC7D,gBAAgB,EAAE,CAAC,QAAQ,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,KAAK,IAAI,CAAC;IAGxE,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;;wDAKoD;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAG1C,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAeD,eAAO,MAAM,4BAA4B,EAAE,EAAE,CAAC,iCAAiC,CAoU9E,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { PurchaseType } from '../types';
|
|
3
|
+
interface WebCheckoutRedirectViewProps {
|
|
4
|
+
purchaseType: PurchaseType;
|
|
5
|
+
path: string;
|
|
6
|
+
billingAccountId?: string;
|
|
7
|
+
onBack: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const WebCheckoutRedirectView: FC<WebCheckoutRedirectViewProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=WebCheckoutRedirectView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebCheckoutRedirectView.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/WebCheckoutRedirectView.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AAKzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,UAAU,4BAA4B;IACpC,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AA6CD,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAiDpE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface WorkspaceOption {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export interface WorkspaceQuotaToAssign {
|
|
7
|
+
quotaName: string;
|
|
8
|
+
productId: string;
|
|
9
|
+
limit: number | null;
|
|
10
|
+
noLimit: boolean;
|
|
11
|
+
resetPeriod: string;
|
|
12
|
+
quotaMode: 'dedicated' | 'pooled';
|
|
13
|
+
}
|
|
14
|
+
interface WorkspaceQuotaAssignmentModalProps {
|
|
15
|
+
billingAccountId: string;
|
|
16
|
+
subscriptionId: string;
|
|
17
|
+
quotas: WorkspaceQuotaToAssign[];
|
|
18
|
+
workspaces: WorkspaceOption[];
|
|
19
|
+
/**
|
|
20
|
+
* Current workspace — used as the pre-selected value.
|
|
21
|
+
* Pass the workspace from the app shell token context.
|
|
22
|
+
*/
|
|
23
|
+
currentWorkspaceId: string;
|
|
24
|
+
onAssigned: (workspaceId: string) => void;
|
|
25
|
+
onSkip: () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare function isWorkspaceScopedQuota(quotaName: string): boolean;
|
|
28
|
+
export declare const WorkspaceQuotaAssignmentModal: FC<WorkspaceQuotaAssignmentModalProps>;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=WorkspaceQuotaAssignmentModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceQuotaAssignmentModal.d.ts","sourceRoot":"","sources":["../../../../../src/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAyB,MAAM,OAAO,CAAC;AAKvD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,WAAW,GAAG,QAAQ,CAAC;CACnC;AAED,UAAU,kCAAkC;IAC1C,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,sBAAsB,EAAE,CAAC;IACjC,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AASD,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAEjE;AAED,eAAO,MAAM,6BAA6B,EAAE,EAAE,CAAC,kCAAkC,CAwJhF,CAAC"}
|