@burdenoff/microfe-billing 2026.1108.1 → 2026.1108.2
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 +1 -2
- package/dist/billing/BillingAdminRoutes.js +11 -12
- package/dist/billing/BillingAdminRoutes.js.map +1 -1
- package/dist/billing/BillingRoot.d.ts +0 -1
- package/dist/billing/BillingRoot.js +10 -9
- package/dist/billing/BillingRoot.js.map +1 -1
- package/dist/billing/BillingUserRoutes.d.ts +1 -2
- package/dist/billing/BillingUserRoutes.js +13 -14
- package/dist/billing/BillingUserRoutes.js.map +1 -1
- package/dist/billing/hooks/useBillingAccountSelection.d.ts +0 -1
- package/dist/billing/hooks/useBillingAccountSelection.js +7 -5
- package/dist/billing/hooks/useBillingAccountSelection.js.map +1 -1
- package/dist/billing/hooks/useBillingEventEmitter.d.ts +0 -1
- package/dist/billing/hooks/useBillingEventEmitter.js +1 -2
- package/dist/billing/hooks/useBillingEventEmitter.js.map +1 -1
- package/dist/billing/hooks/useBillingNavigate.d.ts +0 -1
- package/dist/billing/hooks/useBillingNavigate.js +1 -2
- package/dist/billing/hooks/useBillingNavigate.js.map +1 -1
- package/dist/billing/hooks/useBillingPermissions.d.ts +0 -1
- package/dist/billing/hooks/useBillingPermissions.js +2 -3
- package/dist/billing/hooks/useBillingPermissions.js.map +1 -1
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts +0 -1
- package/dist/billing/hooks/useDefaultBillingCurrency.js +1 -2
- package/dist/billing/hooks/useDefaultBillingCurrency.js.map +1 -1
- package/dist/billing/hooks/useProducts.d.ts +0 -1
- package/dist/billing/hooks/useProducts.js +1 -2
- package/dist/billing/hooks/useProducts.js.map +1 -1
- package/dist/billing/index.d.ts +0 -1
- package/dist/billing/lib/native-purchases.d.ts +0 -1
- package/dist/billing/lib/native-purchases.js +1 -2
- package/dist/billing/lib/native-purchases.js.map +1 -1
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts +0 -1
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js +4 -5
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js.map +1 -1
- package/dist/billing/modules/addons/hooks/index.d.ts +0 -1
- package/dist/billing/modules/addons/hooks/index.js +3 -2
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts +0 -1
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.js +1 -2
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.js.map +1 -1
- package/dist/billing/modules/addons/hooks/useAddons.d.ts +0 -1
- package/dist/billing/modules/addons/hooks/useAddons.js +1 -2
- package/dist/billing/modules/addons/hooks/useAddons.js.map +1 -1
- package/dist/billing/modules/addons/index.d.ts +0 -1
- package/dist/billing/modules/addons/index.js +10 -10
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts +0 -1
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.js +15 -16
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts +0 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.js +11 -12
- package/dist/billing/modules/addons/pages/AddonCreatePage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts +0 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.js +16 -17
- package/dist/billing/modules/addons/pages/AddonDetailPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts +0 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.js +16 -17
- package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts +0 -1
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.js +111 -106
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts +0 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.js +105 -100
- package/dist/billing/modules/addons/pages/AddonsListPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/index.d.ts +0 -1
- package/dist/billing/modules/addons/pages/index.js +7 -6
- package/dist/billing/modules/addons/store/addonCartStore.d.ts +0 -1
- package/dist/billing/modules/addons/store/addonCartStore.js +2 -7
- package/dist/billing/modules/addons/store/addonCartStore.js.map +1 -1
- package/dist/billing/modules/affiliate/api.d.ts +0 -1
- package/dist/billing/modules/affiliate/api.js +1 -2
- package/dist/billing/modules/affiliate/api.js.map +1 -1
- package/dist/billing/modules/affiliate/index.d.ts +0 -1
- package/dist/billing/modules/affiliate/index.js +1 -2
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts +0 -1
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js +29 -28
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.js.map +1 -1
- package/dist/billing/modules/analytics/index.d.ts +0 -1
- package/dist/billing/modules/analytics/index.js +1 -2
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts +0 -1
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js +8 -9
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js.map +1 -1
- package/dist/billing/modules/analytics/pages/index.d.ts +0 -1
- package/dist/billing/modules/analytics/pages/index.js +1 -1
- package/dist/billing/modules/billing/hooks/index.d.ts +0 -1
- package/dist/billing/modules/billing/hooks/index.js +5 -4
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts +0 -1
- package/dist/billing/modules/billing/hooks/useInvoices.js +1 -2
- package/dist/billing/modules/billing/hooks/useInvoices.js.map +1 -1
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts +0 -1
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.js +1 -2
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.js.map +1 -1
- package/dist/billing/modules/billing/hooks/usePayments.d.ts +0 -1
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts +0 -1
- package/dist/billing/modules/billing/hooks/useRefunds.js +1 -2
- package/dist/billing/modules/billing/hooks/useRefunds.js.map +1 -1
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts +0 -1
- package/dist/billing/modules/billing/hooks/useTransactions.js +30 -31
- package/dist/billing/modules/billing/hooks/useTransactions.js.map +1 -1
- package/dist/billing/modules/billing/index.d.ts +0 -1
- package/dist/billing/modules/billing/index.js +15 -15
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.js +11 -12
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +53 -59
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.js +81 -87
- package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.js +11 -12
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.js +51 -54
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.js +33 -34
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/RefundsPage.js +92 -93
- package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/TransactionsPage.js +38 -39
- package/dist/billing/modules/billing/pages/TransactionsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts +0 -1
- package/dist/billing/modules/billing/pages/UserRefundsPage.js +24 -30
- package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/index.d.ts +0 -1
- package/dist/billing/modules/billing/pages/index.js +10 -9
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts +0 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts +0 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js +1 -2
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts +0 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts +0 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js +1 -2
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts +0 -1
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js +1 -2
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts +0 -1
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts +0 -1
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts +0 -1
- package/dist/billing/modules/checkout/components/NativeCheckoutView.js +1 -2
- package/dist/billing/modules/checkout/components/NativeCheckoutView.js.map +1 -1
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts +0 -1
- package/dist/billing/modules/checkout/components/OrderSummary.js +35 -32
- package/dist/billing/modules/checkout/components/OrderSummary.js.map +1 -1
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts +0 -1
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts +0 -1
- package/dist/billing/modules/checkout/components/PromoCodeInput.js +1 -2
- package/dist/billing/modules/checkout/components/PromoCodeInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts +0 -1
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js +1 -2
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js.map +1 -1
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts +0 -1
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts +0 -1
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js +1 -2
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js.map +1 -1
- package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts +0 -1
- package/dist/billing/modules/checkout/components/StoreShippingSection.js +5 -3
- package/dist/billing/modules/checkout/components/StoreShippingSection.js.map +1 -1
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts +0 -1
- package/dist/billing/modules/checkout/components/StripePaymentForm.js +35 -41
- package/dist/billing/modules/checkout/components/StripePaymentForm.js.map +1 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts +0 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js +1 -2
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts +0 -1
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js +1 -2
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts +0 -1
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.js +5 -6
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.js.map +1 -1
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts +0 -1
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js +7 -8
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js.map +1 -1
- package/dist/billing/modules/checkout/components/index.d.ts +0 -1
- package/dist/billing/modules/checkout/components/index.js +12 -11
- package/dist/billing/modules/checkout/hooks/index.d.ts +0 -1
- package/dist/billing/modules/checkout/hooks/index.js +5 -4
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts +0 -1
- package/dist/billing/modules/checkout/hooks/useCheckout.js +182 -195
- package/dist/billing/modules/checkout/hooks/useCheckout.js.map +1 -1
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts +0 -1
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.js +33 -32
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.js.map +1 -1
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts +0 -1
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.js +1 -2
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.js.map +1 -1
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts +0 -1
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.js +1 -2
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.js.map +1 -1
- package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts +4 -8
- package/dist/billing/modules/checkout/hooks/useStoreShipping.js +1 -2
- package/dist/billing/modules/checkout/hooks/useStoreShipping.js.map +1 -1
- package/dist/billing/modules/checkout/index.d.ts +0 -1
- package/dist/billing/modules/checkout/index.js +19 -19
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts +0 -1
- package/dist/billing/modules/checkout/pages/CheckoutPage.js +730 -732
- package/dist/billing/modules/checkout/pages/CheckoutPage.js.map +1 -1
- package/dist/billing/modules/checkout/pages/index.d.ts +0 -1
- package/dist/billing/modules/checkout/pages/index.js +1 -1
- package/dist/billing/modules/checkout/types/index.d.ts +0 -1
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts +0 -1
- package/dist/billing/modules/checkout/utils/storeOrder.js +0 -1
- package/dist/billing/modules/checkout/utils/storeOrder.js.map +1 -1
- package/dist/billing/modules/coupons/index.d.ts +0 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts +0 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js +5 -6
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts +0 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.js +15 -13
- package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts +0 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js +12 -10
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts +0 -1
- package/dist/billing/modules/coupons/pages/EditCouponPage.js +7 -11
- package/dist/billing/modules/coupons/pages/EditCouponPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/index.d.ts +0 -1
- package/dist/billing/modules/coupons/pages/index.js +5 -4
- package/dist/billing/modules/credits/hooks/index.d.ts +0 -1
- package/dist/billing/modules/credits/hooks/useCredits.d.ts +0 -1
- package/dist/billing/modules/credits/hooks/useCredits.js +20 -21
- package/dist/billing/modules/credits/hooks/useCredits.js.map +1 -1
- package/dist/billing/modules/credits/index.d.ts +0 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts +0 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js +19 -24
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts +0 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js +26 -27
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts +0 -1
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js +54 -52
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts +0 -1
- package/dist/billing/modules/credits/pages/CreditsPage.js +37 -38
- package/dist/billing/modules/credits/pages/CreditsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/index.d.ts +0 -1
- package/dist/billing/modules/credits/pages/index.js +5 -4
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts +0 -1
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js +2 -3
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts +0 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js +35 -43
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts +0 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js +1 -2
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts +0 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js +1 -2
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts +0 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js +2 -5
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts +0 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js +1 -2
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/components/index.d.ts +0 -1
- package/dist/billing/modules/dashboard/components/index.js +7 -6
- package/dist/billing/modules/dashboard/hooks/index.d.ts +0 -1
- package/dist/billing/modules/dashboard/hooks/index.js +3 -2
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts +0 -1
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.js +2 -3
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.js.map +1 -1
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts +0 -1
- package/dist/billing/modules/dashboard/hooks/useDashboard.js +2 -3
- package/dist/billing/modules/dashboard/hooks/useDashboard.js.map +1 -1
- package/dist/billing/modules/dashboard/index.d.ts +0 -1
- package/dist/billing/modules/dashboard/index.js +11 -10
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts +0 -1
- package/dist/billing/modules/dashboard/pages/OverviewPage.js +266 -264
- package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
- package/dist/billing/modules/dashboard/pages/index.d.ts +0 -1
- package/dist/billing/modules/dashboard/pages/index.js +1 -1
- package/dist/billing/modules/discounts/index.d.ts +0 -1
- package/dist/billing/modules/discounts/index.js +1 -2
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts +0 -1
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js +169 -176
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
- package/dist/billing/modules/discounts/pages/index.d.ts +0 -1
- package/dist/billing/modules/discounts/pages/index.js +1 -1
- package/dist/billing/modules/earnings/api.d.ts +0 -1
- package/dist/billing/modules/earnings/api.js +66 -67
- package/dist/billing/modules/earnings/api.js.map +1 -1
- package/dist/billing/modules/earnings/index.d.ts +0 -1
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts +0 -1
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.js +17 -17
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts +0 -1
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js +188 -189
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts +0 -1
- package/dist/billing/modules/earnings/pages/EarningsPage.js +111 -111
- package/dist/billing/modules/earnings/pages/EarningsPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts +0 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +29 -30
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts +0 -1
- package/dist/billing/modules/earnings/pages/PayoutsPage.js +103 -104
- package/dist/billing/modules/earnings/pages/PayoutsPage.js.map +1 -1
- package/dist/billing/modules/earnings/payoutAccountStatus.d.ts +0 -1
- package/dist/billing/modules/earnings/payoutAccountStatus.js +1 -2
- package/dist/billing/modules/earnings/payoutAccountStatus.js.map +1 -1
- package/dist/billing/modules/plans/constants/enterprise.d.ts +0 -1
- package/dist/billing/modules/plans/constants/enterprise.js +1 -2
- package/dist/billing/modules/plans/constants/enterprise.js.map +1 -1
- package/dist/billing/modules/plans/constants/featuredQuotas.d.ts +0 -1
- package/dist/billing/modules/plans/constants/featuredQuotas.js +1 -2
- package/dist/billing/modules/plans/constants/featuredQuotas.js.map +1 -1
- package/dist/billing/modules/plans/hooks/index.d.ts +0 -1
- package/dist/billing/modules/plans/hooks/index.js +3 -2
- package/dist/billing/modules/plans/hooks/usePlans.d.ts +0 -1
- package/dist/billing/modules/plans/hooks/usePlans.js +1 -2
- package/dist/billing/modules/plans/hooks/usePlans.js.map +1 -1
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts +0 -1
- package/dist/billing/modules/plans/hooks/useQuotas.js +1 -2
- package/dist/billing/modules/plans/hooks/useQuotas.js.map +1 -1
- package/dist/billing/modules/plans/index.d.ts +0 -1
- package/dist/billing/modules/plans/index.js +11 -11
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts +0 -1
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +12 -15
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts +0 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +38 -39
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts +0 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.js +10 -11
- package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts +0 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.js +40 -41
- package/dist/billing/modules/plans/pages/PlanDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts +0 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.js +15 -16
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts +0 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js +18 -19
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts +0 -1
- package/dist/billing/modules/plans/pages/PlansListPage.js +100 -101
- package/dist/billing/modules/plans/pages/PlansListPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/index.d.ts +0 -1
- package/dist/billing/modules/plans/pages/index.js +8 -7
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts +0 -1
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.js +1 -2
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.js.map +1 -1
- package/dist/billing/modules/plans/utils/planSelector.d.ts +0 -1
- package/dist/billing/modules/plans/utils/planSelector.js +1 -2
- package/dist/billing/modules/plans/utils/planSelector.js.map +1 -1
- package/dist/billing/modules/promotions/index.d.ts +0 -1
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts +0 -1
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +5 -6
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts +0 -1
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js +5 -6
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/index.d.ts +0 -1
- package/dist/billing/modules/promotions/pages/index.js +3 -2
- package/dist/billing/modules/quota/hooks/index.d.ts +0 -1
- package/dist/billing/modules/quota/hooks/index.js +1 -1
- package/dist/billing/modules/quota/hooks/useQuota.d.ts +0 -1
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts +0 -1
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.js +1 -2
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.js.map +1 -1
- package/dist/billing/modules/quota/index.d.ts +0 -1
- package/dist/billing/modules/quota/index.js +8 -8
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts +0 -1
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.js +12 -15
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts +0 -1
- package/dist/billing/modules/quota/pages/QuotaPage.js +3 -3
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +13 -14
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +9 -10
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +12 -13
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +16 -17
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/index.d.ts +0 -1
- package/dist/billing/modules/quota/pages/index.js +6 -5
- package/dist/billing/modules/quota/utils/quotaSelector.d.ts +0 -1
- package/dist/billing/modules/quota/utils/quotaSelector.js +1 -2
- package/dist/billing/modules/quota/utils/quotaSelector.js.map +1 -1
- package/dist/billing/modules/settings/index.d.ts +0 -1
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts +0 -1
- package/dist/billing/modules/settings/pages/SettingsPage.js +12 -13
- package/dist/billing/modules/settings/pages/SettingsPage.js.map +1 -1
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts +0 -1
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.js +32 -32
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.js.map +1 -1
- package/dist/billing/modules/settings/pages/index.d.ts +0 -1
- package/dist/billing/modules/settings/pages/index.js +3 -2
- package/dist/billing/modules/store/graphql/index.d.ts +0 -1
- package/dist/billing/modules/store/index.d.ts +0 -1
- package/dist/billing/modules/store/index.js +1 -2
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts +0 -1
- package/dist/billing/modules/store/pages/StoreCheckoutPage.js +1 -2
- package/dist/billing/modules/store/pages/StoreCheckoutPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts +0 -1
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +9 -11
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js.map +1 -1
- package/dist/billing/modules/subscriptions/hooks/index.d.ts +0 -1
- package/dist/billing/modules/subscriptions/hooks/index.js +1 -1
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts +0 -1
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.js +1 -2
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.js.map +1 -1
- package/dist/billing/modules/subscriptions/index.d.ts +0 -1
- package/dist/billing/modules/subscriptions/index.js +6 -6
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts +0 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +311 -312
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts +0 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +61 -62
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts +0 -1
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js +30 -31
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/index.d.ts +0 -1
- package/dist/billing/modules/subscriptions/pages/index.js +4 -3
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts +0 -1
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.js +17 -18
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.js.map +1 -1
- package/dist/billing/modules/usage/hooks/index.d.ts +0 -1
- package/dist/billing/modules/usage/hooks/useUsage.d.ts +0 -1
- package/dist/billing/modules/usage/hooks/useUsage.js +72 -73
- package/dist/billing/modules/usage/hooks/useUsage.js.map +1 -1
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts +0 -1
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.js +12 -13
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.js.map +1 -1
- package/dist/billing/modules/usage/index.d.ts +0 -1
- package/dist/billing/modules/usage/index.js +1 -2
- package/dist/billing/modules/usage/pages/UsagePage.d.ts +0 -1
- package/dist/billing/modules/usage/pages/UsagePage.js +229 -227
- package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
- package/dist/billing/modules/usage/pages/index.d.ts +0 -1
- package/dist/billing/modules/usage/pages/index.js +1 -1
- package/dist/billing/modules/usage/utils/aiSpend.d.ts +0 -1
- package/dist/billing/modules/usage/utils/aiSpend.js +2 -3
- package/dist/billing/modules/usage/utils/aiSpend.js.map +1 -1
- package/dist/billing/providers/BillingProvider.d.ts +0 -1
- package/dist/billing/providers/BillingProvider.js +3 -4
- package/dist/billing/providers/BillingProvider.js.map +1 -1
- package/dist/billing/shared/components/AccessDenied.d.ts +0 -1
- package/dist/billing/shared/components/AccessDenied.js +1 -2
- package/dist/billing/shared/components/AccessDenied.js.map +1 -1
- package/dist/billing/shared/components/ActorIdentity.d.ts +0 -1
- package/dist/billing/shared/components/ActorIdentity.js +2 -3
- package/dist/billing/shared/components/ActorIdentity.js.map +1 -1
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts +0 -1
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.js +1 -2
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.js.map +1 -1
- package/dist/billing/shared/components/EmptyState.d.ts +0 -1
- package/dist/billing/shared/components/EmptyState.js +1 -2
- package/dist/billing/shared/components/EmptyState.js.map +1 -1
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts +0 -1
- package/dist/billing/shared/components/PageHeader.d.ts +0 -1
- package/dist/billing/shared/components/PageHeader.js +1 -2
- package/dist/billing/shared/components/PageHeader.js.map +1 -1
- package/dist/billing/shared/components/PushPermissionNudge.d.ts +0 -1
- package/dist/billing/shared/components/PushPermissionNudge.js +2 -3
- package/dist/billing/shared/components/PushPermissionNudge.js.map +1 -1
- package/dist/billing/shared/components/ServerError.d.ts +0 -1
- package/dist/billing/shared/components/ServerError.js +1 -2
- package/dist/billing/shared/components/ServerError.js.map +1 -1
- package/dist/billing/shared/components/StatCard.d.ts +0 -1
- package/dist/billing/shared/components/StatCard.js +1 -2
- package/dist/billing/shared/components/StatCard.js.map +1 -1
- package/dist/billing/shared/components/index.d.ts +0 -1
- package/dist/billing/shared/components/index.js +8 -7
- package/dist/billing/shared/hooks/index.d.ts +0 -1
- package/dist/billing/shared/hooks/index.js +1 -1
- package/dist/billing/shared/hooks/useActorProfiles.d.ts +0 -1
- package/dist/billing/shared/hooks/useActorProfiles.js +4 -8
- package/dist/billing/shared/hooks/useActorProfiles.js.map +1 -1
- package/dist/billing/shared/hooks/useTr.d.ts +0 -1
- package/dist/billing/shared/hooks/useTr.js +1 -2
- package/dist/billing/shared/hooks/useTr.js.map +1 -1
- package/dist/billing/shared/index.d.ts +0 -1
- package/dist/billing/shared/types/graphql.d.ts +0 -1
- package/dist/billing/shared/types/graphql.js +1 -2
- package/dist/billing/shared/types/graphql.js.map +1 -1
- package/dist/billing/shared/types/index.d.ts +0 -1
- package/dist/billing/shared/ui/Card.d.ts +1 -2
- package/dist/billing/shared/ui/Card.js +1 -2
- package/dist/billing/shared/ui/Card.js.map +1 -1
- package/dist/billing/shared/ui/MetricCard.d.ts +1 -2
- package/dist/billing/shared/ui/MetricCard.js +1 -2
- package/dist/billing/shared/ui/MetricCard.js.map +1 -1
- package/dist/billing/shared/ui/ProgressBar.d.ts +1 -2
- package/dist/billing/shared/ui/ProgressBar.js +1 -2
- package/dist/billing/shared/ui/ProgressBar.js.map +1 -1
- package/dist/billing/shared/ui/SectionHeader.d.ts +1 -2
- package/dist/billing/shared/ui/StatusPill.d.ts +1 -2
- package/dist/billing/shared/ui/StatusPill.js +1 -2
- package/dist/billing/shared/ui/StatusPill.js.map +1 -1
- package/dist/billing/shared/ui/index.d.ts +0 -1
- package/dist/billing/shared/ui/index.js +5 -4
- package/dist/billing/shared/utils/directActivityGraphql.d.ts +0 -1
- package/dist/billing/shared/utils/directBillingGraphql.d.ts +0 -1
- package/dist/billing/shared/utils/directBillingGraphql.js +1 -2
- package/dist/billing/shared/utils/directBillingGraphql.js.map +1 -1
- package/dist/billing/shared/utils/error.d.ts +0 -1
- package/dist/billing/shared/utils/error.js +1 -2
- package/dist/billing/shared/utils/error.js.map +1 -1
- package/dist/billing/shared/utils/format.d.ts +0 -1
- package/dist/billing/shared/utils/format.js +1 -2
- package/dist/billing/shared/utils/format.js.map +1 -1
- package/dist/billing/shared/utils/gatewayGraphql.d.ts +0 -1
- package/dist/billing/shared/utils/gatewayGraphql.js +2 -3
- package/dist/billing/shared/utils/gatewayGraphql.js.map +1 -1
- package/dist/billing/shared/utils/index.d.ts +0 -1
- package/dist/billing/shared/utils/index.js +9 -8
- package/dist/billing/shared/utils/navigation.d.ts +0 -1
- package/dist/billing/shared/utils/navigation.js +1 -2
- package/dist/billing/shared/utils/navigation.js.map +1 -1
- package/dist/billing/shared/utils/paymentTheme.d.ts +0 -1
- package/dist/billing/shared/utils/paymentTheme.js +2 -3
- package/dist/billing/shared/utils/paymentTheme.js.map +1 -1
- package/dist/billing/shared/utils/planFeatureQuantity.d.ts +0 -1
- package/dist/billing/shared/utils/planFeatureQuantity.js +2 -3
- package/dist/billing/shared/utils/planFeatureQuantity.js.map +1 -1
- package/dist/billing/shared/utils/status.d.ts +0 -1
- package/dist/billing/shared/utils/status.js +24 -25
- package/dist/billing/shared/utils/status.js.map +1 -1
- package/dist/billing/shared/utils/tokens.d.ts +0 -1
- package/dist/billing/shared/utils/tokens.js +1 -2
- package/dist/billing/shared/utils/tokens.js.map +1 -1
- package/dist/billing/translations/en.d.ts +0 -1
- package/dist/billing/types/index.d.ts +0 -1
- package/dist/dev/main.d.ts +0 -1
- package/dist/generated/global-operations.d.ts +3252 -3206
- package/dist/generated/global-operations.js +445 -422
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/generated/global-types.d.ts +2 -22
- package/dist/generated/global-types.js +1 -2
- package/dist/generated/global-types.js.map +1 -1
- package/dist/generated/wspace-operations.d.ts +76 -47
- package/dist/generated/wspace-operations.js +2 -3
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +4 -24
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -2
- package/dist/node_modules/@capacitor/core/dist/index.js +12 -14
- package/dist/node_modules/@capacitor/core/dist/index.js.map +1 -1
- package/dist/node_modules/sonner/dist/index.js +75 -69
- package/dist/node_modules/sonner/dist/index.js.map +1 -1
- package/dist/utils/nativeBridge.d.ts +0 -1
- package/dist/utils/nativeBridge.js +1 -2
- package/package.json +65 -54
- package/dist/billing/BillingAdminRoutes.d.ts.map +0 -1
- package/dist/billing/BillingRoot.d.ts.map +0 -1
- package/dist/billing/BillingUserRoutes.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingAccountSelection.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingEventEmitter.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingNavigate.d.ts.map +0 -1
- package/dist/billing/hooks/useBillingPermissions.d.ts.map +0 -1
- package/dist/billing/hooks/useDefaultBillingCurrency.d.ts.map +0 -1
- package/dist/billing/hooks/useProducts.d.ts.map +0 -1
- package/dist/billing/index.d.ts.map +0 -1
- package/dist/billing/lib/native-purchases.d.ts.map +0 -1
- package/dist/billing/modules/addons/components/FloatingCartDrawer.d.ts.map +0 -1
- package/dist/billing/modules/addons/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/addons/hooks/useAddonPurchaseEligibility.d.ts.map +0 -1
- package/dist/billing/modules/addons/hooks/useAddons.d.ts.map +0 -1
- package/dist/billing/modules/addons/index.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonBrowseDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonsBrowsePage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.d.ts.map +0 -1
- package/dist/billing/modules/addons/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/addons/store/addonCartStore.d.ts.map +0 -1
- package/dist/billing/modules/affiliate/api.d.ts.map +0 -1
- package/dist/billing/modules/affiliate/index.d.ts.map +0 -1
- package/dist/billing/modules/affiliate/pages/AffiliateDashboardPage.d.ts.map +0 -1
- package/dist/billing/modules/analytics/index.d.ts.map +0 -1
- package/dist/billing/modules/analytics/pages/AnalyticsPage.d.ts.map +0 -1
- package/dist/billing/modules/analytics/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/useInvoices.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/useOrderCallbacks.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/usePayments.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/useRefunds.d.ts.map +0 -1
- package/dist/billing/modules/billing/hooks/useTransactions.d.ts.map +0 -1
- package/dist/billing/modules/billing/index.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/BillingWebhookLogsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/OrderCallbackLogsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/PaymentMethodsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/RefundIssueLogsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/RefundsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/TransactionsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/UserRefundsPage.d.ts.map +0 -1
- package/dist/billing/modules/billing/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/AutoPayToggle.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CompactAutoPayToggle.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CreditsAmountInput.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CreditsPaymentOption.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/CurrencySelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/NativeCheckoutView.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/OrderSummary.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/PaymentProviderSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/PromoCodeInput.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/SavedCardSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/StoreShippingSection.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/StripePaymentForm.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/WebCheckoutRedirectView.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.d.ts.map +0 -1
- package/dist/billing/modules/checkout/components/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/useCheckout.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/useNativeCheckout.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/usePaymentProviders.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/usePaymentStatusPolling.d.ts.map +0 -1
- package/dist/billing/modules/checkout/hooks/useStoreShipping.d.ts.map +0 -1
- package/dist/billing/modules/checkout/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/pages/CheckoutPage.d.ts.map +0 -1
- package/dist/billing/modules/checkout/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/types/index.d.ts.map +0 -1
- package/dist/billing/modules/checkout/utils/storeOrder.d.ts.map +0 -1
- package/dist/billing/modules/coupons/index.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/EditCouponPage.d.ts.map +0 -1
- package/dist/billing/modules/coupons/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/credits/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/credits/hooks/useCredits.d.ts.map +0 -1
- package/dist/billing/modules/credits/index.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/CreditsPage.d.ts.map +0 -1
- package/dist/billing/modules/credits/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/components/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/hooks/useBillingOverviewData.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/hooks/useDashboard.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/index.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/pages/OverviewPage.d.ts.map +0 -1
- package/dist/billing/modules/dashboard/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/discounts/index.d.ts.map +0 -1
- package/dist/billing/modules/discounts/pages/DiscountsListPage.d.ts.map +0 -1
- package/dist/billing/modules/discounts/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/earnings/api.d.ts.map +0 -1
- package/dist/billing/modules/earnings/index.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/DeveloperRevenueAdminPage.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/DeveloperRevenueOrgDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/EarningsPage.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.d.ts.map +0 -1
- package/dist/billing/modules/earnings/pages/PayoutsPage.d.ts.map +0 -1
- package/dist/billing/modules/earnings/payoutAccountStatus.d.ts.map +0 -1
- package/dist/billing/modules/plans/constants/enterprise.d.ts.map +0 -1
- package/dist/billing/modules/plans/constants/featuredQuotas.d.ts.map +0 -1
- package/dist/billing/modules/plans/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/plans/hooks/usePlans.d.ts.map +0 -1
- package/dist/billing/modules/plans/hooks/useQuotas.d.ts.map +0 -1
- package/dist/billing/modules/plans/index.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/PlansListPage.d.ts.map +0 -1
- package/dist/billing/modules/plans/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/plans/utils/currencyPriceOverrides.d.ts.map +0 -1
- package/dist/billing/modules/plans/utils/planSelector.d.ts.map +0 -1
- package/dist/billing/modules/promotions/index.d.ts.map +0 -1
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.d.ts.map +0 -1
- package/dist/billing/modules/promotions/pages/PromotionsListPage.d.ts.map +0 -1
- package/dist/billing/modules/promotions/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/quota/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/quota/hooks/useQuota.d.ts.map +0 -1
- package/dist/billing/modules/quota/hooks/useQuotaTemplates.d.ts.map +0 -1
- package/dist/billing/modules/quota/index.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaAssignFreePage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.d.ts.map +0 -1
- package/dist/billing/modules/quota/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/quota/utils/quotaSelector.d.ts.map +0 -1
- package/dist/billing/modules/settings/index.d.ts.map +0 -1
- package/dist/billing/modules/settings/pages/SettingsPage.d.ts.map +0 -1
- package/dist/billing/modules/settings/pages/TeamPermissionsPage.d.ts.map +0 -1
- package/dist/billing/modules/settings/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/store/graphql/index.d.ts.map +0 -1
- package/dist/billing/modules/store/index.d.ts.map +0 -1
- package/dist/billing/modules/store/pages/StoreCheckoutPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/hooks/useSubscriptions.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/index.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.d.ts.map +0 -1
- package/dist/billing/modules/subscriptions/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/usage/components/WorkspaceAiSpendPanel.d.ts.map +0 -1
- package/dist/billing/modules/usage/hooks/index.d.ts.map +0 -1
- package/dist/billing/modules/usage/hooks/useUsage.d.ts.map +0 -1
- package/dist/billing/modules/usage/hooks/useWorkspaceAiSpend.d.ts.map +0 -1
- package/dist/billing/modules/usage/index.d.ts.map +0 -1
- package/dist/billing/modules/usage/pages/UsagePage.d.ts.map +0 -1
- package/dist/billing/modules/usage/pages/index.d.ts.map +0 -1
- package/dist/billing/modules/usage/utils/aiSpend.d.ts.map +0 -1
- package/dist/billing/providers/BillingProvider.d.ts.map +0 -1
- package/dist/billing/shared/components/AccessDenied.d.ts.map +0 -1
- package/dist/billing/shared/components/ActorIdentity.d.ts.map +0 -1
- package/dist/billing/shared/components/CurrencyPriceOverridesEditor.d.ts.map +0 -1
- package/dist/billing/shared/components/EmptyState.d.ts.map +0 -1
- package/dist/billing/shared/components/GeoPricingOverridesEditor.d.ts.map +0 -1
- package/dist/billing/shared/components/PageHeader.d.ts.map +0 -1
- package/dist/billing/shared/components/PushPermissionNudge.d.ts.map +0 -1
- package/dist/billing/shared/components/ServerError.d.ts.map +0 -1
- package/dist/billing/shared/components/StatCard.d.ts.map +0 -1
- package/dist/billing/shared/components/index.d.ts.map +0 -1
- package/dist/billing/shared/hooks/index.d.ts.map +0 -1
- package/dist/billing/shared/hooks/useActorProfiles.d.ts.map +0 -1
- package/dist/billing/shared/hooks/useTr.d.ts.map +0 -1
- package/dist/billing/shared/index.d.ts.map +0 -1
- package/dist/billing/shared/types/graphql.d.ts.map +0 -1
- package/dist/billing/shared/types/index.d.ts.map +0 -1
- package/dist/billing/shared/ui/Card.d.ts.map +0 -1
- package/dist/billing/shared/ui/MetricCard.d.ts.map +0 -1
- package/dist/billing/shared/ui/ProgressBar.d.ts.map +0 -1
- package/dist/billing/shared/ui/SectionHeader.d.ts.map +0 -1
- package/dist/billing/shared/ui/StatusPill.d.ts.map +0 -1
- package/dist/billing/shared/ui/index.d.ts.map +0 -1
- package/dist/billing/shared/utils/directActivityGraphql.d.ts.map +0 -1
- package/dist/billing/shared/utils/directBillingGraphql.d.ts.map +0 -1
- package/dist/billing/shared/utils/error.d.ts.map +0 -1
- package/dist/billing/shared/utils/format.d.ts.map +0 -1
- package/dist/billing/shared/utils/gatewayGraphql.d.ts.map +0 -1
- package/dist/billing/shared/utils/index.d.ts.map +0 -1
- package/dist/billing/shared/utils/navigation.d.ts.map +0 -1
- package/dist/billing/shared/utils/paymentTheme.d.ts.map +0 -1
- package/dist/billing/shared/utils/planFeatureQuantity.d.ts.map +0 -1
- package/dist/billing/shared/utils/status.d.ts.map +0 -1
- package/dist/billing/shared/utils/tokens.d.ts.map +0 -1
- package/dist/billing/translations/en.d.ts.map +0 -1
- package/dist/billing/types/index.d.ts.map +0 -1
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/generated/global-operations.d.ts.map +0 -1
- package/dist/generated/global-types.d.ts.map +0 -1
- package/dist/generated/wspace-operations.d.ts.map +0 -1
- package/dist/generated/wspace-types.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/utils/nativeBridge.d.ts.map +0 -1
|
@@ -1,21 +1,60 @@
|
|
|
1
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
2
|
+
type Exact<T extends {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
}> = {
|
|
5
|
+
[K in keyof T]: T[K];
|
|
6
|
+
};
|
|
7
|
+
/** Internal type. DO NOT USE DIRECTLY. */
|
|
8
|
+
export type Incremental<T> = T | {
|
|
9
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
10
|
+
};
|
|
1
11
|
import * as Types from './wspace-types';
|
|
2
12
|
import * as Apollo from '@apollo/client';
|
|
3
13
|
import * as ApolloReactHooks from '@apollo/client/react';
|
|
4
|
-
export type
|
|
14
|
+
export type AssignWorkspaceQuotaInput = {
|
|
15
|
+
billingAccountId?: string | number | null | undefined;
|
|
16
|
+
limit?: number | null | undefined;
|
|
17
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
18
|
+
noLimit?: boolean | null | undefined;
|
|
19
|
+
productId: string;
|
|
20
|
+
quotaMode?: WorkspaceQuotaMode | null | undefined;
|
|
21
|
+
quotaName: string;
|
|
22
|
+
resetPeriod?: string | null | undefined;
|
|
23
|
+
subscriptionId?: string | number | null | undefined;
|
|
24
|
+
workspaceId: string | number;
|
|
25
|
+
};
|
|
26
|
+
/** Usage query filters */
|
|
27
|
+
export type UsageFilters = {
|
|
28
|
+
billingAccountId?: string | number | null | undefined;
|
|
29
|
+
endDate?: string | null | undefined;
|
|
30
|
+
productId?: string | null | undefined;
|
|
31
|
+
quotaAssignmentId?: string | number | null | undefined;
|
|
32
|
+
quotaName?: string | null | undefined;
|
|
33
|
+
startDate?: string | null | undefined;
|
|
34
|
+
userId?: string | number | null | undefined;
|
|
35
|
+
workspaceId?: string | number | null | undefined;
|
|
36
|
+
};
|
|
37
|
+
/** Cursor-based pagination input for usage records. Pass `cursor` from the previous page's `nextCursor` to fetch the next page. */
|
|
38
|
+
export type UsageRecordPaginationInput = {
|
|
39
|
+
/** Opaque cursor (record ID) from the previous page's nextCursor. Omit for the first page. */
|
|
40
|
+
cursor?: string | number | null | undefined;
|
|
41
|
+
/** Maximum records to return per page. Defaults to 50, capped at 200. */
|
|
42
|
+
limit?: number | null | undefined;
|
|
43
|
+
};
|
|
44
|
+
export type WorkspaceQuotaMode = 'dedicated' | 'pooled';
|
|
45
|
+
export type AssignWorkspaceQuotaMutationVariables = Exact<{
|
|
5
46
|
input: Types.AssignWorkspaceQuotaInput;
|
|
6
47
|
}>;
|
|
7
48
|
export type AssignWorkspaceQuotaMutation = {
|
|
8
|
-
__typename?: 'Mutation';
|
|
9
49
|
assignWorkspaceQuota: {
|
|
10
|
-
__typename?: 'WorkspaceQuotaAssignment';
|
|
11
50
|
id: string;
|
|
12
51
|
workspaceId: string;
|
|
13
52
|
quotaName: string;
|
|
14
53
|
productId: string;
|
|
15
54
|
quotaMode: Types.WorkspaceQuotaMode;
|
|
16
|
-
billingAccountId
|
|
17
|
-
subscriptionId
|
|
18
|
-
limit
|
|
55
|
+
billingAccountId: string | null;
|
|
56
|
+
subscriptionId: string | null;
|
|
57
|
+
limit: number | null;
|
|
19
58
|
used: number;
|
|
20
59
|
noLimit: boolean;
|
|
21
60
|
resetPeriod: string;
|
|
@@ -23,98 +62,88 @@ export type AssignWorkspaceQuotaMutation = {
|
|
|
23
62
|
createdAt: string;
|
|
24
63
|
};
|
|
25
64
|
};
|
|
26
|
-
export type UnassignWorkspaceQuotaMutationVariables =
|
|
27
|
-
id:
|
|
28
|
-
workspaceId:
|
|
65
|
+
export type UnassignWorkspaceQuotaMutationVariables = Exact<{
|
|
66
|
+
id: string | number;
|
|
67
|
+
workspaceId: string | number;
|
|
29
68
|
}>;
|
|
30
69
|
export type UnassignWorkspaceQuotaMutation = {
|
|
31
|
-
__typename?: 'Mutation';
|
|
32
70
|
unassignWorkspaceQuota: boolean;
|
|
33
71
|
};
|
|
34
|
-
export type GetUsageRecordsQueryVariables =
|
|
72
|
+
export type GetUsageRecordsQueryVariables = Exact<{
|
|
35
73
|
filters: Types.UsageFilters;
|
|
36
|
-
pagination?: Types.
|
|
74
|
+
pagination?: Types.UsageRecordPaginationInput | null | undefined;
|
|
37
75
|
}>;
|
|
38
76
|
export type GetUsageRecordsQuery = {
|
|
39
|
-
__typename?: 'Query';
|
|
40
77
|
getUsageRecords: {
|
|
41
|
-
__typename?: 'UsageRecordsPage';
|
|
42
78
|
hasNextPage: boolean;
|
|
43
|
-
nextCursor
|
|
79
|
+
nextCursor: string | null;
|
|
44
80
|
items: Array<{
|
|
45
|
-
__typename?: 'UsageRecord';
|
|
46
81
|
id: string;
|
|
47
82
|
quotaAssignmentId: string;
|
|
48
83
|
quotaName: string;
|
|
49
84
|
productId: string;
|
|
50
85
|
amount: number;
|
|
51
86
|
description: string;
|
|
52
|
-
workspaceId
|
|
53
|
-
userId
|
|
54
|
-
metadata
|
|
87
|
+
workspaceId: string | null;
|
|
88
|
+
userId: string | null;
|
|
89
|
+
metadata: Record<string, unknown> | null;
|
|
55
90
|
createdAt: string;
|
|
56
91
|
createdBy: string;
|
|
57
92
|
}>;
|
|
58
93
|
};
|
|
59
94
|
};
|
|
60
|
-
export type GetWorkspaceQuotaAssignmentsQueryVariables =
|
|
61
|
-
workspaceId:
|
|
95
|
+
export type GetWorkspaceQuotaAssignmentsQueryVariables = Exact<{
|
|
96
|
+
workspaceId: string | number;
|
|
62
97
|
}>;
|
|
63
98
|
export type GetWorkspaceQuotaAssignmentsQuery = {
|
|
64
|
-
__typename?: 'Query';
|
|
65
99
|
workspaceQuotaAssignments: Array<{
|
|
66
|
-
__typename?: 'WorkspaceQuotaAssignment';
|
|
67
100
|
id: string;
|
|
68
101
|
workspaceId: string;
|
|
69
102
|
quotaName: string;
|
|
70
103
|
productId: string;
|
|
71
104
|
quotaMode: Types.WorkspaceQuotaMode;
|
|
72
|
-
billingAccountId
|
|
73
|
-
subscriptionId
|
|
74
|
-
limit
|
|
105
|
+
billingAccountId: string | null;
|
|
106
|
+
subscriptionId: string | null;
|
|
107
|
+
limit: number | null;
|
|
75
108
|
used: number;
|
|
76
109
|
noLimit: boolean;
|
|
77
110
|
resetPeriod: string;
|
|
78
|
-
lastResetAt
|
|
111
|
+
lastResetAt: string | null;
|
|
79
112
|
isActive: boolean;
|
|
80
113
|
createdAt: string;
|
|
81
114
|
updatedAt: string;
|
|
82
115
|
}>;
|
|
83
116
|
};
|
|
84
|
-
export type GetWorkspaceQuotaOverviewQueryVariables =
|
|
85
|
-
workspaceId:
|
|
117
|
+
export type GetWorkspaceQuotaOverviewQueryVariables = Exact<{
|
|
118
|
+
workspaceId: string | number;
|
|
86
119
|
}>;
|
|
87
120
|
export type GetWorkspaceQuotaOverviewQuery = {
|
|
88
|
-
__typename?: 'Query';
|
|
89
121
|
workspaceQuotaOverview: Array<{
|
|
90
|
-
__typename?: 'WorkspaceQuotaOverview';
|
|
91
122
|
effectiveUsed: number;
|
|
92
|
-
remaining
|
|
123
|
+
remaining: number | null;
|
|
93
124
|
usagePercentage: number;
|
|
94
125
|
assignment: {
|
|
95
|
-
__typename?: 'WorkspaceQuotaAssignment';
|
|
96
126
|
id: string;
|
|
97
127
|
workspaceId: string;
|
|
98
128
|
quotaName: string;
|
|
99
129
|
productId: string;
|
|
100
130
|
quotaMode: Types.WorkspaceQuotaMode;
|
|
101
|
-
billingAccountId
|
|
102
|
-
subscriptionId
|
|
103
|
-
limit
|
|
131
|
+
billingAccountId: string | null;
|
|
132
|
+
subscriptionId: string | null;
|
|
133
|
+
limit: number | null;
|
|
104
134
|
used: number;
|
|
105
135
|
noLimit: boolean;
|
|
106
136
|
resetPeriod: string;
|
|
107
|
-
lastResetAt
|
|
137
|
+
lastResetAt: string | null;
|
|
108
138
|
isActive: boolean;
|
|
109
139
|
createdAt: string;
|
|
110
140
|
};
|
|
111
|
-
liveStatus
|
|
112
|
-
__typename?: 'WorkspaceQuotaStatus';
|
|
141
|
+
liveStatus: {
|
|
113
142
|
workspaceId: string;
|
|
114
143
|
quotaName: string;
|
|
115
144
|
productId: string;
|
|
116
145
|
currentValue: number;
|
|
117
|
-
limit
|
|
146
|
+
limit: number | null;
|
|
118
147
|
noLimit: boolean;
|
|
119
148
|
scrapedAt: string;
|
|
120
149
|
} | null;
|
|
@@ -190,8 +219,8 @@ export declare function useGetUsageRecordsQuery(baseOptions: ApolloReactHooks.Qu
|
|
|
190
219
|
skip?: boolean;
|
|
191
220
|
} | {
|
|
192
221
|
skip: boolean;
|
|
193
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming", Types.GetUsageRecordsQueryVariables>;
|
|
194
|
-
export declare function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming">;
|
|
222
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming", Types.GetUsageRecordsQueryVariables, undefined>;
|
|
223
|
+
export declare function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
195
224
|
export declare function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;
|
|
196
225
|
export declare function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery | undefined, Types.GetUsageRecordsQueryVariables>;
|
|
197
226
|
export type GetUsageRecordsQueryHookResult = ReturnType<typeof useGetUsageRecordsQuery>;
|
|
@@ -220,8 +249,8 @@ export declare function useGetWorkspaceQuotaAssignmentsQuery(baseOptions: Apollo
|
|
|
220
249
|
skip?: boolean;
|
|
221
250
|
} | {
|
|
222
251
|
skip: boolean;
|
|
223
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaAssignmentsQueryVariables>;
|
|
224
|
-
export declare function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming">;
|
|
252
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaAssignmentsQueryVariables, undefined>;
|
|
253
|
+
export declare function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
225
254
|
export declare function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;
|
|
226
255
|
export declare function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery | undefined, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;
|
|
227
256
|
export type GetWorkspaceQuotaAssignmentsQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsQuery>;
|
|
@@ -250,12 +279,12 @@ export declare function useGetWorkspaceQuotaOverviewQuery(baseOptions: ApolloRea
|
|
|
250
279
|
skip?: boolean;
|
|
251
280
|
} | {
|
|
252
281
|
skip: boolean;
|
|
253
|
-
})): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaOverviewQueryVariables>;
|
|
254
|
-
export declare function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming">;
|
|
282
|
+
})): ApolloReactHooks.useQuery.Result<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming", Types.GetWorkspaceQuotaOverviewQueryVariables, undefined>;
|
|
283
|
+
export declare function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.useLazyQuery.ResultTuple<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables, "empty" | "complete" | "streaming", undefined>;
|
|
255
284
|
export declare function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;
|
|
256
285
|
export declare function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery | undefined, Types.GetWorkspaceQuotaOverviewQueryVariables>;
|
|
257
286
|
export type GetWorkspaceQuotaOverviewQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewQuery>;
|
|
258
287
|
export type GetWorkspaceQuotaOverviewLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewLazyQuery>;
|
|
259
288
|
export type GetWorkspaceQuotaOverviewSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewSuspenseQuery>;
|
|
260
289
|
export type GetWorkspaceQuotaOverviewQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;
|
|
261
|
-
|
|
290
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as e from "@apollo/client/react";
|
|
2
2
|
import { gql as t } from "@apollo/client";
|
|
3
|
-
|
|
3
|
+
// src/generated/wspace-operations.ts
|
|
4
4
|
var n = {};
|
|
5
5
|
t`
|
|
6
6
|
mutation AssignWorkspaceQuota($input: AssignWorkspaceQuotaInput!) {
|
|
@@ -107,7 +107,6 @@ t`
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
`;
|
|
110
|
-
|
|
111
|
-
export { i as useGetUsageRecordsQuery };
|
|
110
|
+
export { r as GetUsageRecordsDocument, i as useGetUsageRecordsQuery };
|
|
112
111
|
|
|
113
112
|
//# sourceMappingURL=wspace-operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wspace-operations.js","names":[],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type AssignWorkspaceQuotaMutationVariables = Types.Exact<{\n input: Types.AssignWorkspaceQuotaInput;\n}>;\n\n\nexport type AssignWorkspaceQuotaMutation = { __typename?: 'Mutation', assignWorkspaceQuota: { __typename?: 'WorkspaceQuotaAssignment', id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId?: string | null, subscriptionId?: string | null, limit?: number | null, used: number, noLimit: boolean, resetPeriod: string, isActive: boolean, createdAt: string } };\n\nexport type UnassignWorkspaceQuotaMutationVariables = Types.Exact<{\n id: Types.Scalars['ID']['input'];\n workspaceId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type UnassignWorkspaceQuotaMutation = { __typename?: 'Mutation', unassignWorkspaceQuota: boolean };\n\nexport type GetUsageRecordsQueryVariables = Types.Exact<{\n filters: Types.UsageFilters;\n pagination?: Types.InputMaybe<Types.UsageRecordPaginationInput>;\n}>;\n\n\nexport type GetUsageRecordsQuery = { __typename?: 'Query', getUsageRecords: { __typename?: 'UsageRecordsPage', hasNextPage: boolean, nextCursor?: string | null, items: Array<{ __typename?: 'UsageRecord', id: string, quotaAssignmentId: string, quotaName: string, productId: string, amount: number, description: string, workspaceId?: string | null, userId?: string | null, metadata?: Record<string, unknown> | null, createdAt: string, createdBy: string }> } };\n\nexport type GetWorkspaceQuotaAssignmentsQueryVariables = Types.Exact<{\n workspaceId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetWorkspaceQuotaAssignmentsQuery = { __typename?: 'Query', workspaceQuotaAssignments: Array<{ __typename?: 'WorkspaceQuotaAssignment', id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId?: string | null, subscriptionId?: string | null, limit?: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt?: string | null, isActive: boolean, createdAt: string, updatedAt: string }> };\n\nexport type GetWorkspaceQuotaOverviewQueryVariables = Types.Exact<{\n workspaceId: Types.Scalars['ID']['input'];\n}>;\n\n\nexport type GetWorkspaceQuotaOverviewQuery = { __typename?: 'Query', workspaceQuotaOverview: Array<{ __typename?: 'WorkspaceQuotaOverview', effectiveUsed: number, remaining?: number | null, usagePercentage: number, assignment: { __typename?: 'WorkspaceQuotaAssignment', id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId?: string | null, subscriptionId?: string | null, limit?: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt?: string | null, isActive: boolean, createdAt: string }, liveStatus?: { __typename?: 'WorkspaceQuotaStatus', workspaceId: string, quotaName: string, productId: string, currentValue: number, limit?: number | null, noLimit: boolean, scrapedAt: string } | null }> };\n\n\nexport const AssignWorkspaceQuotaDocument = gql`\n mutation AssignWorkspaceQuota($input: AssignWorkspaceQuotaInput!) {\n assignWorkspaceQuota(input: $input) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n isActive\n createdAt\n }\n}\n `;\nexport type AssignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useAssignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useAssignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAssignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [assignWorkspaceQuotaMutation, { data, loading, error }] = useAssignWorkspaceQuotaMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useAssignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>(AssignWorkspaceQuotaDocument, options);\n }\nexport type AssignWorkspaceQuotaMutationHookResult = ReturnType<typeof useAssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.AssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\nexport const UnassignWorkspaceQuotaDocument = gql`\n mutation UnassignWorkspaceQuota($id: ID!, $workspaceId: ID!) {\n unassignWorkspaceQuota(id: $id, workspaceId: $workspaceId)\n}\n `;\nexport type UnassignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useUnassignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useUnassignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnassignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unassignWorkspaceQuotaMutation, { data, loading, error }] = useUnassignWorkspaceQuotaMutation({\n * variables: {\n * id: // value for 'id'\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useUnassignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>(UnassignWorkspaceQuotaDocument, options);\n }\nexport type UnassignWorkspaceQuotaMutationHookResult = ReturnType<typeof useUnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.UnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\nexport const GetUsageRecordsDocument = gql`\n query GetUsageRecords($filters: UsageFilters!, $pagination: UsageRecordPaginationInput) {\n getUsageRecords(filters: $filters, pagination: $pagination) {\n items {\n id\n quotaAssignmentId\n quotaName\n productId\n amount\n description\n workspaceId\n userId\n metadata\n createdAt\n createdBy\n }\n hasNextPage\n nextCursor\n }\n}\n `;\n\n/**\n * __useGetUsageRecordsQuery__\n *\n * To run a query within a React component, call `useGetUsageRecordsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetUsageRecordsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetUsageRecordsQuery({\n * variables: {\n * filters: // value for 'filters'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetUsageRecordsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables> & ({ variables: Types.GetUsageRecordsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\n// @ts-ignore\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery | undefined, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport type GetUsageRecordsQueryHookResult = ReturnType<typeof useGetUsageRecordsQuery>;\nexport type GetUsageRecordsLazyQueryHookResult = ReturnType<typeof useGetUsageRecordsLazyQuery>;\nexport type GetUsageRecordsSuspenseQueryHookResult = ReturnType<typeof useGetUsageRecordsSuspenseQuery>;\nexport type GetUsageRecordsQueryResult = Apollo.QueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport const GetWorkspaceQuotaAssignmentsDocument = gql`\n query GetWorkspaceQuotaAssignments($workspaceId: ID!) {\n workspaceQuotaAssignments(workspaceId: $workspaceId) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaAssignmentsQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaAssignmentsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaAssignmentsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaAssignmentsQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaAssignmentsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables> & ({ variables: Types.GetWorkspaceQuotaAssignmentsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery | undefined, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport type GetWorkspaceQuotaAssignmentsQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsQuery>;\nexport type GetWorkspaceQuotaAssignmentsLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsLazyQuery>;\nexport type GetWorkspaceQuotaAssignmentsSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsSuspenseQuery>;\nexport type GetWorkspaceQuotaAssignmentsQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport const GetWorkspaceQuotaOverviewDocument = gql`\n query GetWorkspaceQuotaOverview($workspaceId: ID!) {\n workspaceQuotaOverview(workspaceId: $workspaceId) {\n assignment {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n }\n liveStatus {\n workspaceId\n quotaName\n productId\n currentValue\n limit\n noLimit\n scrapedAt\n }\n effectiveUsed\n remaining\n usagePercentage\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaOverviewQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaOverviewQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaOverviewQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaOverviewQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaOverviewQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables> & ({ variables: Types.GetWorkspaceQuotaOverviewQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery | undefined, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport type GetWorkspaceQuotaOverviewQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewQuery>;\nexport type GetWorkspaceQuotaOverviewLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewLazyQuery>;\nexport type GetWorkspaceQuotaOverviewSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewSuspenseQuery>;\nexport type GetWorkspaceQuotaOverviewQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;"],"mappings":";;;AAMA,IAAM,IAAiB,CAAC;AAuCoB,CAAG;;;;;;;;;;;;;;;;;;OA6CD,CAAG;;;;;AAgCjD,IAAa,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;AAuC1C,SAAgB,EAAwB,GAA+M;CAC/O,IAAM,IAAU;EAAC,GAAG;EAAgB,GAAG;CAAW;CAClD,OAAO,EAAiB,SAA0E,GAAyB,CAAO;AACpI;AAgB8C,CAAG;;;;;;;;;;;;;;;;;;;;OAyDN,CAAG"}
|
|
1
|
+
{"version":3,"file":"wspace-operations.js","names":["ApolloReactHooks","defaultOptions","GetUsageRecordsDocument","useGetUsageRecordsQuery","options","baseOptions"],"sources":["../../src/generated/wspace-operations.ts"],"sourcesContent":["// @ts-nocheck\n/** Internal type. DO NOT USE DIRECTLY. */\ntype Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };\n/** Internal type. DO NOT USE DIRECTLY. */\nexport type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };\nimport * as Types from './wspace-types';\n\nimport { gql } from '@apollo/client';\nimport * as Apollo from '@apollo/client';\nimport * as ApolloReactHooks from '@apollo/client/react';\nconst defaultOptions = {} as const;\nexport type AssignWorkspaceQuotaInput = {\n billingAccountId?: string | number | null | undefined;\n limit?: number | null | undefined;\n metadata?: Record<string, unknown> | null | undefined;\n noLimit?: boolean | null | undefined;\n productId: string;\n quotaMode?: WorkspaceQuotaMode | null | undefined;\n quotaName: string;\n resetPeriod?: string | null | undefined;\n subscriptionId?: string | number | null | undefined;\n workspaceId: string | number;\n};\n\n/** Usage query filters */\nexport type UsageFilters = {\n billingAccountId?: string | number | null | undefined;\n endDate?: string | null | undefined;\n productId?: string | null | undefined;\n quotaAssignmentId?: string | number | null | undefined;\n quotaName?: string | null | undefined;\n startDate?: string | null | undefined;\n userId?: string | number | null | undefined;\n workspaceId?: string | number | null | undefined;\n};\n\n/** Cursor-based pagination input for usage records. Pass `cursor` from the previous page's `nextCursor` to fetch the next page. */\nexport type UsageRecordPaginationInput = {\n /** Opaque cursor (record ID) from the previous page's nextCursor. Omit for the first page. */\n cursor?: string | number | null | undefined;\n /** Maximum records to return per page. Defaults to 50, capped at 200. */\n limit?: number | null | undefined;\n};\n\nexport type WorkspaceQuotaMode =\n | 'dedicated'\n | 'pooled';\n\nexport type AssignWorkspaceQuotaMutationVariables = Exact<{\n input: Types.AssignWorkspaceQuotaInput;\n}>;\n\n\nexport type AssignWorkspaceQuotaMutation = { assignWorkspaceQuota: { id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId: string | null, subscriptionId: string | null, limit: number | null, used: number, noLimit: boolean, resetPeriod: string, isActive: boolean, createdAt: string } };\n\nexport type UnassignWorkspaceQuotaMutationVariables = Exact<{\n id: string | number;\n workspaceId: string | number;\n}>;\n\n\nexport type UnassignWorkspaceQuotaMutation = { unassignWorkspaceQuota: boolean };\n\nexport type GetUsageRecordsQueryVariables = Exact<{\n filters: Types.UsageFilters;\n pagination?: Types.UsageRecordPaginationInput | null | undefined;\n}>;\n\n\nexport type GetUsageRecordsQuery = { getUsageRecords: { hasNextPage: boolean, nextCursor: string | null, items: Array<{ id: string, quotaAssignmentId: string, quotaName: string, productId: string, amount: number, description: string, workspaceId: string | null, userId: string | null, metadata: Record<string, unknown> | null, createdAt: string, createdBy: string }> } };\n\nexport type GetWorkspaceQuotaAssignmentsQueryVariables = Exact<{\n workspaceId: string | number;\n}>;\n\n\nexport type GetWorkspaceQuotaAssignmentsQuery = { workspaceQuotaAssignments: Array<{ id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId: string | null, subscriptionId: string | null, limit: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt: string | null, isActive: boolean, createdAt: string, updatedAt: string }> };\n\nexport type GetWorkspaceQuotaOverviewQueryVariables = Exact<{\n workspaceId: string | number;\n}>;\n\n\nexport type GetWorkspaceQuotaOverviewQuery = { workspaceQuotaOverview: Array<{ effectiveUsed: number, remaining: number | null, usagePercentage: number, assignment: { id: string, workspaceId: string, quotaName: string, productId: string, quotaMode: Types.WorkspaceQuotaMode, billingAccountId: string | null, subscriptionId: string | null, limit: number | null, used: number, noLimit: boolean, resetPeriod: string, lastResetAt: string | null, isActive: boolean, createdAt: string }, liveStatus: { workspaceId: string, quotaName: string, productId: string, currentValue: number, limit: number | null, noLimit: boolean, scrapedAt: string } | null }> };\n\n\nexport const AssignWorkspaceQuotaDocument = gql`\n mutation AssignWorkspaceQuota($input: AssignWorkspaceQuotaInput!) {\n assignWorkspaceQuota(input: $input) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n isActive\n createdAt\n }\n}\n `;\nexport type AssignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useAssignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useAssignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useAssignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [assignWorkspaceQuotaMutation, { data, loading, error }] = useAssignWorkspaceQuotaMutation({\n * variables: {\n * input: // value for 'input'\n * },\n * });\n */\nexport function useAssignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>(AssignWorkspaceQuotaDocument, options);\n }\nexport type AssignWorkspaceQuotaMutationHookResult = ReturnType<typeof useAssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.AssignWorkspaceQuotaMutation>;\nexport type AssignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.AssignWorkspaceQuotaMutation, Types.AssignWorkspaceQuotaMutationVariables>;\nexport const UnassignWorkspaceQuotaDocument = gql`\n mutation UnassignWorkspaceQuota($id: ID!, $workspaceId: ID!) {\n unassignWorkspaceQuota(id: $id, workspaceId: $workspaceId)\n}\n `;\nexport type UnassignWorkspaceQuotaMutationFn = Apollo.MutationFunction<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\n\n/**\n * __useUnassignWorkspaceQuotaMutation__\n *\n * To run a mutation, you first call `useUnassignWorkspaceQuotaMutation` within a React component and pass it any options that fit your needs.\n * When your component renders, `useUnassignWorkspaceQuotaMutation` returns a tuple that includes:\n * - A mutate function that you can call at any time to execute the mutation\n * - An object with fields that represent the current status of the mutation's execution\n *\n * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;\n *\n * @example\n * const [unassignWorkspaceQuotaMutation, { data, loading, error }] = useUnassignWorkspaceQuotaMutation({\n * variables: {\n * id: // value for 'id'\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useUnassignWorkspaceQuotaMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useMutation<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>(UnassignWorkspaceQuotaDocument, options);\n }\nexport type UnassignWorkspaceQuotaMutationHookResult = ReturnType<typeof useUnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationResult = Apollo.MutationResult<Types.UnassignWorkspaceQuotaMutation>;\nexport type UnassignWorkspaceQuotaMutationOptions = Apollo.BaseMutationOptions<Types.UnassignWorkspaceQuotaMutation, Types.UnassignWorkspaceQuotaMutationVariables>;\nexport const GetUsageRecordsDocument = gql`\n query GetUsageRecords($filters: UsageFilters!, $pagination: UsageRecordPaginationInput) {\n getUsageRecords(filters: $filters, pagination: $pagination) {\n items {\n id\n quotaAssignmentId\n quotaName\n productId\n amount\n description\n workspaceId\n userId\n metadata\n createdAt\n createdBy\n }\n hasNextPage\n nextCursor\n }\n}\n `;\n\n/**\n * __useGetUsageRecordsQuery__\n *\n * To run a query within a React component, call `useGetUsageRecordsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetUsageRecordsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetUsageRecordsQuery({\n * variables: {\n * filters: // value for 'filters'\n * pagination: // value for 'pagination'\n * },\n * });\n */\nexport function useGetUsageRecordsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables> & ({ variables: Types.GetUsageRecordsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport function useGetUsageRecordsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\n// @ts-ignore\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetUsageRecordsQuery | undefined, Types.GetUsageRecordsQueryVariables>;\nexport function useGetUsageRecordsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>(GetUsageRecordsDocument, options);\n }\nexport type GetUsageRecordsQueryHookResult = ReturnType<typeof useGetUsageRecordsQuery>;\nexport type GetUsageRecordsLazyQueryHookResult = ReturnType<typeof useGetUsageRecordsLazyQuery>;\nexport type GetUsageRecordsSuspenseQueryHookResult = ReturnType<typeof useGetUsageRecordsSuspenseQuery>;\nexport type GetUsageRecordsQueryResult = Apollo.QueryResult<Types.GetUsageRecordsQuery, Types.GetUsageRecordsQueryVariables>;\nexport const GetWorkspaceQuotaAssignmentsDocument = gql`\n query GetWorkspaceQuotaAssignments($workspaceId: ID!) {\n workspaceQuotaAssignments(workspaceId: $workspaceId) {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n updatedAt\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaAssignmentsQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaAssignmentsQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaAssignmentsQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaAssignmentsQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaAssignmentsQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables> & ({ variables: Types.GetWorkspaceQuotaAssignmentsQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport function useGetWorkspaceQuotaAssignmentsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaAssignmentsQuery | undefined, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport function useGetWorkspaceQuotaAssignmentsSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>(GetWorkspaceQuotaAssignmentsDocument, options);\n }\nexport type GetWorkspaceQuotaAssignmentsQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsQuery>;\nexport type GetWorkspaceQuotaAssignmentsLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsLazyQuery>;\nexport type GetWorkspaceQuotaAssignmentsSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaAssignmentsSuspenseQuery>;\nexport type GetWorkspaceQuotaAssignmentsQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaAssignmentsQuery, Types.GetWorkspaceQuotaAssignmentsQueryVariables>;\nexport const GetWorkspaceQuotaOverviewDocument = gql`\n query GetWorkspaceQuotaOverview($workspaceId: ID!) {\n workspaceQuotaOverview(workspaceId: $workspaceId) {\n assignment {\n id\n workspaceId\n quotaName\n productId\n quotaMode\n billingAccountId\n subscriptionId\n limit\n used\n noLimit\n resetPeriod\n lastResetAt\n isActive\n createdAt\n }\n liveStatus {\n workspaceId\n quotaName\n productId\n currentValue\n limit\n noLimit\n scrapedAt\n }\n effectiveUsed\n remaining\n usagePercentage\n }\n}\n `;\n\n/**\n * __useGetWorkspaceQuotaOverviewQuery__\n *\n * To run a query within a React component, call `useGetWorkspaceQuotaOverviewQuery` and pass it any options that fit your needs.\n * When your component renders, `useGetWorkspaceQuotaOverviewQuery` returns an object from Apollo Client that contains loading, error, and data properties\n * you can use to render your UI.\n *\n * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;\n *\n * @example\n * const { data, loading, error } = useGetWorkspaceQuotaOverviewQuery({\n * variables: {\n * workspaceId: // value for 'workspaceId'\n * },\n * });\n */\nexport function useGetWorkspaceQuotaOverviewQuery(baseOptions: ApolloReactHooks.QueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables> & ({ variables: Types.GetWorkspaceQuotaOverviewQueryVariables; skip?: boolean; } | { skip: boolean; }) ) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport function useGetWorkspaceQuotaOverviewLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useLazyQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\n// @ts-ignore\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>): ApolloReactHooks.UseSuspenseQueryResult<Types.GetWorkspaceQuotaOverviewQuery | undefined, Types.GetWorkspaceQuotaOverviewQueryVariables>;\nexport function useGetWorkspaceQuotaOverviewSuspenseQuery(baseOptions?: ApolloReactHooks.SkipToken | ApolloReactHooks.SuspenseQueryHookOptions<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>) {\n const options = baseOptions === ApolloReactHooks.skipToken ? baseOptions : {...defaultOptions, ...baseOptions}\n return ApolloReactHooks.useSuspenseQuery<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>(GetWorkspaceQuotaOverviewDocument, options);\n }\nexport type GetWorkspaceQuotaOverviewQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewQuery>;\nexport type GetWorkspaceQuotaOverviewLazyQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewLazyQuery>;\nexport type GetWorkspaceQuotaOverviewSuspenseQueryHookResult = ReturnType<typeof useGetWorkspaceQuotaOverviewSuspenseQuery>;\nexport type GetWorkspaceQuotaOverviewQueryResult = Apollo.QueryResult<Types.GetWorkspaceQuotaOverviewQuery, Types.GetWorkspaceQuotaOverviewQueryVariables>;"],"mappings":";;;AAUA,IAAMC,IAAiB,CAAC;AA4EoB,CAAG;;;;;;;;;;;;;;;;;;OA6CD,CAAG;;;;;AAgCjD,IAAaC,IAA0B,CAAG;;;;;;;;;;;;;;;;;;;;;AAuC1C,SAAgBC,EAAwB,GAA+M;CAC/O,IAAMC,IAAU;EAAC,GAAGH;EAAgB,GAAGI;CAAW;CAClD,OAAOL,EAAiB,SAA0EE,GAAyBE,CAAO;AACpI;AAgB8C,CAAG;;;;;;;;;;;;;;;;;;;;OAyDN,CAAG"}
|
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
export type Maybe<T> = T | null;
|
|
2
2
|
export type InputMaybe<T> = Maybe<T>;
|
|
3
|
-
export type Exact<T extends {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
}> = {
|
|
6
|
-
[K in keyof T]: T[K];
|
|
7
|
-
};
|
|
8
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
9
|
-
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
10
|
-
};
|
|
11
|
-
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
12
|
-
[SubKey in K]: Maybe<T[SubKey]>;
|
|
13
|
-
};
|
|
14
|
-
export type MakeEmpty<T extends {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
}, K extends keyof T> = {
|
|
17
|
-
[_ in K]?: never;
|
|
18
|
-
};
|
|
19
|
-
export type Incremental<T> = T | {
|
|
20
|
-
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
21
|
-
};
|
|
22
3
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
23
4
|
export type Scalars = {
|
|
24
5
|
ID: {
|
|
@@ -72,12 +53,12 @@ export type Scalars = {
|
|
|
72
53
|
output: File;
|
|
73
54
|
};
|
|
74
55
|
_ScalarsPlaceholder: {
|
|
75
|
-
input:
|
|
76
|
-
output:
|
|
56
|
+
input: unknown;
|
|
57
|
+
output: unknown;
|
|
77
58
|
};
|
|
78
59
|
_SecurityMainPlaceholder: {
|
|
79
|
-
input:
|
|
80
|
-
output:
|
|
60
|
+
input: unknown;
|
|
61
|
+
output: unknown;
|
|
81
62
|
};
|
|
82
63
|
};
|
|
83
64
|
export type A2AConnection = {
|
|
@@ -49190,4 +49171,3 @@ export type YieldTrendPoint = {
|
|
|
49190
49171
|
peppers: Scalars['Float']['output'];
|
|
49191
49172
|
tomatoes: Scalars['Float']['output'];
|
|
49192
49173
|
};
|
|
49193
|
-
//# sourceMappingURL=wspace-types.d.ts.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { e as BillingRoot };
|
|
1
|
+
export { BillingRoot } from "./billing/BillingRoot.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// node_modules/@capacitor/core/dist/index.js
|
|
2
2
|
var e;
|
|
3
3
|
(function(e) {
|
|
4
4
|
e.Unimplemented = "UNIMPLEMENTED", e.Unavailable = "UNAVAILABLE";
|
|
@@ -26,7 +26,8 @@ var t = class extends Error {
|
|
|
26
26
|
if (s) {
|
|
27
27
|
let e = s(...a);
|
|
28
28
|
return i = e?.remove, e;
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
|
+
throw new t(`"${n}.${r}()" is not implemented on ${l}`, e.Unimplemented);
|
|
30
31
|
});
|
|
31
32
|
return r === "addListener" && (o.remove = async () => i()), o;
|
|
32
33
|
};
|
|
@@ -37,9 +38,10 @@ var t = class extends Error {
|
|
|
37
38
|
}), a;
|
|
38
39
|
}, _ = g("addListener"), v = g("removeListener"), y = (e, t) => {
|
|
39
40
|
let n = _({ eventName: e }, t), r = async () => {
|
|
41
|
+
let r = await n;
|
|
40
42
|
v({
|
|
41
43
|
eventName: e,
|
|
42
|
-
callbackId:
|
|
44
|
+
callbackId: r
|
|
43
45
|
}, t);
|
|
44
46
|
}, i = new Promise((e) => n.then(() => e({ remove: r })));
|
|
45
47
|
return i.remove = async () => {
|
|
@@ -57,7 +59,7 @@ var t = class extends Error {
|
|
|
57
59
|
return o[n] = b, f.set(n, {
|
|
58
60
|
name: n,
|
|
59
61
|
proxy: b,
|
|
60
|
-
platforms: new Set([...Object.keys(r), ...d ? [l] : []])
|
|
62
|
+
platforms: /* @__PURE__ */ new Set([...Object.keys(r), ...d ? [l] : []])
|
|
61
63
|
}), b;
|
|
62
64
|
}, a.Exception = t, a.DEBUG = !!a.DEBUG, a.isLoggingEnabled = !!a.isLoggingEnabled, a;
|
|
63
65
|
}, i = /*#__PURE__*/ ((e) => e.Capacitor = r(e))(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {}), a = i.registerPlugin, o = class {
|
|
@@ -77,14 +79,11 @@ var t = class extends Error {
|
|
|
77
79
|
}
|
|
78
80
|
notifyListeners(e, t, n) {
|
|
79
81
|
let r = this.listeners[e];
|
|
80
|
-
if (
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
return;
|
|
82
|
+
if (r) r.forEach((e) => e(t));
|
|
83
|
+
else if (n) {
|
|
84
|
+
let n = this.retainedEventArguments[e];
|
|
85
|
+
n ||= [], n.push(t), this.retainedEventArguments[e] = n;
|
|
86
86
|
}
|
|
87
|
-
r.forEach((e) => e(t));
|
|
88
87
|
}
|
|
89
88
|
hasListeners(e) {
|
|
90
89
|
return !!this.listeners[e]?.length;
|
|
@@ -109,7 +108,7 @@ var t = class extends Error {
|
|
|
109
108
|
let n = this.listeners[e];
|
|
110
109
|
if (!n) return;
|
|
111
110
|
let r = n.indexOf(t);
|
|
112
|
-
this.listeners[e].splice(r, 1), this.listeners[e].length || this.removeWindowListener(this.windowListeners[e]);
|
|
111
|
+
r !== -1 && this.listeners[e].splice(r, 1), this.listeners[e].length || this.removeWindowListener(this.windowListeners[e]);
|
|
113
112
|
}
|
|
114
113
|
addWindowListener(e) {
|
|
115
114
|
window.addEventListener(e.windowEventName, e.handler), e.registered = !0;
|
|
@@ -264,7 +263,6 @@ var _ = class extends o {
|
|
|
264
263
|
}
|
|
265
264
|
};
|
|
266
265
|
a("SystemBars", { web: () => new _() });
|
|
267
|
-
|
|
268
|
-
export { i as Capacitor };
|
|
266
|
+
export { i as Capacitor, t as CapacitorException, e as ExceptionCode, g as SystemBarType, h as SystemBarsStyle, o as WebPlugin, p as buildRequestInit, a as registerPlugin };
|
|
269
267
|
|
|
270
268
|
//# sourceMappingURL=index.js.map
|