@djangocfg/api 2.1.26 → 2.1.28

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/auth.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/auth/index.ts","../src/auth/context/AuthContext.tsx","../src/generated/cfg_accounts/cfg_accounts__accounts__auth/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/client.ts","../src/generated/cfg_accounts/cfg_accounts__accounts__oauth/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/client.ts","../src/generated/cfg_accounts/cfg_accounts__accounts__user_profile/client.ts","../src/generated/cfg_accounts/cfg_accounts__accounts/client.ts","../src/generated/cfg_accounts/cfg_accounts__endpoints/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/client.ts","../src/generated/cfg_accounts/cfg_accounts__health/client.ts","../src/generated/cfg_accounts/http.ts","../src/generated/cfg_accounts/errors.ts","../src/generated/cfg_accounts/logger.ts","../src/generated/cfg_accounts/retry.ts","../src/generated/cfg_accounts/client.ts","../src/generated/cfg_accounts/storage.ts","../src/generated/cfg_accounts/enums.ts","../src/generated/cfg_accounts/_utils/schemas/APIZone.schema.ts","../src/generated/cfg_accounts/_utils/schemas/APIZonesSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ZonesSummaryStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ActivityEntry.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ActivityTrackerDay.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ApiKey.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ApiKeyStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/AppStatistics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/AppStatisticsData.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ModelStatistics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/AxesConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelsRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelsResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelsResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoError.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoClientInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoStreamPosition.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHistoryResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHistoryResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPublication.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoInfoResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoInfoResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoNodeInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoMetrics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoProcess.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoOverviewStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoToken.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChannelList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChannelStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChartData.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChartDataset.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Command.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandCategory.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandExecuteRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandHelpResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandsSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConfigData.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConfigValidation.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DjangoConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConfigMeta.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConstanceConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DRFConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DatabaseConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DjangoRQConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RQSchedule.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RedisQueueConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/EmailConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCConfigDashboard.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GitHubOAuthConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JWTConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/NextJSAdminConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/NgrokConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OpenAPIClientConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaymentsConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaymentsNowPayments.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SpectacularConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TelegramConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConnectionTokenResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DRFHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DashboardOverview.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QuickAction.schema.ts","../src/generated/cfg_accounts/_utils/schemas/StatCard.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SystemHealth.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SystemHealthItem.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SystemMetrics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/UserStatistics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Endpoint.schema.ts","../src/generated/cfg_accounts/_utils/schemas/EndpointsStatus.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCFeatures.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCFrameworkConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServerConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCInterceptorInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCOverviewStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServerStatus.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCRegisteredService.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServerInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServiceInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServiceRegistryMethodStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobActionResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobDetail.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobListRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ManualAckRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ManualAckResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/MethodInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/MethodList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/MethodSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthAuthorizeRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthAuthorizeResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthCallbackRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthConnection.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthDisconnectRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthError.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthProvidersResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthTokenResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPErrorResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPRequestResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPVerifyRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPVerifyResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/User.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedApiKeyList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedJobListList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedPublishList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Publish.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedRecentRequestList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RecentRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedScheduledJobList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduledJob.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedServiceSummaryList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PublishTestRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PublishTestResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QueueDetail.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QueueStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QuickHealth.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RQConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduleInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RQHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RecentError.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RecentUser.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RunDemoRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduleActionResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduleCreateRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceDetail.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceMethods.schema.ts","../src/generated/cfg_accounts/_utils/schemas/StressTestRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TestScenario.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TestingActionResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TimelineItem.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TimelineResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TokenRefresh.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TokenRefreshRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/URLPattern.schema.ts","../src/generated/cfg_accounts/_utils/schemas/URLsList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/UserProfileUpdateRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Worker.schema.ts","../src/generated/cfg_accounts/_utils/schemas/WorkerStats.schema.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts.ts","../src/generated/cfg_accounts/api-instance.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts__auth.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts__oauth.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts__user_profile.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_admin_api.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_auth.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_monitoring.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_testing.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_api_zones.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_charts.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_commands.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_config.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_overview.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_statistics.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_system.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__endpoints.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_api_keys.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_configuration.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_monitoring.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_services.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__health.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_jobs.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_monitoring.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_queues.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_registries.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_schedules.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_testing.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_workers.ts","../src/generated/cfg_accounts/index.ts","../src/index.ts","../src/auth/context/AccountsContext.tsx","../src/auth/utils/logger.ts","../src/auth/hooks/useProfileCache.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts__auth.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_admin_api.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_auth.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_monitoring.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_testing.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_api_zones.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_activity.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_charts.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_commands.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_config.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_overview.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_statistics.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_system.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts__oauth.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_jobs.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_monitoring.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_queues.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_registries.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_schedules.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_testing.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_workers.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts__user_profile.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__endpoints.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_api_keys.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_configuration.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_monitoring.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_services.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__health.ts","../src/auth/utils/analytics.ts","../src/auth/hooks/useSessionStorage.ts","../src/auth/hooks/useAuthRedirect.ts","../src/auth/hooks/useAuthGuard.ts","../src/auth/hooks/useLocalStorage.ts","../src/auth/hooks/useAuthForm.ts","../src/auth/hooks/useAutoAuth.ts","../src/auth/hooks/useGithubAuth.ts","../src/auth/utils/validation.ts","../src/auth/utils/errors.ts"],"sourcesContent":["/**\n * @djangocfg/api/auth\n *\n * Authentication module with contexts, hooks and utilities.\n * Use this entry point in client components.\n *\n * @example\n * ```tsx\n * 'use client';\n * import { AuthProvider, useAuth } from '@djangocfg/api/auth';\n *\n * export function MyApp({ children }) {\n * return (\n * <AuthProvider>\n * {children}\n * </AuthProvider>\n * );\n * }\n *\n * export function Profile() {\n * const { user, logout } = useAuth();\n * return <div>{user?.email}</div>;\n * }\n * ```\n */\n\n// Contexts\nexport * from './context';\n\n// Hooks\nexport * from './hooks';\n\n// Utils (validation, errors, analytics)\nexport * from './utils';\n","// @ts-nocheck\n'use client';\n\nimport { usePathname } from 'next/navigation';\nimport React, {\n createContext, ReactNode, useCallback, useContext, useEffect, useMemo, useRef, useState\n} from 'react';\n\nimport { api as apiAccounts, Enums } from '../../';\nimport { useAccountsContext, AccountsProvider } from './AccountsContext';\nimport { useLocalStorage, useQueryParams, useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\nimport { getCachedProfile, clearProfileCache } from '../hooks/useProfileCache';\n\nimport { authLogger } from '../utils/logger';\nimport { Analytics, AnalyticsEvent, AnalyticsCategory } from '../utils/analytics';\nimport type { AuthConfig, AuthContextType, AuthProviderProps, UserProfile } from './types';\n\n// Default routes\nconst defaultRoutes = {\n auth: '/auth',\n defaultCallback: '/dashboard',\n defaultAuthCallback: '/auth',\n};\n\nconst AuthContext = createContext<AuthContextType | undefined>(undefined);\n\n// Constants\nconst EMAIL_STORAGE_KEY = 'auth_email';\nconst PHONE_STORAGE_KEY = 'auth_phone';\nconst AUTH_REDIRECT_KEY = 'auth_redirect_url';\n\nconst hasValidTokens = (): boolean => {\n if (typeof window === 'undefined') return false;\n return apiAccounts.isAuthenticated();\n};\n\n// Internal provider that uses AccountsContext\nconst AuthProviderInternal: React.FC<AuthProviderProps> = ({ children, config }) => {\n const accounts = useAccountsContext();\n\n // Smart initial loading state: only true if we don't have tokens yet\n const [isLoading, setIsLoading] = useState(() => {\n // If we already have tokens and profile, don't show loading\n if (typeof window !== 'undefined') {\n const hasTokens = hasValidTokens();\n // Only show loading on initial mount if no tokens\n return !hasTokens;\n }\n return true;\n });\n\n const [initialized, setInitialized] = useState(false);\n const router = useCfgRouter();\n const pathname = usePathname();\n const queryParams = useQueryParams();\n\n // Use localStorage hooks for email, phone, and redirect\n const [storedEmail, setStoredEmail, clearStoredEmail] = useLocalStorage<string | null>(EMAIL_STORAGE_KEY, null);\n const [storedPhone, setStoredPhone, clearStoredPhone] = useLocalStorage<string | null>(PHONE_STORAGE_KEY, null);\n const [redirectUrl, setRedirectUrl, clearRedirectUrl] = useLocalStorage<string | null>(AUTH_REDIRECT_KEY, null);\n\n // Map AccountsContext profile to UserProfile\n const user = accounts.profile as UserProfile | null;\n\n // Use refs to avoid dependency issues\n const userRef = useRef(user);\n const configRef = useRef(config);\n const isLoadingProfileRef = useRef(false);\n\n // Update refs when values change\n useEffect(() => {\n userRef.current = user;\n }, [user]);\n\n useEffect(() => {\n configRef.current = config;\n }, [config]);\n\n // Note: API URL is configured in BaseClient, not at runtime\n\n // Common function to clear auth state\n const clearAuthState = useCallback((caller: string) => {\n authLogger.info('clearAuthState >> caller', caller);\n apiAccounts.clearTokens();\n clearProfileCache(); // Clear profile cache from localStorage\n // Note: user is now managed by AccountsContext, will auto-update\n setInitialized(true);\n setIsLoading(false);\n }, []);\n\n // Global error handler for auth-related errors\n const handleGlobalAuthError = useCallback((error: any, context: string = 'API Request') => {\n // Simple error check - if response has error flag, it's an error\n if (error?.success === false) {\n authLogger.warn(`Error detected in ${context}, clearing tokens`);\n clearAuthState(`globalAuthError:${context}`);\n return true;\n }\n\n return false;\n }, [clearAuthState]);\n\n // Simple profile loading without retry - now uses AccountsContext with memoization\n const loadCurrentProfile = useCallback(async (callerId?: string): Promise<void> => {\n const finalCallerId = callerId || 'AuthContext.loadCurrentProfile';\n\n // Check if profile loading is already in progress\n if (isLoadingProfileRef.current) {\n authLogger.debug(`Profile loading already in progress, skipping duplicate call from: ${finalCallerId}`);\n return;\n }\n\n authLogger.debug(`loadCurrentProfile called by: ${finalCallerId}`);\n\n try {\n isLoadingProfileRef.current = true;\n\n // Ensure API clients are properly initialized with current token\n const isAuth = apiAccounts.isAuthenticated();\n const token = apiAccounts.getToken();\n // authLogger.debug('isAuthenticated:', isAuth, 'token:', token ? token.substring(0, 20) + '...' : 'null');\n\n if (!isAuth) {\n authLogger.warn('No valid authentication token, throwing error');\n throw new Error('No valid authentication token');\n }\n\n // Check if profile is already loaded in AccountsContext to prevent duplicate API calls\n if (accounts.profile && !accounts.isLoadingProfile) {\n authLogger.debug('Profile already loaded in AccountsContext, skipping API call');\n setInitialized(true);\n return;\n }\n\n // Refresh profile from AccountsContext (now with memoization)\n const refreshedProfile = await accounts.refreshProfile(finalCallerId);\n\n if (refreshedProfile) {\n authLogger.info('Profile loaded successfully:', refreshedProfile.id);\n } else {\n authLogger.warn('Profile refresh returned undefined - but keeping tokens');\n }\n\n // Always mark as initialized if we have valid tokens\n // Don't clear tokens just because profile fetch failed\n setInitialized(true);\n } catch (error) {\n authLogger.error('Failed to load profile:', error);\n // Use global error handler first, fallback to clearing state\n if (!handleGlobalAuthError(error, 'loadCurrentProfile')) {\n clearAuthState('loadCurrentProfile:error');\n }\n } finally {\n isLoadingProfileRef.current = false;\n }\n }, [clearAuthState, handleGlobalAuthError, accounts]);\n\n // Initialize auth state once\n useEffect(() => {\n if (initialized) return;\n\n const initializeAuth = async () => {\n authLogger.info('Initializing auth...');\n\n // Check if running in iframe (AdminLayout will handle auth via postMessage)\n const isInIframe = typeof window !== 'undefined' && window.self !== window.top;\n authLogger.info('Is in iframe:', isInIframe);\n\n // Debug token state\n const token = apiAccounts.getToken();\n const refreshToken = apiAccounts.getRefreshToken();\n authLogger.info('Token from API:', token ? `${token.substring(0, 20)}...` : 'null');\n authLogger.info('Refresh token from API:', refreshToken ? `${refreshToken.substring(0, 20)}...` : 'null');\n authLogger.info('localStorage keys:', Object.keys(localStorage).filter(k => k.includes('token') || k.includes('auth')));\n\n const hasTokens = hasValidTokens();\n authLogger.info('Has tokens:', hasTokens);\n\n // Check if profile is already loaded from cache (AccountsContext initialization)\n if (userRef.current) {\n authLogger.info('Profile already loaded from AccountsContext cache, skipping API request');\n setInitialized(true);\n setIsLoading(false);\n return;\n }\n\n // Check if cache exists in localStorage (before userRef updates)\n const cachedProfile = getCachedProfile();\n if (cachedProfile) {\n authLogger.info('Profile found in localStorage cache, skipping API request');\n setInitialized(true);\n setIsLoading(false);\n return;\n }\n\n // In iframe mode WITHOUT tokens yet - wait for AdminLayout to receive them via postMessage\n // Don't initialize yet - AdminLayout.handleAuthToken will call loadCurrentProfile\n if (isInIframe && !hasTokens) {\n authLogger.info('Running in iframe without tokens - waiting for parent to send via postMessage');\n authLogger.info('AdminLayout will handle auth initialization, skipping AuthContext init');\n setInitialized(true); // Mark as initialized to prevent re-initialization\n setIsLoading(false);\n return;\n }\n\n if (hasTokens) {\n setIsLoading(true);\n try {\n authLogger.info('No cached profile found, loading from API...');\n await loadCurrentProfile('AuthContext.initializeAuth');\n } catch (error) {\n authLogger.error('Failed to load profile during initialization:', error);\n // If profile loading fails, clear auth state\n clearAuthState('initializeAuth:loadProfileFailed');\n }\n setIsLoading(false);\n } else {\n setInitialized(true);\n setIsLoading(false);\n }\n };\n\n initializeAuth();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [initialized]);\n\n // Redirect logic - only for unauthenticated users on protected pages\n useEffect(() => {\n if (!initialized) return;\n\n // Consider authenticated if we have valid tokens, even without profile\n const isAuthenticated = apiAccounts.isAuthenticated();\n const authRoute = config?.routes?.auth || defaultRoutes.auth;\n const isAuthPage = pathname === authRoute;\n const flowParam = queryParams.get('flow');\n\n // Only redirect authenticated users away from auth page if they're not in a flow\n // This prevents interference with OTP verification flow\n if (isAuthenticated && isAuthPage && !flowParam) {\n const callbackUrl = config?.routes?.defaultCallback || defaultRoutes.defaultCallback;\n router.push(callbackUrl);\n }\n }, [initialized, pathname, queryParams, config?.routes]);\n\n const pushToDefaultCallbackUrl = useCallback(() => {\n const callbackUrl = config?.routes?.defaultCallback || defaultRoutes.defaultCallback;\n router.push(callbackUrl);\n }, [config?.routes, router]);\n\n const pushToDefaultAuthCallbackUrl = useCallback(() => {\n const authCallbackUrl = config?.routes?.defaultAuthCallback || defaultRoutes.defaultAuthCallback;\n router.push(authCallbackUrl);\n }, [config?.routes, router]);\n\n // Memoized checkAuthAndRedirect function\n const checkAuthAndRedirect = useCallback(async () => {\n try {\n setIsLoading(true);\n const isAuthenticated = apiAccounts.isAuthenticated();\n\n if (isAuthenticated) {\n await loadCurrentProfile();\n if (userRef.current) {\n pushToDefaultCallbackUrl();\n }\n } else {\n pushToDefaultAuthCallbackUrl();\n }\n } catch (error) {\n authLogger.error('Failed to check authentication:', error);\n // Use global error handler first\n if (!handleGlobalAuthError(error, 'checkAuthAndRedirect')) {\n clearAuthState('checkAuthAndRedirect');\n }\n pushToDefaultAuthCallbackUrl();\n } finally {\n setIsLoading(false);\n }\n }, [loadCurrentProfile, clearAuthState, pushToDefaultCallbackUrl, pushToDefaultAuthCallbackUrl, handleGlobalAuthError]);\n\n // OTP methods - supports both email and phone - now uses AccountsContext\n const requestOTP = useCallback(\n async (identifier: string, channel?: 'email' | 'phone', sourceUrl?: string): Promise<{ success: boolean; message: string }> => {\n // Clear tokens before requesting OTP\n apiAccounts.clearTokens();\n\n try {\n const channelValue = channel === 'phone' \n ? Enums.OTPRequestRequestChannel.PHONE \n : Enums.OTPRequestRequestChannel.EMAIL;\n const result = await accounts.requestOTP({\n identifier,\n channel: channelValue,\n });\n\n const channelName = channel === 'phone' ? 'phone number' : 'email address';\n\n // Track OTP request\n Analytics.event(AnalyticsEvent.AUTH_OTP_REQUEST, {\n category: AnalyticsCategory.AUTH,\n label: channel || 'email',\n });\n\n return {\n success: true,\n message: result.message || `OTP code sent to your ${channelName}`,\n };\n } catch (error) {\n authLogger.error('Request OTP error:', error);\n return {\n success: false,\n message: 'Failed to send OTP',\n };\n }\n },\n [accounts],\n );\n\n const verifyOTP = useCallback(\n async (identifier: string, otpCode: string, channel?: 'email' | 'phone', sourceUrl?: string): Promise<{ success: boolean; message: string; user?: UserProfile }> => {\n try {\n const channelValue = channel === 'phone' \n ? Enums.OTPVerifyRequestChannel.PHONE \n : Enums.OTPVerifyRequestChannel.EMAIL;\n // AccountsContext automatically saves tokens and refreshes profile\n const result = await accounts.verifyOTP({\n identifier,\n otp: otpCode,\n channel: channelValue,\n });\n\n // Verify that we got valid tokens\n if (!result.access || !result.refresh) {\n authLogger.error('Verify OTP returned invalid response:', result);\n return {\n success: false,\n message: 'Invalid OTP verification response',\n };\n }\n\n // Save identifier based on channel and clear opposite channel\n if (channel === 'phone') {\n setStoredPhone(identifier);\n clearStoredEmail();\n } else if (identifier.includes('@')) {\n setStoredEmail(identifier);\n clearStoredPhone();\n }\n\n // Small delay to ensure profile state is updated\n await new Promise(resolve => setTimeout(resolve, 200));\n\n // Track successful login\n Analytics.event(AnalyticsEvent.AUTH_LOGIN_SUCCESS, {\n category: AnalyticsCategory.AUTH,\n label: channel || 'email',\n });\n\n // Set user ID for future tracking\n if (result.user?.id) {\n Analytics.setUser(String(result.user.id));\n }\n\n // Handle redirect logic here\n // Use hardPush for full page reload - ensures all React contexts reinitialize\n const defaultCallback = config?.routes?.defaultCallback || defaultRoutes.defaultCallback;\n\n if (redirectUrl && redirectUrl !== defaultCallback) {\n clearRedirectUrl();\n router.hardPush(redirectUrl);\n } else {\n router.hardPush(defaultCallback);\n }\n\n return {\n success: true,\n message: 'Login successful',\n user: result.user as UserProfile,\n };\n } catch (error) {\n authLogger.error('Verify OTP error:', error);\n\n // Track failed verification\n Analytics.event(AnalyticsEvent.AUTH_OTP_VERIFY_FAIL, {\n category: AnalyticsCategory.AUTH,\n label: channel || 'email',\n });\n\n return {\n success: false,\n message: 'Failed to verify OTP',\n };\n }\n },\n [setStoredEmail, setStoredPhone, clearStoredEmail, clearStoredPhone, redirectUrl, clearRedirectUrl, config?.routes?.defaultCallback, accounts],\n );\n\n const refreshToken = useCallback(async (): Promise<{ success: boolean; message: string }> => {\n try {\n const refreshTokenValue = apiAccounts.getRefreshToken();\n if (!refreshTokenValue) {\n clearAuthState('refreshToken:noToken');\n\n // Track session expired\n Analytics.event(AnalyticsEvent.AUTH_SESSION_EXPIRED, {\n category: AnalyticsCategory.AUTH,\n });\n\n return {\n success: false,\n message: 'No refresh token available',\n };\n }\n\n await accounts.refreshToken(refreshTokenValue);\n\n // Track successful refresh\n Analytics.event(AnalyticsEvent.AUTH_TOKEN_REFRESH, {\n category: AnalyticsCategory.AUTH,\n });\n\n return {\n success: true,\n message: 'Token refreshed',\n };\n } catch (error) {\n authLogger.error('Refresh token error:', error);\n clearAuthState('refreshToken:error');\n\n // Track refresh failure\n Analytics.event(AnalyticsEvent.AUTH_TOKEN_REFRESH_FAIL, {\n category: AnalyticsCategory.AUTH,\n });\n\n return {\n success: false,\n message: 'Error refreshing token',\n };\n }\n }, [clearAuthState, accounts]);\n\n const clearRedirect = useCallback((): void => {\n clearRedirectUrl();\n }, [clearRedirectUrl]);\n\n // Save current URL for redirect after authentication\n const saveCurrentUrlForRedirect = useCallback((): void => {\n if (typeof window !== 'undefined') {\n const currentUrl = window.location.pathname + window.location.search;\n setRedirectUrl(currentUrl);\n }\n }, [setRedirectUrl]);\n\n const logout = useCallback(async (): Promise<void> => {\n const performLogout = () => {\n // Track logout\n Analytics.event(AnalyticsEvent.AUTH_LOGOUT, {\n category: AnalyticsCategory.AUTH,\n });\n\n accounts.logout(); // Clear tokens and profile\n setInitialized(true);\n setIsLoading(false);\n\n // Use hardReplace for full page reload + replace history\n // This ensures contexts reinitialize AND back button won't return to protected page\n const authCallbackUrl = config?.routes?.defaultAuthCallback || defaultRoutes.defaultAuthCallback;\n router.hardReplace(authCallbackUrl);\n };\n\n // Use config.onConfirm if provided, otherwise use a simple confirm\n if (configRef.current?.onConfirm) {\n const { confirmed } = await configRef.current.onConfirm({\n title: 'Logout',\n description: 'Are you sure you want to logout?',\n confirmationButtonText: 'Logout',\n cancellationButtonText: 'Cancel',\n color: 'error',\n });\n if (confirmed) {\n performLogout();\n }\n } else {\n // Fallback to browser confirm\n const confirmed = window.confirm('Are you sure you want to logout?');\n if (confirmed) {\n performLogout();\n }\n }\n }, [accounts, config?.routes?.defaultAuthCallback, router]);\n\n // Redirect URL methods\n const getSavedRedirectUrl = useCallback((): string | null => {\n if (typeof window !== 'undefined') {\n return sessionStorage.getItem(AUTH_REDIRECT_KEY);\n }\n return null;\n }, []);\n\n const saveRedirectUrl = useCallback((url: string): void => {\n if (typeof window !== 'undefined') {\n sessionStorage.setItem(AUTH_REDIRECT_KEY, url);\n }\n }, []);\n\n const clearSavedRedirectUrl = useCallback((): void => {\n if (typeof window !== 'undefined') {\n sessionStorage.removeItem(AUTH_REDIRECT_KEY);\n }\n }, []);\n\n const getFinalRedirectUrl = useCallback((): string => {\n const savedUrl = getSavedRedirectUrl();\n return savedUrl || (config?.routes?.defaultCallback || defaultRoutes.defaultCallback);\n }, [getSavedRedirectUrl, config?.routes?.defaultCallback]);\n\n const useAndClearRedirectUrl = useCallback((): string => {\n const finalUrl = getFinalRedirectUrl();\n clearSavedRedirectUrl();\n return finalUrl;\n }, [getFinalRedirectUrl, clearSavedRedirectUrl]);\n\n // Computed: Is admin user (staff or superuser)\n const isAdminUser = useMemo(() => {\n return Boolean(user?.is_staff || user?.is_superuser);\n }, [user]);\n\n // Memoized context value\n const value = useMemo<AuthContextType>(\n () => ({\n user,\n isLoading,\n // Consider authenticated if we have valid tokens, even without user profile\n isAuthenticated: apiAccounts.isAuthenticated(),\n isAdminUser,\n loadCurrentProfile,\n checkAuthAndRedirect,\n getToken: () => apiAccounts.getToken(),\n getRefreshToken: () => apiAccounts.getRefreshToken(),\n getSavedEmail: () => storedEmail,\n saveEmail: setStoredEmail,\n clearSavedEmail: clearStoredEmail,\n getSavedPhone: () => storedPhone,\n savePhone: setStoredPhone,\n clearSavedPhone: clearStoredPhone,\n requestOTP,\n verifyOTP,\n refreshToken,\n logout,\n getSavedRedirectUrl,\n saveRedirectUrl,\n clearSavedRedirectUrl,\n getFinalRedirectUrl,\n useAndClearRedirectUrl,\n saveCurrentUrlForRedirect,\n }),\n [\n user,\n isLoading,\n isAdminUser,\n loadCurrentProfile,\n checkAuthAndRedirect,\n storedEmail,\n setStoredEmail,\n clearStoredEmail,\n storedPhone,\n setStoredPhone,\n clearStoredPhone,\n requestOTP,\n verifyOTP,\n refreshToken,\n logout,\n getSavedRedirectUrl,\n saveRedirectUrl,\n clearSavedRedirectUrl,\n getFinalRedirectUrl,\n useAndClearRedirectUrl,\n saveCurrentUrlForRedirect,\n ],\n );\n\n return <AuthContext.Provider value={value}>{children}</AuthContext.Provider>;\n};\n\n// Wrapper that provides AccountsContext\nexport const AuthProvider: React.FC<AuthProviderProps> = ({ children, config }) => {\n return (\n <AccountsProvider>\n <AuthProviderInternal config={config}>\n {children}\n </AuthProviderInternal>\n </AccountsProvider>\n );\n};\n\nexport const useAuth = (): AuthContextType => {\n const context = useContext(AuthContext);\n if (context === undefined) {\n throw new Error('useAuth must be used within an AuthProvider');\n }\n return context;\n};\n\nexport default AuthContext; ","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Auth.\n */\nexport class CfgAccountsAuth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Refresh JWT token.\n */\n async accountsTokenRefreshCreate(data: Models.TokenRefreshRequest): Promise<Models.TokenRefresh> {\n const response = await this.client.request('POST', \"/cfg/accounts/token/refresh/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Admin API.\n */\nexport class CfgAccountsCentrifugoAdminApi {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get connection token for dashboard\n * \n * Returns JWT token and config for WebSocket connection to Centrifugo.\n */\n async centrifugoServerAuthTokenCreate(): Promise<any> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/auth/token/\");\n return response;\n }\n\n /**\n * List active channels\n * \n * Returns list of active channels with optional pattern filter.\n */\n async centrifugoServerChannelsCreate(data: Models.CentrifugoChannelsRequestRequest): Promise<Models.CentrifugoChannelsResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/channels/\", { body: data });\n return response;\n }\n\n /**\n * Get channel history\n * \n * Returns message history for a channel.\n */\n async centrifugoServerHistoryCreate(data: Models.CentrifugoHistoryRequestRequest): Promise<Models.CentrifugoHistoryResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/history/\", { body: data });\n return response;\n }\n\n /**\n * Get Centrifugo server info\n * \n * Returns server information including node count, version, and uptime.\n */\n async centrifugoServerInfoCreate(): Promise<Models.CentrifugoInfoResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/info/\");\n return response;\n }\n\n /**\n * Get channel presence\n * \n * Returns list of clients currently subscribed to a channel.\n */\n async centrifugoServerPresenceCreate(data: Models.CentrifugoPresenceRequestRequest): Promise<Models.CentrifugoPresenceResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/presence/\", { body: data });\n return response;\n }\n\n /**\n * Get channel presence statistics\n * \n * Returns quick statistics about channel presence (num_clients,\n * num_users).\n */\n async centrifugoServerPresenceStatsCreate(data: Models.CentrifugoPresenceStatsRequestRequest): Promise<Models.CentrifugoPresenceStatsResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/presence-stats/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Auth.\n */\nexport class CfgAccountsCentrifugoAuth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get Centrifugo connection token\n * \n * Generate JWT token for WebSocket connection to Centrifugo. Token\n * includes user's allowed channels based on their permissions. Requires\n * authentication.\n */\n async tokenRetrieve(): Promise<Models.ConnectionTokenResponse> {\n const response = await this.client.request('GET', \"/cfg/centrifugo/auth/token/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Monitoring.\n */\nexport class CfgAccountsCentrifugoMonitoring {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async centrifugoMonitorChannelsRetrieve(hours?: number): Promise<Models.ChannelList[]>;\n async centrifugoMonitorChannelsRetrieve(params?: { hours?: number }): Promise<Models.ChannelList[]>;\n\n /**\n * Get channel statistics\n * \n * Returns statistics grouped by channel.\n */\n async centrifugoMonitorChannelsRetrieve(...args: any[]): Promise<Models.ChannelList[]> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/channels/\", { params });\n return (response as any).results || response;\n }\n\n /**\n * Get Centrifugo health status\n * \n * Returns the current health status of the Centrifugo client.\n */\n async centrifugoMonitorHealthRetrieve(): Promise<Models.CentrifugoHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/health/\");\n return response;\n }\n\n async centrifugoMonitorOverviewRetrieve(hours?: number): Promise<Models.CentrifugoOverviewStats>;\n async centrifugoMonitorOverviewRetrieve(params?: { hours?: number }): Promise<Models.CentrifugoOverviewStats>;\n\n /**\n * Get overview statistics\n * \n * Returns overview statistics for Centrifugo publishes.\n */\n async centrifugoMonitorOverviewRetrieve(...args: any[]): Promise<Models.CentrifugoOverviewStats> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/overview/\", { params });\n return response;\n }\n\n async centrifugoMonitorPublishesList(channel?: string, page?: number, page_size?: number, status?: string): Promise<Models.PaginatedPublishList>;\n async centrifugoMonitorPublishesList(params?: { channel?: string; page?: number; page_size?: number; status?: string }): Promise<Models.PaginatedPublishList>;\n\n /**\n * Get recent publishes\n * \n * Returns a paginated list of recent Centrifugo publishes with their\n * details. Uses standard DRF pagination.\n */\n async centrifugoMonitorPublishesList(...args: any[]): Promise<Models.PaginatedPublishList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { channel: args[0], page: args[1], page_size: args[2], status: args[3] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/publishes/\", { params });\n return response;\n }\n\n async centrifugoMonitorTimelineRetrieve(hours?: number, interval?: string): Promise<Models.TimelineResponse>;\n async centrifugoMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }): Promise<Models.TimelineResponse>;\n\n /**\n * Get publish timeline\n * \n * Returns hourly or daily breakdown of publish counts for charts.\n */\n async centrifugoMonitorTimelineRetrieve(...args: any[]): Promise<Models.TimelineResponse> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], interval: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/timeline/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Testing.\n */\nexport class CfgAccountsCentrifugoTesting {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Publish test message\n * \n * Publish test message to Centrifugo via wrapper with optional ACK\n * tracking.\n */\n async publishTestCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/testing/publish-test/\", { body: data });\n return response;\n }\n\n /**\n * Publish with database logging\n * \n * Publish message using CentrifugoClient with database logging. This will\n * create CentrifugoLog records.\n */\n async publishWithLoggingCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/testing/publish-with-logging/\", { body: data });\n return response;\n }\n\n /**\n * Send manual ACK\n * \n * Manually send ACK for a message to the wrapper. Pass message_id in\n * request body.\n */\n async sendAckCreate(data: Models.ManualAckRequestRequest): Promise<Models.ManualAckResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/testing/send-ack/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - API Zones.\n */\nexport class CfgAccountsDashboardApiZones {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get all API zones\n * \n * Retrieve all OpenAPI zones/groups with their configuration\n */\n async list(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/zones/\");\n return response;\n }\n\n /**\n * Get zones summary\n * \n * Retrieve zones summary with statistics\n */\n async summaryRetrieve(): Promise<Models.APIZonesSummary> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/zones/summary/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Activity.\n */\nexport class CfgAccountsDashboardActivity {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get quick actions\n * \n * Retrieve quick action buttons for dashboard\n */\n async dashboardApiActivityActionsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/activity/actions/\");\n return response;\n }\n\n async dashboardApiActivityRecentList(limit?: number): Promise<any>;\n async dashboardApiActivityRecentList(params?: { limit?: number }): Promise<any>;\n\n /**\n * Get recent activity\n * \n * Retrieve recent system activity entries\n */\n async dashboardApiActivityRecentList(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { limit: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/activity/recent/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Charts.\n */\nexport class CfgAccountsDashboardCharts {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async dashboardApiChartsActivityRetrieve(days?: number): Promise<Models.ChartData>;\n async dashboardApiChartsActivityRetrieve(params?: { days?: number }): Promise<Models.ChartData>;\n\n /**\n * Get user activity chart\n * \n * Retrieve user activity data for chart visualization\n */\n async dashboardApiChartsActivityRetrieve(...args: any[]): Promise<Models.ChartData> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { days: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/activity/\", { params });\n return response;\n }\n\n async dashboardApiChartsRecentUsersList(limit?: number): Promise<any>;\n async dashboardApiChartsRecentUsersList(params?: { limit?: number }): Promise<any>;\n\n /**\n * Get recent users\n * \n * Retrieve list of recently registered users\n */\n async dashboardApiChartsRecentUsersList(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { limit: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/recent-users/\", { params });\n return response;\n }\n\n async dashboardApiChartsRegistrationsRetrieve(days?: number): Promise<Models.ChartData>;\n async dashboardApiChartsRegistrationsRetrieve(params?: { days?: number }): Promise<Models.ChartData>;\n\n /**\n * Get user registration chart\n * \n * Retrieve user registration data for chart visualization\n */\n async dashboardApiChartsRegistrationsRetrieve(...args: any[]): Promise<Models.ChartData> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { days: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/registrations/\", { params });\n return response;\n }\n\n async dashboardApiChartsTrackerList(weeks?: number): Promise<any>;\n async dashboardApiChartsTrackerList(params?: { weeks?: number }): Promise<any>;\n\n /**\n * Get activity tracker\n * \n * Retrieve activity tracker data (GitHub-style contribution graph)\n */\n async dashboardApiChartsTrackerList(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { weeks: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/tracker/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Commands.\n */\nexport class CfgAccountsDashboardCommands {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get all commands\n * \n * Retrieve all available Django management commands\n */\n async dashboardApiCommandsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/commands/\");\n return response;\n }\n\n /**\n * Get command help\n * \n * Get detailed help text for a specific Django management command\n */\n async dashboardApiCommandsHelpRetrieve(id: string): Promise<Models.CommandHelpResponse> {\n const response = await this.client.request('GET', `/cfg/dashboard/api/commands/${id}/help/`);\n return response;\n }\n\n /**\n * Execute command\n * \n * Execute a Django management command and stream output in Server-Sent\n * Events format\n */\n async dashboardApiCommandsExecuteCreate(data: Models.CommandExecuteRequestRequest): Promise<any> {\n const response = await this.client.request('POST', \"/cfg/dashboard/api/commands/execute/\", { body: data });\n return response;\n }\n\n /**\n * Get commands summary\n * \n * Retrieve commands summary with statistics and categorization\n */\n async dashboardApiCommandsSummaryRetrieve(): Promise<Models.CommandsSummary> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/commands/summary/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Config.\n */\nexport class CfgAccountsDashboardConfig {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get configuration data\n * \n * Retrieve user's DjangoConfig settings and complete Django settings\n * (sanitized)\n */\n async dashboardApiConfigConfigRetrieve(): Promise<Models.ConfigData> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/config/config/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Overview.\n */\nexport class CfgAccountsDashboardOverview {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get dashboard overview\n * \n * Retrieve complete dashboard data including stats, health, actions, and\n * metrics\n */\n async dashboardApiOverviewOverviewRetrieve(): Promise<Models.DashboardOverview> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/overview/overview/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Statistics.\n */\nexport class CfgAccountsDashboardStatistics {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get application statistics\n * \n * Retrieve statistics for all enabled django-cfg applications\n */\n async dashboardApiStatisticsAppsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/statistics/apps/\");\n return response;\n }\n\n /**\n * Get statistics cards\n * \n * Retrieve dashboard statistics cards with key metrics\n */\n async dashboardApiStatisticsCardsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/statistics/cards/\");\n return response;\n }\n\n /**\n * Get user statistics\n * \n * Retrieve user-related statistics\n */\n async dashboardApiStatisticsUsersRetrieve(): Promise<Models.UserStatistics> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/statistics/users/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - System.\n */\nexport class CfgAccountsDashboardSystem {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get system health status\n * \n * Retrieve overall system health including all component checks\n */\n async dashboardApiSystemHealthRetrieve(): Promise<Models.SystemHealth> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/system/health/\");\n return response;\n }\n\n /**\n * Get system metrics\n * \n * Retrieve system performance metrics (CPU, memory, disk, etc.)\n */\n async dashboardApiSystemMetricsRetrieve(): Promise<Models.SystemMetrics> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/system/metrics/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Oauth.\n */\nexport class CfgAccountsOauth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * List OAuth connections\n * \n * Get all OAuth connections for the current user.\n */\n async accountsOauthConnectionsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/accounts/oauth/connections/\");\n return response;\n }\n\n /**\n * Disconnect OAuth provider\n * \n * Remove OAuth connection for the specified provider.\n */\n async accountsOauthDisconnectCreate(data: Models.OAuthDisconnectRequestRequest): Promise<any> {\n const response = await this.client.request('POST', \"/cfg/accounts/oauth/disconnect/\", { body: data });\n return response;\n }\n\n /**\n * Start GitHub OAuth\n * \n * Generate GitHub OAuth authorization URL. Redirect user to this URL to\n * start authentication.\n */\n async accountsOauthGithubAuthorizeCreate(data: Models.OAuthAuthorizeRequestRequest): Promise<Models.OAuthAuthorizeResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/oauth/github/authorize/\", { body: data });\n return response;\n }\n\n /**\n * Complete GitHub OAuth\n * \n * Exchange authorization code for JWT tokens. Call this after GitHub\n * redirects back with code.\n */\n async accountsOauthGithubCallbackCreate(data: Models.OAuthCallbackRequestRequest): Promise<Models.OAuthTokenResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/oauth/github/callback/\", { body: data });\n return response;\n }\n\n /**\n * List OAuth providers\n * \n * Get list of available OAuth providers for authentication.\n */\n async accountsOauthProvidersRetrieve(): Promise<Models.OAuthProvidersResponse> {\n const response = await this.client.request('GET', \"/cfg/accounts/oauth/providers/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Jobs.\n */\nexport class CfgAccountsRqJobs {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(page?: number, page_size?: number, queue?: string, status?: string): Promise<Models.PaginatedJobListList>;\n async list(params?: { page?: number; page_size?: number; queue?: string; status?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List all jobs\n * \n * Returns all jobs across all registries (queued, started, finished,\n * failed, deferred, scheduled).\n */\n async list(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2], status: args[3] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/\", { params });\n return response;\n }\n\n /**\n * Get job details\n * \n * Returns detailed information about a specific job.\n */\n async retrieve(id: string): Promise<Models.JobDetail> {\n const response = await this.client.request('GET', `/cfg/rq/jobs/${id}/`);\n return response;\n }\n\n /**\n * Delete job\n * \n * Deletes a job from the queue.\n */\n async destroy(id: string): Promise<Models.JobActionResponse> {\n const response = await this.client.request('DELETE', `/cfg/rq/jobs/${id}/`);\n return response;\n }\n\n /**\n * Cancel job\n * \n * Cancels a job (if it's queued or started).\n */\n async cancelCreate(id: string, data: Models.JobListRequest): Promise<Models.JobActionResponse> {\n const response = await this.client.request('POST', `/cfg/rq/jobs/${id}/cancel/`, { body: data });\n return response;\n }\n\n /**\n * Requeue job\n * \n * Requeues a failed job.\n */\n async requeueCreate(id: string, data: Models.JobListRequest): Promise<Models.JobActionResponse> {\n const response = await this.client.request('POST', `/cfg/rq/jobs/${id}/requeue/`, { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Monitoring.\n */\nexport class CfgAccountsRqMonitoring {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get RQ configuration\n * \n * Returns current RQ configuration from django-cfg.\n */\n async rqMonitorConfigRetrieve(): Promise<Models.RQConfig> {\n const response = await this.client.request('GET', \"/cfg/rq/monitor/config/\");\n return response;\n }\n\n /**\n * Health check\n * \n * Returns RQ cluster health status including worker count and queue\n * status.\n */\n async rqMonitorHealthRetrieve(): Promise<Models.RQHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/rq/monitor/health/\");\n return response;\n }\n\n /**\n * Prometheus metrics\n * \n * Returns Prometheus metrics for RQ queues and workers.\n */\n async rqMonitorMetricsRetrieve(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/rq/monitor/metrics/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Queues.\n */\nexport class CfgAccountsRqQueues {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(name?: string): Promise<any>;\n async list(params?: { name?: string }): Promise<any>;\n\n /**\n * List all queues\n * \n * Returns list of all configured RQ queues with statistics. Supports\n * filtering by queue name.\n */\n async list(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { name: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/queues/\", { params });\n return response;\n }\n\n /**\n * Get queue details\n * \n * Returns detailed information about a specific queue.\n */\n async retrieve(id: string): Promise<Models.QueueDetail> {\n const response = await this.client.request('GET', `/cfg/rq/queues/${id}/`);\n return response;\n }\n\n /**\n * Empty queue\n * \n * Removes all jobs from the specified queue.\n */\n async emptyCreate(id: string): Promise<any> {\n const response = await this.client.request('POST', `/cfg/rq/queues/${id}/empty/`);\n return response;\n }\n\n async jobsRetrieve(id: string, limit?: number, offset?: number): Promise<any>;\n async jobsRetrieve(id: string, params?: { limit?: number; offset?: number }): Promise<any>;\n\n /**\n * Get queue jobs\n * \n * Returns list of job IDs in the queue.\n */\n async jobsRetrieve(...args: any[]): Promise<any> {\n const id = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { limit: args[1], offset: args[2] };\n }\n const response = await this.client.request('GET', `/cfg/rq/queues/${id}/jobs/`, { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Registries.\n */\nexport class CfgAccountsRqRegistries {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async rqJobsRegistriesDeferredList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesDeferredList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List deferred jobs\n * \n * Returns list of all deferred jobs from deferred job registry.\n */\n async rqJobsRegistriesDeferredList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/deferred/\", { params });\n return response;\n }\n\n async rqJobsRegistriesFailedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesFailedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List failed jobs\n * \n * Returns list of all failed jobs from failed job registry.\n */\n async rqJobsRegistriesFailedList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/failed/\", { params });\n return response;\n }\n\n async rqJobsRegistriesFailedClearCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;\n async rqJobsRegistriesFailedClearCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;\n\n /**\n * Clear failed jobs registry\n * \n * Removes all jobs from the failed job registry.\n */\n async rqJobsRegistriesFailedClearCreate(...args: any[]): Promise<Models.JobActionResponse> {\n const data = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { queue: args[1] };\n }\n const response = await this.client.request('POST', \"/cfg/rq/jobs/registries/failed/clear/\", { params, body: data });\n return response;\n }\n\n async rqJobsRegistriesFailedRequeueAllCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;\n async rqJobsRegistriesFailedRequeueAllCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;\n\n /**\n * Requeue all failed jobs\n * \n * Requeues all failed jobs in the failed job registry.\n */\n async rqJobsRegistriesFailedRequeueAllCreate(...args: any[]): Promise<Models.JobActionResponse> {\n const data = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { queue: args[1] };\n }\n const response = await this.client.request('POST', \"/cfg/rq/jobs/registries/failed/requeue-all/\", { params, body: data });\n return response;\n }\n\n async rqJobsRegistriesFinishedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesFinishedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List finished jobs\n * \n * Returns list of all finished jobs from finished job registry.\n */\n async rqJobsRegistriesFinishedList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/finished/\", { params });\n return response;\n }\n\n async rqJobsRegistriesFinishedClearCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;\n async rqJobsRegistriesFinishedClearCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;\n\n /**\n * Clear finished jobs registry\n * \n * Removes all jobs from the finished job registry.\n */\n async rqJobsRegistriesFinishedClearCreate(...args: any[]): Promise<Models.JobActionResponse> {\n const data = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { queue: args[1] };\n }\n const response = await this.client.request('POST', \"/cfg/rq/jobs/registries/finished/clear/\", { params, body: data });\n return response;\n }\n\n async rqJobsRegistriesStartedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesStartedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List started jobs\n * \n * Returns list of all currently running jobs from started job registry.\n */\n async rqJobsRegistriesStartedList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/started/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Schedules.\n */\nexport class CfgAccountsRqSchedules {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedScheduledJobList>;\n async list(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedScheduledJobList>;\n\n /**\n * List scheduled jobs\n * \n * Returns list of all scheduled jobs across all queues.\n */\n async list(...args: any[]): Promise<Models.PaginatedScheduledJobList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/schedules/\", { params });\n return response;\n }\n\n /**\n * Create scheduled job\n * \n * Schedule a job to run at specific time, interval, or cron schedule.\n */\n async create(data: Models.ScheduleCreateRequest): Promise<Models.ScheduleActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/schedules/\", { body: data });\n return response;\n }\n\n async retrieve(id: string, pk: string, queue?: string): Promise<Models.ScheduledJob>;\n async retrieve(id: string, pk: string, params?: { queue?: string }): Promise<Models.ScheduledJob>;\n\n /**\n * Get scheduled job details\n * \n * Returns detailed information about a specific scheduled job.\n */\n async retrieve(...args: any[]): Promise<Models.ScheduledJob> {\n const id = args[0];\n const pk = args[1];\n const isParamsObject = args.length === 3 && typeof args[2] === 'object' && args[2] !== null && !Array.isArray(args[2]);\n \n let params;\n if (isParamsObject) {\n params = args[2];\n } else {\n params = { queue: args[2] };\n }\n const response = await this.client.request('GET', `/cfg/rq/schedules/${id}/`, { params });\n return response;\n }\n\n async destroy(id: string, pk: string, queue?: string): Promise<Models.ScheduleActionResponse>;\n async destroy(id: string, pk: string, params?: { queue?: string }): Promise<Models.ScheduleActionResponse>;\n\n /**\n * Cancel scheduled job\n * \n * Cancel a scheduled job by ID.\n */\n async destroy(...args: any[]): Promise<Models.ScheduleActionResponse> {\n const id = args[0];\n const pk = args[1];\n const isParamsObject = args.length === 3 && typeof args[2] === 'object' && args[2] !== null && !Array.isArray(args[2]);\n \n let params;\n if (isParamsObject) {\n params = args[2];\n } else {\n params = { queue: args[2] };\n }\n const response = await this.client.request('DELETE', `/cfg/rq/schedules/${id}/`, { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Testing.\n */\nexport class CfgAccountsRqTesting {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * List test scenarios\n * \n * Returns list of all available test scenarios with metadata.\n */\n async list(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/rq/testing/\");\n return response;\n }\n\n async cleanupDestroy(delete_demo_jobs_only?: boolean, queue?: string, registries?: string): Promise<Models.TestingActionResponse>;\n async cleanupDestroy(params?: { delete_demo_jobs_only?: boolean; queue?: string; registries?: string }): Promise<Models.TestingActionResponse>;\n\n /**\n * Cleanup test jobs\n * \n * Clean demo jobs from registries.\n */\n async cleanupDestroy(...args: any[]): Promise<Models.TestingActionResponse> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { delete_demo_jobs_only: args[0], queue: args[1], registries: args[2] };\n }\n const response = await this.client.request('DELETE', \"/cfg/rq/testing/cleanup/\", { params });\n return response;\n }\n\n async resultsRetrieve(queue?: string, scenario?: string): Promise<any>;\n async resultsRetrieve(params?: { queue?: string; scenario?: string }): Promise<any>;\n\n /**\n * Get test results\n * \n * Get aggregated results of test jobs execution.\n */\n async resultsRetrieve(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { queue: args[0], scenario: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/testing/results/\", { params });\n return response;\n }\n\n /**\n * Run demo task\n * \n * Enqueue a single demo task for testing.\n */\n async runDemoCreate(data: Models.RunDemoRequestRequest): Promise<Models.TestingActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/testing/run-demo/\", { body: data });\n return response;\n }\n\n /**\n * Schedule demo tasks\n * \n * Register demo scheduled tasks using rq-scheduler.\n */\n async scheduleDemoCreate(data: any): Promise<Models.TestingActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/testing/schedule-demo/\", { body: data });\n return response;\n }\n\n /**\n * Stress test\n * \n * Generate N jobs for load testing and performance benchmarking.\n */\n async stressTestCreate(data: Models.StressTestRequestRequest): Promise<Models.TestingActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/testing/stress-test/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Workers.\n */\nexport class CfgAccountsRqWorkers {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(queue?: string, state?: string): Promise<any>;\n async list(params?: { queue?: string; state?: string }): Promise<any>;\n\n /**\n * List all workers\n * \n * Returns list of all RQ workers with their current state. Supports\n * filtering by state and queue.\n */\n async list(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { queue: args[0], state: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/workers/\", { params });\n return response;\n }\n\n /**\n * Get worker statistics\n * \n * Returns aggregated statistics for all workers.\n */\n async statsRetrieve(): Promise<Models.WorkerStats> {\n const response = await this.client.request('GET', \"/cfg/rq/workers/stats/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for User Profile.\n */\nexport class CfgAccountsUserProfile {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get current user profile\n * \n * Retrieve the current authenticated user's profile information.\n */\n async accountsProfileRetrieve(): Promise<Models.User> {\n const response = await this.client.request('GET', \"/cfg/accounts/profile/\");\n return response;\n }\n\n /**\n * Upload user avatar\n * \n * Upload avatar image for the current authenticated user. Accepts\n * multipart/form-data with 'avatar' field.\n */\n async accountsProfileAvatarCreate(data: FormData): Promise<Models.User> {\n const response = await this.client.request('POST', \"/cfg/accounts/profile/avatar/\", { formData: data });\n return response;\n }\n\n /**\n * Partial update user profile\n * \n * Partially update the current authenticated user's profile information.\n * Supports avatar upload.\n */\n async accountsProfilePartialUpdate(data: Models.UserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PUT', \"/cfg/accounts/profile/partial/\", { body: data });\n return response;\n }\n\n /**\n * Partial update user profile\n * \n * Partially update the current authenticated user's profile information.\n * Supports avatar upload.\n */\n async accountsProfilePartialPartialUpdate(data?: Models.PatchedUserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PATCH', \"/cfg/accounts/profile/partial/\", { body: data });\n return response;\n }\n\n /**\n * Update user profile\n * \n * Update the current authenticated user's profile information.\n */\n async accountsProfileUpdateUpdate(data: Models.UserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PUT', \"/cfg/accounts/profile/update/\", { body: data });\n return response;\n }\n\n /**\n * Update user profile\n * \n * Update the current authenticated user's profile information.\n */\n async accountsProfileUpdatePartialUpdate(data?: Models.PatchedUserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PATCH', \"/cfg/accounts/profile/update/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Accounts.\n */\nexport class CfgAccountsAccounts {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Request OTP code to email or phone.\n */\n async otpRequestCreate(data: Models.OTPRequestRequest): Promise<Models.OTPRequestResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/otp/request/\", { body: data });\n return response;\n }\n\n /**\n * Verify OTP code and return JWT tokens.\n */\n async otpVerifyCreate(data: Models.OTPVerifyRequest): Promise<Models.OTPVerifyResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/otp/verify/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Endpoints.\n */\nexport class CfgAccountsEndpoints {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Return endpoints status data.\n */\n async drfRetrieve(): Promise<Models.EndpointsStatus> {\n const response = await this.client.request('GET', \"/cfg/endpoints/drf/\");\n return response;\n }\n\n /**\n * Return registered URLs (API endpoints by default). Query Parameters:\n * filter (str): Filter URLs by prefix - omit or 'api': Only API endpoints\n * (/api/*) - DEFAULT - 'all': All URLs (admin, api, cfg, etc.) - 'admin':\n * Only admin endpoints (/admin/*) - 'cfg': Only django-cfg endpoints\n * (/cfg/*)\n */\n async urlsRetrieve(): Promise<Models.URLsList[]> {\n const response = await this.client.request('GET', \"/cfg/endpoints/urls/\");\n return (response as any).results || response;\n }\n\n /**\n * Return compact URL list.\n */\n async urlsCompactRetrieve(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/endpoints/urls/compact/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Api Keys.\n */\nexport class CfgAccountsGrpcApiKeys {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(is_active?: boolean, page?: number, page_size?: number, user_id?: number): Promise<Models.PaginatedApiKeyList>;\n async list(params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }): Promise<Models.PaginatedApiKeyList>;\n\n /**\n * List API keys\n * \n * Returns a list of all API keys with their details. Uses standard DRF\n * pagination.\n */\n async list(...args: any[]): Promise<Models.PaginatedApiKeyList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { is_active: args[0], page: args[1], page_size: args[2], user_id: args[3] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/api-keys/\", { params });\n return response;\n }\n\n /**\n * Get API key details\n * \n * Returns detailed information about a specific API key.\n */\n async retrieve(id: number): Promise<Models.ApiKey> {\n const response = await this.client.request('GET', `/cfg/grpc/api-keys/${id}/`);\n return response;\n }\n\n /**\n * Get API keys statistics\n * \n * Returns overall statistics about API keys usage.\n */\n async statsRetrieve(): Promise<Models.ApiKeyStats> {\n const response = await this.client.request('GET', \"/cfg/grpc/api-keys/stats/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Configuration.\n */\nexport class CfgAccountsGrpcConfiguration {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get gRPC configuration\n * \n * Returns current gRPC server configuration from Django settings.\n */\n async grpcConfigConfigRetrieve(): Promise<Models.GRPCConfig> {\n const response = await this.client.request('GET', \"/cfg/grpc/config/config/\");\n return response;\n }\n\n /**\n * Get server information\n * \n * Returns detailed information about gRPC server, services, and runtime\n * statistics.\n */\n async grpcConfigServerInfoRetrieve(): Promise<Models.GRPCServerInfo> {\n const response = await this.client.request('GET', \"/cfg/grpc/config/server-info/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Monitoring.\n */\nexport class CfgAccountsGrpcMonitoring {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get gRPC health status\n * \n * Returns the current health status of the gRPC server.\n */\n async grpcMonitorHealthRetrieve(): Promise<Models.GRPCHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/health/\");\n return response;\n }\n\n async grpcMonitorMethodsRetrieve(hours?: number, service?: string): Promise<Models.MethodList[]>;\n async grpcMonitorMethodsRetrieve(params?: { hours?: number; service?: string }): Promise<Models.MethodList[]>;\n\n /**\n * Get method statistics\n * \n * Returns statistics grouped by method.\n */\n async grpcMonitorMethodsRetrieve(...args: any[]): Promise<Models.MethodList[]> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], service: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/methods/\", { params });\n return response;\n }\n\n async grpcMonitorOverviewRetrieve(hours?: number): Promise<Models.GRPCOverviewStats>;\n async grpcMonitorOverviewRetrieve(params?: { hours?: number }): Promise<Models.GRPCOverviewStats>;\n\n /**\n * Get overview statistics\n * \n * Returns overview statistics for gRPC requests.\n */\n async grpcMonitorOverviewRetrieve(...args: any[]): Promise<Models.GRPCOverviewStats> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/overview/\", { params });\n return response;\n }\n\n async grpcMonitorRequestsList(method?: string, page?: number, page_size?: number, service?: string, status?: string): Promise<Models.PaginatedRecentRequestList>;\n async grpcMonitorRequestsList(params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }): Promise<Models.PaginatedRecentRequestList>;\n\n /**\n * Get recent requests\n * \n * Returns a list of recent gRPC requests with their details. Uses standard\n * DRF pagination.\n */\n async grpcMonitorRequestsList(...args: any[]): Promise<Models.PaginatedRecentRequestList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { method: args[0], page: args[1], page_size: args[2], service: args[3], status: args[4] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/requests/\", { params });\n return response;\n }\n\n async grpcMonitorTimelineRetrieve(hours?: number, interval?: string): Promise<any>;\n async grpcMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }): Promise<any>;\n\n /**\n * Get request timeline\n * \n * Returns hourly or daily breakdown of request counts for charts.\n */\n async grpcMonitorTimelineRetrieve(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], interval: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/timeline/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Services.\n */\nexport class CfgAccountsGrpcServices {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(hours?: number, page?: number, page_size?: number): Promise<Models.PaginatedServiceSummaryList>;\n async list(params?: { hours?: number; page?: number; page_size?: number }): Promise<Models.PaginatedServiceSummaryList>;\n\n /**\n * List all services\n * \n * Returns paginated list of all registered gRPC services with basic\n * statistics.\n */\n async list(...args: any[]): Promise<Models.PaginatedServiceSummaryList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], page: args[1], page_size: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/services/\", { params });\n return response;\n }\n\n /**\n * Get service details\n * \n * Returns detailed information about a specific gRPC service.\n */\n async retrieve(id: string, pk: string): Promise<Models.ServiceDetail> {\n const response = await this.client.request('GET', `/cfg/grpc/services/${id}/`);\n return response;\n }\n\n /**\n * Get service methods\n * \n * Returns list of methods for a specific service with statistics.\n */\n async methodsRetrieve(id: string, pk: string): Promise<Models.ServiceMethods> {\n const response = await this.client.request('GET', `/cfg/grpc/services/${id}/methods/`);\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Health.\n */\nexport class CfgAccountsHealth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Return comprehensive health check data.\n */\n async drfRetrieve(): Promise<Models.DRFHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/health/drf/\");\n return response;\n }\n\n /**\n * Return minimal health status.\n */\n async drfQuickRetrieve(): Promise<Models.QuickHealth> {\n const response = await this.client.request('GET', \"/cfg/health/drf/quick/\");\n return response;\n }\n\n}","/**\n * HTTP Client Adapter Pattern\n *\n * Allows switching between fetch/axios/httpx without changing generated code.\n * Provides unified interface for making HTTP requests.\n */\n\nexport interface HttpRequest {\n method: string;\n url: string;\n headers?: Record<string, string>;\n body?: any;\n params?: Record<string, any>;\n /** FormData for file uploads (multipart/form-data) */\n formData?: FormData;\n}\n\nexport interface HttpResponse<T = any> {\n data: T;\n status: number;\n statusText: string;\n headers: Record<string, string>;\n}\n\n/**\n * HTTP Client Adapter Interface.\n * Implement this to use custom HTTP clients (axios, httpx, etc.)\n */\nexport interface HttpClientAdapter {\n request<T = any>(request: HttpRequest): Promise<HttpResponse<T>>;\n}\n\n/**\n * Default Fetch API adapter.\n * Uses native browser fetch() with proper error handling.\n */\nexport class FetchAdapter implements HttpClientAdapter {\n async request<T = any>(request: HttpRequest): Promise<HttpResponse<T>> {\n const { method, url, headers, body, params, formData } = request;\n\n // Build URL with query params\n let finalUrl = url;\n if (params) {\n const searchParams = new URLSearchParams();\n Object.entries(params).forEach(([key, value]) => {\n if (value !== null && value !== undefined) {\n searchParams.append(key, String(value));\n }\n });\n const queryString = searchParams.toString();\n if (queryString) {\n finalUrl = url.includes('?') ? `${url}&${queryString}` : `${url}?${queryString}`;\n }\n }\n\n // Build headers\n const finalHeaders: Record<string, string> = { ...headers };\n\n // Determine body and content-type\n let requestBody: string | FormData | undefined;\n\n if (formData) {\n // For multipart/form-data, let browser set Content-Type with boundary\n requestBody = formData;\n // Don't set Content-Type - browser will set it with boundary\n } else if (body) {\n // JSON request\n finalHeaders['Content-Type'] = 'application/json';\n requestBody = JSON.stringify(body);\n }\n\n // Make request\n const response = await fetch(finalUrl, {\n method,\n headers: finalHeaders,\n body: requestBody,\n credentials: 'include', // Include Django session cookies\n });\n\n // Parse response\n let data: any = null;\n const contentType = response.headers.get('content-type');\n\n if (response.status !== 204 && contentType?.includes('application/json')) {\n data = await response.json();\n } else if (response.status !== 204) {\n data = await response.text();\n }\n\n // Convert Headers to plain object\n const responseHeaders: Record<string, string> = {};\n response.headers.forEach((value, key) => {\n responseHeaders[key] = value;\n });\n\n return {\n data,\n status: response.status,\n statusText: response.statusText,\n headers: responseHeaders,\n };\n }\n}","/**\n * API Error Classes\n *\n * Typed error classes with Django REST Framework support.\n */\n\n/**\n * HTTP API Error with DRF field-specific validation errors.\n *\n * Usage:\n * ```typescript\n * try {\n * await api.users.create(userData);\n * } catch (error) {\n * if (error instanceof APIError) {\n * if (error.isValidationError) {\n * console.log('Field errors:', error.fieldErrors);\n * // { \"email\": [\"Email already exists\"], \"username\": [\"Required\"] }\n * }\n * }\n * }\n * ```\n */\nexport class APIError extends Error {\n constructor(\n public statusCode: number,\n public statusText: string,\n public response: any,\n public url: string,\n message?: string\n ) {\n super(message || `HTTP ${statusCode}: ${statusText}`);\n this.name = 'APIError';\n }\n\n /**\n * Get error details from response.\n * DRF typically returns: { \"detail\": \"Error message\" } or { \"field\": [\"error1\", \"error2\"] }\n */\n get details(): Record<string, any> | null {\n if (typeof this.response === 'object' && this.response !== null) {\n return this.response;\n }\n return null;\n }\n\n /**\n * Get field-specific validation errors from DRF.\n * Returns: { \"field_name\": [\"error1\", \"error2\"], ... }\n */\n get fieldErrors(): Record<string, string[]> | null {\n const details = this.details;\n if (!details) return null;\n\n // DRF typically returns: { \"field\": [\"error1\", \"error2\"] }\n const fieldErrors: Record<string, string[]> = {};\n for (const [key, value] of Object.entries(details)) {\n if (Array.isArray(value)) {\n fieldErrors[key] = value;\n }\n }\n\n return Object.keys(fieldErrors).length > 0 ? fieldErrors : null;\n }\n\n /**\n * Get single error message from DRF.\n * Checks for \"detail\", \"message\", or first field error.\n */\n get errorMessage(): string {\n const details = this.details;\n if (!details) return this.message;\n\n // Check for \"detail\" field (common in DRF)\n if (details.detail) {\n return Array.isArray(details.detail) ? details.detail.join(', ') : String(details.detail);\n }\n\n // Check for \"message\" field\n if (details.message) {\n return String(details.message);\n }\n\n // Return first field error\n const fieldErrors = this.fieldErrors;\n if (fieldErrors) {\n const firstField = Object.keys(fieldErrors)[0];\n if (firstField) {\n return `${firstField}: ${fieldErrors[firstField]?.join(', ')}`;\n }\n }\n\n return this.message;\n }\n\n // Helper methods for common HTTP status codes\n get isValidationError(): boolean { return this.statusCode === 400; }\n get isAuthError(): boolean { return this.statusCode === 401; }\n get isPermissionError(): boolean { return this.statusCode === 403; }\n get isNotFoundError(): boolean { return this.statusCode === 404; }\n get isServerError(): boolean { return this.statusCode >= 500 && this.statusCode < 600; }\n}\n\n/**\n * Network Error (connection failed, timeout, etc.)\n */\nexport class NetworkError extends Error {\n constructor(\n message: string,\n public url: string,\n public originalError?: Error\n ) {\n super(message);\n this.name = 'NetworkError';\n }\n}","/**\n * API Logger with Consola\n * Beautiful console logging for API requests and responses\n *\n * Installation:\n * npm install consola\n */\n\nimport { type ConsolaInstance, createConsola } from 'consola';\n\n/**\n * Request log data\n */\nexport interface RequestLog {\n method: string;\n url: string;\n headers?: Record<string, string>;\n body?: any;\n timestamp: number;\n}\n\n/**\n * Response log data\n */\nexport interface ResponseLog {\n status: number;\n statusText: string;\n data?: any;\n duration: number;\n timestamp: number;\n}\n\n/**\n * Error log data\n */\nexport interface ErrorLog {\n message: string;\n statusCode?: number;\n fieldErrors?: Record<string, string[]>;\n duration: number;\n timestamp: number;\n}\n\n/**\n * Logger configuration\n */\nexport interface LoggerConfig {\n /** Enable logging */\n enabled: boolean;\n /** Log requests */\n logRequests: boolean;\n /** Log responses */\n logResponses: boolean;\n /** Log errors */\n logErrors: boolean;\n /** Log request/response bodies */\n logBodies: boolean;\n /** Log headers (excluding sensitive ones) */\n logHeaders: boolean;\n /** Custom consola instance */\n consola?: ConsolaInstance;\n}\n\n/**\n * Default logger configuration\n */\nconst DEFAULT_CONFIG: LoggerConfig = {\n enabled: process.env.NODE_ENV !== 'production',\n logRequests: true,\n logResponses: true,\n logErrors: true,\n logBodies: true,\n logHeaders: false,\n};\n\n/**\n * Sensitive header names to filter out\n */\nconst SENSITIVE_HEADERS = [\n 'authorization',\n 'cookie',\n 'set-cookie',\n 'x-api-key',\n 'x-csrf-token',\n];\n\n/**\n * API Logger class\n */\nexport class APILogger {\n private config: LoggerConfig;\n private consola: ConsolaInstance;\n\n constructor(config: Partial<LoggerConfig> = {}) {\n this.config = { ...DEFAULT_CONFIG, ...config };\n this.consola = config.consola || createConsola({\n level: this.config.enabled ? 4 : 0,\n });\n }\n\n /**\n * Enable logging\n */\n enable(): void {\n this.config.enabled = true;\n }\n\n /**\n * Disable logging\n */\n disable(): void {\n this.config.enabled = false;\n }\n\n /**\n * Update configuration\n */\n setConfig(config: Partial<LoggerConfig>): void {\n this.config = { ...this.config, ...config };\n }\n\n /**\n * Filter sensitive headers\n */\n private filterHeaders(headers?: Record<string, string>): Record<string, string> {\n if (!headers) return {};\n\n const filtered: Record<string, string> = {};\n Object.keys(headers).forEach((key) => {\n const lowerKey = key.toLowerCase();\n if (SENSITIVE_HEADERS.includes(lowerKey)) {\n filtered[key] = '***';\n } else {\n filtered[key] = headers[key] || '';\n }\n });\n\n return filtered;\n }\n\n /**\n * Log request\n */\n logRequest(request: RequestLog): void {\n if (!this.config.enabled || !this.config.logRequests) return;\n\n const { method, url, headers, body } = request;\n\n this.consola.start(`${method} ${url}`);\n\n if (this.config.logHeaders && headers) {\n this.consola.debug('Headers:', this.filterHeaders(headers));\n }\n\n if (this.config.logBodies && body) {\n this.consola.debug('Body:', body);\n }\n }\n\n /**\n * Log response\n */\n logResponse(request: RequestLog, response: ResponseLog): void {\n if (!this.config.enabled || !this.config.logResponses) return;\n\n const { method, url } = request;\n const { status, statusText, data, duration } = response;\n\n const statusColor = status >= 500 ? 'red'\n : status >= 400 ? 'yellow'\n : status >= 300 ? 'cyan'\n : 'green';\n\n this.consola.success(\n `${method} ${url} ${status} ${statusText} (${duration}ms)`\n );\n\n if (this.config.logBodies && data) {\n this.consola.debug('Response:', data);\n }\n }\n\n /**\n * Log error\n */\n logError(request: RequestLog, error: ErrorLog): void {\n if (!this.config.enabled || !this.config.logErrors) return;\n\n const { method, url } = request;\n const { message, statusCode, fieldErrors, duration } = error;\n\n this.consola.error(\n `${method} ${url} ${statusCode || 'Network'} Error (${duration}ms)`\n );\n\n this.consola.error('Message:', message);\n\n if (fieldErrors && Object.keys(fieldErrors).length > 0) {\n this.consola.error('Field Errors:');\n Object.entries(fieldErrors).forEach(([field, errors]) => {\n errors.forEach((err) => {\n this.consola.error(` • ${field}: ${err}`);\n });\n });\n }\n }\n\n /**\n * Log general info\n */\n info(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.info(message, ...args);\n }\n\n /**\n * Log warning\n */\n warn(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.warn(message, ...args);\n }\n\n /**\n * Log error\n */\n error(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.error(message, ...args);\n }\n\n /**\n * Log debug\n */\n debug(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.debug(message, ...args);\n }\n\n /**\n * Log success\n */\n success(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.success(message, ...args);\n }\n\n /**\n * Create a sub-logger with prefix\n */\n withTag(tag: string): ConsolaInstance {\n return this.consola.withTag(tag);\n }\n}\n\n/**\n * Default logger instance\n */\nexport const defaultLogger = new APILogger();","/**\n * Retry Configuration and Utilities\n *\n * Provides automatic retry logic for failed HTTP requests using p-retry.\n * Retries only on network errors and server errors (5xx), not client errors (4xx).\n */\n\nimport pRetry, { AbortError } from 'p-retry';\nimport { APIError, NetworkError } from './errors';\n\n/**\n * Information about a failed retry attempt.\n */\nexport interface FailedAttemptInfo {\n /** The error that caused the failure */\n error: Error;\n /** The attempt number (1-indexed) */\n attemptNumber: number;\n /** Number of retries left */\n retriesLeft: number;\n}\n\n/**\n * Retry configuration options.\n *\n * Uses exponential backoff with jitter by default to avoid thundering herd.\n */\nexport interface RetryConfig {\n /**\n * Maximum number of retry attempts.\n * @default 3\n */\n retries?: number;\n\n /**\n * Exponential backoff factor.\n * @default 2\n */\n factor?: number;\n\n /**\n * Minimum wait time between retries (ms).\n * @default 1000\n */\n minTimeout?: number;\n\n /**\n * Maximum wait time between retries (ms).\n * @default 60000\n */\n maxTimeout?: number;\n\n /**\n * Add randomness to wait times (jitter).\n * Helps avoid thundering herd problem.\n * @default true\n */\n randomize?: boolean;\n\n /**\n * Callback called on each failed attempt.\n */\n onFailedAttempt?: (info: FailedAttemptInfo) => void;\n}\n\n/**\n * Default retry configuration.\n */\nexport const DEFAULT_RETRY_CONFIG: Required<RetryConfig> = {\n retries: 3,\n factor: 2,\n minTimeout: 1000,\n maxTimeout: 60000,\n randomize: true,\n onFailedAttempt: () => {},\n};\n\n/**\n * Determine if an error should trigger a retry.\n *\n * Retries on:\n * - Network errors (connection refused, timeout, etc.)\n * - Server errors (5xx status codes)\n * - Rate limiting (429 status code)\n *\n * Does NOT retry on:\n * - Client errors (4xx except 429)\n * - Authentication errors (401, 403)\n * - Not found (404)\n *\n * @param error - The error to check\n * @returns true if should retry, false otherwise\n */\nexport function shouldRetry(error: any): boolean {\n // Always retry network errors\n if (error instanceof NetworkError) {\n return true;\n }\n\n // For API errors, check status code\n if (error instanceof APIError) {\n const status = error.statusCode;\n\n // Retry on 5xx server errors\n if (status >= 500 && status < 600) {\n return true;\n }\n\n // Retry on 429 (rate limit)\n if (status === 429) {\n return true;\n }\n\n // Do NOT retry on 4xx client errors\n return false;\n }\n\n // Retry on unknown errors (might be network issues)\n return true;\n}\n\n/**\n * Wrap a function with retry logic.\n *\n * @param fn - Async function to retry\n * @param config - Retry configuration\n * @returns Result of the function\n *\n * @example\n * ```typescript\n * const result = await withRetry(\n * async () => fetch('https://api.example.com/users'),\n * { retries: 5, minTimeout: 2000 }\n * );\n * ```\n */\nexport async function withRetry<T>(\n fn: () => Promise<T>,\n config?: RetryConfig\n): Promise<T> {\n const finalConfig = { ...DEFAULT_RETRY_CONFIG, ...config };\n\n return pRetry(\n async () => {\n try {\n return await fn();\n } catch (error) {\n // Check if we should retry this error\n if (!shouldRetry(error)) {\n // Abort retry immediately for non-retryable errors\n throw new AbortError(error as Error);\n }\n\n // Re-throw error to trigger retry\n throw error;\n }\n },\n {\n retries: finalConfig.retries,\n factor: finalConfig.factor,\n minTimeout: finalConfig.minTimeout,\n maxTimeout: finalConfig.maxTimeout,\n randomize: finalConfig.randomize,\n onFailedAttempt: finalConfig.onFailedAttempt ? (error) => {\n // Adapt p-retry's FailedAttemptError to our FailedAttemptInfo\n const pRetryError = error as any; // p-retry's internal type\n finalConfig.onFailedAttempt!({\n error: pRetryError as Error,\n attemptNumber: pRetryError.attemptNumber,\n retriesLeft: pRetryError.retriesLeft,\n });\n } : undefined,\n }\n );\n}","import { CfgAccountsAuth } from \"./cfg_accounts__accounts__auth\";\nimport { CfgAccountsCentrifugoAdminApi } from \"./cfg_accounts__centrifugo__centrifugo_admin_api\";\nimport { CfgAccountsCentrifugoAuth } from \"./cfg_accounts__centrifugo__centrifugo_auth\";\nimport { CfgAccountsCentrifugoMonitoring } from \"./cfg_accounts__centrifugo__centrifugo_monitoring\";\nimport { CfgAccountsCentrifugoTesting } from \"./cfg_accounts__centrifugo__centrifugo_testing\";\nimport { CfgAccountsDashboardApiZones } from \"./cfg_accounts__dashboard__dashboard_api_zones\";\nimport { CfgAccountsDashboardActivity } from \"./cfg_accounts__dashboard__dashboard_activity\";\nimport { CfgAccountsDashboardCharts } from \"./cfg_accounts__dashboard__dashboard_charts\";\nimport { CfgAccountsDashboardCommands } from \"./cfg_accounts__dashboard__dashboard_commands\";\nimport { CfgAccountsDashboardConfig } from \"./cfg_accounts__dashboard__dashboard_config\";\nimport { CfgAccountsDashboardOverview } from \"./cfg_accounts__dashboard__dashboard_overview\";\nimport { CfgAccountsDashboardStatistics } from \"./cfg_accounts__dashboard__dashboard_statistics\";\nimport { CfgAccountsDashboardSystem } from \"./cfg_accounts__dashboard__dashboard_system\";\nimport { CfgAccountsOauth } from \"./cfg_accounts__accounts__oauth\";\nimport { CfgAccountsRqJobs } from \"./cfg_accounts__rq__rq_jobs\";\nimport { CfgAccountsRqMonitoring } from \"./cfg_accounts__rq__rq_monitoring\";\nimport { CfgAccountsRqQueues } from \"./cfg_accounts__rq__rq_queues\";\nimport { CfgAccountsRqRegistries } from \"./cfg_accounts__rq__rq_registries\";\nimport { CfgAccountsRqSchedules } from \"./cfg_accounts__rq__rq_schedules\";\nimport { CfgAccountsRqTesting } from \"./cfg_accounts__rq__rq_testing\";\nimport { CfgAccountsRqWorkers } from \"./cfg_accounts__rq__rq_workers\";\nimport { CfgAccountsUserProfile } from \"./cfg_accounts__accounts__user_profile\";\nimport { CfgAccountsAccounts } from \"./cfg_accounts__accounts\";\nimport { CfgAccountsEndpoints } from \"./cfg_accounts__endpoints\";\nimport { CfgAccountsGrpcApiKeys } from \"./cfg_accounts__grpc__grpc_api_keys\";\nimport { CfgAccountsGrpcConfiguration } from \"./cfg_accounts__grpc__grpc_configuration\";\nimport { CfgAccountsGrpcMonitoring } from \"./cfg_accounts__grpc__grpc_monitoring\";\nimport { CfgAccountsGrpcServices } from \"./cfg_accounts__grpc__grpc_services\";\nimport { CfgAccountsHealth } from \"./cfg_accounts__health\";\nimport { HttpClientAdapter, FetchAdapter } from \"./http\";\nimport { APIError, NetworkError } from \"./errors\";\nimport { APILogger, type LoggerConfig } from \"./logger\";\nimport { withRetry, type RetryConfig } from \"./retry\";\n\n\n/**\n * Async API client for Django CFG API.\n *\n * Usage:\n * ```typescript\n * const client = new APIClient('https://api.example.com');\n * const users = await client.users.list();\n * const post = await client.posts.create(newPost);\n *\n * // Custom HTTP adapter (e.g., Axios)\n * const client = new APIClient('https://api.example.com', {\n * httpClient: new AxiosAdapter()\n * });\n * ```\n */\nexport class APIClient {\n private baseUrl: string;\n private httpClient: HttpClientAdapter;\n private logger: APILogger | null = null;\n private retryConfig: RetryConfig | null = null;\n\n // Sub-clients\n public cfg_accounts_auth: CfgAccountsAuth;\n public cfg_accounts_centrifugo_admin_api: CfgAccountsCentrifugoAdminApi;\n public cfg_accounts_centrifugo_auth: CfgAccountsCentrifugoAuth;\n public cfg_accounts_centrifugo_monitoring: CfgAccountsCentrifugoMonitoring;\n public cfg_accounts_centrifugo_testing: CfgAccountsCentrifugoTesting;\n public cfg_accounts_dashboard_api_zones: CfgAccountsDashboardApiZones;\n public cfg_accounts_dashboard_activity: CfgAccountsDashboardActivity;\n public cfg_accounts_dashboard_charts: CfgAccountsDashboardCharts;\n public cfg_accounts_dashboard_commands: CfgAccountsDashboardCommands;\n public cfg_accounts_dashboard_config: CfgAccountsDashboardConfig;\n public cfg_accounts_dashboard_overview: CfgAccountsDashboardOverview;\n public cfg_accounts_dashboard_statistics: CfgAccountsDashboardStatistics;\n public cfg_accounts_dashboard_system: CfgAccountsDashboardSystem;\n public cfg_accounts_oauth: CfgAccountsOauth;\n public cfg_accounts_rq_jobs: CfgAccountsRqJobs;\n public cfg_accounts_rq_monitoring: CfgAccountsRqMonitoring;\n public cfg_accounts_rq_queues: CfgAccountsRqQueues;\n public cfg_accounts_rq_registries: CfgAccountsRqRegistries;\n public cfg_accounts_rq_schedules: CfgAccountsRqSchedules;\n public cfg_accounts_rq_testing: CfgAccountsRqTesting;\n public cfg_accounts_rq_workers: CfgAccountsRqWorkers;\n public cfg_accounts_user_profile: CfgAccountsUserProfile;\n public cfg_accounts_accounts: CfgAccountsAccounts;\n public cfg_accounts_endpoints: CfgAccountsEndpoints;\n public cfg_accounts_grpc_api_keys: CfgAccountsGrpcApiKeys;\n public cfg_accounts_grpc_configuration: CfgAccountsGrpcConfiguration;\n public cfg_accounts_grpc_monitoring: CfgAccountsGrpcMonitoring;\n public cfg_accounts_grpc_services: CfgAccountsGrpcServices;\n public cfg_accounts_health: CfgAccountsHealth;\n\n constructor(\n baseUrl: string,\n options?: {\n httpClient?: HttpClientAdapter;\n loggerConfig?: Partial<LoggerConfig>;\n retryConfig?: RetryConfig;\n }\n ) {\n this.baseUrl = baseUrl.replace(/\\/$/, '');\n this.httpClient = options?.httpClient || new FetchAdapter();\n\n // Initialize logger if config provided\n if (options?.loggerConfig !== undefined) {\n this.logger = new APILogger(options.loggerConfig);\n }\n\n // Store retry configuration\n if (options?.retryConfig !== undefined) {\n this.retryConfig = options.retryConfig;\n }\n\n // Initialize sub-clients\n this.cfg_accounts_auth = new CfgAccountsAuth(this);\n this.cfg_accounts_centrifugo_admin_api = new CfgAccountsCentrifugoAdminApi(this);\n this.cfg_accounts_centrifugo_auth = new CfgAccountsCentrifugoAuth(this);\n this.cfg_accounts_centrifugo_monitoring = new CfgAccountsCentrifugoMonitoring(this);\n this.cfg_accounts_centrifugo_testing = new CfgAccountsCentrifugoTesting(this);\n this.cfg_accounts_dashboard_api_zones = new CfgAccountsDashboardApiZones(this);\n this.cfg_accounts_dashboard_activity = new CfgAccountsDashboardActivity(this);\n this.cfg_accounts_dashboard_charts = new CfgAccountsDashboardCharts(this);\n this.cfg_accounts_dashboard_commands = new CfgAccountsDashboardCommands(this);\n this.cfg_accounts_dashboard_config = new CfgAccountsDashboardConfig(this);\n this.cfg_accounts_dashboard_overview = new CfgAccountsDashboardOverview(this);\n this.cfg_accounts_dashboard_statistics = new CfgAccountsDashboardStatistics(this);\n this.cfg_accounts_dashboard_system = new CfgAccountsDashboardSystem(this);\n this.cfg_accounts_oauth = new CfgAccountsOauth(this);\n this.cfg_accounts_rq_jobs = new CfgAccountsRqJobs(this);\n this.cfg_accounts_rq_monitoring = new CfgAccountsRqMonitoring(this);\n this.cfg_accounts_rq_queues = new CfgAccountsRqQueues(this);\n this.cfg_accounts_rq_registries = new CfgAccountsRqRegistries(this);\n this.cfg_accounts_rq_schedules = new CfgAccountsRqSchedules(this);\n this.cfg_accounts_rq_testing = new CfgAccountsRqTesting(this);\n this.cfg_accounts_rq_workers = new CfgAccountsRqWorkers(this);\n this.cfg_accounts_user_profile = new CfgAccountsUserProfile(this);\n this.cfg_accounts_accounts = new CfgAccountsAccounts(this);\n this.cfg_accounts_endpoints = new CfgAccountsEndpoints(this);\n this.cfg_accounts_grpc_api_keys = new CfgAccountsGrpcApiKeys(this);\n this.cfg_accounts_grpc_configuration = new CfgAccountsGrpcConfiguration(this);\n this.cfg_accounts_grpc_monitoring = new CfgAccountsGrpcMonitoring(this);\n this.cfg_accounts_grpc_services = new CfgAccountsGrpcServices(this);\n this.cfg_accounts_health = new CfgAccountsHealth(this);\n }\n\n /**\n * Get CSRF token from cookies (for SessionAuthentication).\n *\n * Returns null if cookie doesn't exist (JWT-only auth).\n */\n getCsrfToken(): string | null {\n const name = 'csrftoken';\n const value = `; ${document.cookie}`;\n const parts = value.split(`; ${name}=`);\n if (parts.length === 2) {\n return parts.pop()?.split(';').shift() || null;\n }\n return null;\n }\n\n /**\n * Make HTTP request with Django CSRF and session handling.\n * Automatically retries on network errors and 5xx server errors.\n */\n async request<T>(\n method: string,\n path: string,\n options?: {\n params?: Record<string, any>;\n body?: any;\n formData?: FormData;\n headers?: Record<string, string>;\n }\n ): Promise<T> {\n // Wrap request in retry logic if configured\n if (this.retryConfig) {\n return withRetry(() => this._makeRequest<T>(method, path, options), {\n ...this.retryConfig,\n onFailedAttempt: (info) => {\n // Log retry attempts\n if (this.logger) {\n this.logger.warn(\n `Retry attempt ${info.attemptNumber}/${info.retriesLeft + info.attemptNumber} ` +\n `for ${method} ${path}: ${info.error.message}`\n );\n }\n // Call user's onFailedAttempt if provided\n this.retryConfig?.onFailedAttempt?.(info);\n },\n });\n }\n\n // No retry configured, make request directly\n return this._makeRequest<T>(method, path, options);\n }\n\n /**\n * Internal request method (without retry wrapper).\n * Used by request() method with optional retry logic.\n */\n private async _makeRequest<T>(\n method: string,\n path: string,\n options?: {\n params?: Record<string, any>;\n body?: any;\n formData?: FormData;\n headers?: Record<string, string>;\n }\n ): Promise<T> {\n // Build URL - handle both absolute and relative paths\n // When baseUrl is empty (static builds), path is used as-is (relative to current origin)\n const url = this.baseUrl ? `${this.baseUrl}${path}` : path;\n const startTime = Date.now();\n\n // Build headers - start with custom headers from options\n const headers: Record<string, string> = {\n ...(options?.headers || {})\n };\n\n // Don't set Content-Type for FormData (browser will set it with boundary)\n if (!options?.formData && !headers['Content-Type']) {\n headers['Content-Type'] = 'application/json';\n }\n\n // CSRF not needed - SessionAuthentication not enabled in DRF config\n // Your API uses JWT/Token authentication (no CSRF required)\n\n // Log request\n if (this.logger) {\n this.logger.logRequest({\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n });\n }\n\n try {\n // Make request via HTTP adapter\n const response = await this.httpClient.request<T>({\n method,\n url: url,\n headers,\n params: options?.params,\n body: options?.body,\n formData: options?.formData,\n });\n\n const duration = Date.now() - startTime;\n\n // Check for HTTP errors\n if (response.status >= 400) {\n const error = new APIError(\n response.status,\n response.statusText,\n response.data,\n url\n );\n\n // Log error\n if (this.logger) {\n this.logger.logError(\n {\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n },\n {\n message: error.message,\n statusCode: response.status,\n duration,\n timestamp: Date.now(),\n }\n );\n }\n\n throw error;\n }\n\n // Log successful response\n if (this.logger) {\n this.logger.logResponse(\n {\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n },\n {\n status: response.status,\n statusText: response.statusText,\n data: response.data,\n duration,\n timestamp: Date.now(),\n }\n );\n }\n\n return response.data as T;\n } catch (error) {\n const duration = Date.now() - startTime;\n\n // Re-throw APIError as-is\n if (error instanceof APIError) {\n throw error;\n }\n\n // Detect CORS errors and dispatch event\n const isCORSError = error instanceof TypeError &&\n (error.message.toLowerCase().includes('cors') ||\n error.message.toLowerCase().includes('failed to fetch') ||\n error.message.toLowerCase().includes('network request failed'));\n\n // Log specific error type first\n if (this.logger) {\n if (isCORSError) {\n this.logger.error(`🚫 CORS Error: ${method} ${url}`);\n this.logger.error(` → ${error instanceof Error ? error.message : String(error)}`);\n this.logger.error(` → Configure security_domains parameter on the server`);\n } else {\n this.logger.error(`⚠️ Network Error: ${method} ${url}`);\n this.logger.error(` → ${error instanceof Error ? error.message : String(error)}`);\n }\n }\n\n // Dispatch browser events\n if (typeof window !== 'undefined') {\n try {\n if (isCORSError) {\n // Dispatch CORS-specific error event\n window.dispatchEvent(new CustomEvent('cors-error', {\n detail: {\n url: url,\n method: method,\n error: error instanceof Error ? error.message : String(error),\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n }));\n } else {\n // Dispatch generic network error event\n window.dispatchEvent(new CustomEvent('network-error', {\n detail: {\n url: url,\n method: method,\n error: error instanceof Error ? error.message : String(error),\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n }));\n }\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n }\n }\n\n // Wrap other errors as NetworkError\n const networkError = error instanceof Error\n ? new NetworkError(error.message, url, error)\n : new NetworkError('Unknown error', url);\n\n // Detailed logging via logger.logError\n if (this.logger) {\n this.logger.logError(\n {\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n },\n {\n message: networkError.message,\n duration,\n timestamp: Date.now(),\n }\n );\n }\n\n throw networkError;\n }\n }\n}\n","/**\n * Storage adapters for cross-platform token storage.\n *\n * Supports:\n * - LocalStorage (browser)\n * - Cookies (SSR/browser)\n * - Memory (Node.js/Electron/testing)\n */\n\nimport type { APILogger } from './logger';\n\n/**\n * Storage adapter interface for cross-platform token storage.\n */\nexport interface StorageAdapter {\n getItem(key: string): string | null;\n setItem(key: string, value: string): void;\n removeItem(key: string): void;\n}\n\n/**\n * LocalStorage adapter with safe try-catch for browser environments.\n * Works in modern browsers with localStorage support.\n * \n * Note: This adapter uses window.localStorage and should only be used in browser/client environments.\n * For server-side usage, use MemoryStorageAdapter or CookieStorageAdapter instead.\n */\nexport class LocalStorageAdapter implements StorageAdapter {\n private logger?: APILogger;\n\n constructor(logger?: APILogger) {\n this.logger = logger;\n }\n\n getItem(key: string): string | null {\n try {\n if (typeof window !== 'undefined' && window.localStorage) {\n const value = localStorage.getItem(key);\n this.logger?.debug(`LocalStorage.getItem(\"${key}\"): ${value ? 'found' : 'not found'}`);\n return value;\n }\n this.logger?.warn('LocalStorage not available: window.localStorage is undefined');\n } catch (error) {\n this.logger?.error('LocalStorage.getItem failed:', error);\n }\n return null;\n }\n\n setItem(key: string, value: string): void {\n try {\n if (typeof window !== 'undefined' && window.localStorage) {\n localStorage.setItem(key, value);\n this.logger?.debug(`LocalStorage.setItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('LocalStorage not available: window.localStorage is undefined');\n }\n } catch (error) {\n this.logger?.error('LocalStorage.setItem failed:', error);\n }\n }\n\n removeItem(key: string): void {\n try {\n if (typeof window !== 'undefined' && window.localStorage) {\n localStorage.removeItem(key);\n this.logger?.debug(`LocalStorage.removeItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('LocalStorage not available: window.localStorage is undefined');\n }\n } catch (error) {\n this.logger?.error('LocalStorage.removeItem failed:', error);\n }\n }\n}\n\n/**\n * Cookie-based storage adapter for SSR and browser environments.\n * Useful for Next.js, Nuxt.js, and other SSR frameworks.\n */\nexport class CookieStorageAdapter implements StorageAdapter {\n private logger?: APILogger;\n\n constructor(logger?: APILogger) {\n this.logger = logger;\n }\n\n getItem(key: string): string | null {\n try {\n if (typeof document === 'undefined') {\n this.logger?.warn('Cookies not available: document is undefined (SSR context?)');\n return null;\n }\n const value = `; ${document.cookie}`;\n const parts = value.split(`; ${key}=`);\n if (parts.length === 2) {\n const result = parts.pop()?.split(';').shift() || null;\n this.logger?.debug(`CookieStorage.getItem(\"${key}\"): ${result ? 'found' : 'not found'}`);\n return result;\n }\n this.logger?.debug(`CookieStorage.getItem(\"${key}\"): not found`);\n } catch (error) {\n this.logger?.error('CookieStorage.getItem failed:', error);\n }\n return null;\n }\n\n setItem(key: string, value: string): void {\n try {\n if (typeof document !== 'undefined') {\n document.cookie = `${key}=${value}; path=/; max-age=31536000`;\n this.logger?.debug(`CookieStorage.setItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('Cookies not available: document is undefined (SSR context?)');\n }\n } catch (error) {\n this.logger?.error('CookieStorage.setItem failed:', error);\n }\n }\n\n removeItem(key: string): void {\n try {\n if (typeof document !== 'undefined') {\n document.cookie = `${key}=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT`;\n this.logger?.debug(`CookieStorage.removeItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('Cookies not available: document is undefined (SSR context?)');\n }\n } catch (error) {\n this.logger?.error('CookieStorage.removeItem failed:', error);\n }\n }\n}\n\n/**\n * In-memory storage adapter for Node.js, Electron, and testing environments.\n * Data is stored in RAM and cleared when process exits.\n */\nexport class MemoryStorageAdapter implements StorageAdapter {\n private storage: Map<string, string> = new Map();\n private logger?: APILogger;\n\n constructor(logger?: APILogger) {\n this.logger = logger;\n }\n\n getItem(key: string): string | null {\n const value = this.storage.get(key) || null;\n this.logger?.debug(`MemoryStorage.getItem(\"${key}\"): ${value ? 'found' : 'not found'}`);\n return value;\n }\n\n setItem(key: string, value: string): void {\n this.storage.set(key, value);\n this.logger?.debug(`MemoryStorage.setItem(\"${key}\"): success`);\n }\n\n removeItem(key: string): void {\n this.storage.delete(key);\n this.logger?.debug(`MemoryStorage.removeItem(\"${key}\"): success`);\n }\n}","/**\n * OAuth provider name (github, google, etc.)\n * * `github` - GitHub\n */\nexport enum OAuthConnectionProvider {\n GITHUB = \"github\",\n}\n\n/**\n * OAuth provider to disconnect\n * * `github` - GitHub\n */\nexport enum OAuthDisconnectRequestRequestProvider {\n GITHUB = \"github\",\n}\n\n/**\n * Delivery channel: 'email' or 'phone'. Auto-detected if not provided.\n * * `email` - Email\n * * `phone` - Phone\n */\nexport enum OTPRequestRequestChannel {\n EMAIL = \"email\",\n PHONE = \"phone\",\n}\n\n/**\n * Delivery channel: 'email' or 'phone'. Auto-detected if not provided.\n * * `email` - Email\n * * `phone` - Phone\n */\nexport enum OTPVerifyRequestChannel {\n EMAIL = \"email\",\n PHONE = \"phone\",\n}\n\n/**\n * Button color theme\n * * `primary` - primary\n * * `success` - success\n * * `warning` - warning\n * * `danger` - danger\n * * `secondary` - secondary\n * * `info` - info\n * * `default` - default\n */\nexport enum QuickActionColor {\n PRIMARY = \"primary\",\n SUCCESS = \"success\",\n WARNING = \"warning\",\n DANGER = \"danger\",\n SECONDARY = \"secondary\",\n INFO = \"info\",\n DEFAULT = \"default\",\n}\n\n/**\n * Demo scenario to run\n * * `success` - success\n * * `failure` - failure\n * * `slow` - slow\n * * `progress` - progress\n * * `retry` - retry\n * * `random` - random\n * * `memory` - memory\n * * `cpu` - cpu\n */\nexport enum RunDemoRequestRequestScenario {\n SUCCESS = \"success\",\n FAILURE = \"failure\",\n SLOW = \"slow\",\n PROGRESS = \"progress\",\n RETRY = \"retry\",\n RANDOM = \"random\",\n MEMORY = \"memory\",\n CPU = \"cpu\",\n}\n\n/**\n * Change type\n * * `positive` - positive\n * * `negative` - negative\n * * `neutral` - neutral\n */\nexport enum StatCardChangeType {\n POSITIVE = \"positive\",\n NEGATIVE = \"negative\",\n NEUTRAL = \"neutral\",\n}\n\n/**\n * Task scenario\n * * `success` - success\n * * `failure` - failure\n * * `slow` - slow\n * * `random` - random\n */\nexport enum StressTestRequestRequestScenario {\n SUCCESS = \"success\",\n FAILURE = \"failure\",\n SLOW = \"slow\",\n RANDOM = \"random\",\n}\n\n/**\n * Overall system health status\n * * `healthy` - healthy\n * * `warning` - warning\n * * `error` - error\n * * `unknown` - unknown\n */\nexport enum SystemHealthOverallStatus {\n HEALTHY = \"healthy\",\n WARNING = \"warning\",\n ERROR = \"error\",\n UNKNOWN = \"unknown\",\n}\n\n/**\n * Health status\n * * `healthy` - healthy\n * * `warning` - warning\n * * `error` - error\n * * `unknown` - unknown\n */\nexport enum SystemHealthItemStatus {\n HEALTHY = \"healthy\",\n WARNING = \"warning\",\n ERROR = \"error\",\n UNKNOWN = \"unknown\",\n}\n\n","/**\n * Zod schema for APIZone\n *\n * This schema provides runtime validation and type inference.\n * * OpenAPI zone/group serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * OpenAPI zone/group serializer.\n */\nexport const APIZoneSchema = z.object({\n name: z.string(),\n title: z.string(),\n description: z.string(),\n app_count: z.int(),\n endpoint_count: z.int(),\n status: z.string(),\n schema_url: z.string(),\n relative_schema_url: z.string(),\n api_url: z.string(),\n relative_api_url: z.string(),\n apps: z.array(z.string()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type APIZone = z.infer<typeof APIZoneSchema>","/**\n * Zod schema for APIZonesSummary\n *\n * This schema provides runtime validation and type inference.\n * * API zones summary serializer.\n * */\nimport { z } from 'zod'\nimport { APIZoneSchema } from './APIZone.schema'\nimport { ZonesSummaryStatsSchema } from './ZonesSummaryStats.schema'\n\n/**\n * API zones summary serializer.\n */\nexport const APIZonesSummarySchema = z.object({\n zones: z.array(APIZoneSchema),\n summary: ZonesSummaryStatsSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type APIZonesSummary = z.infer<typeof APIZonesSummarySchema>","/**\n * Zod schema for ZonesSummaryStats\n *\n * This schema provides runtime validation and type inference.\n * * Summary statistics for API zones.\n * */\nimport { z } from 'zod'\n\n/**\n * Summary statistics for API zones.\n */\nexport const ZonesSummaryStatsSchema = z.object({\n total_apps: z.int(),\n total_endpoints: z.int(),\n total_zones: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ZonesSummaryStats = z.infer<typeof ZonesSummaryStatsSchema>","/**\n * Zod schema for ActivityEntry\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for recent activity entries.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for recent activity entries.\n */\nexport const ActivityEntrySchema = z.object({\n id: z.int(),\n user: z.string(),\n action: z.string(),\n resource: z.string(),\n timestamp: z.string(),\n icon: z.string(),\n color: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ActivityEntry = z.infer<typeof ActivityEntrySchema>","/**\n * Zod schema for ActivityTrackerDay\n *\n * This schema provides runtime validation and type inference.\n * * Activity tracker single day serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Activity tracker single day serializer.\n */\nexport const ActivityTrackerDaySchema = z.object({\n date: z.iso.date(),\n count: z.int(),\n level: z.int(),\n color: z.string(),\n tooltip: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ActivityTrackerDay = z.infer<typeof ActivityTrackerDaySchema>","/**\n * Zod schema for ApiKey\n *\n * This schema provides runtime validation and type inference.\n * * API Key information (read-only).\n * */\nimport { z } from 'zod'\n\n/**\n * API Key information (read-only).\n */\nexport const ApiKeySchema = z.object({\n id: z.int(),\n name: z.string(),\n masked_key: z.string(),\n is_active: z.boolean(),\n is_valid: z.boolean(),\n user_id: z.int(),\n username: z.string(),\n user_email: z.string(),\n request_count: z.int(),\n last_used_at: z.iso.datetime().nullable(),\n expires_at: z.iso.datetime().nullable(),\n created_at: z.iso.datetime(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ApiKey = z.infer<typeof ApiKeySchema>","/**\n * Zod schema for ApiKeyStats\n *\n * This schema provides runtime validation and type inference.\n * * API Key usage statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * API Key usage statistics.\n */\nexport const ApiKeyStatsSchema = z.object({\n total_keys: z.int(),\n active_keys: z.int(),\n expired_keys: z.int(),\n total_requests: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ApiKeyStats = z.infer<typeof ApiKeyStatsSchema>","/**\n * Zod schema for AppStatistics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for application-specific statistics.\n * */\nimport { z } from 'zod'\nimport { AppStatisticsDataSchema } from './AppStatisticsData.schema'\n\n/**\n * Serializer for application-specific statistics.\n */\nexport const AppStatisticsSchema = z.object({\n app_name: z.string(),\n statistics: AppStatisticsDataSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type AppStatistics = z.infer<typeof AppStatisticsSchema>","/**\n * Zod schema for AppStatisticsData\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for application statistics data.\n * */\nimport { z } from 'zod'\nimport { ModelStatisticsSchema } from './ModelStatistics.schema'\n\n/**\n * Serializer for application statistics data.\n */\nexport const AppStatisticsDataSchema = z.object({\n name: z.string(),\n models: z.array(ModelStatisticsSchema),\n total_records: z.int(),\n model_count: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type AppStatisticsData = z.infer<typeof AppStatisticsDataSchema>","/**\n * Zod schema for ModelStatistics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for individual model statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for individual model statistics.\n */\nexport const ModelStatisticsSchema = z.object({\n model_name: z.string(),\n name: z.string(),\n count: z.int(),\n fields_count: z.int(),\n admin_url: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ModelStatistics = z.infer<typeof ModelStatisticsSchema>","/**\n * Zod schema for AxesConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django-Axes brute-force protection configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Django-Axes brute-force protection configuration.\n */\nexport const AxesConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n failure_limit: z.int().nullable().optional(),\n cooloff_time: z.int().nullable().optional(),\n lock_out_at_failure: z.boolean().nullable().optional(),\n reset_on_success: z.boolean().nullable().optional(),\n only_user_failures: z.boolean().nullable().optional(),\n lockout_template: z.string().nullable().optional(),\n lockout_url: z.string().nullable().optional(),\n verbose: z.boolean().nullable().optional(),\n enable_access_failure_log: z.boolean().nullable().optional(),\n ipware_proxy_count: z.int().nullable().optional(),\n ipware_meta_precedence_order: z.array(z.string()).nullable().optional(),\n allowed_ips: z.array(z.string()).nullable().optional(),\n denied_ips: z.array(z.string()).nullable().optional(),\n cache_name: z.string().nullable().optional(),\n use_user_agent: z.boolean().nullable().optional(),\n username_form_field: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type AxesConfig = z.infer<typeof AxesConfigSchema>","/**\n * Zod schema for CentrifugoChannelInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a single channel.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a single channel.\n */\nexport const CentrifugoChannelInfoSchema = z.object({\n num_clients: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelInfo = z.infer<typeof CentrifugoChannelInfoSchema>","/**\n * Zod schema for CentrifugoChannelsRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to list active channels.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to list active channels.\n */\nexport const CentrifugoChannelsRequestRequestSchema = z.object({\n pattern: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelsRequestRequest = z.infer<typeof CentrifugoChannelsRequestRequestSchema>","/**\n * Zod schema for CentrifugoChannelsResponse\n *\n * This schema provides runtime validation and type inference.\n * * List of active channels response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoChannelsResultSchema } from './CentrifugoChannelsResult.schema'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\n\n/**\n * List of active channels response.\n */\nexport const CentrifugoChannelsResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoChannelsResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelsResponse = z.infer<typeof CentrifugoChannelsResponseSchema>","/**\n * Zod schema for CentrifugoChannelsResult\n *\n * This schema provides runtime validation and type inference.\n * * Channels result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoChannelInfoSchema } from './CentrifugoChannelInfo.schema'\n\n/**\n * Channels result wrapper.\n */\nexport const CentrifugoChannelsResultSchema = z.object({\n channels: z.record(z.string(), CentrifugoChannelInfoSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelsResult = z.infer<typeof CentrifugoChannelsResultSchema>","/**\n * Zod schema for CentrifugoError\n *\n * This schema provides runtime validation and type inference.\n * * Centrifugo API error structure.\n * */\nimport { z } from 'zod'\n\n/**\n * Centrifugo API error structure.\n */\nexport const CentrifugoErrorSchema = z.object({\n code: z.int().optional(),\n message: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoError = z.infer<typeof CentrifugoErrorSchema>","/**\n * Zod schema for CentrifugoClientInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about connected client.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about connected client.\n */\nexport const CentrifugoClientInfoSchema = z.object({\n user: z.string(),\n client: z.string(),\n conn_info: z.record(z.string(), z.any()).nullable().optional(),\n chan_info: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoClientInfo = z.infer<typeof CentrifugoClientInfoSchema>","/**\n * Zod schema for CentrifugoConfig\n *\n * This schema provides runtime validation and type inference.\n * * Centrifugo configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Centrifugo configuration.\n */\nexport const CentrifugoConfigSchema = z.object({\n module_name: z.string().nullable().optional(),\n enabled: z.boolean().nullable().optional(),\n wrapper_url: z.string().nullable().optional(),\n wrapper_api_key: z.string().nullable().optional(),\n centrifugo_url: z.string().nullable().optional(),\n centrifugo_api_url: z.string().nullable().optional(),\n centrifugo_api_key: z.string().nullable().optional(),\n centrifugo_token_hmac_secret: z.string().nullable().optional(),\n default_timeout: z.int().nullable().optional(),\n ack_timeout: z.int().nullable().optional(),\n http_timeout: z.int().nullable().optional(),\n max_retries: z.int().nullable().optional(),\n retry_delay: z.number().nullable().optional(),\n verify_ssl: z.boolean().nullable().optional(),\n log_all_calls: z.boolean().nullable().optional(),\n log_only_with_ack: z.boolean().nullable().optional(),\n log_level: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoConfig = z.infer<typeof CentrifugoConfigSchema>","/**\n * Zod schema for CentrifugoHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * Health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * Health check response.\n */\nexport const CentrifugoHealthCheckSchema = z.object({\n status: z.string(),\n wrapper_url: z.string(),\n has_api_key: z.boolean(),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHealthCheck = z.infer<typeof CentrifugoHealthCheckSchema>","/**\n * Zod schema for CentrifugoHistoryRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to get channel history.\n * */\nimport { z } from 'zod'\nimport { CentrifugoStreamPositionSchema } from './CentrifugoStreamPosition.schema'\n\n/**\n * Request to get channel history.\n */\nexport const CentrifugoHistoryRequestRequestSchema = z.object({\n channel: z.string(),\n limit: z.int().nullable().optional(),\n since: CentrifugoStreamPositionSchema.optional(),\n reverse: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHistoryRequestRequest = z.infer<typeof CentrifugoHistoryRequestRequestSchema>","/**\n * Zod schema for CentrifugoStreamPosition\n *\n * This schema provides runtime validation and type inference.\n * * Stream position for pagination.\n * */\nimport { z } from 'zod'\n\n/**\n * Stream position for pagination.\n */\nexport const CentrifugoStreamPositionSchema = z.object({\n offset: z.int(),\n epoch: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoStreamPosition = z.infer<typeof CentrifugoStreamPositionSchema>","/**\n * Zod schema for CentrifugoHistoryResponse\n *\n * This schema provides runtime validation and type inference.\n * * Channel history response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoHistoryResultSchema } from './CentrifugoHistoryResult.schema'\n\n/**\n * Channel history response.\n */\nexport const CentrifugoHistoryResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoHistoryResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHistoryResponse = z.infer<typeof CentrifugoHistoryResponseSchema>","/**\n * Zod schema for CentrifugoHistoryResult\n *\n * This schema provides runtime validation and type inference.\n * * History result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoPublicationSchema } from './CentrifugoPublication.schema'\n\n/**\n * History result wrapper.\n */\nexport const CentrifugoHistoryResultSchema = z.object({\n publications: z.array(CentrifugoPublicationSchema),\n epoch: z.string(),\n offset: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHistoryResult = z.infer<typeof CentrifugoHistoryResultSchema>","/**\n * Zod schema for CentrifugoPublication\n *\n * This schema provides runtime validation and type inference.\n * * Single publication (message) in channel history.\n * */\nimport { z } from 'zod'\nimport { CentrifugoClientInfoSchema } from './CentrifugoClientInfo.schema'\n\n/**\n * Single publication (message) in channel history.\n */\nexport const CentrifugoPublicationSchema = z.object({\n data: z.record(z.string(), z.any()),\n info: CentrifugoClientInfoSchema.optional(),\n offset: z.int(),\n tags: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPublication = z.infer<typeof CentrifugoPublicationSchema>","/**\n * Zod schema for CentrifugoInfoResponse\n *\n * This schema provides runtime validation and type inference.\n * * Server info response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoInfoResultSchema } from './CentrifugoInfoResult.schema'\n\n/**\n * Server info response.\n */\nexport const CentrifugoInfoResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoInfoResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoInfoResponse = z.infer<typeof CentrifugoInfoResponseSchema>","/**\n * Zod schema for CentrifugoInfoResult\n *\n * This schema provides runtime validation and type inference.\n * * Info result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoNodeInfoSchema } from './CentrifugoNodeInfo.schema'\n\n/**\n * Info result wrapper.\n */\nexport const CentrifugoInfoResultSchema = z.object({\n nodes: z.array(CentrifugoNodeInfoSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoInfoResult = z.infer<typeof CentrifugoInfoResultSchema>","/**\n * Zod schema for CentrifugoNodeInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a single Centrifugo node.\n * */\nimport { z } from 'zod'\nimport { CentrifugoMetricsSchema } from './CentrifugoMetrics.schema'\nimport { CentrifugoProcessSchema } from './CentrifugoProcess.schema'\n\n/**\n * Information about a single Centrifugo node.\n */\nexport const CentrifugoNodeInfoSchema = z.object({\n uid: z.string(),\n name: z.string(),\n version: z.string(),\n num_clients: z.int(),\n num_users: z.int(),\n num_channels: z.int(),\n uptime: z.int(),\n num_subs: z.int(),\n metrics: CentrifugoMetricsSchema.optional(),\n process: CentrifugoProcessSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoNodeInfo = z.infer<typeof CentrifugoNodeInfoSchema>","/**\n * Zod schema for CentrifugoMetrics\n *\n * This schema provides runtime validation and type inference.\n * * Server metrics.\n * */\nimport { z } from 'zod'\n\n/**\n * Server metrics.\n */\nexport const CentrifugoMetricsSchema = z.object({\n interval: z.number(),\n items: z.record(z.string(), z.number()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoMetrics = z.infer<typeof CentrifugoMetricsSchema>","/**\n * Zod schema for CentrifugoProcess\n *\n * This schema provides runtime validation and type inference.\n * * Process information.\n * */\nimport { z } from 'zod'\n\n/**\n * Process information.\n */\nexport const CentrifugoProcessSchema = z.object({\n cpu: z.number(),\n rss: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoProcess = z.infer<typeof CentrifugoProcessSchema>","/**\n * Zod schema for CentrifugoOverviewStats\n *\n * This schema provides runtime validation and type inference.\n * * Overview statistics for Centrifugo publishes.\n * */\nimport { z } from 'zod'\n\n/**\n * Overview statistics for Centrifugo publishes.\n */\nexport const CentrifugoOverviewStatsSchema = z.object({\n total: z.int(),\n successful: z.int(),\n failed: z.int(),\n timeout: z.int(),\n success_rate: z.number(),\n avg_duration_ms: z.number(),\n avg_acks_received: z.number(),\n period_hours: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoOverviewStats = z.infer<typeof CentrifugoOverviewStatsSchema>","/**\n * Zod schema for CentrifugoPresenceRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to get channel presence.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to get channel presence.\n */\nexport const CentrifugoPresenceRequestRequestSchema = z.object({\n channel: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceRequestRequest = z.infer<typeof CentrifugoPresenceRequestRequestSchema>","/**\n * Zod schema for CentrifugoPresenceResponse\n *\n * This schema provides runtime validation and type inference.\n * * Channel presence response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoPresenceResultSchema } from './CentrifugoPresenceResult.schema'\n\n/**\n * Channel presence response.\n */\nexport const CentrifugoPresenceResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoPresenceResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceResponse = z.infer<typeof CentrifugoPresenceResponseSchema>","/**\n * Zod schema for CentrifugoPresenceResult\n *\n * This schema provides runtime validation and type inference.\n * * Presence result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoClientInfoSchema } from './CentrifugoClientInfo.schema'\n\n/**\n * Presence result wrapper.\n */\nexport const CentrifugoPresenceResultSchema = z.object({\n presence: z.record(z.string(), CentrifugoClientInfoSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceResult = z.infer<typeof CentrifugoPresenceResultSchema>","/**\n * Zod schema for CentrifugoPresenceStatsRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to get channel presence statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to get channel presence statistics.\n */\nexport const CentrifugoPresenceStatsRequestRequestSchema = z.object({\n channel: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceStatsRequestRequest = z.infer<typeof CentrifugoPresenceStatsRequestRequestSchema>","/**\n * Zod schema for CentrifugoPresenceStatsResponse\n *\n * This schema provides runtime validation and type inference.\n * * Channel presence stats response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoPresenceStatsResultSchema } from './CentrifugoPresenceStatsResult.schema'\n\n/**\n * Channel presence stats response.\n */\nexport const CentrifugoPresenceStatsResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoPresenceStatsResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceStatsResponse = z.infer<typeof CentrifugoPresenceStatsResponseSchema>","/**\n * Zod schema for CentrifugoPresenceStatsResult\n *\n * This schema provides runtime validation and type inference.\n * * Presence stats result.\n * */\nimport { z } from 'zod'\n\n/**\n * Presence stats result.\n */\nexport const CentrifugoPresenceStatsResultSchema = z.object({\n num_clients: z.int(),\n num_users: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceStatsResult = z.infer<typeof CentrifugoPresenceStatsResultSchema>","/**\n * Zod schema for CentrifugoToken\n *\n * This schema provides runtime validation and type inference.\n * * Nested serializer for Centrifugo WebSocket connection token.\n * */\nimport { z } from 'zod'\n\n/**\n * Nested serializer for Centrifugo WebSocket connection token.\n */\nexport const CentrifugoTokenSchema = z.object({\n token: z.string(),\n centrifugo_url: z.url(),\n expires_at: z.iso.datetime(),\n channels: z.array(z.string()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoToken = z.infer<typeof CentrifugoTokenSchema>","/**\n * Zod schema for ChannelList\n *\n * This schema provides runtime validation and type inference.\n * * List of channel statistics.\n * */\nimport { z } from 'zod'\nimport { ChannelStatsSchema } from './ChannelStats.schema'\n\n/**\n * List of channel statistics.\n */\nexport const ChannelListSchema = z.object({\n channels: z.array(ChannelStatsSchema),\n total_channels: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChannelList = z.infer<typeof ChannelListSchema>","/**\n * Zod schema for ChannelStats\n *\n * This schema provides runtime validation and type inference.\n * * Statistics per channel.\n * */\nimport { z } from 'zod'\n\n/**\n * Statistics per channel.\n */\nexport const ChannelStatsSchema = z.object({\n channel: z.string(),\n total: z.int(),\n successful: z.int(),\n failed: z.int(),\n avg_duration_ms: z.number(),\n avg_acks: z.number(),\n last_activity_at: z.string().nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChannelStats = z.infer<typeof ChannelStatsSchema>","/**\n * Zod schema for ChartData\n *\n * This schema provides runtime validation and type inference.\n * * Chart.js data structure serializer.\n * */\nimport { z } from 'zod'\nimport { ChartDatasetSchema } from './ChartDataset.schema'\n\n/**\n * Chart.js data structure serializer.\n */\nexport const ChartDataSchema = z.object({\n labels: z.array(z.string()),\n datasets: z.array(ChartDatasetSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChartData = z.infer<typeof ChartDataSchema>","/**\n * Zod schema for ChartDataset\n *\n * This schema provides runtime validation and type inference.\n * * Chart.js dataset serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Chart.js dataset serializer.\n */\nexport const ChartDatasetSchema = z.object({\n label: z.string(),\n data: z.array(z.int()),\n backgroundColor: z.string(),\n borderColor: z.string(),\n tension: z.number(),\n fill: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChartDataset = z.infer<typeof ChartDatasetSchema>","/**\n * Zod schema for Command\n *\n * This schema provides runtime validation and type inference.\n * * Django management command serializer.\n\nIncludes security metadata from base classes (SafeCommand, InteractiveCommand, etc.):\n- web_executable: Can be executed via web interface\n- requires_input: Requires interactive user input\n- is_destructive: Modifies or deletes data\n * */\nimport { z } from 'zod'\n\n/**\n * Django management command serializer.\n\nIncludes security metadata from base classes (SafeCommand, InteractiveCommand, etc.):\n- web_executable: Can be executed via web interface\n- requires_input: Requires interactive user input\n- is_destructive: Modifies or deletes data\n */\nexport const CommandSchema = z.object({\n name: z.string(),\n app: z.string(),\n help: z.string(),\n is_core: z.boolean(),\n is_custom: z.boolean(),\n is_allowed: z.boolean().optional(),\n risk_level: z.string().optional(),\n web_executable: z.boolean().nullable().optional(),\n requires_input: z.boolean().nullable().optional(),\n is_destructive: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Command = z.infer<typeof CommandSchema>","/**\n * Zod schema for CommandCategory\n *\n * This schema provides runtime validation and type inference.\n * * Category with commands.\n * */\nimport { z } from 'zod'\nimport { CommandSchema } from './Command.schema'\n\n/**\n * Category with commands.\n */\nexport const CommandCategorySchema = z.object({\n category: z.string(),\n commands: z.array(CommandSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandCategory = z.infer<typeof CommandCategorySchema>","/**\n * Zod schema for CommandExecuteRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request serializer for command execution.\n * */\nimport { z } from 'zod'\n\n/**\n * Request serializer for command execution.\n */\nexport const CommandExecuteRequestRequestSchema = z.object({\n command: z.string().min(1),\n args: z.array(z.string().min(1)).optional(),\n options: z.record(z.string(), z.record(z.string(), z.any())).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandExecuteRequestRequest = z.infer<typeof CommandExecuteRequestRequestSchema>","/**\n * Zod schema for CommandHelpResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response serializer for command help.\n * */\nimport { z } from 'zod'\n\n/**\n * Response serializer for command help.\n */\nexport const CommandHelpResponseSchema = z.object({\n status: z.string(),\n command: z.string(),\n app: z.string().optional(),\n help_text: z.string().optional(),\n is_allowed: z.boolean().optional(),\n risk_level: z.string().optional(),\n error: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandHelpResponse = z.infer<typeof CommandHelpResponseSchema>","/**\n * Zod schema for CommandsSummary\n *\n * This schema provides runtime validation and type inference.\n * * Commands summary serializer.\n * */\nimport { z } from 'zod'\nimport { CommandSchema } from './Command.schema'\nimport { CommandCategorySchema } from './CommandCategory.schema'\n\n/**\n * Commands summary serializer.\n */\nexport const CommandsSummarySchema = z.object({\n total_commands: z.int(),\n core_commands: z.int(),\n custom_commands: z.int(),\n categories: z.array(z.string()),\n commands: z.array(CommandSchema),\n categorized: z.array(CommandCategorySchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandsSummary = z.infer<typeof CommandsSummarySchema>","/**\n * Zod schema for ConfigData\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for complete config data endpoint.\n\nReturns both DjangoConfig and Django settings with validation info.\n * */\nimport { z } from 'zod'\nimport { ConfigValidationSchema } from './ConfigValidation.schema'\nimport { DjangoConfigSchema } from './DjangoConfig.schema'\n\n/**\n * Serializer for complete config data endpoint.\n\nReturns both DjangoConfig and Django settings with validation info.\n */\nexport const ConfigDataSchema = z.object({\n django_config: DjangoConfigSchema,\n django_settings: z.record(z.string(), z.any()),\n _validation: ConfigValidationSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConfigData = z.infer<typeof ConfigDataSchema>","/**\n * Zod schema for ConfigValidation\n *\n * This schema provides runtime validation and type inference.\n * * Validation result for config serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Validation result for config serializer.\n */\nexport const ConfigValidationSchema = z.object({\n status: z.string(),\n missing_in_serializer: z.array(z.string()),\n extra_in_serializer: z.array(z.string()),\n type_mismatches: z.array(z.record(z.string(), z.any())),\n total_config_fields: z.int(),\n total_serializer_fields: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConfigValidation = z.infer<typeof ConfigValidationSchema>","/**\n * Zod schema for DjangoConfig\n *\n * This schema provides runtime validation and type inference.\n * * Typed serializer for user's DjangoConfig settings.\n\nReflects the actual structure of DjangoConfig model.\nAll passwords and sensitive data are sanitized before reaching this serializer.\n * */\nimport { z } from 'zod'\nimport { AxesConfigSchema } from './AxesConfig.schema'\nimport { CentrifugoConfigSchema } from './CentrifugoConfig.schema'\nimport { ConfigMetaSchema } from './ConfigMeta.schema'\nimport { ConstanceConfigSchema } from './ConstanceConfig.schema'\nimport { DRFConfigSchema } from './DRFConfig.schema'\nimport { DatabaseConfigSchema } from './DatabaseConfig.schema'\nimport { DjangoRQConfigSchema } from './DjangoRQConfig.schema'\nimport { EmailConfigSchema } from './EmailConfig.schema'\nimport { GRPCConfigDashboardSchema } from './GRPCConfigDashboard.schema'\nimport { GitHubOAuthConfigSchema } from './GitHubOAuthConfig.schema'\nimport { JWTConfigSchema } from './JWTConfig.schema'\nimport { NextJSAdminConfigSchema } from './NextJSAdminConfig.schema'\nimport { NgrokConfigSchema } from './NgrokConfig.schema'\nimport { OpenAPIClientConfigSchema } from './OpenAPIClientConfig.schema'\nimport { PaymentsConfigSchema } from './PaymentsConfig.schema'\nimport { SpectacularConfigSchema } from './SpectacularConfig.schema'\nimport { TelegramConfigSchema } from './TelegramConfig.schema'\n\n/**\n * Typed serializer for user's DjangoConfig settings.\n\nReflects the actual structure of DjangoConfig model.\nAll passwords and sensitive data are sanitized before reaching this serializer.\n */\nexport const DjangoConfigSchema = z.object({\n env_mode: z.string().nullable().optional(),\n project_name: z.string().nullable().optional(),\n project_logo: z.string().nullable().optional(),\n project_version: z.string().nullable().optional(),\n project_description: z.string().nullable().optional(),\n startup_info_mode: z.string().nullable().optional(),\n enable_support: z.boolean().nullable().optional(),\n enable_frontend: z.boolean().nullable().optional(),\n enable_drf_tailwind: z.boolean().nullable().optional(),\n enable_pool_cleanup: z.boolean().nullable().optional(),\n site_url: z.string().nullable().optional(),\n api_url: z.string().nullable().optional(),\n media_url: z.string().nullable().optional(),\n debug: z.boolean().nullable().optional(),\n debug_warnings: z.boolean().nullable().optional(),\n root_urlconf: z.string().nullable().optional(),\n wsgi_application: z.string().nullable().optional(),\n auth_user_model: z.string().nullable().optional(),\n project_apps: z.array(z.string()).nullable().optional(),\n databases: z.record(z.string(), DatabaseConfigSchema).nullable().optional(),\n redis_url: z.string().nullable().optional(),\n cache_default: z.record(z.string(), z.any()).nullable().optional(),\n cache_sessions: z.record(z.string(), z.any()).nullable().optional(),\n security_domains: z.array(z.string()).nullable().optional(),\n ssl_redirect: z.boolean().nullable().optional(),\n cors_allow_headers: z.array(z.string()).nullable().optional(),\n email: EmailConfigSchema.nullable().optional(),\n payments: PaymentsConfigSchema.nullable().optional(),\n grpc: GRPCConfigDashboardSchema.nullable().optional(),\n centrifugo: CentrifugoConfigSchema.nullable().optional(),\n django_rq: DjangoRQConfigSchema.nullable().optional(),\n drf: DRFConfigSchema.nullable().optional(),\n spectacular: SpectacularConfigSchema.nullable().optional(),\n jwt: JWTConfigSchema.nullable().optional(),\n telegram: TelegramConfigSchema.nullable().optional(),\n ngrok: NgrokConfigSchema.nullable().optional(),\n axes: AxesConfigSchema.nullable().optional(),\n github_oauth: GitHubOAuthConfigSchema.nullable().optional(),\n crypto_fields: z.record(z.string(), z.any()).nullable().optional(),\n unfold: z.record(z.string(), z.any()).nullable().optional(),\n admin_timezone: z.string().nullable().optional(),\n tailwind_app_name: z.string().nullable().optional(),\n tailwind_version: z.int().nullable().optional(),\n limits: z.record(z.string(), z.any()).nullable().optional(),\n api_keys: z.record(z.string(), z.any()).nullable().optional(),\n custom_middleware: z.array(z.string()).nullable().optional(),\n nextjs_admin: NextJSAdminConfigSchema.nullable().optional(),\n admin_emails: z.array(z.string()).nullable().optional(),\n constance: ConstanceConfigSchema.nullable().optional(),\n openapi_client: OpenAPIClientConfigSchema.nullable().optional(),\n show_ai_hints: z.boolean().nullable().optional(),\n _meta: ConfigMetaSchema.nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DjangoConfig = z.infer<typeof DjangoConfigSchema>","/**\n * Zod schema for ConfigMeta\n *\n * This schema provides runtime validation and type inference.\n * * Config metadata.\n * */\nimport { z } from 'zod'\n\n/**\n * Config metadata.\n */\nexport const ConfigMetaSchema = z.object({\n config_class: z.string(),\n secret_key_configured: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConfigMeta = z.infer<typeof ConfigMetaSchema>","/**\n * Zod schema for ConstanceConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django-Constance dynamic settings configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Django-Constance dynamic settings configuration.\n */\nexport const ConstanceConfigSchema = z.object({\n config: z.record(z.string(), z.any()).nullable().optional(),\n config_fieldsets: z.record(z.string(), z.any()).nullable().optional(),\n backend: z.string().nullable().optional(),\n database_prefix: z.string().nullable().optional(),\n database_cache_backend: z.string().nullable().optional(),\n additional_config: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConstanceConfig = z.infer<typeof ConstanceConfigSchema>","/**\n * Zod schema for DRFConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django REST Framework configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Django REST Framework configuration.\n */\nexport const DRFConfigSchema = z.object({\n default_pagination_class: z.string().nullable().optional(),\n page_size: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DRFConfig = z.infer<typeof DRFConfigSchema>","/**\n * Zod schema for DatabaseConfig\n *\n * This schema provides runtime validation and type inference.\n * * Database configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Database configuration.\n */\nexport const DatabaseConfigSchema = z.object({\n engine: z.string(),\n name: z.string(),\n user: z.string().nullable().optional(),\n password: z.string().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n connect_timeout: z.int().nullable().optional(),\n sslmode: z.string().nullable().optional(),\n options: z.record(z.string(), z.any()).nullable().optional(),\n apps: z.array(z.string()).nullable().optional(),\n operations: z.array(z.string()).nullable().optional(),\n migrate_to: z.string().nullable().optional(),\n routing_description: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DatabaseConfig = z.infer<typeof DatabaseConfigSchema>","/**\n * Zod schema for DjangoRQConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django-RQ configuration.\n * */\nimport { z } from 'zod'\nimport { RQScheduleSchema } from './RQSchedule.schema'\nimport { RedisQueueConfigSchema } from './RedisQueueConfig.schema'\n\n/**\n * Django-RQ configuration.\n */\nexport const DjangoRQConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n queues: z.array(RedisQueueConfigSchema).nullable().optional(),\n show_admin_link: z.boolean().nullable().optional(),\n exception_handlers: z.array(z.string()).nullable().optional(),\n api_token: z.string().nullable().optional(),\n prometheus_enabled: z.boolean().nullable().optional(),\n schedules: z.array(RQScheduleSchema).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DjangoRQConfig = z.infer<typeof DjangoRQConfigSchema>","/**\n * Zod schema for RQSchedule\n *\n * This schema provides runtime validation and type inference.\n * * Redis Queue schedule configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Redis Queue schedule configuration.\n */\nexport const RQScheduleSchema = z.object({\n func: z.string().nullable().optional(),\n cron_string: z.string().nullable().optional(),\n queue: z.string().nullable().optional(),\n kwargs: z.record(z.string(), z.any()).nullable().optional(),\n args: z.array(z.record(z.string(), z.any())).nullable().optional(),\n meta: z.record(z.string(), z.any()).nullable().optional(),\n repeat: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RQSchedule = z.infer<typeof RQScheduleSchema>","/**\n * Zod schema for RedisQueueConfig\n *\n * This schema provides runtime validation and type inference.\n * * Redis Queue configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Redis Queue configuration.\n */\nexport const RedisQueueConfigSchema = z.object({\n url: z.string().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n db: z.int().nullable().optional(),\n username: z.string().nullable().optional(),\n password: z.string().nullable().optional(),\n default_timeout: z.int().nullable().optional(),\n default_result_ttl: z.int().nullable().optional(),\n sentinels: z.record(z.string(), z.any()).nullable().optional(),\n master_name: z.string().nullable().optional(),\n socket_timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RedisQueueConfig = z.infer<typeof RedisQueueConfigSchema>","/**\n * Zod schema for EmailConfig\n *\n * This schema provides runtime validation and type inference.\n * * Email configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Email configuration.\n */\nexport const EmailConfigSchema = z.object({\n backend: z.string().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n username: z.string().nullable().optional(),\n password: z.string().nullable().optional(),\n use_tls: z.boolean().nullable().optional(),\n use_ssl: z.boolean().nullable().optional(),\n ssl_verify: z.boolean().nullable().optional(),\n timeout: z.int().nullable().optional(),\n default_from: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type EmailConfig = z.infer<typeof EmailConfigSchema>","/**\n * Zod schema for GRPCConfigDashboard\n *\n * This schema provides runtime validation and type inference.\n * * gRPC configuration for dashboard.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC configuration for dashboard.\n */\nexport const GRPCConfigDashboardSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n public_url: z.string().nullable().optional(),\n enable_reflection: z.boolean().nullable().optional(),\n package_prefix: z.string().nullable().optional(),\n output_dir: z.string().nullable().optional(),\n handlers_hook: z.string().nullable().optional(),\n auto_register_apps: z.boolean().nullable().optional(),\n enabled_apps: z.array(z.string()).nullable().optional(),\n custom_services: z.record(z.string(), z.record(z.string(), z.any())).nullable().optional(),\n server: z.record(z.string(), z.any()).nullable().optional(),\n auth: z.record(z.string(), z.any()).nullable().optional(),\n proto: z.record(z.string(), z.any()).nullable().optional(),\n observability: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCConfigDashboard = z.infer<typeof GRPCConfigDashboardSchema>","/**\n * Zod schema for GitHubOAuthConfig\n *\n * This schema provides runtime validation and type inference.\n * * GitHub OAuth configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * GitHub OAuth configuration.\n */\nexport const GitHubOAuthConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n client_id: z.string().nullable().optional(),\n client_secret: z.string().nullable().optional(),\n scope: z.array(z.string()).nullable().optional(),\n authorize_url: z.string().nullable().optional(),\n token_url: z.string().nullable().optional(),\n user_api_url: z.string().nullable().optional(),\n emails_api_url: z.string().nullable().optional(),\n callback_path: z.string().nullable().optional(),\n state_timeout_seconds: z.int().nullable().optional(),\n allow_account_linking: z.boolean().nullable().optional(),\n auto_create_user: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GitHubOAuthConfig = z.infer<typeof GitHubOAuthConfigSchema>","/**\n * Zod schema for JWTConfig\n *\n * This schema provides runtime validation and type inference.\n * * JWT configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * JWT configuration.\n */\nexport const JWTConfigSchema = z.object({\n access_token_lifetime: z.int().nullable().optional(),\n refresh_token_lifetime: z.int().nullable().optional(),\n algorithm: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JWTConfig = z.infer<typeof JWTConfigSchema>","/**\n * Zod schema for NextJSAdminConfig\n *\n * This schema provides runtime validation and type inference.\n * * Next.js Admin application configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Next.js Admin application configuration.\n */\nexport const NextJSAdminConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n url: z.string().nullable().optional(),\n api_base_url: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type NextJSAdminConfig = z.infer<typeof NextJSAdminConfigSchema>","/**\n * Zod schema for NgrokConfig\n *\n * This schema provides runtime validation and type inference.\n * * Ngrok tunneling configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Ngrok tunneling configuration.\n */\nexport const NgrokConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n authtoken: z.string().nullable().optional(),\n basic_auth: z.array(z.string()).nullable().optional(),\n compression: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type NgrokConfig = z.infer<typeof NgrokConfigSchema>","/**\n * Zod schema for OpenAPIClientConfig\n *\n * This schema provides runtime validation and type inference.\n * * OpenAPI Client generation configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * OpenAPI Client generation configuration.\n */\nexport const OpenAPIClientConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n output_dir: z.string().nullable().optional(),\n client_name: z.string().nullable().optional(),\n schema_url: z.string().nullable().optional(),\n generator: z.string().nullable().optional(),\n additional_properties: z.record(z.string(), z.any()).nullable().optional(),\n templates: z.array(z.string()).nullable().optional(),\n global_properties: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OpenAPIClientConfig = z.infer<typeof OpenAPIClientConfigSchema>","/**\n * Zod schema for PaymentsConfig\n *\n * This schema provides runtime validation and type inference.\n * * Payments configuration.\n * */\nimport { z } from 'zod'\nimport { PaymentsNowPaymentsSchema } from './PaymentsNowPayments.schema'\n\n/**\n * Payments configuration.\n */\nexport const PaymentsConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n nowpayments: PaymentsNowPaymentsSchema.nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaymentsConfig = z.infer<typeof PaymentsConfigSchema>","/**\n * Zod schema for PaymentsNowPayments\n *\n * This schema provides runtime validation and type inference.\n * * NowPayments configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * NowPayments configuration.\n */\nexport const PaymentsNowPaymentsSchema = z.object({\n api_key: z.string().nullable().optional(),\n ipn_secret: z.string().nullable().optional(),\n sandbox: z.boolean().nullable().optional(),\n enabled: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaymentsNowPayments = z.infer<typeof PaymentsNowPaymentsSchema>","/**\n * Zod schema for SpectacularConfig\n *\n * This schema provides runtime validation and type inference.\n * * DRF Spectacular configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * DRF Spectacular configuration.\n */\nexport const SpectacularConfigSchema = z.object({\n title: z.string().nullable().optional(),\n description: z.string().nullable().optional(),\n version: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SpectacularConfig = z.infer<typeof SpectacularConfigSchema>","/**\n * Zod schema for TelegramConfig\n *\n * This schema provides runtime validation and type inference.\n * * Telegram service configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Telegram service configuration.\n */\nexport const TelegramConfigSchema = z.object({\n bot_token: z.string().nullable().optional(),\n chat_id: z.int().nullable().optional(),\n parse_mode: z.string().nullable().optional(),\n disable_notification: z.boolean().nullable().optional(),\n disable_web_page_preview: z.boolean().nullable().optional(),\n timeout: z.int().nullable().optional(),\n webhook_url: z.string().nullable().optional(),\n webhook_secret: z.string().nullable().optional(),\n max_retries: z.int().nullable().optional(),\n retry_delay: z.number().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TelegramConfig = z.infer<typeof TelegramConfigSchema>","/**\n * Zod schema for ConnectionTokenResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response model for Centrifugo connection token.\n * */\nimport { z } from 'zod'\n\n/**\n * Response model for Centrifugo connection token.\n */\nexport const ConnectionTokenResponseSchema = z.object({\n token: z.string(),\n centrifugo_url: z.string(),\n expires_at: z.string(),\n channels: z.array(z.string()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConnectionTokenResponse = z.infer<typeof ConnectionTokenResponseSchema>","/**\n * Zod schema for DRFHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for health check response.\n */\nexport const DRFHealthCheckSchema = z.object({\n status: z.string(),\n timestamp: z.iso.datetime(),\n service: z.string(),\n version: z.string(),\n checks: z.record(z.string(), z.record(z.string(), z.any())),\n environment: z.record(z.string(), z.record(z.string(), z.any())),\n links: z.record(z.string(), z.record(z.string(), z.any())).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DRFHealthCheck = z.infer<typeof DRFHealthCheckSchema>","/**\n * Zod schema for DashboardOverview\n *\n * This schema provides runtime validation and type inference.\n * * Main serializer for dashboard overview endpoint.\nUses typed serializers for proper OpenAPI schema generation.\n * */\nimport { z } from 'zod'\nimport { ActivityEntrySchema } from './ActivityEntry.schema'\nimport { AppStatisticsSchema } from './AppStatistics.schema'\nimport { QuickActionSchema } from './QuickAction.schema'\nimport { StatCardSchema } from './StatCard.schema'\nimport { SystemHealthSchema } from './SystemHealth.schema'\nimport { SystemMetricsSchema } from './SystemMetrics.schema'\nimport { UserStatisticsSchema } from './UserStatistics.schema'\n\n/**\n * Main serializer for dashboard overview endpoint.\nUses typed serializers for proper OpenAPI schema generation.\n */\nexport const DashboardOverviewSchema = z.object({\n stat_cards: z.array(StatCardSchema),\n system_health: SystemHealthSchema,\n quick_actions: z.array(QuickActionSchema),\n recent_activity: z.array(ActivityEntrySchema),\n system_metrics: SystemMetricsSchema,\n user_statistics: UserStatisticsSchema,\n app_statistics: z.array(AppStatisticsSchema).optional(),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DashboardOverview = z.infer<typeof DashboardOverviewSchema>","/**\n * Zod schema for QuickAction\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for quick action buttons.\n\nMaps to QuickAction Pydantic model.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for quick action buttons.\n\nMaps to QuickAction Pydantic model.\n */\nexport const QuickActionSchema = z.object({\n title: z.string(),\n description: z.string(),\n icon: z.string(),\n link: z.string(),\n color: z.nativeEnum(Enums.QuickActionColor).optional(),\n category: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QuickAction = z.infer<typeof QuickActionSchema>","/**\n * Zod schema for StatCard\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for dashboard statistics cards.\n\nMaps to StatCard Pydantic model.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for dashboard statistics cards.\n\nMaps to StatCard Pydantic model.\n */\nexport const StatCardSchema = z.object({\n title: z.string(),\n value: z.string(),\n icon: z.string(),\n change: z.string().nullable().optional(),\n change_type: z.nativeEnum(Enums.StatCardChangeType).optional(),\n description: z.string().nullable().optional(),\n color: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type StatCard = z.infer<typeof StatCardSchema>","/**\n * Zod schema for SystemHealth\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for overall system health status.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\nimport { SystemHealthItemSchema } from './SystemHealthItem.schema'\n\n/**\n * Serializer for overall system health status.\n */\nexport const SystemHealthSchema = z.object({\n overall_status: z.nativeEnum(Enums.SystemHealthOverallStatus),\n overall_health_percentage: z.int().min(0.0).max(100.0),\n components: z.array(SystemHealthItemSchema),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SystemHealth = z.infer<typeof SystemHealthSchema>","/**\n * Zod schema for SystemHealthItem\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for system health status items.\n\nMaps to SystemHealthItem Pydantic model.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for system health status items.\n\nMaps to SystemHealthItem Pydantic model.\n */\nexport const SystemHealthItemSchema = z.object({\n component: z.string(),\n status: z.nativeEnum(Enums.SystemHealthItemStatus),\n description: z.string(),\n last_check: z.string(),\n health_percentage: z.int().min(0.0).max(100.0).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SystemHealthItem = z.infer<typeof SystemHealthItemSchema>","/**\n * Zod schema for SystemMetrics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for system performance metrics.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for system performance metrics.\n */\nexport const SystemMetricsSchema = z.object({\n cpu_usage: z.number(),\n memory_usage: z.number(),\n disk_usage: z.number(),\n network_in: z.string(),\n network_out: z.string(),\n response_time: z.string(),\n uptime: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SystemMetrics = z.infer<typeof SystemMetricsSchema>","/**\n * Zod schema for UserStatistics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for user statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for user statistics.\n */\nexport const UserStatisticsSchema = z.object({\n total_users: z.int(),\n active_users: z.int(),\n new_users: z.int(),\n superusers: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type UserStatistics = z.infer<typeof UserStatisticsSchema>","/**\n * Zod schema for Endpoint\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for single endpoint status.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for single endpoint status.\n */\nexport const EndpointSchema = z.object({\n url: z.string(),\n url_pattern: z.string().nullable().optional(),\n url_name: z.string().nullable().optional(),\n namespace: z.string().optional(),\n group: z.string(),\n view: z.string().optional(),\n status: z.string(),\n status_code: z.int().nullable().optional(),\n response_time_ms: z.number().nullable().optional(),\n is_healthy: z.boolean().nullable().optional(),\n error: z.string().optional(),\n error_type: z.string().optional(),\n reason: z.string().optional(),\n last_checked: z.iso.datetime().nullable().optional(),\n has_parameters: z.boolean().optional(),\n required_auth: z.boolean().optional(),\n rate_limited: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Endpoint = z.infer<typeof EndpointSchema>","/**\n * Zod schema for EndpointsStatus\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for overall endpoints status response.\n * */\nimport { z } from 'zod'\nimport { EndpointSchema } from './Endpoint.schema'\n\n/**\n * Serializer for overall endpoints status response.\n */\nexport const EndpointsStatusSchema = z.object({\n status: z.string(),\n timestamp: z.iso.datetime(),\n total_endpoints: z.int(),\n healthy: z.int(),\n unhealthy: z.int(),\n warnings: z.int(),\n errors: z.int(),\n skipped: z.int(),\n endpoints: z.array(EndpointSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type EndpointsStatus = z.infer<typeof EndpointsStatusSchema>","/**\n * Zod schema for GRPCConfig\n *\n * This schema provides runtime validation and type inference.\n * * Complete gRPC configuration response.\n * */\nimport { z } from 'zod'\nimport { GRPCFeaturesSchema } from './GRPCFeatures.schema'\nimport { GRPCFrameworkConfigSchema } from './GRPCFrameworkConfig.schema'\nimport { GRPCServerConfigSchema } from './GRPCServerConfig.schema'\n\n/**\n * Complete gRPC configuration response.\n */\nexport const GRPCConfigSchema = z.object({\n server: GRPCServerConfigSchema,\n framework: GRPCFrameworkConfigSchema,\n features: GRPCFeaturesSchema,\n registered_services: z.int(),\n total_methods: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCConfig = z.infer<typeof GRPCConfigSchema>","/**\n * Zod schema for GRPCFeatures\n *\n * This schema provides runtime validation and type inference.\n * * gRPC features configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC features configuration.\n */\nexport const GRPCFeaturesSchema = z.object({\n api_key_auth: z.boolean(),\n request_logging: z.boolean(),\n metrics: z.boolean(),\n reflection: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCFeatures = z.infer<typeof GRPCFeaturesSchema>","/**\n * Zod schema for GRPCFrameworkConfig\n *\n * This schema provides runtime validation and type inference.\n * * gRPC framework configuration details.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC framework configuration details.\n */\nexport const GRPCFrameworkConfigSchema = z.object({\n enabled: z.boolean(),\n auto_discover: z.boolean(),\n services_path: z.string(),\n interceptors: z.array(z.string()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCFrameworkConfig = z.infer<typeof GRPCFrameworkConfigSchema>","/**\n * Zod schema for GRPCServerConfig\n *\n * This schema provides runtime validation and type inference.\n * * gRPC server configuration details.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC server configuration details.\n */\nexport const GRPCServerConfigSchema = z.object({\n host: z.string(),\n port: z.int(),\n enabled: z.boolean(),\n max_concurrent_streams: z.int().nullable().optional(),\n max_concurrent_rpcs: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServerConfig = z.infer<typeof GRPCServerConfigSchema>","/**\n * Zod schema for GRPCHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * gRPC health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC health check response.\n */\nexport const GRPCHealthCheckSchema = z.object({\n status: z.string(),\n server_host: z.string(),\n server_port: z.int(),\n enabled: z.boolean(),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCHealthCheck = z.infer<typeof GRPCHealthCheckSchema>","/**\n * Zod schema for GRPCInterceptorInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about an interceptor.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about an interceptor.\n */\nexport const GRPCInterceptorInfoSchema = z.object({\n name: z.string(),\n enabled: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCInterceptorInfo = z.infer<typeof GRPCInterceptorInfoSchema>","/**\n * Zod schema for GRPCOverviewStats\n *\n * This schema provides runtime validation and type inference.\n * * Overview statistics for gRPC requests.\n * */\nimport { z } from 'zod'\nimport { GRPCServerStatusSchema } from './GRPCServerStatus.schema'\n\n/**\n * Overview statistics for gRPC requests.\n */\nexport const GRPCOverviewStatsSchema = z.object({\n total: z.int(),\n successful: z.int(),\n errors: z.int(),\n cancelled: z.int(),\n timeout: z.int(),\n success_rate: z.number(),\n avg_duration_ms: z.number(),\n p95_duration_ms: z.number().nullable(),\n period_hours: z.int(),\n server: GRPCServerStatusSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCOverviewStats = z.infer<typeof GRPCOverviewStatsSchema>","/**\n * Zod schema for GRPCServerStatus\n *\n * This schema provides runtime validation and type inference.\n * * gRPC server status and information for overview stats.\n * */\nimport { z } from 'zod'\nimport { GRPCRegisteredServiceSchema } from './GRPCRegisteredService.schema'\n\n/**\n * gRPC server status and information for overview stats.\n */\nexport const GRPCServerStatusSchema = z.object({\n status: z.string(),\n is_running: z.boolean(),\n host: z.string(),\n port: z.int(),\n address: z.string(),\n pid: z.int().nullable(),\n hostname: z.string(),\n started_at: z.iso.datetime().nullable(),\n uptime_seconds: z.int(),\n last_heartbeat: z.iso.datetime().nullable(),\n services: z.array(GRPCRegisteredServiceSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServerStatus = z.infer<typeof GRPCServerStatusSchema>","/**\n * Zod schema for GRPCRegisteredService\n *\n * This schema provides runtime validation and type inference.\n * * Information about a registered gRPC service.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a registered gRPC service.\n */\nexport const GRPCRegisteredServiceSchema = z.object({\n name: z.string(),\n full_name: z.string(),\n methods_count: z.int(),\n request_count: z.int(),\n error_count: z.int(),\n success_rate: z.number(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCRegisteredService = z.infer<typeof GRPCRegisteredServiceSchema>","/**\n * Zod schema for GRPCServerInfo\n *\n * This schema provides runtime validation and type inference.\n * * Complete gRPC server information response.\n * */\nimport { z } from 'zod'\nimport { GRPCInterceptorInfoSchema } from './GRPCInterceptorInfo.schema'\nimport { GRPCServiceInfoSchema } from './GRPCServiceInfo.schema'\nimport { GRPCStatsSchema } from './GRPCStats.schema'\n\n/**\n * Complete gRPC server information response.\n */\nexport const GRPCServerInfoSchema = z.object({\n server_status: z.string(),\n address: z.string(),\n started_at: z.string().nullable().optional(),\n uptime_seconds: z.int().nullable().optional(),\n services: z.array(GRPCServiceInfoSchema).optional(),\n interceptors: z.array(GRPCInterceptorInfoSchema).optional(),\n stats: GRPCStatsSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServerInfo = z.infer<typeof GRPCServerInfoSchema>","/**\n * Zod schema for GRPCServiceInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a single gRPC service.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a single gRPC service.\n */\nexport const GRPCServiceInfoSchema = z.object({\n name: z.string(),\n methods: z.array(z.string()).optional(),\n full_name: z.string(),\n description: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServiceInfo = z.infer<typeof GRPCServiceInfoSchema>","/**\n * Zod schema for GRPCStats\n *\n * This schema provides runtime validation and type inference.\n * * Runtime statistics summary.\n * */\nimport { z } from 'zod'\n\n/**\n * Runtime statistics summary.\n */\nexport const GRPCStatsSchema = z.object({\n total_requests: z.int(),\n success_rate: z.number(),\n avg_duration_ms: z.number(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCStats = z.infer<typeof GRPCStatsSchema>","/**\n * Zod schema for GRPCServiceRegistryMethodStats\n *\n * This schema provides runtime validation and type inference.\n * * Statistics for a single method.\n * */\nimport { z } from 'zod'\n\n/**\n * Statistics for a single method.\n */\nexport const GRPCServiceRegistryMethodStatsSchema = z.object({\n total_requests: z.int().optional(),\n successful: z.int().optional(),\n errors: z.int().optional(),\n success_rate: z.number().optional(),\n avg_duration_ms: z.number().optional(),\n p50_duration_ms: z.number().optional(),\n p95_duration_ms: z.number().optional(),\n p99_duration_ms: z.number().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServiceRegistryMethodStats = z.infer<typeof GRPCServiceRegistryMethodStatsSchema>","/**\n * Zod schema for JobActionResponse\n *\n * This schema provides runtime validation and type inference.\n * * Job action response serializer.\n\nUsed for job management actions (requeue, delete, etc.).\n * */\nimport { z } from 'zod'\n\n/**\n * Job action response serializer.\n\nUsed for job management actions (requeue, delete, etc.).\n */\nexport const JobActionResponseSchema = z.object({\n success: z.boolean(),\n message: z.string(),\n job_id: z.string(),\n action: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobActionResponse = z.infer<typeof JobActionResponseSchema>","/**\n * Zod schema for JobDetail\n *\n * This schema provides runtime validation and type inference.\n * * Detailed job information serializer.\n\nProvides comprehensive job details including result and metadata.\n * */\nimport { z } from 'zod'\n\n/**\n * Detailed job information serializer.\n\nProvides comprehensive job details including result and metadata.\n */\nexport const JobDetailSchema = z.object({\n id: z.string(),\n func_name: z.string(),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n created_at: z.iso.datetime(),\n enqueued_at: z.iso.datetime().nullable().optional(),\n started_at: z.iso.datetime().nullable().optional(),\n ended_at: z.iso.datetime().nullable().optional(),\n status: z.string(),\n queue: z.string(),\n worker_name: z.string().nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n failure_ttl: z.int().nullable().optional(),\n result: z.record(z.string(), z.any()).nullable().optional(),\n exc_info: z.string().nullable().optional(),\n meta: z.record(z.string(), z.any()).optional(),\n dependency_ids: z.array(z.string()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobDetail = z.infer<typeof JobDetailSchema>","/**\n * Zod schema for JobList\n *\n * This schema provides runtime validation and type inference.\n * * Job list item serializer.\n\nProvides basic job information for list views.\n * */\nimport { z } from 'zod'\n\n/**\n * Job list item serializer.\n\nProvides basic job information for list views.\n */\nexport const JobListSchema = z.object({\n id: z.string(),\n func_name: z.string(),\n created_at: z.iso.datetime(),\n status: z.string(),\n queue: z.string(),\n timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobList = z.infer<typeof JobListSchema>","/**\n * Zod schema for JobListRequest\n *\n * This schema provides runtime validation and type inference.\n * * Job list item serializer.\n\nProvides basic job information for list views.\n * */\nimport { z } from 'zod'\n\n/**\n * Job list item serializer.\n\nProvides basic job information for list views.\n */\nexport const JobListRequestSchema = z.object({\n id: z.string().min(1),\n func_name: z.string().min(1),\n created_at: z.iso.datetime(),\n status: z.string().min(1),\n queue: z.string().min(1),\n timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobListRequest = z.infer<typeof JobListRequestSchema>","/**\n * Zod schema for ManualAckRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request model for manual ACK sending.\n * */\nimport { z } from 'zod'\n\n/**\n * Request model for manual ACK sending.\n */\nexport const ManualAckRequestRequestSchema = z.object({\n message_id: z.string(),\n client_id: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ManualAckRequestRequest = z.infer<typeof ManualAckRequestRequestSchema>","/**\n * Zod schema for ManualAckResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response model for manual ACK.\n * */\nimport { z } from 'zod'\n\n/**\n * Response model for manual ACK.\n */\nexport const ManualAckResponseSchema = z.object({\n success: z.boolean(),\n message_id: z.string(),\n error: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ManualAckResponse = z.infer<typeof ManualAckResponseSchema>","/**\n * Zod schema for MethodInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a service method.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a service method.\n */\nexport const MethodInfoSchema = z.object({\n name: z.string(),\n full_name: z.string(),\n request_type: z.string().optional(),\n response_type: z.string().optional(),\n streaming: z.boolean().optional(),\n auth_required: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type MethodInfo = z.infer<typeof MethodInfoSchema>","/**\n * Zod schema for MethodList\n *\n * This schema provides runtime validation and type inference.\n * * List of methods response (for monitoring endpoint).\n * */\nimport { z } from 'zod'\nimport { MethodSummarySchema } from './MethodSummary.schema'\n\n/**\n * List of methods response (for monitoring endpoint).\n */\nexport const MethodListSchema = z.object({\n methods: z.array(MethodSummarySchema).optional(),\n total_methods: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type MethodList = z.infer<typeof MethodListSchema>","/**\n * Zod schema for MethodSummary\n *\n * This schema provides runtime validation and type inference.\n * * Summary information for a method.\n * */\nimport { z } from 'zod'\nimport { GRPCServiceRegistryMethodStatsSchema } from './GRPCServiceRegistryMethodStats.schema'\n\n/**\n * Summary information for a method.\n */\nexport const MethodSummarySchema = z.object({\n name: z.string(),\n full_name: z.string(),\n service_name: z.string(),\n request_type: z.string().optional(),\n response_type: z.string().optional(),\n stats: GRPCServiceRegistryMethodStatsSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type MethodSummary = z.infer<typeof MethodSummarySchema>","/**\n * Zod schema for OAuthAuthorizeRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to start OAuth flow.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to start OAuth flow.\n */\nexport const OAuthAuthorizeRequestRequestSchema = z.object({\n redirect_uri: z.url().optional(),\n source_url: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthAuthorizeRequestRequest = z.infer<typeof OAuthAuthorizeRequestRequestSchema>","/**\n * Zod schema for OAuthAuthorizeResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response with OAuth authorization URL.\n * */\nimport { z } from 'zod'\n\n/**\n * Response with OAuth authorization URL.\n */\nexport const OAuthAuthorizeResponseSchema = z.object({\n authorization_url: z.url(),\n state: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthAuthorizeResponse = z.infer<typeof OAuthAuthorizeResponseSchema>","/**\n * Zod schema for OAuthCallbackRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to complete OAuth flow (callback handler).\n * */\nimport { z } from 'zod'\n\n/**\n * Request to complete OAuth flow (callback handler).\n */\nexport const OAuthCallbackRequestRequestSchema = z.object({\n code: z.string().min(10).max(500),\n state: z.string().min(20).max(100),\n redirect_uri: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthCallbackRequestRequest = z.infer<typeof OAuthCallbackRequestRequestSchema>","/**\n * Zod schema for OAuthConnection\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for OAuth connection info (user-facing).\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for OAuth connection info (user-facing).\n */\nexport const OAuthConnectionSchema = z.object({\n id: z.int(),\n provider: z.nativeEnum(Enums.OAuthConnectionProvider),\n provider_display: z.string(),\n provider_username: z.string(),\n provider_email: z.email(),\n provider_avatar_url: z.url(),\n connected_at: z.iso.datetime(),\n last_login_at: z.iso.datetime(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthConnection = z.infer<typeof OAuthConnectionSchema>","/**\n * Zod schema for OAuthDisconnectRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to disconnect OAuth provider.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Request to disconnect OAuth provider.\n */\nexport const OAuthDisconnectRequestRequestSchema = z.object({\n provider: z.nativeEnum(Enums.OAuthDisconnectRequestRequestProvider),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthDisconnectRequestRequest = z.infer<typeof OAuthDisconnectRequestRequestSchema>","/**\n * Zod schema for OAuthError\n *\n * This schema provides runtime validation and type inference.\n * * Error response for OAuth endpoints.\n * */\nimport { z } from 'zod'\n\n/**\n * Error response for OAuth endpoints.\n */\nexport const OAuthErrorSchema = z.object({\n error: z.string(),\n error_description: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthError = z.infer<typeof OAuthErrorSchema>","/**\n * Zod schema for OAuthProvidersResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response with available OAuth providers.\n * */\nimport { z } from 'zod'\n\n/**\n * Response with available OAuth providers.\n */\nexport const OAuthProvidersResponseSchema = z.object({\n providers: z.array(z.record(z.string(), z.record(z.string(), z.any()))),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthProvidersResponse = z.infer<typeof OAuthProvidersResponseSchema>","/**\n * Zod schema for OAuthTokenResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response with JWT tokens after OAuth authentication.\n * */\nimport { z } from 'zod'\n\n/**\n * Response with JWT tokens after OAuth authentication.\n */\nexport const OAuthTokenResponseSchema = z.object({\n access: z.string(),\n refresh: z.string(),\n user: z.record(z.string(), z.record(z.string(), z.any())),\n is_new_user: z.boolean(),\n is_new_connection: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthTokenResponse = z.infer<typeof OAuthTokenResponseSchema>","/**\n * Zod schema for OTPErrorResponse\n *\n * This schema provides runtime validation and type inference.\n * * Error response for OTP operations.\n * */\nimport { z } from 'zod'\n\n/**\n * Error response for OTP operations.\n */\nexport const OTPErrorResponseSchema = z.object({\n error: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPErrorResponse = z.infer<typeof OTPErrorResponseSchema>","/**\n * Zod schema for OTPRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for OTP request.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for OTP request.\n */\nexport const OTPRequestRequestSchema = z.object({\n identifier: z.string().min(1),\n channel: z.nativeEnum(Enums.OTPRequestRequestChannel).optional(),\n source_url: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPRequestRequest = z.infer<typeof OTPRequestRequestSchema>","/**\n * Zod schema for OTPRequestResponse\n *\n * This schema provides runtime validation and type inference.\n * * OTP request response.\n * */\nimport { z } from 'zod'\n\n/**\n * OTP request response.\n */\nexport const OTPRequestResponseSchema = z.object({\n message: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPRequestResponse = z.infer<typeof OTPRequestResponseSchema>","/**\n * Zod schema for OTPVerifyRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for OTP verification.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for OTP verification.\n */\nexport const OTPVerifyRequestSchema = z.object({\n identifier: z.string().min(1),\n otp: z.string().min(6).max(6),\n channel: z.nativeEnum(Enums.OTPVerifyRequestChannel).optional(),\n source_url: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPVerifyRequest = z.infer<typeof OTPVerifyRequestSchema>","/**\n * Zod schema for OTPVerifyResponse\n *\n * This schema provides runtime validation and type inference.\n * * OTP verification response.\n * */\nimport { z } from 'zod'\nimport { UserSchema } from './User.schema'\n\n/**\n * OTP verification response.\n */\nexport const OTPVerifyResponseSchema = z.object({\n refresh: z.string(),\n access: z.string(),\n user: UserSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPVerifyResponse = z.infer<typeof OTPVerifyResponseSchema>","/**\n * Zod schema for User\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for user details.\n * */\nimport { z } from 'zod'\nimport { CentrifugoTokenSchema } from './CentrifugoToken.schema'\n\n/**\n * Serializer for user details.\n */\nexport const UserSchema = z.object({\n id: z.int(),\n email: z.email(),\n first_name: z.string().max(50).optional(),\n last_name: z.string().max(50).optional(),\n full_name: z.string(),\n initials: z.string(),\n display_username: z.string(),\n company: z.string().max(100).optional(),\n phone: z.string().max(20).optional(),\n position: z.string().max(100).optional(),\n avatar: z.url().nullable(),\n is_staff: z.boolean(),\n is_superuser: z.boolean(),\n date_joined: z.iso.datetime(),\n last_login: z.iso.datetime().nullable(),\n unanswered_messages_count: z.int(),\n centrifugo: CentrifugoTokenSchema.nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type User = z.infer<typeof UserSchema>","/**\n * Zod schema for PaginatedApiKeyList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { ApiKeySchema } from './ApiKey.schema'\n\nexport const PaginatedApiKeyListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(ApiKeySchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedApiKeyList = z.infer<typeof PaginatedApiKeyListSchema>","/**\n * Zod schema for PaginatedJobListList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { JobListSchema } from './JobList.schema'\n\nexport const PaginatedJobListListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(JobListSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedJobListList = z.infer<typeof PaginatedJobListListSchema>","/**\n * Zod schema for PaginatedPublishList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { PublishSchema } from './Publish.schema'\n\nexport const PaginatedPublishListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(PublishSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedPublishList = z.infer<typeof PaginatedPublishListSchema>","/**\n * Zod schema for Publish\n *\n * This schema provides runtime validation and type inference.\n * * Single publish item for DRF pagination.\n * */\nimport { z } from 'zod'\n\n/**\n * Single publish item for DRF pagination.\n */\nexport const PublishSchema = z.object({\n message_id: z.string(),\n channel: z.string(),\n status: z.string(),\n wait_for_ack: z.boolean(),\n acks_received: z.int(),\n acks_expected: z.int().nullable(),\n duration_ms: z.number().nullable(),\n created_at: z.iso.datetime(),\n completed_at: z.iso.datetime().nullable(),\n error_code: z.string().nullable(),\n error_message: z.string().nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Publish = z.infer<typeof PublishSchema>","/**\n * Zod schema for PaginatedRecentRequestList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { RecentRequestSchema } from './RecentRequest.schema'\n\nexport const PaginatedRecentRequestListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(RecentRequestSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedRecentRequestList = z.infer<typeof PaginatedRecentRequestListSchema>","/**\n * Zod schema for RecentRequest\n *\n * This schema provides runtime validation and type inference.\n * * Recent request information.\n * */\nimport { z } from 'zod'\n\n/**\n * Recent request information.\n */\nexport const RecentRequestSchema = z.object({\n id: z.int(),\n request_id: z.string(),\n service_name: z.string(),\n method_name: z.string(),\n status: z.string(),\n duration_ms: z.int().optional(),\n grpc_status_code: z.string().optional(),\n error_message: z.string().optional(),\n created_at: z.string(),\n client_ip: z.string().optional(),\n user_id: z.int().nullable().optional(),\n username: z.string().nullable().optional(),\n is_authenticated: z.boolean().optional(),\n api_key_id: z.int().nullable().optional(),\n api_key_name: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RecentRequest = z.infer<typeof RecentRequestSchema>","/**\n * Zod schema for PaginatedScheduledJobList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { ScheduledJobSchema } from './ScheduledJob.schema'\n\nexport const PaginatedScheduledJobListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(ScheduledJobSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedScheduledJobList = z.infer<typeof PaginatedScheduledJobListSchema>","/**\n * Zod schema for ScheduledJob\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for scheduled job information.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for scheduled job information.\n */\nexport const ScheduledJobSchema = z.object({\n id: z.string(),\n func: z.string(),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n queue_name: z.string(),\n scheduled_time: z.iso.datetime().nullable().optional(),\n interval: z.int().nullable().optional(),\n cron: z.string().nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n repeat: z.int().nullable().optional(),\n description: z.string().nullable().optional(),\n created_at: z.iso.datetime().nullable().optional(),\n meta: z.record(z.string(), z.any()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduledJob = z.infer<typeof ScheduledJobSchema>","/**\n * Zod schema for PaginatedServiceSummaryList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { ServiceSummarySchema } from './ServiceSummary.schema'\n\nexport const PaginatedServiceSummaryListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(ServiceSummarySchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedServiceSummaryList = z.infer<typeof PaginatedServiceSummaryListSchema>","/**\n * Zod schema for ServiceSummary\n *\n * This schema provides runtime validation and type inference.\n * * Summary information for a single service.\n * */\nimport { z } from 'zod'\n\n/**\n * Summary information for a single service.\n */\nexport const ServiceSummarySchema = z.object({\n name: z.string(),\n full_name: z.string(),\n package: z.string(),\n methods_count: z.int(),\n total_requests: z.int().optional(),\n success_rate: z.number().optional(),\n avg_duration_ms: z.number().optional(),\n last_activity_at: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceSummary = z.infer<typeof ServiceSummarySchema>","/**\n * Zod schema for PatchedUserProfileUpdateRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for updating user profile.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for updating user profile.\n */\nexport const PatchedUserProfileUpdateRequestSchema = z.object({\n first_name: z.string().max(50).optional(),\n last_name: z.string().max(50).optional(),\n company: z.string().max(100).optional(),\n phone: z.string().max(20).optional(),\n position: z.string().max(100).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PatchedUserProfileUpdateRequest = z.infer<typeof PatchedUserProfileUpdateRequestSchema>","/**\n * Zod schema for PublishTestRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request model for test message publishing.\n * */\nimport { z } from 'zod'\n\n/**\n * Request model for test message publishing.\n */\nexport const PublishTestRequestRequestSchema = z.object({\n channel: z.string(),\n data: z.record(z.string(), z.any()),\n wait_for_ack: z.boolean().optional(),\n ack_timeout: z.int().min(1.0).max(60.0).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PublishTestRequestRequest = z.infer<typeof PublishTestRequestRequestSchema>","/**\n * Zod schema for PublishTestResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response model for test message publishing.\n * */\nimport { z } from 'zod'\n\n/**\n * Response model for test message publishing.\n */\nexport const PublishTestResponseSchema = z.object({\n success: z.boolean(),\n message_id: z.string(),\n channel: z.string(),\n acks_received: z.int().optional(),\n delivered: z.boolean().optional(),\n error: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PublishTestResponse = z.infer<typeof PublishTestResponseSchema>","/**\n * Zod schema for QueueDetail\n *\n * This schema provides runtime validation and type inference.\n * * Detailed queue information serializer.\n\nProvides comprehensive queue statistics and metadata.\n * */\nimport { z } from 'zod'\n\n/**\n * Detailed queue information serializer.\n\nProvides comprehensive queue statistics and metadata.\n */\nexport const QueueDetailSchema = z.object({\n name: z.string(),\n count: z.int(),\n queued_jobs: z.int().optional(),\n started_jobs: z.int().optional(),\n finished_jobs: z.int().optional(),\n failed_jobs: z.int().optional(),\n deferred_jobs: z.int().optional(),\n scheduled_jobs: z.int().optional(),\n workers: z.int().optional(),\n oldest_job_timestamp: z.iso.datetime().nullable().optional(),\n connection_kwargs: z.record(z.string(), z.any()).optional(),\n is_async: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QueueDetail = z.infer<typeof QueueDetailSchema>","/**\n * Zod schema for QueueStats\n *\n * This schema provides runtime validation and type inference.\n * * Queue statistics serializer.\n\nProvides basic queue statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Queue statistics serializer.\n\nProvides basic queue statistics.\n */\nexport const QueueStatsSchema = z.object({\n name: z.string(),\n count: z.int(),\n queued_jobs: z.int().optional(),\n started_jobs: z.int().optional(),\n finished_jobs: z.int().optional(),\n failed_jobs: z.int().optional(),\n deferred_jobs: z.int().optional(),\n scheduled_jobs: z.int().optional(),\n workers: z.int().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QueueStats = z.infer<typeof QueueStatsSchema>","/**\n * Zod schema for QuickHealth\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for quick health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for quick health check response.\n */\nexport const QuickHealthSchema = z.object({\n status: z.string(),\n timestamp: z.iso.datetime(),\n error: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QuickHealth = z.infer<typeof QuickHealthSchema>","/**\n * Zod schema for RQConfig\n *\n * This schema provides runtime validation and type inference.\n * * RQ configuration serializer.\n\nReturns current RQ configuration from django-cfg.\n * */\nimport { z } from 'zod'\nimport { ScheduleInfoSchema } from './ScheduleInfo.schema'\n\n/**\n * RQ configuration serializer.\n\nReturns current RQ configuration from django-cfg.\n */\nexport const RQConfigSchema = z.object({\n enabled: z.boolean(),\n queues: z.record(z.string(), z.any()),\n async_mode: z.boolean().optional(),\n show_admin_link: z.boolean().optional(),\n prometheus_enabled: z.boolean().optional(),\n api_token_configured: z.boolean().optional(),\n schedules: z.array(ScheduleInfoSchema).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RQConfig = z.infer<typeof RQConfigSchema>","/**\n * Zod schema for ScheduleInfo\n *\n * This schema provides runtime validation and type inference.\n * * Schedule information in config response.\n * */\nimport { z } from 'zod'\n\n/**\n * Schedule information in config response.\n */\nexport const ScheduleInfoSchema = z.object({\n func: z.string(),\n queue: z.string(),\n cron: z.string().nullable().optional(),\n interval: z.int().nullable().optional(),\n scheduled_time: z.iso.datetime().nullable().optional(),\n description: z.string().nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n repeat: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduleInfo = z.infer<typeof ScheduleInfoSchema>","/**\n * Zod schema for RQHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * Health check response serializer.\n\nProvides overall RQ cluster health status.\n * */\nimport { z } from 'zod'\n\n/**\n * Health check response serializer.\n\nProvides overall RQ cluster health status.\n */\nexport const RQHealthCheckSchema = z.object({\n status: z.string(),\n worker_count: z.int(),\n queue_count: z.int(),\n total_jobs: z.int(),\n timestamp: z.iso.datetime(),\n enabled: z.boolean(),\n redis_connected: z.boolean(),\n wrapper_url: z.string().optional(),\n has_api_key: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RQHealthCheck = z.infer<typeof RQHealthCheckSchema>","/**\n * Zod schema for RecentError\n *\n * This schema provides runtime validation and type inference.\n * * Recent error information.\n * */\nimport { z } from 'zod'\n\n/**\n * Recent error information.\n */\nexport const RecentErrorSchema = z.object({\n method: z.string(),\n error_message: z.string(),\n grpc_status_code: z.string(),\n occurred_at: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RecentError = z.infer<typeof RecentErrorSchema>","/**\n * Zod schema for RecentUser\n *\n * This schema provides runtime validation and type inference.\n * * Recent user serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Recent user serializer.\n */\nexport const RecentUserSchema = z.object({\n id: z.int(),\n username: z.string(),\n email: z.email(),\n date_joined: z.string(),\n is_active: z.boolean(),\n is_staff: z.boolean(),\n is_superuser: z.boolean(),\n last_login: z.string().nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RecentUser = z.infer<typeof RecentUserSchema>","/**\n * Zod schema for RunDemoRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for running demo tasks.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for running demo tasks.\n */\nexport const RunDemoRequestRequestSchema = z.object({\n scenario: z.nativeEnum(Enums.RunDemoRequestRequestScenario),\n queue: z.string().min(1).optional(),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RunDemoRequestRequest = z.infer<typeof RunDemoRequestRequestSchema>","/**\n * Zod schema for ScheduleActionResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response serializer for schedule actions (create/delete).\n * */\nimport { z } from 'zod'\n\n/**\n * Response serializer for schedule actions (create/delete).\n */\nexport const ScheduleActionResponseSchema = z.object({\n success: z.boolean(),\n message: z.string(),\n job_id: z.string().nullable().optional(),\n action: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduleActionResponse = z.infer<typeof ScheduleActionResponseSchema>","/**\n * Zod schema for ScheduleCreateRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for creating a scheduled job.\n\nSupports three scheduling methods:\n1. scheduled_time: Schedule job at specific time\n2. interval: Schedule job to repeat at intervals\n3. cron: Schedule job with cron expression\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for creating a scheduled job.\n\nSupports three scheduling methods:\n1. scheduled_time: Schedule job at specific time\n2. interval: Schedule job to repeat at intervals\n3. cron: Schedule job with cron expression\n */\nexport const ScheduleCreateRequestSchema = z.object({\n func: z.string().min(1),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n queue_name: z.string().min(1).optional(),\n scheduled_time: z.iso.datetime().nullable().optional(),\n interval: z.int().min(1.0).nullable().optional(),\n cron: z.string().min(1).nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n repeat: z.int().nullable().optional(),\n description: z.string().min(1).max(255).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduleCreateRequest = z.infer<typeof ScheduleCreateRequestSchema>","/**\n * Zod schema for ServiceDetail\n *\n * This schema provides runtime validation and type inference.\n * * Detailed information about a service.\n * */\nimport { z } from 'zod'\nimport { MethodInfoSchema } from './MethodInfo.schema'\nimport { RecentErrorSchema } from './RecentError.schema'\nimport { ServiceStatsSchema } from './ServiceStats.schema'\n\n/**\n * Detailed information about a service.\n */\nexport const ServiceDetailSchema = z.object({\n name: z.string(),\n full_name: z.string(),\n package: z.string(),\n description: z.string().optional(),\n file_path: z.string().optional(),\n class_name: z.string(),\n base_class: z.string().optional(),\n methods: z.array(MethodInfoSchema).optional(),\n stats: ServiceStatsSchema,\n recent_errors: z.array(RecentErrorSchema).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceDetail = z.infer<typeof ServiceDetailSchema>","/**\n * Zod schema for ServiceStats\n *\n * This schema provides runtime validation and type inference.\n * * Service statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Service statistics.\n */\nexport const ServiceStatsSchema = z.object({\n total_requests: z.int().optional(),\n successful: z.int().optional(),\n errors: z.int().optional(),\n success_rate: z.number().optional(),\n avg_duration_ms: z.number().optional(),\n last_24h_requests: z.int().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceStats = z.infer<typeof ServiceStatsSchema>","/**\n * Zod schema for ServiceMethods\n *\n * This schema provides runtime validation and type inference.\n * * List of methods for a service.\n * */\nimport { z } from 'zod'\nimport { MethodSummarySchema } from './MethodSummary.schema'\n\n/**\n * List of methods for a service.\n */\nexport const ServiceMethodsSchema = z.object({\n service_name: z.string(),\n methods: z.array(MethodSummarySchema).optional(),\n total_methods: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceMethods = z.infer<typeof ServiceMethodsSchema>","/**\n * Zod schema for StressTestRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for stress testing.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for stress testing.\n */\nexport const StressTestRequestRequestSchema = z.object({\n num_jobs: z.int().min(1.0).max(1000.0).optional(),\n queue: z.string().min(1).optional(),\n scenario: z.nativeEnum(Enums.StressTestRequestRequestScenario).optional(),\n duration: z.int().min(1.0).max(60.0).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type StressTestRequestRequest = z.infer<typeof StressTestRequestRequestSchema>","/**\n * Zod schema for TestScenario\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for available test scenarios.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for available test scenarios.\n */\nexport const TestScenarioSchema = z.object({\n id: z.string(),\n name: z.string(),\n description: z.string(),\n task_func: z.string(),\n default_args: z.array(z.record(z.string(), z.any())).optional(),\n default_kwargs: z.record(z.string(), z.any()).optional(),\n estimated_duration: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TestScenario = z.infer<typeof TestScenarioSchema>","/**\n * Zod schema for TestingActionResponse\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for testing action responses.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for testing action responses.\n */\nexport const TestingActionResponseSchema = z.object({\n success: z.boolean(),\n message: z.string(),\n job_ids: z.array(z.string()).optional(),\n count: z.int().nullable().optional(),\n metadata: z.record(z.string(), z.any()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TestingActionResponse = z.infer<typeof TestingActionResponseSchema>","/**\n * Zod schema for TimelineItem\n *\n * This schema provides runtime validation and type inference.\n * * Single timeline data point for DRF.\n * */\nimport { z } from 'zod'\n\n/**\n * Single timeline data point for DRF.\n */\nexport const TimelineItemSchema = z.object({\n timestamp: z.string(),\n count: z.int(),\n successful: z.int(),\n failed: z.int(),\n timeout: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TimelineItem = z.infer<typeof TimelineItemSchema>","/**\n * Zod schema for TimelineResponse\n *\n * This schema provides runtime validation and type inference.\n * * Timeline response with hourly/daily breakdown for DRF.\n * */\nimport { z } from 'zod'\nimport { TimelineItemSchema } from './TimelineItem.schema'\n\n/**\n * Timeline response with hourly/daily breakdown for DRF.\n */\nexport const TimelineResponseSchema = z.object({\n timeline: z.array(TimelineItemSchema),\n period_hours: z.int(),\n interval: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TimelineResponse = z.infer<typeof TimelineResponseSchema>","/**\n * Zod schema for TokenRefresh\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\n\nexport const TokenRefreshSchema = z.object({\n access: z.string(),\n refresh: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TokenRefresh = z.infer<typeof TokenRefreshSchema>","/**\n * Zod schema for TokenRefreshRequest\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\n\nexport const TokenRefreshRequestSchema = z.object({\n refresh: z.string().min(1),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TokenRefreshRequest = z.infer<typeof TokenRefreshRequestSchema>","/**\n * Zod schema for URLPattern\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for single URL pattern.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for single URL pattern.\n */\nexport const URLPatternSchema = z.object({\n pattern: z.string(),\n name: z.string().nullable().optional(),\n full_name: z.string().nullable().optional(),\n namespace: z.string().nullable().optional(),\n view: z.string().nullable().optional(),\n view_class: z.string().nullable().optional(),\n methods: z.array(z.string()).optional(),\n module: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type URLPattern = z.infer<typeof URLPatternSchema>","/**\n * Zod schema for URLsList\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for URLs list response.\n * */\nimport { z } from 'zod'\nimport { URLPatternSchema } from './URLPattern.schema'\n\n/**\n * Serializer for URLs list response.\n */\nexport const URLsListSchema = z.object({\n status: z.string(),\n service: z.string(),\n version: z.string(),\n base_url: z.string(),\n total_urls: z.int(),\n urls: z.array(URLPatternSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type URLsList = z.infer<typeof URLsListSchema>","/**\n * Zod schema for UserProfileUpdateRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for updating user profile.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for updating user profile.\n */\nexport const UserProfileUpdateRequestSchema = z.object({\n first_name: z.string().max(50).optional(),\n last_name: z.string().max(50).optional(),\n company: z.string().max(100).optional(),\n phone: z.string().max(20).optional(),\n position: z.string().max(100).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type UserProfileUpdateRequest = z.infer<typeof UserProfileUpdateRequestSchema>","/**\n * Zod schema for Worker\n *\n * This schema provides runtime validation and type inference.\n * * Worker information serializer.\n\nProvides detailed information about an RQ worker.\n * */\nimport { z } from 'zod'\n\n/**\n * Worker information serializer.\n\nProvides detailed information about an RQ worker.\n */\nexport const WorkerSchema = z.object({\n name: z.string(),\n queues: z.array(z.string()).optional(),\n state: z.string(),\n current_job: z.string().nullable().optional(),\n birth: z.iso.datetime(),\n last_heartbeat: z.iso.datetime(),\n successful_job_count: z.int().optional(),\n failed_job_count: z.int().optional(),\n total_working_time: z.number().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Worker = z.infer<typeof WorkerSchema>","/**\n * Zod schema for WorkerStats\n *\n * This schema provides runtime validation and type inference.\n * * Aggregated worker statistics serializer.\n\nProvides overview of all workers across all queues.\n * */\nimport { z } from 'zod'\nimport { WorkerSchema } from './Worker.schema'\n\n/**\n * Aggregated worker statistics serializer.\n\nProvides overview of all workers across all queues.\n */\nexport const WorkerStatsSchema = z.object({\n total_workers: z.int(),\n busy_workers: z.int().optional(),\n idle_workers: z.int().optional(),\n suspended_workers: z.int().optional(),\n total_successful_jobs: z.int().optional(),\n total_failed_jobs: z.int().optional(),\n total_working_time: z.number().optional(),\n workers: z.array(WorkerSchema).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type WorkerStats = z.infer<typeof WorkerStatsSchema>","/**\n * Typed fetchers for Accounts\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { OTPRequestRequestSchema, type OTPRequestRequest } from '../schemas/OTPRequestRequest.schema'\nimport { OTPRequestResponseSchema, type OTPRequestResponse } from '../schemas/OTPRequestResponse.schema'\nimport { OTPVerifyRequestSchema, type OTPVerifyRequest } from '../schemas/OTPVerifyRequest.schema'\nimport { OTPVerifyResponseSchema, type OTPVerifyResponse } from '../schemas/OTPVerifyResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/request/\n */\nexport async function createAccountsOtpRequestCreate( data: OTPRequestRequest, client?: any\n): Promise<OTPRequestResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_accounts.otpRequestCreate(data)\n try {\n return OTPRequestResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOtpRequestCreate\\nPath: /cfg/accounts/otp/request/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOtpRequestCreate',\n path: '/cfg/accounts/otp/request/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/verify/\n */\nexport async function createAccountsOtpVerifyCreate( data: OTPVerifyRequest, client?: any\n): Promise<OTPVerifyResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_accounts.otpVerifyCreate(data)\n try {\n return OTPVerifyResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOtpVerifyCreate\\nPath: /cfg/accounts/otp/verify/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOtpVerifyCreate',\n path: '/cfg/accounts/otp/verify/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Global API Instance - Singleton configuration\n *\n * This module provides a global API instance that can be configured once\n * and used throughout your application.\n *\n * Usage:\n * ```typescript\n * // Configure once (e.g., in your app entry point)\n * import { configureAPI } from './api-instance'\n *\n * configureAPI({\n * baseUrl: 'https://api.example.com',\n * token: 'your-jwt-token'\n * })\n *\n * // Then use fetchers and hooks anywhere without configuration\n * import { getUsers } from './fetchers'\n * const users = await getUsers({ page: 1 })\n * ```\n *\n * For SSR or multiple instances:\n * ```typescript\n * import { API } from './index'\n * import { getUsers } from './fetchers'\n *\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\n\nimport { API, type APIOptions } from './index'\n\nlet globalAPI: API | null = null\n\n/**\n * Get the global API instance\n * @throws Error if API is not configured\n */\nexport function getAPIInstance(): API {\n if (!globalAPI) {\n throw new Error(\n 'API not configured. Call configureAPI() with your base URL before using fetchers or hooks.\\n\\n' +\n 'Example:\\n' +\n ' import { configureAPI } from \"./api-instance\"\\n' +\n ' configureAPI({ baseUrl: \"https://api.example.com\" })'\n )\n }\n return globalAPI\n}\n\n/**\n * Check if API is configured\n */\nexport function isAPIConfigured(): boolean {\n return globalAPI !== null\n}\n\n/**\n * Configure the global API instance\n *\n * @param baseUrl - Base URL for the API\n * @param options - Optional configuration (storage, retry, logger)\n *\n * @example\n * ```typescript\n * configureAPI({\n * baseUrl: 'https://api.example.com',\n * token: 'jwt-token',\n * options: {\n * retryConfig: { maxRetries: 3 },\n * loggerConfig: { enabled: true }\n * }\n * })\n * ```\n */\nexport function configureAPI(config: {\n baseUrl: string\n token?: string\n refreshToken?: string\n options?: APIOptions\n}): API {\n globalAPI = new API(config.baseUrl, config.options)\n\n if (config.token) {\n globalAPI.setToken(config.token, config.refreshToken)\n }\n\n return globalAPI\n}\n\n/**\n * Reconfigure the global API instance with new settings\n * Useful for updating tokens or base URL\n */\nexport function reconfigureAPI(updates: {\n baseUrl?: string\n token?: string\n refreshToken?: string\n}): API {\n const instance = getAPIInstance()\n\n if (updates.baseUrl) {\n instance.setBaseUrl(updates.baseUrl)\n }\n\n if (updates.token) {\n instance.setToken(updates.token, updates.refreshToken)\n }\n\n return instance\n}\n\n/**\n * Clear tokens from the global API instance\n */\nexport function clearAPITokens(): void {\n const instance = getAPIInstance()\n instance.clearTokens()\n}\n\n/**\n * Reset the global API instance\n * Useful for testing or logout scenarios\n */\nexport function resetAPI(): void {\n if (globalAPI) {\n globalAPI.clearTokens()\n }\n globalAPI = null\n}","/**\n * Typed fetchers for Auth\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { TokenRefreshSchema, type TokenRefresh } from '../schemas/TokenRefresh.schema'\nimport { TokenRefreshRequestSchema, type TokenRefreshRequest } from '../schemas/TokenRefreshRequest.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/token/refresh/\n */\nexport async function createAccountsTokenRefreshCreate( data: TokenRefreshRequest, client?: any\n): Promise<TokenRefresh> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_auth.accountsTokenRefreshCreate(data)\n try {\n return TokenRefreshSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsTokenRefreshCreate\\nPath: /cfg/accounts/token/refresh/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsTokenRefreshCreate',\n path: '/cfg/accounts/token/refresh/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Oauth\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { OAuthAuthorizeRequestRequestSchema, type OAuthAuthorizeRequestRequest } from '../schemas/OAuthAuthorizeRequestRequest.schema'\nimport { OAuthAuthorizeResponseSchema, type OAuthAuthorizeResponse } from '../schemas/OAuthAuthorizeResponse.schema'\nimport { OAuthCallbackRequestRequestSchema, type OAuthCallbackRequestRequest } from '../schemas/OAuthCallbackRequestRequest.schema'\nimport { OAuthDisconnectRequestRequestSchema, type OAuthDisconnectRequestRequest } from '../schemas/OAuthDisconnectRequestRequest.schema'\nimport { OAuthProvidersResponseSchema, type OAuthProvidersResponse } from '../schemas/OAuthProvidersResponse.schema'\nimport { OAuthTokenResponseSchema, type OAuthTokenResponse } from '../schemas/OAuthTokenResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List OAuth connections\n *\n * @method GET\n * @path /cfg/accounts/oauth/connections/\n */\nexport async function getAccountsOauthConnectionsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthConnectionsList()\n return response\n}\n\n\n/**\n * Disconnect OAuth provider\n *\n * @method POST\n * @path /cfg/accounts/oauth/disconnect/\n */\nexport async function createAccountsOauthDisconnectCreate( data: OAuthDisconnectRequestRequest, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthDisconnectCreate(data)\n return response\n}\n\n\n/**\n * Start GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/authorize/\n */\nexport async function createAccountsOauthGithubAuthorizeCreate( data: OAuthAuthorizeRequestRequest, client?: any\n): Promise<OAuthAuthorizeResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthGithubAuthorizeCreate(data)\n try {\n return OAuthAuthorizeResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOauthGithubAuthorizeCreate\\nPath: /cfg/accounts/oauth/github/authorize/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOauthGithubAuthorizeCreate',\n path: '/cfg/accounts/oauth/github/authorize/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Complete GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/callback/\n */\nexport async function createAccountsOauthGithubCallbackCreate( data: OAuthCallbackRequestRequest, client?: any\n): Promise<OAuthTokenResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthGithubCallbackCreate(data)\n try {\n return OAuthTokenResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOauthGithubCallbackCreate\\nPath: /cfg/accounts/oauth/github/callback/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOauthGithubCallbackCreate',\n path: '/cfg/accounts/oauth/github/callback/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List OAuth providers\n *\n * @method GET\n * @path /cfg/accounts/oauth/providers/\n */\nexport async function getAccountsOauthProvidersRetrieve( client?: any\n): Promise<OAuthProvidersResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthProvidersRetrieve()\n try {\n return OAuthProvidersResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getAccountsOauthProvidersRetrieve\\nPath: /cfg/accounts/oauth/providers/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getAccountsOauthProvidersRetrieve',\n path: '/cfg/accounts/oauth/providers/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for User Profile\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { PatchedUserProfileUpdateRequestSchema, type PatchedUserProfileUpdateRequest } from '../schemas/PatchedUserProfileUpdateRequest.schema'\nimport { UserSchema, type User } from '../schemas/User.schema'\nimport { UserProfileUpdateRequestSchema, type UserProfileUpdateRequest } from '../schemas/UserProfileUpdateRequest.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get current user profile\n *\n * @method GET\n * @path /cfg/accounts/profile/\n */\nexport async function getAccountsProfileRetrieve( client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileRetrieve()\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getAccountsProfileRetrieve\\nPath: /cfg/accounts/profile/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getAccountsProfileRetrieve',\n path: '/cfg/accounts/profile/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Upload user avatar\n *\n * @method POST\n * @path /cfg/accounts/profile/avatar/\n */\nexport async function createAccountsProfileAvatarCreate( data: any, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileAvatarCreate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsProfileAvatarCreate\\nPath: /cfg/accounts/profile/avatar/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsProfileAvatarCreate',\n path: '/cfg/accounts/profile/avatar/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/partial/\n */\nexport async function partialUpdateAccountsProfilePartialUpdate( data: UserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfilePartialUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`partialUpdateAccountsProfilePartialUpdate\\nPath: /cfg/accounts/profile/partial/\\nMethod: PUT`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'partialUpdateAccountsProfilePartialUpdate',\n path: '/cfg/accounts/profile/partial/',\n method: 'PUT',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/partial/\n */\nexport async function partialUpdateAccountsProfilePartialPartialUpdate( data?: PatchedUserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfilePartialPartialUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`partialUpdateAccountsProfilePartialPartialUpdate\\nPath: /cfg/accounts/profile/partial/\\nMethod: PATCH`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'partialUpdateAccountsProfilePartialPartialUpdate',\n path: '/cfg/accounts/profile/partial/',\n method: 'PATCH',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/update/\n */\nexport async function updateAccountsProfileUpdateUpdate( data: UserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileUpdateUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`updateAccountsProfileUpdateUpdate\\nPath: /cfg/accounts/profile/update/\\nMethod: PUT`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'updateAccountsProfileUpdateUpdate',\n path: '/cfg/accounts/profile/update/',\n method: 'PUT',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/update/\n */\nexport async function partialUpdateAccountsProfileUpdatePartialUpdate( data?: PatchedUserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileUpdatePartialUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`partialUpdateAccountsProfileUpdatePartialUpdate\\nPath: /cfg/accounts/profile/update/\\nMethod: PATCH`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'partialUpdateAccountsProfileUpdatePartialUpdate',\n path: '/cfg/accounts/profile/update/',\n method: 'PATCH',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Admin API\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { CentrifugoChannelsRequestRequestSchema, type CentrifugoChannelsRequestRequest } from '../schemas/CentrifugoChannelsRequestRequest.schema'\nimport { CentrifugoChannelsResponseSchema, type CentrifugoChannelsResponse } from '../schemas/CentrifugoChannelsResponse.schema'\nimport { CentrifugoHistoryRequestRequestSchema, type CentrifugoHistoryRequestRequest } from '../schemas/CentrifugoHistoryRequestRequest.schema'\nimport { CentrifugoHistoryResponseSchema, type CentrifugoHistoryResponse } from '../schemas/CentrifugoHistoryResponse.schema'\nimport { CentrifugoInfoResponseSchema, type CentrifugoInfoResponse } from '../schemas/CentrifugoInfoResponse.schema'\nimport { CentrifugoPresenceRequestRequestSchema, type CentrifugoPresenceRequestRequest } from '../schemas/CentrifugoPresenceRequestRequest.schema'\nimport { CentrifugoPresenceResponseSchema, type CentrifugoPresenceResponse } from '../schemas/CentrifugoPresenceResponse.schema'\nimport { CentrifugoPresenceStatsRequestRequestSchema, type CentrifugoPresenceStatsRequestRequest } from '../schemas/CentrifugoPresenceStatsRequestRequest.schema'\nimport { CentrifugoPresenceStatsResponseSchema, type CentrifugoPresenceStatsResponse } from '../schemas/CentrifugoPresenceStatsResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get connection token for dashboard\n *\n * @method POST\n * @path /cfg/centrifugo/server/auth/token/\n */\nexport async function createCentrifugoServerAuthTokenCreate( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerAuthTokenCreate()\n return response\n}\n\n\n/**\n * List active channels\n *\n * @method POST\n * @path /cfg/centrifugo/server/channels/\n */\nexport async function createCentrifugoServerChannelsCreate( data: CentrifugoChannelsRequestRequest, client?: any\n): Promise<CentrifugoChannelsResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerChannelsCreate(data)\n try {\n return CentrifugoChannelsResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerChannelsCreate\\nPath: /cfg/centrifugo/server/channels/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerChannelsCreate',\n path: '/cfg/centrifugo/server/channels/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get channel history\n *\n * @method POST\n * @path /cfg/centrifugo/server/history/\n */\nexport async function createCentrifugoServerHistoryCreate( data: CentrifugoHistoryRequestRequest, client?: any\n): Promise<CentrifugoHistoryResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerHistoryCreate(data)\n try {\n return CentrifugoHistoryResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerHistoryCreate\\nPath: /cfg/centrifugo/server/history/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerHistoryCreate',\n path: '/cfg/centrifugo/server/history/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get Centrifugo server info\n *\n * @method POST\n * @path /cfg/centrifugo/server/info/\n */\nexport async function createCentrifugoServerInfoCreate( client?: any\n): Promise<CentrifugoInfoResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerInfoCreate()\n try {\n return CentrifugoInfoResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerInfoCreate\\nPath: /cfg/centrifugo/server/info/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerInfoCreate',\n path: '/cfg/centrifugo/server/info/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get channel presence\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence/\n */\nexport async function createCentrifugoServerPresenceCreate( data: CentrifugoPresenceRequestRequest, client?: any\n): Promise<CentrifugoPresenceResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerPresenceCreate(data)\n try {\n return CentrifugoPresenceResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerPresenceCreate\\nPath: /cfg/centrifugo/server/presence/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerPresenceCreate',\n path: '/cfg/centrifugo/server/presence/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get channel presence statistics\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence-stats/\n */\nexport async function createCentrifugoServerPresenceStatsCreate( data: CentrifugoPresenceStatsRequestRequest, client?: any\n): Promise<CentrifugoPresenceStatsResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerPresenceStatsCreate(data)\n try {\n return CentrifugoPresenceStatsResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerPresenceStatsCreate\\nPath: /cfg/centrifugo/server/presence-stats/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerPresenceStatsCreate',\n path: '/cfg/centrifugo/server/presence-stats/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Auth\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ConnectionTokenResponseSchema, type ConnectionTokenResponse } from '../schemas/ConnectionTokenResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get Centrifugo connection token\n *\n * @method GET\n * @path /cfg/centrifugo/auth/token/\n */\nexport async function getCentrifugoAuthTokenRetrieve( client?: any\n): Promise<ConnectionTokenResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_auth.tokenRetrieve()\n try {\n return ConnectionTokenResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoAuthTokenRetrieve\\nPath: /cfg/centrifugo/auth/token/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoAuthTokenRetrieve',\n path: '/cfg/centrifugo/auth/token/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Monitoring\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { CentrifugoHealthCheckSchema, type CentrifugoHealthCheck } from '../schemas/CentrifugoHealthCheck.schema'\nimport { CentrifugoOverviewStatsSchema, type CentrifugoOverviewStats } from '../schemas/CentrifugoOverviewStats.schema'\nimport { ChannelListSchema, type ChannelList } from '../schemas/ChannelList.schema'\nimport { PaginatedPublishListSchema, type PaginatedPublishList } from '../schemas/PaginatedPublishList.schema'\nimport { TimelineResponseSchema, type TimelineResponse } from '../schemas/TimelineResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get channel statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/channels/\n */\nexport async function getCentrifugoMonitorChannelsRetrieve( params?: { hours?: number }, client?: any\n): Promise<ChannelList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorChannelsRetrieve(params?.hours)\n try {\n return ChannelListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorChannelsRetrieve\\nPath: /cfg/centrifugo/monitor/channels/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorChannelsRetrieve',\n path: '/cfg/centrifugo/monitor/channels/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get Centrifugo health status\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/health/\n */\nexport async function getCentrifugoMonitorHealthRetrieve( client?: any\n): Promise<CentrifugoHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorHealthRetrieve()\n try {\n return CentrifugoHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorHealthRetrieve\\nPath: /cfg/centrifugo/monitor/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorHealthRetrieve',\n path: '/cfg/centrifugo/monitor/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/overview/\n */\nexport async function getCentrifugoMonitorOverviewRetrieve( params?: { hours?: number }, client?: any\n): Promise<CentrifugoOverviewStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorOverviewRetrieve(params?.hours)\n try {\n return CentrifugoOverviewStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorOverviewRetrieve\\nPath: /cfg/centrifugo/monitor/overview/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorOverviewRetrieve',\n path: '/cfg/centrifugo/monitor/overview/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get recent publishes\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/publishes/\n */\nexport async function getCentrifugoMonitorPublishesList( params?: { channel?: string; page?: number; page_size?: number; status?: string }, client?: any\n): Promise<PaginatedPublishList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorPublishesList(params?.channel, params?.page, params?.page_size, params?.status)\n try {\n return PaginatedPublishListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorPublishesList\\nPath: /cfg/centrifugo/monitor/publishes/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorPublishesList',\n path: '/cfg/centrifugo/monitor/publishes/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get publish timeline\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/timeline/\n */\nexport async function getCentrifugoMonitorTimelineRetrieve( params?: { hours?: number; interval?: string }, client?: any\n): Promise<TimelineResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorTimelineRetrieve(params?.hours, params?.interval)\n try {\n return TimelineResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorTimelineRetrieve\\nPath: /cfg/centrifugo/monitor/timeline/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorTimelineRetrieve',\n path: '/cfg/centrifugo/monitor/timeline/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Testing\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ManualAckRequestRequestSchema, type ManualAckRequestRequest } from '../schemas/ManualAckRequestRequest.schema'\nimport { ManualAckResponseSchema, type ManualAckResponse } from '../schemas/ManualAckResponse.schema'\nimport { PublishTestRequestRequestSchema, type PublishTestRequestRequest } from '../schemas/PublishTestRequestRequest.schema'\nimport { PublishTestResponseSchema, type PublishTestResponse } from '../schemas/PublishTestResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Publish test message\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-test/\n */\nexport async function createCentrifugoTestingPublishTestCreate( data: PublishTestRequestRequest, client?: any\n): Promise<PublishTestResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_testing.publishTestCreate(data)\n try {\n return PublishTestResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoTestingPublishTestCreate\\nPath: /cfg/centrifugo/testing/publish-test/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoTestingPublishTestCreate',\n path: '/cfg/centrifugo/testing/publish-test/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Publish with database logging\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-with-logging/\n */\nexport async function createCentrifugoTestingPublishWithLoggingCreate( data: PublishTestRequestRequest, client?: any\n): Promise<PublishTestResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_testing.publishWithLoggingCreate(data)\n try {\n return PublishTestResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoTestingPublishWithLoggingCreate\\nPath: /cfg/centrifugo/testing/publish-with-logging/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoTestingPublishWithLoggingCreate',\n path: '/cfg/centrifugo/testing/publish-with-logging/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Send manual ACK\n *\n * @method POST\n * @path /cfg/centrifugo/testing/send-ack/\n */\nexport async function createCentrifugoTestingSendAckCreate( data: ManualAckRequestRequest, client?: any\n): Promise<ManualAckResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_testing.sendAckCreate(data)\n try {\n return ManualAckResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoTestingSendAckCreate\\nPath: /cfg/centrifugo/testing/send-ack/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoTestingSendAckCreate',\n path: '/cfg/centrifugo/testing/send-ack/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - API Zones\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { APIZonesSummarySchema, type APIZonesSummary } from '../schemas/APIZonesSummary.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get all API zones\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/\n */\nexport async function getDashboardApiZonesList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_api_zones.list()\n return response\n}\n\n\n/**\n * Get zones summary\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/summary/\n */\nexport async function getDashboardApiZonesSummaryRetrieve( client?: any\n): Promise<APIZonesSummary> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_api_zones.summaryRetrieve()\n try {\n return APIZonesSummarySchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiZonesSummaryRetrieve\\nPath: /cfg/dashboard/api/zones/summary/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiZonesSummaryRetrieve',\n path: '/cfg/dashboard/api/zones/summary/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Charts\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ChartDataSchema, type ChartData } from '../schemas/ChartData.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get user activity chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/activity/\n */\nexport async function getDashboardApiChartsActivityRetrieve( params?: { days?: number }, client?: any\n): Promise<ChartData> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsActivityRetrieve(params?.days)\n try {\n return ChartDataSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiChartsActivityRetrieve\\nPath: /cfg/dashboard/api/charts/activity/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiChartsActivityRetrieve',\n path: '/cfg/dashboard/api/charts/activity/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get recent users\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/recent-users/\n */\nexport async function getDashboardApiChartsRecentUsersList( params?: { limit?: number }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsRecentUsersList(params?.limit)\n return response\n}\n\n\n/**\n * Get user registration chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/registrations/\n */\nexport async function getDashboardApiChartsRegistrationsRetrieve( params?: { days?: number }, client?: any\n): Promise<ChartData> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsRegistrationsRetrieve(params?.days)\n try {\n return ChartDataSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiChartsRegistrationsRetrieve\\nPath: /cfg/dashboard/api/charts/registrations/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiChartsRegistrationsRetrieve',\n path: '/cfg/dashboard/api/charts/registrations/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get activity tracker\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/tracker/\n */\nexport async function getDashboardApiChartsTrackerList( params?: { weeks?: number }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsTrackerList(params?.weeks)\n return response\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Commands\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { CommandExecuteRequestRequestSchema, type CommandExecuteRequestRequest } from '../schemas/CommandExecuteRequestRequest.schema'\nimport { CommandHelpResponseSchema, type CommandHelpResponse } from '../schemas/CommandHelpResponse.schema'\nimport { CommandsSummarySchema, type CommandsSummary } from '../schemas/CommandsSummary.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get all commands\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/\n */\nexport async function getDashboardApiCommandsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsList()\n return response\n}\n\n\n/**\n * Get command help\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/{id}/help/\n */\nexport async function getDashboardApiCommandsHelpRetrieve( id: string, client?: any\n): Promise<CommandHelpResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsHelpRetrieve(id)\n try {\n return CommandHelpResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiCommandsHelpRetrieve\\nPath: /cfg/dashboard/api/commands/{id}/help/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiCommandsHelpRetrieve',\n path: '/cfg/dashboard/api/commands/{id}/help/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Execute command\n *\n * @method POST\n * @path /cfg/dashboard/api/commands/execute/\n */\nexport async function createDashboardApiCommandsExecuteCreate( data: CommandExecuteRequestRequest, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsExecuteCreate(data)\n return response\n}\n\n\n/**\n * Get commands summary\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/summary/\n */\nexport async function getDashboardApiCommandsSummaryRetrieve( client?: any\n): Promise<CommandsSummary> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsSummaryRetrieve()\n try {\n return CommandsSummarySchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiCommandsSummaryRetrieve\\nPath: /cfg/dashboard/api/commands/summary/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiCommandsSummaryRetrieve',\n path: '/cfg/dashboard/api/commands/summary/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Config\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ConfigDataSchema, type ConfigData } from '../schemas/ConfigData.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get configuration data\n *\n * @method GET\n * @path /cfg/dashboard/api/config/config/\n */\nexport async function getDashboardApiConfigConfigRetrieve( client?: any\n): Promise<ConfigData> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_config.dashboardApiConfigConfigRetrieve()\n try {\n return ConfigDataSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiConfigConfigRetrieve\\nPath: /cfg/dashboard/api/config/config/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiConfigConfigRetrieve',\n path: '/cfg/dashboard/api/config/config/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Overview\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { DashboardOverviewSchema, type DashboardOverview } from '../schemas/DashboardOverview.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get dashboard overview\n *\n * @method GET\n * @path /cfg/dashboard/api/overview/overview/\n */\nexport async function getDashboardApiOverviewOverviewRetrieve( client?: any\n): Promise<DashboardOverview> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_overview.dashboardApiOverviewOverviewRetrieve()\n try {\n return DashboardOverviewSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiOverviewOverviewRetrieve\\nPath: /cfg/dashboard/api/overview/overview/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiOverviewOverviewRetrieve',\n path: '/cfg/dashboard/api/overview/overview/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Statistics\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { UserStatisticsSchema, type UserStatistics } from '../schemas/UserStatistics.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get application statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/apps/\n */\nexport async function getDashboardApiStatisticsAppsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_statistics.dashboardApiStatisticsAppsList()\n return response\n}\n\n\n/**\n * Get statistics cards\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/cards/\n */\nexport async function getDashboardApiStatisticsCardsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_statistics.dashboardApiStatisticsCardsList()\n return response\n}\n\n\n/**\n * Get user statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/users/\n */\nexport async function getDashboardApiStatisticsUsersRetrieve( client?: any\n): Promise<UserStatistics> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_statistics.dashboardApiStatisticsUsersRetrieve()\n try {\n return UserStatisticsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiStatisticsUsersRetrieve\\nPath: /cfg/dashboard/api/statistics/users/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiStatisticsUsersRetrieve',\n path: '/cfg/dashboard/api/statistics/users/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - System\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { SystemHealthSchema, type SystemHealth } from '../schemas/SystemHealth.schema'\nimport { SystemMetricsSchema, type SystemMetrics } from '../schemas/SystemMetrics.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get system health status\n *\n * @method GET\n * @path /cfg/dashboard/api/system/health/\n */\nexport async function getDashboardApiSystemHealthRetrieve( client?: any\n): Promise<SystemHealth> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_system.dashboardApiSystemHealthRetrieve()\n try {\n return SystemHealthSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiSystemHealthRetrieve\\nPath: /cfg/dashboard/api/system/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiSystemHealthRetrieve',\n path: '/cfg/dashboard/api/system/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get system metrics\n *\n * @method GET\n * @path /cfg/dashboard/api/system/metrics/\n */\nexport async function getDashboardApiSystemMetricsRetrieve( client?: any\n): Promise<SystemMetrics> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_system.dashboardApiSystemMetricsRetrieve()\n try {\n return SystemMetricsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiSystemMetricsRetrieve\\nPath: /cfg/dashboard/api/system/metrics/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiSystemMetricsRetrieve',\n path: '/cfg/dashboard/api/system/metrics/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Endpoints\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { EndpointsStatusSchema, type EndpointsStatus } from '../schemas/EndpointsStatus.schema'\nimport { URLsListSchema, type URLsList } from '../schemas/URLsList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/drf/\n */\nexport async function getEndpointsDrfRetrieve( client?: any\n): Promise<EndpointsStatus> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_endpoints.drfRetrieve()\n try {\n return EndpointsStatusSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getEndpointsDrfRetrieve\\nPath: /cfg/endpoints/drf/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getEndpointsDrfRetrieve',\n path: '/cfg/endpoints/drf/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/\n */\nexport async function getEndpointsUrlsRetrieve( client?: any\n): Promise<URLsList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_endpoints.urlsRetrieve()\n try {\n return URLsListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getEndpointsUrlsRetrieve\\nPath: /cfg/endpoints/urls/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getEndpointsUrlsRetrieve',\n path: '/cfg/endpoints/urls/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/compact/\n */\nexport async function getEndpointsUrlsCompactRetrieve( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_endpoints.urlsCompactRetrieve()\n return response\n}\n\n\n","/**\n * Typed fetchers for Grpc Api Keys\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ApiKeySchema, type ApiKey } from '../schemas/ApiKey.schema'\nimport { ApiKeyStatsSchema, type ApiKeyStats } from '../schemas/ApiKeyStats.schema'\nimport { PaginatedApiKeyListSchema, type PaginatedApiKeyList } from '../schemas/PaginatedApiKeyList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List API keys\n *\n * @method GET\n * @path /cfg/grpc/api-keys/\n */\nexport async function getGrpcApiKeysList( params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }, client?: any\n): Promise<PaginatedApiKeyList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_api_keys.list(params?.is_active, params?.page, params?.page_size, params?.user_id)\n try {\n return PaginatedApiKeyListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcApiKeysList\\nPath: /cfg/grpc/api-keys/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcApiKeysList',\n path: '/cfg/grpc/api-keys/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get API key details\n *\n * @method GET\n * @path /cfg/grpc/api-keys/{id}/\n */\nexport async function getGrpcApiKeysRetrieve( id: number, client?: any\n): Promise<ApiKey> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_api_keys.retrieve(id)\n try {\n return ApiKeySchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcApiKeysRetrieve\\nPath: /cfg/grpc/api-keys/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcApiKeysRetrieve',\n path: '/cfg/grpc/api-keys/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get API keys statistics\n *\n * @method GET\n * @path /cfg/grpc/api-keys/stats/\n */\nexport async function getGrpcApiKeysStatsRetrieve( client?: any\n): Promise<ApiKeyStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_api_keys.statsRetrieve()\n try {\n return ApiKeyStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcApiKeysStatsRetrieve\\nPath: /cfg/grpc/api-keys/stats/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcApiKeysStatsRetrieve',\n path: '/cfg/grpc/api-keys/stats/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Grpc Configuration\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { GRPCConfigSchema, type GRPCConfig } from '../schemas/GRPCConfig.schema'\nimport { GRPCServerInfoSchema, type GRPCServerInfo } from '../schemas/GRPCServerInfo.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get gRPC configuration\n *\n * @method GET\n * @path /cfg/grpc/config/config/\n */\nexport async function getGrpcConfigConfigRetrieve( client?: any\n): Promise<GRPCConfig> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_configuration.grpcConfigConfigRetrieve()\n try {\n return GRPCConfigSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcConfigConfigRetrieve\\nPath: /cfg/grpc/config/config/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcConfigConfigRetrieve',\n path: '/cfg/grpc/config/config/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get server information\n *\n * @method GET\n * @path /cfg/grpc/config/server-info/\n */\nexport async function getGrpcConfigServerInfoRetrieve( client?: any\n): Promise<GRPCServerInfo> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_configuration.grpcConfigServerInfoRetrieve()\n try {\n return GRPCServerInfoSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcConfigServerInfoRetrieve\\nPath: /cfg/grpc/config/server-info/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcConfigServerInfoRetrieve',\n path: '/cfg/grpc/config/server-info/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Grpc Monitoring\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { GRPCHealthCheckSchema, type GRPCHealthCheck } from '../schemas/GRPCHealthCheck.schema'\nimport { GRPCOverviewStatsSchema, type GRPCOverviewStats } from '../schemas/GRPCOverviewStats.schema'\nimport { MethodListSchema, type MethodList } from '../schemas/MethodList.schema'\nimport { PaginatedRecentRequestListSchema, type PaginatedRecentRequestList } from '../schemas/PaginatedRecentRequestList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get gRPC health status\n *\n * @method GET\n * @path /cfg/grpc/monitor/health/\n */\nexport async function getGrpcMonitorHealthRetrieve( client?: any\n): Promise<GRPCHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorHealthRetrieve()\n try {\n return GRPCHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorHealthRetrieve\\nPath: /cfg/grpc/monitor/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorHealthRetrieve',\n path: '/cfg/grpc/monitor/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get method statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/methods/\n */\nexport async function getGrpcMonitorMethodsRetrieve( params?: { hours?: number; service?: string }, client?: any\n): Promise<MethodList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorMethodsRetrieve(params?.hours, params?.service)\n try {\n return MethodListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorMethodsRetrieve\\nPath: /cfg/grpc/monitor/methods/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorMethodsRetrieve',\n path: '/cfg/grpc/monitor/methods/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/overview/\n */\nexport async function getGrpcMonitorOverviewRetrieve( params?: { hours?: number }, client?: any\n): Promise<GRPCOverviewStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorOverviewRetrieve(params?.hours)\n try {\n return GRPCOverviewStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorOverviewRetrieve\\nPath: /cfg/grpc/monitor/overview/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorOverviewRetrieve',\n path: '/cfg/grpc/monitor/overview/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get recent requests\n *\n * @method GET\n * @path /cfg/grpc/monitor/requests/\n */\nexport async function getGrpcMonitorRequestsList( params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }, client?: any\n): Promise<PaginatedRecentRequestList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorRequestsList(params?.method, params?.page, params?.page_size, params?.service, params?.status)\n try {\n return PaginatedRecentRequestListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorRequestsList\\nPath: /cfg/grpc/monitor/requests/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorRequestsList',\n path: '/cfg/grpc/monitor/requests/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get request timeline\n *\n * @method GET\n * @path /cfg/grpc/monitor/timeline/\n */\nexport async function getGrpcMonitorTimelineRetrieve( params?: { hours?: number; interval?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorTimelineRetrieve(params?.hours, params?.interval)\n return response\n}\n\n\n","/**\n * Typed fetchers for Grpc Services\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { PaginatedServiceSummaryListSchema, type PaginatedServiceSummaryList } from '../schemas/PaginatedServiceSummaryList.schema'\nimport { ServiceDetailSchema, type ServiceDetail } from '../schemas/ServiceDetail.schema'\nimport { ServiceMethodsSchema, type ServiceMethods } from '../schemas/ServiceMethods.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all services\n *\n * @method GET\n * @path /cfg/grpc/services/\n */\nexport async function getGrpcServicesList( params?: { hours?: number; page?: number; page_size?: number }, client?: any\n): Promise<PaginatedServiceSummaryList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_services.list(params?.hours, params?.page, params?.page_size)\n try {\n return PaginatedServiceSummaryListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcServicesList\\nPath: /cfg/grpc/services/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcServicesList',\n path: '/cfg/grpc/services/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get service details\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/\n */\nexport async function getGrpcServicesRetrieve( id: string, pk: string, client?: any\n): Promise<ServiceDetail> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_services.retrieve(id, pk)\n try {\n return ServiceDetailSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcServicesRetrieve\\nPath: /cfg/grpc/services/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcServicesRetrieve',\n path: '/cfg/grpc/services/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get service methods\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/methods/\n */\nexport async function getGrpcServicesMethodsRetrieve( id: string, pk: string, client?: any\n): Promise<ServiceMethods> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_services.methodsRetrieve(id, pk)\n try {\n return ServiceMethodsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcServicesMethodsRetrieve\\nPath: /cfg/grpc/services/{id}/methods/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcServicesMethodsRetrieve',\n path: '/cfg/grpc/services/{id}/methods/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Health\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { DRFHealthCheckSchema, type DRFHealthCheck } from '../schemas/DRFHealthCheck.schema'\nimport { QuickHealthSchema, type QuickHealth } from '../schemas/QuickHealth.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/\n */\nexport async function getHealthDrfRetrieve( client?: any\n): Promise<DRFHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_health.drfRetrieve()\n try {\n return DRFHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getHealthDrfRetrieve\\nPath: /cfg/health/drf/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getHealthDrfRetrieve',\n path: '/cfg/health/drf/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/quick/\n */\nexport async function getHealthDrfQuickRetrieve( client?: any\n): Promise<QuickHealth> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_health.drfQuickRetrieve()\n try {\n return QuickHealthSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getHealthDrfQuickRetrieve\\nPath: /cfg/health/drf/quick/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getHealthDrfQuickRetrieve',\n path: '/cfg/health/drf/quick/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Jobs\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { JobActionResponseSchema, type JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport { JobDetailSchema, type JobDetail } from '../schemas/JobDetail.schema'\nimport { JobListRequestSchema, type JobListRequest } from '../schemas/JobListRequest.schema'\nimport { PaginatedJobListListSchema, type PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/\n */\nexport async function getRqJobsList( params?: { page?: number; page_size?: number; queue?: string; status?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.list(params?.page, params?.page_size, params?.queue, params?.status)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsList\\nPath: /cfg/rq/jobs/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsList',\n path: '/cfg/rq/jobs/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get job details\n *\n * @method GET\n * @path /cfg/rq/jobs/{id}/\n */\nexport async function getRqJobsRetrieve( id: string, client?: any\n): Promise<JobDetail> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.retrieve(id)\n try {\n return JobDetailSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRetrieve\\nPath: /cfg/rq/jobs/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRetrieve',\n path: '/cfg/rq/jobs/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Delete job\n *\n * @method DELETE\n * @path /cfg/rq/jobs/{id}/\n */\nexport async function deleteRqJobsDestroy( id: string, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.destroy(id)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`deleteRqJobsDestroy\\nPath: /cfg/rq/jobs/{id}/\\nMethod: DELETE`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'deleteRqJobsDestroy',\n path: '/cfg/rq/jobs/{id}/',\n method: 'DELETE',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Cancel job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/cancel/\n */\nexport async function createRqJobsCancelCreate( id: string, data: JobListRequest, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.cancelCreate(id, data)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsCancelCreate\\nPath: /cfg/rq/jobs/{id}/cancel/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsCancelCreate',\n path: '/cfg/rq/jobs/{id}/cancel/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Requeue job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/requeue/\n */\nexport async function createRqJobsRequeueCreate( id: string, data: JobListRequest, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.requeueCreate(id, data)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRequeueCreate\\nPath: /cfg/rq/jobs/{id}/requeue/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRequeueCreate',\n path: '/cfg/rq/jobs/{id}/requeue/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Monitoring\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { RQConfigSchema, type RQConfig } from '../schemas/RQConfig.schema'\nimport { RQHealthCheckSchema, type RQHealthCheck } from '../schemas/RQHealthCheck.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get RQ configuration\n *\n * @method GET\n * @path /cfg/rq/monitor/config/\n */\nexport async function getRqMonitorConfigRetrieve( client?: any\n): Promise<RQConfig> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_monitoring.rqMonitorConfigRetrieve()\n try {\n return RQConfigSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqMonitorConfigRetrieve\\nPath: /cfg/rq/monitor/config/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqMonitorConfigRetrieve',\n path: '/cfg/rq/monitor/config/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Health check\n *\n * @method GET\n * @path /cfg/rq/monitor/health/\n */\nexport async function getRqMonitorHealthRetrieve( client?: any\n): Promise<RQHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_monitoring.rqMonitorHealthRetrieve()\n try {\n return RQHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqMonitorHealthRetrieve\\nPath: /cfg/rq/monitor/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqMonitorHealthRetrieve',\n path: '/cfg/rq/monitor/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Prometheus metrics\n *\n * @method GET\n * @path /cfg/rq/monitor/metrics/\n */\nexport async function getRqMonitorMetricsRetrieve( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_monitoring.rqMonitorMetricsRetrieve()\n return response\n}\n\n\n","/**\n * Typed fetchers for RQ Queues\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { QueueDetailSchema, type QueueDetail } from '../schemas/QueueDetail.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all queues\n *\n * @method GET\n * @path /cfg/rq/queues/\n */\nexport async function getRqQueuesList( params?: { name?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.list(params?.name)\n return response\n}\n\n\n/**\n * Get queue details\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/\n */\nexport async function getRqQueuesRetrieve( id: string, client?: any\n): Promise<QueueDetail> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.retrieve(id)\n try {\n return QueueDetailSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqQueuesRetrieve\\nPath: /cfg/rq/queues/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqQueuesRetrieve',\n path: '/cfg/rq/queues/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Empty queue\n *\n * @method POST\n * @path /cfg/rq/queues/{id}/empty/\n */\nexport async function createRqQueuesEmptyCreate( id: string, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.emptyCreate(id)\n return response\n}\n\n\n/**\n * Get queue jobs\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/jobs/\n */\nexport async function getRqQueuesJobsRetrieve( id: string, params?: { limit?: number; offset?: number }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.jobsRetrieve(id, params?.limit, params?.offset)\n return response\n}\n\n\n","/**\n * Typed fetchers for RQ Registries\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { JobActionResponseSchema, type JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport { JobListRequestSchema, type JobListRequest } from '../schemas/JobListRequest.schema'\nimport { PaginatedJobListListSchema, type PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List deferred jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/deferred/\n */\nexport async function getRqJobsRegistriesDeferredList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesDeferredList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesDeferredList\\nPath: /cfg/rq/jobs/registries/deferred/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesDeferredList',\n path: '/cfg/rq/jobs/registries/deferred/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List failed jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/failed/\n */\nexport async function getRqJobsRegistriesFailedList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFailedList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesFailedList\\nPath: /cfg/rq/jobs/registries/failed/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesFailedList',\n path: '/cfg/rq/jobs/registries/failed/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Clear failed jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/clear/\n */\nexport async function createRqJobsRegistriesFailedClearCreate( data: JobListRequest, params: { queue: string }, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFailedClearCreate(data, params.queue)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRegistriesFailedClearCreate\\nPath: /cfg/rq/jobs/registries/failed/clear/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRegistriesFailedClearCreate',\n path: '/cfg/rq/jobs/registries/failed/clear/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Requeue all failed jobs\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/requeue-all/\n */\nexport async function createRqJobsRegistriesFailedRequeueAllCreate( data: JobListRequest, params: { queue: string }, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFailedRequeueAllCreate(data, params.queue)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRegistriesFailedRequeueAllCreate\\nPath: /cfg/rq/jobs/registries/failed/requeue-all/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRegistriesFailedRequeueAllCreate',\n path: '/cfg/rq/jobs/registries/failed/requeue-all/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List finished jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/finished/\n */\nexport async function getRqJobsRegistriesFinishedList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFinishedList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesFinishedList\\nPath: /cfg/rq/jobs/registries/finished/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesFinishedList',\n path: '/cfg/rq/jobs/registries/finished/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Clear finished jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/finished/clear/\n */\nexport async function createRqJobsRegistriesFinishedClearCreate( data: JobListRequest, params: { queue: string }, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFinishedClearCreate(data, params.queue)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRegistriesFinishedClearCreate\\nPath: /cfg/rq/jobs/registries/finished/clear/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRegistriesFinishedClearCreate',\n path: '/cfg/rq/jobs/registries/finished/clear/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List started jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/started/\n */\nexport async function getRqJobsRegistriesStartedList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesStartedList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesStartedList\\nPath: /cfg/rq/jobs/registries/started/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesStartedList',\n path: '/cfg/rq/jobs/registries/started/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Schedules\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { PaginatedScheduledJobListSchema, type PaginatedScheduledJobList } from '../schemas/PaginatedScheduledJobList.schema'\nimport { ScheduleActionResponseSchema, type ScheduleActionResponse } from '../schemas/ScheduleActionResponse.schema'\nimport { ScheduleCreateRequestSchema, type ScheduleCreateRequest } from '../schemas/ScheduleCreateRequest.schema'\nimport { ScheduledJobSchema, type ScheduledJob } from '../schemas/ScheduledJob.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List scheduled jobs\n *\n * @method GET\n * @path /cfg/rq/schedules/\n */\nexport async function getRqSchedulesList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedScheduledJobList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.list(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedScheduledJobListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqSchedulesList\\nPath: /cfg/rq/schedules/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqSchedulesList',\n path: '/cfg/rq/schedules/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Create scheduled job\n *\n * @method POST\n * @path /cfg/rq/schedules/\n */\nexport async function createRqSchedulesCreate( data: ScheduleCreateRequest, client?: any\n): Promise<ScheduleActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.create(data)\n try {\n return ScheduleActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqSchedulesCreate\\nPath: /cfg/rq/schedules/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqSchedulesCreate',\n path: '/cfg/rq/schedules/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get scheduled job details\n *\n * @method GET\n * @path /cfg/rq/schedules/{id}/\n */\nexport async function getRqSchedulesRetrieve( id: string, pk: string, params?: { queue?: string }, client?: any\n): Promise<ScheduledJob> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.retrieve(id, pk, params?.queue)\n try {\n return ScheduledJobSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqSchedulesRetrieve\\nPath: /cfg/rq/schedules/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqSchedulesRetrieve',\n path: '/cfg/rq/schedules/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Cancel scheduled job\n *\n * @method DELETE\n * @path /cfg/rq/schedules/{id}/\n */\nexport async function deleteRqSchedulesDestroy( id: string, pk: string, params?: { queue?: string }, client?: any\n): Promise<ScheduleActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.destroy(id, pk, params?.queue)\n try {\n return ScheduleActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`deleteRqSchedulesDestroy\\nPath: /cfg/rq/schedules/{id}/\\nMethod: DELETE`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'deleteRqSchedulesDestroy',\n path: '/cfg/rq/schedules/{id}/',\n method: 'DELETE',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Testing\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { RunDemoRequestRequestSchema, type RunDemoRequestRequest } from '../schemas/RunDemoRequestRequest.schema'\nimport { StressTestRequestRequestSchema, type StressTestRequestRequest } from '../schemas/StressTestRequestRequest.schema'\nimport { TestingActionResponseSchema, type TestingActionResponse } from '../schemas/TestingActionResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List test scenarios\n *\n * @method GET\n * @path /cfg/rq/testing/\n */\nexport async function getRqTestingList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.list()\n return response\n}\n\n\n/**\n * Cleanup test jobs\n *\n * @method DELETE\n * @path /cfg/rq/testing/cleanup/\n */\nexport async function deleteRqTestingCleanupDestroy( params?: { delete_demo_jobs_only?: boolean; queue?: string; registries?: string }, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.cleanupDestroy(params?.delete_demo_jobs_only, params?.queue, params?.registries)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`deleteRqTestingCleanupDestroy\\nPath: /cfg/rq/testing/cleanup/\\nMethod: DELETE`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'deleteRqTestingCleanupDestroy',\n path: '/cfg/rq/testing/cleanup/',\n method: 'DELETE',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get test results\n *\n * @method GET\n * @path /cfg/rq/testing/results/\n */\nexport async function getRqTestingResultsRetrieve( params?: { queue?: string; scenario?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.resultsRetrieve(params?.queue, params?.scenario)\n return response\n}\n\n\n/**\n * Run demo task\n *\n * @method POST\n * @path /cfg/rq/testing/run-demo/\n */\nexport async function createRqTestingRunDemoCreate( data: RunDemoRequestRequest, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.runDemoCreate(data)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqTestingRunDemoCreate\\nPath: /cfg/rq/testing/run-demo/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqTestingRunDemoCreate',\n path: '/cfg/rq/testing/run-demo/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Schedule demo tasks\n *\n * @method POST\n * @path /cfg/rq/testing/schedule-demo/\n */\nexport async function createRqTestingScheduleDemoCreate( data: any, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.scheduleDemoCreate(data)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqTestingScheduleDemoCreate\\nPath: /cfg/rq/testing/schedule-demo/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqTestingScheduleDemoCreate',\n path: '/cfg/rq/testing/schedule-demo/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Stress test\n *\n * @method POST\n * @path /cfg/rq/testing/stress-test/\n */\nexport async function createRqTestingStressTestCreate( data: StressTestRequestRequest, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.stressTestCreate(data)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqTestingStressTestCreate\\nPath: /cfg/rq/testing/stress-test/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqTestingStressTestCreate',\n path: '/cfg/rq/testing/stress-test/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Workers\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { WorkerStatsSchema, type WorkerStats } from '../schemas/WorkerStats.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all workers\n *\n * @method GET\n * @path /cfg/rq/workers/\n */\nexport async function getRqWorkersList( params?: { queue?: string; state?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_workers.list(params?.queue, params?.state)\n return response\n}\n\n\n/**\n * Get worker statistics\n *\n * @method GET\n * @path /cfg/rq/workers/stats/\n */\nexport async function getRqWorkersStatsRetrieve( client?: any\n): Promise<WorkerStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_workers.statsRetrieve()\n try {\n return WorkerStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqWorkersStatsRetrieve\\nPath: /cfg/rq/workers/stats/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqWorkersStatsRetrieve',\n path: '/cfg/rq/workers/stats/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Django CFG API - API Client with JWT Management\n *\n * Usage:\n * ```typescript\n * import { API } from './api';\n *\n * const api = new API('https://api.example.com');\n *\n * // Set JWT token\n * api.setToken('your-jwt-token', 'refresh-token');\n *\n * // Use API\n * const posts = await api.posts.list();\n * const user = await api.users.retrieve(1);\n *\n * // Check authentication\n * if (api.isAuthenticated()) {\n * // ...\n * }\n *\n * // Custom storage with logging (for Electron/Node.js)\n * import { MemoryStorageAdapter, APILogger } from './storage';\n * const logger = new APILogger({ enabled: true, logLevel: 'debug' });\n * const api = new API('https://api.example.com', {\n * storage: new MemoryStorageAdapter(logger),\n * loggerConfig: { enabled: true, logLevel: 'debug' }\n * });\n *\n * // Get OpenAPI schema\n * const schema = api.getSchema();\n * ```\n */\n\nimport { APIClient } from \"./client\";\nimport {\n StorageAdapter,\n LocalStorageAdapter,\n CookieStorageAdapter,\n MemoryStorageAdapter\n} from \"./storage\";\nimport type { RetryConfig } from \"./retry\";\nimport type { LoggerConfig } from \"./logger\";\nimport { APILogger } from \"./logger\";\nimport { CfgAccountsAuth } from \"./cfg_accounts__accounts__auth/client\";\nimport { CfgAccountsCentrifugoAdminApi } from \"./cfg_accounts__centrifugo__centrifugo_admin_api/client\";\nimport { CfgAccountsCentrifugoAuth } from \"./cfg_accounts__centrifugo__centrifugo_auth/client\";\nimport { CfgAccountsCentrifugoMonitoring } from \"./cfg_accounts__centrifugo__centrifugo_monitoring/client\";\nimport { CfgAccountsCentrifugoTesting } from \"./cfg_accounts__centrifugo__centrifugo_testing/client\";\nimport { CfgAccountsDashboardApiZones } from \"./cfg_accounts__dashboard__dashboard_api_zones/client\";\nimport { CfgAccountsDashboardActivity } from \"./cfg_accounts__dashboard__dashboard_activity/client\";\nimport { CfgAccountsDashboardCharts } from \"./cfg_accounts__dashboard__dashboard_charts/client\";\nimport { CfgAccountsDashboardCommands } from \"./cfg_accounts__dashboard__dashboard_commands/client\";\nimport { CfgAccountsDashboardConfig } from \"./cfg_accounts__dashboard__dashboard_config/client\";\nimport { CfgAccountsDashboardOverview } from \"./cfg_accounts__dashboard__dashboard_overview/client\";\nimport { CfgAccountsDashboardStatistics } from \"./cfg_accounts__dashboard__dashboard_statistics/client\";\nimport { CfgAccountsDashboardSystem } from \"./cfg_accounts__dashboard__dashboard_system/client\";\nimport { CfgAccountsOauth } from \"./cfg_accounts__accounts__oauth/client\";\nimport { CfgAccountsRqJobs } from \"./cfg_accounts__rq__rq_jobs/client\";\nimport { CfgAccountsRqMonitoring } from \"./cfg_accounts__rq__rq_monitoring/client\";\nimport { CfgAccountsRqQueues } from \"./cfg_accounts__rq__rq_queues/client\";\nimport { CfgAccountsRqRegistries } from \"./cfg_accounts__rq__rq_registries/client\";\nimport { CfgAccountsRqSchedules } from \"./cfg_accounts__rq__rq_schedules/client\";\nimport { CfgAccountsRqTesting } from \"./cfg_accounts__rq__rq_testing/client\";\nimport { CfgAccountsRqWorkers } from \"./cfg_accounts__rq__rq_workers/client\";\nimport { CfgAccountsUserProfile } from \"./cfg_accounts__accounts__user_profile/client\";\nimport { CfgAccountsAccounts } from \"./cfg_accounts__accounts/client\";\nimport { CfgAccountsEndpoints } from \"./cfg_accounts__endpoints/client\";\nimport { CfgAccountsGrpcApiKeys } from \"./cfg_accounts__grpc__grpc_api_keys/client\";\nimport { CfgAccountsGrpcConfiguration } from \"./cfg_accounts__grpc__grpc_configuration/client\";\nimport { CfgAccountsGrpcMonitoring } from \"./cfg_accounts__grpc__grpc_monitoring/client\";\nimport { CfgAccountsGrpcServices } from \"./cfg_accounts__grpc__grpc_services/client\";\nimport { CfgAccountsHealth } from \"./cfg_accounts__health/client\";\nexport * as CfgAccountsAuthTypes from \"./cfg_accounts__accounts__auth/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoAdminApiTypes from \"./cfg_accounts__centrifugo__centrifugo_admin_api/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoAuthTypes from \"./cfg_accounts__centrifugo__centrifugo_auth/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoMonitoringTypes from \"./cfg_accounts__centrifugo__centrifugo_monitoring/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoTestingTypes from \"./cfg_accounts__centrifugo__centrifugo_testing/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardApiZonesTypes from \"./cfg_accounts__dashboard__dashboard_api_zones/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardActivityTypes from \"./cfg_accounts__dashboard__dashboard_activity/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardChartsTypes from \"./cfg_accounts__dashboard__dashboard_charts/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardCommandsTypes from \"./cfg_accounts__dashboard__dashboard_commands/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardConfigTypes from \"./cfg_accounts__dashboard__dashboard_config/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardOverviewTypes from \"./cfg_accounts__dashboard__dashboard_overview/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardStatisticsTypes from \"./cfg_accounts__dashboard__dashboard_statistics/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardSystemTypes from \"./cfg_accounts__dashboard__dashboard_system/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsOauthTypes from \"./cfg_accounts__accounts__oauth/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqJobsTypes from \"./cfg_accounts__rq__rq_jobs/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqMonitoringTypes from \"./cfg_accounts__rq__rq_monitoring/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqQueuesTypes from \"./cfg_accounts__rq__rq_queues/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqRegistriesTypes from \"./cfg_accounts__rq__rq_registries/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqSchedulesTypes from \"./cfg_accounts__rq__rq_schedules/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqTestingTypes from \"./cfg_accounts__rq__rq_testing/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqWorkersTypes from \"./cfg_accounts__rq__rq_workers/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsUserProfileTypes from \"./cfg_accounts__accounts__user_profile/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsAccountsTypes from \"./cfg_accounts__accounts/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsEndpointsTypes from \"./cfg_accounts__endpoints/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcApiKeysTypes from \"./cfg_accounts__grpc__grpc_api_keys/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcConfigurationTypes from \"./cfg_accounts__grpc__grpc_configuration/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcMonitoringTypes from \"./cfg_accounts__grpc__grpc_monitoring/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcServicesTypes from \"./cfg_accounts__grpc__grpc_services/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsHealthTypes from \"./cfg_accounts__health/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as Enums from \"./enums\";\n\n// Re-export Zod schemas for runtime validation\nexport * as Schemas from \"./_utils/schemas\";\n// Also export all schemas directly for convenience\nexport * from \"./_utils/schemas\";\n\n// Re-export Zod validation events for browser integration\nexport type { ValidationErrorDetail, ValidationErrorEvent } from \"./validation-events\";\nexport { dispatchValidationError, onValidationError, formatZodError } from \"./validation-events\";\n\n// Re-export typed fetchers for universal usage\nexport * as Fetchers from \"./_utils/fetchers\";\nexport * from \"./_utils/fetchers\";\n\n// Re-export API instance configuration functions\nexport {\n configureAPI,\n getAPIInstance,\n reconfigureAPI,\n clearAPITokens,\n resetAPI,\n isAPIConfigured\n} from \"./api-instance\";\n// NOTE: SWR hooks are generated in ./_utils/hooks/ but NOT exported here to keep\n// the main bundle server-safe. Import hooks directly from the hooks directory:\n// import { useUsers } from './_utils/hooks';\n// Or use a separate entry point like '@djangocfg/api/hooks' for client components.\n\n// Re-export core client\nexport { APIClient };\n\n// Re-export storage adapters for convenience\nexport type { StorageAdapter };\nexport { LocalStorageAdapter, CookieStorageAdapter, MemoryStorageAdapter };\n\n// Re-export error classes for convenience\nexport { APIError, NetworkError } from \"./errors\";\n\n// Re-export HTTP adapters for custom implementations\nexport type { HttpClientAdapter, HttpRequest, HttpResponse } from \"./http\";\nexport { FetchAdapter } from \"./http\";\n\n// Re-export logger types and classes\nexport type { LoggerConfig, RequestLog, ResponseLog, ErrorLog } from \"./logger\";\nexport { APILogger } from \"./logger\";\n\n// Re-export retry configuration and utilities\nexport type { RetryConfig, FailedAttemptInfo } from \"./retry\";\nexport { withRetry, shouldRetry, DEFAULT_RETRY_CONFIG } from \"./retry\";\n\nexport const TOKEN_KEY = \"auth_token\";\nexport const REFRESH_TOKEN_KEY = \"refresh_token\";\n\nexport interface APIOptions {\n /** Custom storage adapter (defaults to LocalStorageAdapter) */\n storage?: StorageAdapter;\n /** Retry configuration for failed requests */\n retryConfig?: RetryConfig;\n /** Logger configuration */\n loggerConfig?: Partial<LoggerConfig>;\n}\n\nexport class API {\n private baseUrl: string;\n private _client: APIClient;\n private _token: string | null = null;\n private _refreshToken: string | null = null;\n private storage: StorageAdapter;\n private options?: APIOptions;\n\n // Sub-clients\n public cfg_accounts_auth!: CfgAccountsAuth;\n public cfg_accounts_centrifugo_admin_api!: CfgAccountsCentrifugoAdminApi;\n public cfg_accounts_centrifugo_auth!: CfgAccountsCentrifugoAuth;\n public cfg_accounts_centrifugo_monitoring!: CfgAccountsCentrifugoMonitoring;\n public cfg_accounts_centrifugo_testing!: CfgAccountsCentrifugoTesting;\n public cfg_accounts_dashboard_api_zones!: CfgAccountsDashboardApiZones;\n public cfg_accounts_dashboard_activity!: CfgAccountsDashboardActivity;\n public cfg_accounts_dashboard_charts!: CfgAccountsDashboardCharts;\n public cfg_accounts_dashboard_commands!: CfgAccountsDashboardCommands;\n public cfg_accounts_dashboard_config!: CfgAccountsDashboardConfig;\n public cfg_accounts_dashboard_overview!: CfgAccountsDashboardOverview;\n public cfg_accounts_dashboard_statistics!: CfgAccountsDashboardStatistics;\n public cfg_accounts_dashboard_system!: CfgAccountsDashboardSystem;\n public cfg_accounts_oauth!: CfgAccountsOauth;\n public cfg_accounts_rq_jobs!: CfgAccountsRqJobs;\n public cfg_accounts_rq_monitoring!: CfgAccountsRqMonitoring;\n public cfg_accounts_rq_queues!: CfgAccountsRqQueues;\n public cfg_accounts_rq_registries!: CfgAccountsRqRegistries;\n public cfg_accounts_rq_schedules!: CfgAccountsRqSchedules;\n public cfg_accounts_rq_testing!: CfgAccountsRqTesting;\n public cfg_accounts_rq_workers!: CfgAccountsRqWorkers;\n public cfg_accounts_user_profile!: CfgAccountsUserProfile;\n public cfg_accounts_accounts!: CfgAccountsAccounts;\n public cfg_accounts_endpoints!: CfgAccountsEndpoints;\n public cfg_accounts_grpc_api_keys!: CfgAccountsGrpcApiKeys;\n public cfg_accounts_grpc_configuration!: CfgAccountsGrpcConfiguration;\n public cfg_accounts_grpc_monitoring!: CfgAccountsGrpcMonitoring;\n public cfg_accounts_grpc_services!: CfgAccountsGrpcServices;\n public cfg_accounts_health!: CfgAccountsHealth;\n\n constructor(baseUrl: string, options?: APIOptions) {\n this.baseUrl = baseUrl;\n this.options = options;\n\n // Create logger if config provided\n const logger = options?.loggerConfig ? new APILogger(options.loggerConfig) : undefined;\n\n // Initialize storage with logger\n this.storage = options?.storage || new LocalStorageAdapter(logger);\n\n this._loadTokensFromStorage();\n\n // Initialize APIClient\n this._client = new APIClient(this.baseUrl, {\n retryConfig: this.options?.retryConfig,\n loggerConfig: this.options?.loggerConfig,\n });\n\n // Always inject auth header wrapper (reads token dynamically from storage)\n this._injectAuthHeader();\n\n // Initialize sub-clients from APIClient\n this.cfg_accounts_auth = this._client.cfg_accounts_auth;\n this.cfg_accounts_centrifugo_admin_api = this._client.cfg_accounts_centrifugo_admin_api;\n this.cfg_accounts_centrifugo_auth = this._client.cfg_accounts_centrifugo_auth;\n this.cfg_accounts_centrifugo_monitoring = this._client.cfg_accounts_centrifugo_monitoring;\n this.cfg_accounts_centrifugo_testing = this._client.cfg_accounts_centrifugo_testing;\n this.cfg_accounts_dashboard_api_zones = this._client.cfg_accounts_dashboard_api_zones;\n this.cfg_accounts_dashboard_activity = this._client.cfg_accounts_dashboard_activity;\n this.cfg_accounts_dashboard_charts = this._client.cfg_accounts_dashboard_charts;\n this.cfg_accounts_dashboard_commands = this._client.cfg_accounts_dashboard_commands;\n this.cfg_accounts_dashboard_config = this._client.cfg_accounts_dashboard_config;\n this.cfg_accounts_dashboard_overview = this._client.cfg_accounts_dashboard_overview;\n this.cfg_accounts_dashboard_statistics = this._client.cfg_accounts_dashboard_statistics;\n this.cfg_accounts_dashboard_system = this._client.cfg_accounts_dashboard_system;\n this.cfg_accounts_oauth = this._client.cfg_accounts_oauth;\n this.cfg_accounts_rq_jobs = this._client.cfg_accounts_rq_jobs;\n this.cfg_accounts_rq_monitoring = this._client.cfg_accounts_rq_monitoring;\n this.cfg_accounts_rq_queues = this._client.cfg_accounts_rq_queues;\n this.cfg_accounts_rq_registries = this._client.cfg_accounts_rq_registries;\n this.cfg_accounts_rq_schedules = this._client.cfg_accounts_rq_schedules;\n this.cfg_accounts_rq_testing = this._client.cfg_accounts_rq_testing;\n this.cfg_accounts_rq_workers = this._client.cfg_accounts_rq_workers;\n this.cfg_accounts_user_profile = this._client.cfg_accounts_user_profile;\n this.cfg_accounts_accounts = this._client.cfg_accounts_accounts;\n this.cfg_accounts_endpoints = this._client.cfg_accounts_endpoints;\n this.cfg_accounts_grpc_api_keys = this._client.cfg_accounts_grpc_api_keys;\n this.cfg_accounts_grpc_configuration = this._client.cfg_accounts_grpc_configuration;\n this.cfg_accounts_grpc_monitoring = this._client.cfg_accounts_grpc_monitoring;\n this.cfg_accounts_grpc_services = this._client.cfg_accounts_grpc_services;\n this.cfg_accounts_health = this._client.cfg_accounts_health;\n }\n\n private _loadTokensFromStorage(): void {\n this._token = this.storage.getItem(TOKEN_KEY);\n this._refreshToken = this.storage.getItem(REFRESH_TOKEN_KEY);\n }\n\n private _reinitClients(): void {\n this._client = new APIClient(this.baseUrl, {\n retryConfig: this.options?.retryConfig,\n loggerConfig: this.options?.loggerConfig,\n });\n\n // Always inject auth header wrapper (reads token dynamically from storage)\n this._injectAuthHeader();\n\n // Reinitialize sub-clients\n this.cfg_accounts_auth = this._client.cfg_accounts_auth;\n this.cfg_accounts_centrifugo_admin_api = this._client.cfg_accounts_centrifugo_admin_api;\n this.cfg_accounts_centrifugo_auth = this._client.cfg_accounts_centrifugo_auth;\n this.cfg_accounts_centrifugo_monitoring = this._client.cfg_accounts_centrifugo_monitoring;\n this.cfg_accounts_centrifugo_testing = this._client.cfg_accounts_centrifugo_testing;\n this.cfg_accounts_dashboard_api_zones = this._client.cfg_accounts_dashboard_api_zones;\n this.cfg_accounts_dashboard_activity = this._client.cfg_accounts_dashboard_activity;\n this.cfg_accounts_dashboard_charts = this._client.cfg_accounts_dashboard_charts;\n this.cfg_accounts_dashboard_commands = this._client.cfg_accounts_dashboard_commands;\n this.cfg_accounts_dashboard_config = this._client.cfg_accounts_dashboard_config;\n this.cfg_accounts_dashboard_overview = this._client.cfg_accounts_dashboard_overview;\n this.cfg_accounts_dashboard_statistics = this._client.cfg_accounts_dashboard_statistics;\n this.cfg_accounts_dashboard_system = this._client.cfg_accounts_dashboard_system;\n this.cfg_accounts_oauth = this._client.cfg_accounts_oauth;\n this.cfg_accounts_rq_jobs = this._client.cfg_accounts_rq_jobs;\n this.cfg_accounts_rq_monitoring = this._client.cfg_accounts_rq_monitoring;\n this.cfg_accounts_rq_queues = this._client.cfg_accounts_rq_queues;\n this.cfg_accounts_rq_registries = this._client.cfg_accounts_rq_registries;\n this.cfg_accounts_rq_schedules = this._client.cfg_accounts_rq_schedules;\n this.cfg_accounts_rq_testing = this._client.cfg_accounts_rq_testing;\n this.cfg_accounts_rq_workers = this._client.cfg_accounts_rq_workers;\n this.cfg_accounts_user_profile = this._client.cfg_accounts_user_profile;\n this.cfg_accounts_accounts = this._client.cfg_accounts_accounts;\n this.cfg_accounts_endpoints = this._client.cfg_accounts_endpoints;\n this.cfg_accounts_grpc_api_keys = this._client.cfg_accounts_grpc_api_keys;\n this.cfg_accounts_grpc_configuration = this._client.cfg_accounts_grpc_configuration;\n this.cfg_accounts_grpc_monitoring = this._client.cfg_accounts_grpc_monitoring;\n this.cfg_accounts_grpc_services = this._client.cfg_accounts_grpc_services;\n this.cfg_accounts_health = this._client.cfg_accounts_health;\n }\n\n private _injectAuthHeader(): void {\n // Override request method to inject auth header\n const originalRequest = this._client.request.bind(this._client);\n this._client.request = async <T>(\n method: string,\n path: string,\n options?: { params?: Record<string, any>; body?: any; formData?: FormData; headers?: Record<string, string> }\n ): Promise<T> => {\n // Read token from storage dynamically (supports JWT injection after instantiation)\n const token = this.getToken();\n const mergedOptions = {\n ...options,\n headers: {\n ...(options?.headers || {}),\n ...(token ? { 'Authorization': `Bearer ${token}` } : {}),\n },\n };\n\n return originalRequest(method, path, mergedOptions);\n };\n }\n\n /**\n * Get current JWT token\n */\n getToken(): string | null {\n return this.storage.getItem(TOKEN_KEY);\n }\n\n /**\n * Get current refresh token\n */\n getRefreshToken(): string | null {\n return this.storage.getItem(REFRESH_TOKEN_KEY);\n }\n\n /**\n * Set JWT token and refresh token\n * @param token - JWT access token\n * @param refreshToken - JWT refresh token (optional)\n */\n setToken(token: string, refreshToken?: string): void {\n this._token = token;\n this.storage.setItem(TOKEN_KEY, token);\n\n if (refreshToken) {\n this._refreshToken = refreshToken;\n this.storage.setItem(REFRESH_TOKEN_KEY, refreshToken);\n }\n\n // Reinitialize clients with new token\n this._reinitClients();\n }\n\n /**\n * Clear all tokens\n */\n clearTokens(): void {\n this._token = null;\n this._refreshToken = null;\n this.storage.removeItem(TOKEN_KEY);\n this.storage.removeItem(REFRESH_TOKEN_KEY);\n\n // Reinitialize clients without token\n this._reinitClients();\n }\n\n /**\n * Check if user is authenticated\n */\n isAuthenticated(): boolean {\n return !!this.getToken();\n }\n\n /**\n * Update base URL and reinitialize clients\n * @param url - New base URL\n */\n setBaseUrl(url: string): void {\n this.baseUrl = url;\n this._reinitClients();\n }\n\n /**\n * Get current base URL\n */\n getBaseUrl(): string {\n return this.baseUrl;\n }\n\n /**\n * Get OpenAPI schema path\n * @returns Path to the OpenAPI schema JSON file\n *\n * Note: The OpenAPI schema is available in the schema.json file.\n * You can load it dynamically using:\n * ```typescript\n * const schema = await fetch('./schema.json').then(r => r.json());\n * // or using fs in Node.js:\n * // const schema = JSON.parse(fs.readFileSync('./schema.json', 'utf-8'));\n * ```\n */\n getSchemaPath(): string {\n return './schema.json';\n }\n}\n\nexport default API;","/**\n * @djangocfg/api - Shared API Package\n *\n * Core authentication API (cfg_accounts only).\n * Extensions are now in separate packages:\n * - @djangocfg/ext-support\n * - @djangocfg/ext-payments\n * - etc.\n */\n\n// ============================================================================\n// Main API from cfg_accounts (authentication)\n// ============================================================================\nexport * from './generated/cfg_accounts';\nexport { API, LocalStorageAdapter, MemoryStorageAdapter } from './generated/cfg_accounts';\nexport { Schemas, Fetchers, Enums } from './generated/cfg_accounts';\n\n// ============================================================================\n// CFG Accounts Type Namespace\n// ============================================================================\nexport * as CfgAccountsTypes from './generated/cfg_accounts';\n\n/**\n * Base Client for all API services\n *\n * Provides:\n * - Centralized API instance with JWT token management\n * - LocalStorage adapter for browser environments\n * - Singleton pattern for API client\n */\n\nimport { API, LocalStorageAdapter } from './generated/cfg_accounts';\n\n/**\n * Singleton API instance with JWT token management\n * Uses LocalStorage for token persistence\n */\nconst isStaticBuild = process.env.NEXT_PUBLIC_STATIC_BUILD === 'true';\nconst apiUrl = isStaticBuild ? '' : process.env.NEXT_PUBLIC_API_URL || '';\n\nconst api = new API(\n apiUrl,\n {\n storage: new LocalStorageAdapter()\n }\n);\n\n/**\n * Base Client Class\n *\n * Service classes can extend this to access api instance\n */\nexport class BaseClient {\n protected static api = api;\n}\n\n/**\n * Export API instance for direct access\n */\nexport { api };\n","/**\n * Accounts Context\n *\n * Manages user authentication and profile operations using generated SWR hooks\n *\n * Features:\n * - OTP-based authentication\n * - User profile management\n * - Avatar upload\n * - Profile updates\n * - localStorage cache with TTL (1 hour)\n */\n\n\"use client\";\n\nimport { createContext, useContext, ReactNode, useState, useCallback, useRef, useEffect } from 'react';\nimport { getCachedProfile, setCachedProfile, clearProfileCache } from '../hooks/useProfileCache';\nimport { authLogger } from '../utils/logger';\n// Import API instance and fetcher\nimport { api as apiAccounts, getAccountsProfileRetrieve } from '../../';\n// Import types from generated API\nimport type {\n User,\n UserProfileUpdateRequest,\n PatchedUserProfileUpdateRequest,\n OTPRequestRequest,\n OTPVerifyRequest,\n OTPRequestResponse,\n OTPVerifyResponse,\n TokenRefresh,\n API,\n} from '../../generated/cfg_accounts';\n// Import schema\nimport { PatchedUserProfileUpdateRequestSchema } from '../../generated/cfg_accounts';\n// Import hooks from generated API hooks\nimport {\n usePartialUpdateAccountsProfilePartialUpdate,\n useUpdateAccountsProfileUpdateUpdate,\n useCreateAccountsProfileAvatarCreate,\n useCreateAccountsOtpRequestCreate,\n useCreateAccountsOtpVerifyCreate,\n useCreateAccountsTokenRefreshCreate,\n} from '../../generated/cfg_accounts/_utils/hooks';\n\n// Re-export schemas for external use\nexport { PatchedUserProfileUpdateRequestSchema };\nexport type { PatchedUserProfileUpdateRequest };\n\n// ─────────────────────────────────────────────────────────────────────────\n// Context Type\n// ─────────────────────────────────────────────────────────────────────────\n\nexport interface AccountsContextValue {\n // Current user profile\n profile?: User;\n isLoadingProfile: boolean;\n profileError: Error | null;\n\n // Profile operations\n updateProfile: (data: UserProfileUpdateRequest) => Promise<User>;\n partialUpdateProfile: (data: PatchedUserProfileUpdateRequest) => Promise<User>;\n uploadAvatar: (formData: FormData) => Promise<User>;\n refreshProfile: (callerId?: string) => Promise<User | undefined>;\n\n // Authentication\n requestOTP: (data: OTPRequestRequest) => Promise<OTPRequestResponse>;\n verifyOTP: (data: OTPVerifyRequest) => Promise<OTPVerifyResponse>;\n refreshToken: (refresh: string) => Promise<TokenRefresh>;\n logout: () => void;\n}\n\n// ─────────────────────────────────────────────────────────────────────────\n// Context\n// ─────────────────────────────────────────────────────────────────────────\n\nconst AccountsContext = createContext<AccountsContextValue | undefined>(undefined);\n\n// ─────────────────────────────────────────────────────────────────────────\n// Provider Component\n// ─────────────────────────────────────────────────────────────────────────\n\ninterface AccountsProviderProps {\n children: ReactNode;\n}\n\nexport function AccountsProvider({ children }: AccountsProviderProps) {\n // State management with localStorage cache\n const [profile, setProfile] = useState<User | undefined>(() => {\n // Initialize from cache on mount\n const cached = getCachedProfile();\n return cached || undefined;\n });\n const [isLoadingProfile, setIsLoadingProfile] = useState(false);\n const [profileError, setProfileError] = useState<Error | null>(null);\n\n // Use refs to access current state without adding to dependencies\n const profileRef = useRef<User | undefined>(profile);\n const isLoadingRef = useRef(false);\n\n // Keep refs in sync with state\n useEffect(() => {\n profileRef.current = profile;\n }, [profile]);\n\n useEffect(() => {\n isLoadingRef.current = isLoadingProfile;\n }, [isLoadingProfile]);\n\n // Mutation hooks\n const updateMutation = useUpdateAccountsProfileUpdateUpdate();\n const partialUpdateMutation = usePartialUpdateAccountsProfilePartialUpdate();\n const avatarMutation = useCreateAccountsProfileAvatarCreate();\n const otpRequestMutation = useCreateAccountsOtpRequestCreate();\n const otpVerifyMutation = useCreateAccountsOtpVerifyCreate();\n const tokenRefreshMutation = useCreateAccountsTokenRefreshCreate();\n\n // Refresh profile - fetch and cache with stable callback\n const refreshProfile = useCallback(async (callerId?: string): Promise<User | undefined> => {\n // Use refs to check current state without creating dependency\n const currentProfile = profileRef.current;\n const currentLoading = isLoadingRef.current;\n\n // Prevent duplicate calls if profile is already loaded and not loading\n if (currentProfile && !currentLoading) {\n authLogger.debug(`Profile already loaded, returning cached (caller: ${callerId})`);\n return currentProfile;\n }\n\n setIsLoadingProfile(true);\n isLoadingRef.current = true;\n setProfileError(null);\n try {\n // Log caller for debugging excessive API calls using consola logger\n if (callerId) {\n authLogger.debug(`Profile refresh called by: ${callerId}`);\n }\n const result = await getAccountsProfileRetrieve(apiAccounts);\n setProfile(result);\n profileRef.current = result;\n // Save to cache with 1 hour TTL\n setCachedProfile(result);\n return result;\n } catch (error) {\n const err = error instanceof Error ? error : new Error('Failed to fetch profile');\n setProfileError(err);\n throw err;\n } finally {\n setIsLoadingProfile(false);\n isLoadingRef.current = false;\n }\n }, []); // Empty dependencies - callback is stable\n\n // Update profile (full)\n const updateProfile = async (data: UserProfileUpdateRequest): Promise<User> => {\n const result = await updateMutation(data, apiAccounts);\n await refreshProfile('AccountsContext.updateProfile');\n return result as User;\n };\n\n // Partial update profile\n const partialUpdateProfile = async (data: PatchedUserProfileUpdateRequest): Promise<User> => {\n const result = await partialUpdateMutation(data, apiAccounts);\n await refreshProfile('AccountsContext.partialUpdateProfile');\n return result as User;\n };\n\n // Upload avatar\n const uploadAvatar = async (formData: FormData): Promise<User> => {\n const result = await avatarMutation(formData, apiAccounts);\n await refreshProfile('AccountsContext.uploadAvatar');\n return result as User;\n };\n\n // Request OTP\n const requestOTP = async (data: OTPRequestRequest): Promise<OTPRequestResponse> => {\n const result = await otpRequestMutation(data, apiAccounts);\n return result as OTPRequestResponse;\n };\n\n // Verify OTP\n const verifyOTP = async (data: OTPVerifyRequest): Promise<OTPVerifyResponse> => {\n const result = await otpVerifyMutation(data, apiAccounts);\n\n // Automatically save tokens after successful verification\n if (result.access && result.refresh) {\n apiAccounts.setToken(result.access, result.refresh);\n // Refresh profile to load user data with new token\n await refreshProfile('AccountsContext.verifyOTP');\n }\n\n return result as OTPVerifyResponse;\n };\n\n // Refresh token\n const refreshToken = async (refresh: string): Promise<TokenRefresh> => {\n const result = await tokenRefreshMutation({ refresh }, apiAccounts);\n\n // Automatically save new access token\n if (result.access) {\n apiAccounts.setToken(result.access, refresh);\n }\n\n return result as TokenRefresh;\n };\n\n // Logout - clear tokens, profile state, and cache\n const logout = useCallback(() => {\n apiAccounts.clearTokens();\n setProfile(undefined);\n setProfileError(null);\n clearProfileCache();\n }, []);\n\n const value: AccountsContextValue = {\n profile,\n isLoadingProfile,\n profileError,\n updateProfile,\n partialUpdateProfile,\n uploadAvatar,\n refreshProfile,\n requestOTP,\n verifyOTP,\n refreshToken,\n logout,\n };\n\n return (\n <AccountsContext.Provider value={value}>\n {children}\n </AccountsContext.Provider>\n );\n}\n\n// ─────────────────────────────────────────────────────────────────────────\n// Hook\n// ─────────────────────────────────────────────────────────────────────────\n\nexport function useAccountsContext(): AccountsContextValue {\n const context = useContext(AccountsContext);\n if (!context) {\n throw new Error('useAccountsContext must be used within AccountsProvider');\n }\n return context;\n}\n","import { createConsola } from 'consola';\n\n/**\n * Universal logger for @djangocfg/api/auth\n * Uses consola for beautiful console logging\n *\n * Log levels:\n * - 0: silent\n * - 1: fatal, error\n * - 2: warn\n * - 3: log, info\n * - 4: debug\n * - 5: trace, verbose\n */\nconst isDevelopment = process.env.NODE_ENV === 'development';\nconst isStaticBuild = process.env.NEXT_PUBLIC_STATIC_BUILD === 'true';\nconst showLogs = isDevelopment || isStaticBuild;\n\nexport const logger = createConsola({\n level: showLogs ? 4 : 1, // dev: debug, production: errors only\n}).withTag('api');\n\n/**\n * Auth-specific logger\n */\nexport const authLogger = logger.withTag('auth');\n\nexport default logger;\n","\"use client\"\n\n/**\n * Profile Cache Hook\n *\n * Provides localStorage-based caching for user profile with:\n * - TTL (Time To Live) - default 1 hour\n * - Version control for migrations\n * - Automatic invalidation on expiry\n */\n\nimport type { User } from '../../';\nimport { authLogger as profileLogger } from '../utils/logger';\n\n// Cache configuration\nconst CACHE_KEY = 'user_profile_cache';\nconst CACHE_VERSION = 1;\nconst DEFAULT_TTL = 3600000; // 1 hour in milliseconds\n\nexport interface ProfileCacheOptions {\n /** Time to live in milliseconds (default: 1 hour) */\n ttl?: number;\n}\n\ninterface CachedProfile {\n version: number;\n data: User;\n timestamp: number;\n ttl: number;\n}\n\n/**\n * Get cached profile from localStorage\n * @returns User profile if valid cache exists, null otherwise\n */\nexport function getCachedProfile(): User | null {\n try {\n if (typeof window === 'undefined') return null;\n\n const cached = localStorage.getItem(CACHE_KEY);\n if (!cached) {\n profileLogger.debug('No cached profile found');\n return null;\n }\n\n const cachedData: CachedProfile = JSON.parse(cached);\n\n // Version check\n if (cachedData.version !== CACHE_VERSION) {\n profileLogger.warn('Cache version mismatch, clearing cache');\n clearProfileCache();\n return null;\n }\n\n // TTL check\n const now = Date.now();\n const age = now - cachedData.timestamp;\n if (age > cachedData.ttl) {\n profileLogger.info('Cache expired, clearing');\n clearProfileCache();\n return null;\n }\n\n profileLogger.debug('Cache hit, age:', Math.round(age / 1000), 'seconds');\n return cachedData.data;\n } catch (error) {\n profileLogger.error('Error reading cache:', error);\n clearProfileCache();\n return null;\n }\n}\n\n/**\n * Save profile to localStorage cache\n * @param profile - User profile to cache\n * @param options - Cache options (TTL)\n */\nexport function setCachedProfile(profile: User, options?: ProfileCacheOptions): void {\n try {\n if (typeof window === 'undefined') return;\n\n const cachedData: CachedProfile = {\n version: CACHE_VERSION,\n data: profile,\n timestamp: Date.now(),\n ttl: options?.ttl || DEFAULT_TTL,\n };\n\n localStorage.setItem(CACHE_KEY, JSON.stringify(cachedData));\n profileLogger.debug('Profile cached, TTL:', cachedData.ttl / 1000, 'seconds');\n } catch (error) {\n profileLogger.error('Error writing cache:', error);\n }\n}\n\n/**\n * Clear profile cache from localStorage\n */\nexport function clearProfileCache(): void {\n try {\n if (typeof window === 'undefined') return;\n localStorage.removeItem(CACHE_KEY);\n profileLogger.debug('Cache cleared');\n } catch (error) {\n profileLogger.error('Error clearing cache:', error);\n }\n}\n\n/**\n * Check if cached profile is valid (exists and not expired)\n */\nexport function hasValidCache(): boolean {\n return getCachedProfile() !== null;\n}\n\n/**\n * Get cache metadata (age, TTL, etc.)\n */\nexport function getCacheMetadata(): {\n exists: boolean;\n age?: number;\n ttl?: number;\n expiresIn?: number;\n} | null {\n try {\n if (typeof window === 'undefined') return null;\n\n const cached = localStorage.getItem(CACHE_KEY);\n if (!cached) return { exists: false };\n\n const cachedData: CachedProfile = JSON.parse(cached);\n const now = Date.now();\n const age = now - cachedData.timestamp;\n const expiresIn = cachedData.ttl - age;\n\n return {\n exists: true,\n age,\n ttl: cachedData.ttl,\n expiresIn: Math.max(0, expiresIn),\n };\n } catch (error) {\n profileLogger.error('Error reading metadata:', error);\n return null;\n }\n}\n","'use client';\n\n/**\n * SWR Hooks for Auth\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts__auth'\nimport type { API } from '../../index'\nimport type { TokenRefresh } from '../schemas/TokenRefresh.schema'\nimport type { TokenRefreshRequest } from '../schemas/TokenRefreshRequest.schema'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/token/refresh/\n */\nexport function useCreateAccountsTokenRefreshCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: TokenRefreshRequest, client?: API): Promise<TokenRefresh> => {\n const result = await Fetchers.createAccountsTokenRefreshCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-token-refresh')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Admin API\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_admin_api'\nimport type { API } from '../../index'\nimport type { CentrifugoChannelsRequestRequest } from '../schemas/CentrifugoChannelsRequestRequest.schema'\nimport type { CentrifugoChannelsResponse } from '../schemas/CentrifugoChannelsResponse.schema'\nimport type { CentrifugoHistoryRequestRequest } from '../schemas/CentrifugoHistoryRequestRequest.schema'\nimport type { CentrifugoHistoryResponse } from '../schemas/CentrifugoHistoryResponse.schema'\nimport type { CentrifugoInfoResponse } from '../schemas/CentrifugoInfoResponse.schema'\nimport type { CentrifugoPresenceRequestRequest } from '../schemas/CentrifugoPresenceRequestRequest.schema'\nimport type { CentrifugoPresenceResponse } from '../schemas/CentrifugoPresenceResponse.schema'\nimport type { CentrifugoPresenceStatsRequestRequest } from '../schemas/CentrifugoPresenceStatsRequestRequest.schema'\nimport type { CentrifugoPresenceStatsResponse } from '../schemas/CentrifugoPresenceStatsResponse.schema'\n\n/**\n * Get connection token for dashboard\n *\n * @method POST\n * @path /cfg/centrifugo/server/auth/token/\n */\nexport function useCreateCentrifugoServerAuthTokenCreate() {\n const { mutate } = useSWRConfig()\n\n return async (client?: API): Promise<any> => {\n const result = await Fetchers.createCentrifugoServerAuthTokenCreate(client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-auth-token')\n return result\n }\n}\n\n\n/**\n * List active channels\n *\n * @method POST\n * @path /cfg/centrifugo/server/channels/\n */\nexport function useCreateCentrifugoServerChannelsCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoChannelsRequestRequest, client?: API): Promise<CentrifugoChannelsResponse> => {\n const result = await Fetchers.createCentrifugoServerChannelsCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-channels')\n return result\n }\n}\n\n\n/**\n * Get channel history\n *\n * @method POST\n * @path /cfg/centrifugo/server/history/\n */\nexport function useCreateCentrifugoServerHistoryCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoHistoryRequestRequest, client?: API): Promise<CentrifugoHistoryResponse> => {\n const result = await Fetchers.createCentrifugoServerHistoryCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-history')\n return result\n }\n}\n\n\n/**\n * Get Centrifugo server info\n *\n * @method POST\n * @path /cfg/centrifugo/server/info/\n */\nexport function useCreateCentrifugoServerInfoCreate() {\n const { mutate } = useSWRConfig()\n\n return async (client?: API): Promise<CentrifugoInfoResponse> => {\n const result = await Fetchers.createCentrifugoServerInfoCreate(client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-info')\n return result\n }\n}\n\n\n/**\n * Get channel presence\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence/\n */\nexport function useCreateCentrifugoServerPresenceCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoPresenceRequestRequest, client?: API): Promise<CentrifugoPresenceResponse> => {\n const result = await Fetchers.createCentrifugoServerPresenceCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-presence')\n return result\n }\n}\n\n\n/**\n * Get channel presence statistics\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence-stats/\n */\nexport function useCreateCentrifugoServerPresenceStatsCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoPresenceStatsRequestRequest, client?: API): Promise<CentrifugoPresenceStatsResponse> => {\n const result = await Fetchers.createCentrifugoServerPresenceStatsCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-presence-stats')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Auth\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_auth'\nimport type { API } from '../../index'\nimport type { ConnectionTokenResponse } from '../schemas/ConnectionTokenResponse.schema'\n\n/**\n * Get Centrifugo connection token\n *\n * @method GET\n * @path /cfg/centrifugo/auth/token/\n */\nexport function useCentrifugoAuthTokenRetrieve(client?: API): ReturnType<typeof useSWR<ConnectionTokenResponse>> {\n return useSWR<ConnectionTokenResponse>(\n 'cfg-centrifugo-auth-token',\n () => Fetchers.getCentrifugoAuthTokenRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Monitoring\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_monitoring'\nimport type { API } from '../../index'\nimport type { CentrifugoHealthCheck } from '../schemas/CentrifugoHealthCheck.schema'\nimport type { CentrifugoOverviewStats } from '../schemas/CentrifugoOverviewStats.schema'\nimport type { ChannelList } from '../schemas/ChannelList.schema'\nimport type { PaginatedPublishList } from '../schemas/PaginatedPublishList.schema'\nimport type { TimelineResponse } from '../schemas/TimelineResponse.schema'\n\n/**\n * Get channel statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/channels/\n */\nexport function useCentrifugoMonitorChannelsRetrieve(params?: { hours?: number }, client?: API): ReturnType<typeof useSWR<ChannelList>> {\n return useSWR<ChannelList>(\n params ? ['cfg-centrifugo-monitor-channel', params] : 'cfg-centrifugo-monitor-channel',\n () => Fetchers.getCentrifugoMonitorChannelsRetrieve(params, client)\n )\n}\n\n\n/**\n * Get Centrifugo health status\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/health/\n */\nexport function useCentrifugoMonitorHealthRetrieve(client?: API): ReturnType<typeof useSWR<CentrifugoHealthCheck>> {\n return useSWR<CentrifugoHealthCheck>(\n 'cfg-centrifugo-monitor-health',\n () => Fetchers.getCentrifugoMonitorHealthRetrieve(client)\n )\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/overview/\n */\nexport function useCentrifugoMonitorOverviewRetrieve(params?: { hours?: number }, client?: API): ReturnType<typeof useSWR<CentrifugoOverviewStats>> {\n return useSWR<CentrifugoOverviewStats>(\n params ? ['cfg-centrifugo-monitor-overview', params] : 'cfg-centrifugo-monitor-overview',\n () => Fetchers.getCentrifugoMonitorOverviewRetrieve(params, client)\n )\n}\n\n\n/**\n * Get recent publishes\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/publishes/\n */\nexport function useCentrifugoMonitorPublishesList(params?: { channel?: string; page?: number; page_size?: number; status?: string }, client?: API): ReturnType<typeof useSWR<PaginatedPublishList>> {\n return useSWR<PaginatedPublishList>(\n params ? ['cfg-centrifugo-monitor-publishes', params] : 'cfg-centrifugo-monitor-publishes',\n () => Fetchers.getCentrifugoMonitorPublishesList(params, client)\n )\n}\n\n\n/**\n * Get publish timeline\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/timeline/\n */\nexport function useCentrifugoMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }, client?: API): ReturnType<typeof useSWR<TimelineResponse>> {\n return useSWR<TimelineResponse>(\n params ? ['cfg-centrifugo-monitor-timeline', params] : 'cfg-centrifugo-monitor-timeline',\n () => Fetchers.getCentrifugoMonitorTimelineRetrieve(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Testing\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_testing'\nimport type { API } from '../../index'\nimport type { ManualAckRequestRequest } from '../schemas/ManualAckRequestRequest.schema'\nimport type { ManualAckResponse } from '../schemas/ManualAckResponse.schema'\nimport type { PublishTestRequestRequest } from '../schemas/PublishTestRequestRequest.schema'\nimport type { PublishTestResponse } from '../schemas/PublishTestResponse.schema'\n\n/**\n * Publish test message\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-test/\n */\nexport function useCreateCentrifugoTestingPublishTestCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: PublishTestRequestRequest, client?: API): Promise<PublishTestResponse> => {\n const result = await Fetchers.createCentrifugoTestingPublishTestCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-testing-publish-test')\n return result\n }\n}\n\n\n/**\n * Publish with database logging\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-with-logging/\n */\nexport function useCreateCentrifugoTestingPublishWithLoggingCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: PublishTestRequestRequest, client?: API): Promise<PublishTestResponse> => {\n const result = await Fetchers.createCentrifugoTestingPublishWithLoggingCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-testing-publish-with-logging')\n return result\n }\n}\n\n\n/**\n * Send manual ACK\n *\n * @method POST\n * @path /cfg/centrifugo/testing/send-ack/\n */\nexport function useCreateCentrifugoTestingSendAckCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: ManualAckRequestRequest, client?: API): Promise<ManualAckResponse> => {\n const result = await Fetchers.createCentrifugoTestingSendAckCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-testing-send-ack')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - API Zones\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_api_zones'\nimport type { API } from '../../index'\nimport type { APIZonesSummary } from '../schemas/APIZonesSummary.schema'\n\n/**\n * Get all API zones\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/\n */\nexport function useDashboardApiZonesList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-zones',\n () => Fetchers.getDashboardApiZonesList(client)\n )\n}\n\n\n/**\n * Get zones summary\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/summary/\n */\nexport function useDashboardApiZonesSummaryRetrieve(client?: API): ReturnType<typeof useSWR<APIZonesSummary>> {\n return useSWR<APIZonesSummary>(\n 'cfg-dashboard-api-zones-summary',\n () => Fetchers.getDashboardApiZonesSummaryRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Activity\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_activity'\nimport type { API } from '../../index'\n\n/**\n * Get quick actions\n *\n * @method GET\n * @path /cfg/dashboard/api/activity/actions/\n */\nexport function useDashboardApiActivityActionsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-activity-actions',\n () => Fetchers.getDashboardApiActivityActionsList(client)\n )\n}\n\n\n/**\n * Get recent activity\n *\n * @method GET\n * @path /cfg/dashboard/api/activity/recent/\n */\nexport function useDashboardApiActivityRecentList(params?: { limit?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-dashboard-api-activity-recent', params] : 'cfg-dashboard-api-activity-recent',\n () => Fetchers.getDashboardApiActivityRecentList(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Charts\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_charts'\nimport type { API } from '../../index'\nimport type { ChartData } from '../schemas/ChartData.schema'\n\n/**\n * Get user activity chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/activity/\n */\nexport function useDashboardApiChartsActivityRetrieve(params?: { days?: number }, client?: API): ReturnType<typeof useSWR<ChartData>> {\n return useSWR<ChartData>(\n params ? ['cfg-dashboard-api-charts-activity', params] : 'cfg-dashboard-api-charts-activity',\n () => Fetchers.getDashboardApiChartsActivityRetrieve(params, client)\n )\n}\n\n\n/**\n * Get recent users\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/recent-users/\n */\nexport function useDashboardApiChartsRecentUsersList(params?: { limit?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-dashboard-api-charts-recent-users', params] : 'cfg-dashboard-api-charts-recent-users',\n () => Fetchers.getDashboardApiChartsRecentUsersList(params, client)\n )\n}\n\n\n/**\n * Get user registration chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/registrations/\n */\nexport function useDashboardApiChartsRegistrationsRetrieve(params?: { days?: number }, client?: API): ReturnType<typeof useSWR<ChartData>> {\n return useSWR<ChartData>(\n params ? ['cfg-dashboard-api-charts-registration', params] : 'cfg-dashboard-api-charts-registration',\n () => Fetchers.getDashboardApiChartsRegistrationsRetrieve(params, client)\n )\n}\n\n\n/**\n * Get activity tracker\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/tracker/\n */\nexport function useDashboardApiChartsTrackerList(params?: { weeks?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-dashboard-api-charts-tracker', params] : 'cfg-dashboard-api-charts-tracker',\n () => Fetchers.getDashboardApiChartsTrackerList(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Commands\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_commands'\nimport type { API } from '../../index'\nimport type { CommandExecuteRequestRequest } from '../schemas/CommandExecuteRequestRequest.schema'\nimport type { CommandHelpResponse } from '../schemas/CommandHelpResponse.schema'\nimport type { CommandsSummary } from '../schemas/CommandsSummary.schema'\n\n/**\n * Get all commands\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/\n */\nexport function useDashboardApiCommandsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-commands',\n () => Fetchers.getDashboardApiCommandsList(client)\n )\n}\n\n\n/**\n * Get command help\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/{id}/help/\n */\nexport function useDashboardApiCommandsHelpRetrieve(id: string, client?: API): ReturnType<typeof useSWR<CommandHelpResponse>> {\n return useSWR<CommandHelpResponse>(\n ['cfg-dashboard-api-commands-help', id],\n () => Fetchers.getDashboardApiCommandsHelpRetrieve(id, client)\n )\n}\n\n\n/**\n * Execute command\n *\n * @method POST\n * @path /cfg/dashboard/api/commands/execute/\n */\nexport function useCreateDashboardApiCommandsExecuteCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CommandExecuteRequestRequest, client?: API): Promise<any> => {\n const result = await Fetchers.createDashboardApiCommandsExecuteCreate(data, client)\n // Revalidate related queries\n mutate('cfg-dashboard-api-commands-execute')\n return result\n }\n}\n\n\n/**\n * Get commands summary\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/summary/\n */\nexport function useDashboardApiCommandsSummaryRetrieve(client?: API): ReturnType<typeof useSWR<CommandsSummary>> {\n return useSWR<CommandsSummary>(\n 'cfg-dashboard-api-commands-summary',\n () => Fetchers.getDashboardApiCommandsSummaryRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Config\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_config'\nimport type { API } from '../../index'\nimport type { ConfigData } from '../schemas/ConfigData.schema'\n\n/**\n * Get configuration data\n *\n * @method GET\n * @path /cfg/dashboard/api/config/config/\n */\nexport function useDashboardApiConfigConfigRetrieve(client?: API): ReturnType<typeof useSWR<ConfigData>> {\n return useSWR<ConfigData>(\n 'cfg-dashboard-api-config-config',\n () => Fetchers.getDashboardApiConfigConfigRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Overview\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_overview'\nimport type { API } from '../../index'\nimport type { DashboardOverview } from '../schemas/DashboardOverview.schema'\n\n/**\n * Get dashboard overview\n *\n * @method GET\n * @path /cfg/dashboard/api/overview/overview/\n */\nexport function useDashboardApiOverviewOverviewRetrieve(client?: API): ReturnType<typeof useSWR<DashboardOverview>> {\n return useSWR<DashboardOverview>(\n 'cfg-dashboard-api-overview-overview',\n () => Fetchers.getDashboardApiOverviewOverviewRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Statistics\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_statistics'\nimport type { API } from '../../index'\nimport type { UserStatistics } from '../schemas/UserStatistics.schema'\n\n/**\n * Get application statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/apps/\n */\nexport function useDashboardApiStatisticsAppsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-statistics-apps',\n () => Fetchers.getDashboardApiStatisticsAppsList(client)\n )\n}\n\n\n/**\n * Get statistics cards\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/cards/\n */\nexport function useDashboardApiStatisticsCardsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-statistics-cards',\n () => Fetchers.getDashboardApiStatisticsCardsList(client)\n )\n}\n\n\n/**\n * Get user statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/users/\n */\nexport function useDashboardApiStatisticsUsersRetrieve(client?: API): ReturnType<typeof useSWR<UserStatistics>> {\n return useSWR<UserStatistics>(\n 'cfg-dashboard-api-statistics-user',\n () => Fetchers.getDashboardApiStatisticsUsersRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - System\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_system'\nimport type { API } from '../../index'\nimport type { SystemHealth } from '../schemas/SystemHealth.schema'\nimport type { SystemMetrics } from '../schemas/SystemMetrics.schema'\n\n/**\n * Get system health status\n *\n * @method GET\n * @path /cfg/dashboard/api/system/health/\n */\nexport function useDashboardApiSystemHealthRetrieve(client?: API): ReturnType<typeof useSWR<SystemHealth>> {\n return useSWR<SystemHealth>(\n 'cfg-dashboard-api-system-health',\n () => Fetchers.getDashboardApiSystemHealthRetrieve(client)\n )\n}\n\n\n/**\n * Get system metrics\n *\n * @method GET\n * @path /cfg/dashboard/api/system/metrics/\n */\nexport function useDashboardApiSystemMetricsRetrieve(client?: API): ReturnType<typeof useSWR<SystemMetrics>> {\n return useSWR<SystemMetrics>(\n 'cfg-dashboard-api-system-metric',\n () => Fetchers.getDashboardApiSystemMetricsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Oauth\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts__oauth'\nimport type { API } from '../../index'\nimport type { OAuthAuthorizeRequestRequest } from '../schemas/OAuthAuthorizeRequestRequest.schema'\nimport type { OAuthAuthorizeResponse } from '../schemas/OAuthAuthorizeResponse.schema'\nimport type { OAuthCallbackRequestRequest } from '../schemas/OAuthCallbackRequestRequest.schema'\nimport type { OAuthDisconnectRequestRequest } from '../schemas/OAuthDisconnectRequestRequest.schema'\nimport type { OAuthProvidersResponse } from '../schemas/OAuthProvidersResponse.schema'\nimport type { OAuthTokenResponse } from '../schemas/OAuthTokenResponse.schema'\n\n/**\n * List OAuth connections\n *\n * @method GET\n * @path /cfg/accounts/oauth/connections/\n */\nexport function useAccountsOauthConnectionsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-accounts-oauth-connections',\n () => Fetchers.getAccountsOauthConnectionsList(client)\n )\n}\n\n\n/**\n * Disconnect OAuth provider\n *\n * @method POST\n * @path /cfg/accounts/oauth/disconnect/\n */\nexport function useCreateAccountsOauthDisconnectCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OAuthDisconnectRequestRequest, client?: API): Promise<any> => {\n const result = await Fetchers.createAccountsOauthDisconnectCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-oauth-disconnect')\n return result\n }\n}\n\n\n/**\n * Start GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/authorize/\n */\nexport function useCreateAccountsOauthGithubAuthorizeCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OAuthAuthorizeRequestRequest, client?: API): Promise<OAuthAuthorizeResponse> => {\n const result = await Fetchers.createAccountsOauthGithubAuthorizeCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-oauth-github-authorize')\n return result\n }\n}\n\n\n/**\n * Complete GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/callback/\n */\nexport function useCreateAccountsOauthGithubCallbackCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OAuthCallbackRequestRequest, client?: API): Promise<OAuthTokenResponse> => {\n const result = await Fetchers.createAccountsOauthGithubCallbackCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-oauth-github-callback')\n return result\n }\n}\n\n\n/**\n * List OAuth providers\n *\n * @method GET\n * @path /cfg/accounts/oauth/providers/\n */\nexport function useAccountsOauthProvidersRetrieve(client?: API): ReturnType<typeof useSWR<OAuthProvidersResponse>> {\n return useSWR<OAuthProvidersResponse>(\n 'cfg-accounts-oauth-provider',\n () => Fetchers.getAccountsOauthProvidersRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Jobs\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_jobs'\nimport type { API } from '../../index'\nimport type { JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport type { JobDetail } from '../schemas/JobDetail.schema'\nimport type { JobListRequest } from '../schemas/JobListRequest.schema'\nimport type { PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\n\n/**\n * List all jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/\n */\nexport function useRqJobsList(params?: { page?: number; page_size?: number; queue?: string; status?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs', params] : 'cfg-rq-jobs',\n () => Fetchers.getRqJobsList(params, client)\n )\n}\n\n\n/**\n * Get job details\n *\n * @method GET\n * @path /cfg/rq/jobs/{id}/\n */\nexport function useRqJobsRetrieve(id: string, client?: API): ReturnType<typeof useSWR<JobDetail>> {\n return useSWR<JobDetail>(\n ['cfg-rq-job', id],\n () => Fetchers.getRqJobsRetrieve(id, client)\n )\n}\n\n\n/**\n * Delete job\n *\n * @method DELETE\n * @path /cfg/rq/jobs/{id}/\n */\nexport function useDeleteRqJobsDestroy() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.deleteRqJobsDestroy(id, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs')\n mutate('cfg-rq-job')\n return result\n }\n}\n\n\n/**\n * Cancel job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/cancel/\n */\nexport function useCreateRqJobsCancelCreate() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, data: JobListRequest, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsCancelCreate(id, data, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-cancel')\n return result\n }\n}\n\n\n/**\n * Requeue job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/requeue/\n */\nexport function useCreateRqJobsRequeueCreate() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, data: JobListRequest, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRequeueCreate(id, data, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-requeue')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Monitoring\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_monitoring'\nimport type { API } from '../../index'\nimport type { RQConfig } from '../schemas/RQConfig.schema'\nimport type { RQHealthCheck } from '../schemas/RQHealthCheck.schema'\n\n/**\n * Get RQ configuration\n *\n * @method GET\n * @path /cfg/rq/monitor/config/\n */\nexport function useRqMonitorConfigRetrieve(client?: API): ReturnType<typeof useSWR<RQConfig>> {\n return useSWR<RQConfig>(\n 'cfg-rq-monitor-config',\n () => Fetchers.getRqMonitorConfigRetrieve(client)\n )\n}\n\n\n/**\n * Health check\n *\n * @method GET\n * @path /cfg/rq/monitor/health/\n */\nexport function useRqMonitorHealthRetrieve(client?: API): ReturnType<typeof useSWR<RQHealthCheck>> {\n return useSWR<RQHealthCheck>(\n 'cfg-rq-monitor-health',\n () => Fetchers.getRqMonitorHealthRetrieve(client)\n )\n}\n\n\n/**\n * Prometheus metrics\n *\n * @method GET\n * @path /cfg/rq/monitor/metrics/\n */\nexport function useRqMonitorMetricsRetrieve(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-rq-monitor-metric',\n () => Fetchers.getRqMonitorMetricsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Queues\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_queues'\nimport type { API } from '../../index'\nimport type { QueueDetail } from '../schemas/QueueDetail.schema'\n\n/**\n * List all queues\n *\n * @method GET\n * @path /cfg/rq/queues/\n */\nexport function useRqQueuesList(params?: { name?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-rq-queues', params] : 'cfg-rq-queues',\n () => Fetchers.getRqQueuesList(params, client)\n )\n}\n\n\n/**\n * Get queue details\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/\n */\nexport function useRqQueuesRetrieve(id: string, client?: API): ReturnType<typeof useSWR<QueueDetail>> {\n return useSWR<QueueDetail>(\n ['cfg-rq-queue', id],\n () => Fetchers.getRqQueuesRetrieve(id, client)\n )\n}\n\n\n/**\n * Empty queue\n *\n * @method POST\n * @path /cfg/rq/queues/{id}/empty/\n */\nexport function useCreateRqQueuesEmptyCreate() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, client?: API): Promise<any> => {\n const result = await Fetchers.createRqQueuesEmptyCreate(id, client)\n // Revalidate related queries\n mutate('cfg-rq-queues-empty')\n return result\n }\n}\n\n\n/**\n * Get queue jobs\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/jobs/\n */\nexport function useRqQueuesJobsRetrieve(id: string, params?: { limit?: number; offset?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n ['cfg-rq-queues-job', id],\n () => Fetchers.getRqQueuesJobsRetrieve(id, params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Registries\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_registries'\nimport type { API } from '../../index'\nimport type { JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport type { JobListRequest } from '../schemas/JobListRequest.schema'\nimport type { PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\n\n/**\n * List deferred jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/deferred/\n */\nexport function useRqJobsRegistriesDeferredList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-deferred', params] : 'cfg-rq-jobs-registries-deferred',\n () => Fetchers.getRqJobsRegistriesDeferredList(params, client)\n )\n}\n\n\n/**\n * List failed jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/failed/\n */\nexport function useRqJobsRegistriesFailedList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-failed', params] : 'cfg-rq-jobs-registries-failed',\n () => Fetchers.getRqJobsRegistriesFailedList(params, client)\n )\n}\n\n\n/**\n * Clear failed jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/clear/\n */\nexport function useCreateRqJobsRegistriesFailedClearCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: JobListRequest, params: { queue: string }, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRegistriesFailedClearCreate(data, params, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-registries-failed-clear')\n return result\n }\n}\n\n\n/**\n * Requeue all failed jobs\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/requeue-all/\n */\nexport function useCreateRqJobsRegistriesFailedRequeueAllCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: JobListRequest, params: { queue: string }, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRegistriesFailedRequeueAllCreate(data, params, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-registries-failed-requeue-all')\n return result\n }\n}\n\n\n/**\n * List finished jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/finished/\n */\nexport function useRqJobsRegistriesFinishedList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-finished', params] : 'cfg-rq-jobs-registries-finished',\n () => Fetchers.getRqJobsRegistriesFinishedList(params, client)\n )\n}\n\n\n/**\n * Clear finished jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/finished/clear/\n */\nexport function useCreateRqJobsRegistriesFinishedClearCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: JobListRequest, params: { queue: string }, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRegistriesFinishedClearCreate(data, params, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-registries-finished-clear')\n return result\n }\n}\n\n\n/**\n * List started jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/started/\n */\nexport function useRqJobsRegistriesStartedList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-started', params] : 'cfg-rq-jobs-registries-started',\n () => Fetchers.getRqJobsRegistriesStartedList(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Schedules\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_schedules'\nimport type { API } from '../../index'\nimport type { PaginatedScheduledJobList } from '../schemas/PaginatedScheduledJobList.schema'\nimport type { ScheduleActionResponse } from '../schemas/ScheduleActionResponse.schema'\nimport type { ScheduleCreateRequest } from '../schemas/ScheduleCreateRequest.schema'\nimport type { ScheduledJob } from '../schemas/ScheduledJob.schema'\n\n/**\n * List scheduled jobs\n *\n * @method GET\n * @path /cfg/rq/schedules/\n */\nexport function useRqSchedulesList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedScheduledJobList>> {\n return useSWR<PaginatedScheduledJobList>(\n params ? ['cfg-rq-schedules', params] : 'cfg-rq-schedules',\n () => Fetchers.getRqSchedulesList(params, client)\n )\n}\n\n\n/**\n * Create scheduled job\n *\n * @method POST\n * @path /cfg/rq/schedules/\n */\nexport function useCreateRqSchedulesCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: ScheduleCreateRequest, client?: API): Promise<ScheduleActionResponse> => {\n const result = await Fetchers.createRqSchedulesCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-schedules')\n return result\n }\n}\n\n\n/**\n * Get scheduled job details\n *\n * @method GET\n * @path /cfg/rq/schedules/{id}/\n */\nexport function useRqSchedulesRetrieve(id: string, pk: string, params?: { queue?: string }, client?: API): ReturnType<typeof useSWR<ScheduledJob>> {\n return useSWR<ScheduledJob>(\n ['cfg-rq-schedule', id],\n () => Fetchers.getRqSchedulesRetrieve(id, pk, params, client)\n )\n}\n\n\n/**\n * Cancel scheduled job\n *\n * @method DELETE\n * @path /cfg/rq/schedules/{id}/\n */\nexport function useDeleteRqSchedulesDestroy() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, pk: string, params?: { queue?: string }, client?: API): Promise<ScheduleActionResponse> => {\n const result = await Fetchers.deleteRqSchedulesDestroy(id, pk, params, client)\n // Revalidate related queries\n mutate('cfg-rq-schedules')\n mutate('cfg-rq-schedule')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Testing\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_testing'\nimport type { API } from '../../index'\nimport type { RunDemoRequestRequest } from '../schemas/RunDemoRequestRequest.schema'\nimport type { StressTestRequestRequest } from '../schemas/StressTestRequestRequest.schema'\nimport type { TestingActionResponse } from '../schemas/TestingActionResponse.schema'\n\n/**\n * List test scenarios\n *\n * @method GET\n * @path /cfg/rq/testing/\n */\nexport function useRqTestingList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-rq-testing',\n () => Fetchers.getRqTestingList(client)\n )\n}\n\n\n/**\n * Cleanup test jobs\n *\n * @method DELETE\n * @path /cfg/rq/testing/cleanup/\n */\nexport function useDeleteRqTestingCleanupDestroy() {\n const { mutate } = useSWRConfig()\n\n return async (params?: { delete_demo_jobs_only?: boolean; queue?: string; registries?: string }, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.deleteRqTestingCleanupDestroy(params, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-cleanup')\n return result\n }\n}\n\n\n/**\n * Get test results\n *\n * @method GET\n * @path /cfg/rq/testing/results/\n */\nexport function useRqTestingResultsRetrieve(params?: { queue?: string; scenario?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-rq-testing-result', params] : 'cfg-rq-testing-result',\n () => Fetchers.getRqTestingResultsRetrieve(params, client)\n )\n}\n\n\n/**\n * Run demo task\n *\n * @method POST\n * @path /cfg/rq/testing/run-demo/\n */\nexport function useCreateRqTestingRunDemoCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: RunDemoRequestRequest, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.createRqTestingRunDemoCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-run-demo')\n return result\n }\n}\n\n\n/**\n * Schedule demo tasks\n *\n * @method POST\n * @path /cfg/rq/testing/schedule-demo/\n */\nexport function useCreateRqTestingScheduleDemoCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: any, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.createRqTestingScheduleDemoCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-schedule-demo')\n return result\n }\n}\n\n\n/**\n * Stress test\n *\n * @method POST\n * @path /cfg/rq/testing/stress-test/\n */\nexport function useCreateRqTestingStressTestCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: StressTestRequestRequest, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.createRqTestingStressTestCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-stress-test')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Workers\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_workers'\nimport type { API } from '../../index'\nimport type { WorkerStats } from '../schemas/WorkerStats.schema'\n\n/**\n * List all workers\n *\n * @method GET\n * @path /cfg/rq/workers/\n */\nexport function useRqWorkersList(params?: { queue?: string; state?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-rq-workers', params] : 'cfg-rq-workers',\n () => Fetchers.getRqWorkersList(params, client)\n )\n}\n\n\n/**\n * Get worker statistics\n *\n * @method GET\n * @path /cfg/rq/workers/stats/\n */\nexport function useRqWorkersStatsRetrieve(client?: API): ReturnType<typeof useSWR<WorkerStats>> {\n return useSWR<WorkerStats>(\n 'cfg-rq-workers-stat',\n () => Fetchers.getRqWorkersStatsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for User Profile\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts__user_profile'\nimport type { API } from '../../index'\nimport type { PatchedUserProfileUpdateRequest } from '../schemas/PatchedUserProfileUpdateRequest.schema'\nimport type { User } from '../schemas/User.schema'\nimport type { UserProfileUpdateRequest } from '../schemas/UserProfileUpdateRequest.schema'\n\n/**\n * Get current user profile\n *\n * @method GET\n * @path /cfg/accounts/profile/\n */\nexport function useAccountsProfileRetrieve(client?: API): ReturnType<typeof useSWR<User>> {\n return useSWR<User>(\n 'cfg-accounts-profile',\n () => Fetchers.getAccountsProfileRetrieve(client)\n )\n}\n\n\n/**\n * Upload user avatar\n *\n * @method POST\n * @path /cfg/accounts/profile/avatar/\n */\nexport function useCreateAccountsProfileAvatarCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: any, client?: API): Promise<User> => {\n const result = await Fetchers.createAccountsProfileAvatarCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-avatar')\n return result\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/partial/\n */\nexport function usePartialUpdateAccountsProfilePartialUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data: UserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.partialUpdateAccountsProfilePartialUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-partial')\n return result\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/partial/\n */\nexport function usePartialUpdateAccountsProfilePartialPartialUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data?: PatchedUserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.partialUpdateAccountsProfilePartialPartialUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-partial-partial')\n return result\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/update/\n */\nexport function useUpdateAccountsProfileUpdateUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data: UserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.updateAccountsProfileUpdateUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile')\n return result\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/update/\n */\nexport function usePartialUpdateAccountsProfileUpdatePartialUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data?: PatchedUserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.partialUpdateAccountsProfileUpdatePartialUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-partial')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Accounts\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts'\nimport type { API } from '../../index'\nimport type { OTPRequestRequest } from '../schemas/OTPRequestRequest.schema'\nimport type { OTPRequestResponse } from '../schemas/OTPRequestResponse.schema'\nimport type { OTPVerifyRequest } from '../schemas/OTPVerifyRequest.schema'\nimport type { OTPVerifyResponse } from '../schemas/OTPVerifyResponse.schema'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/request/\n */\nexport function useCreateAccountsOtpRequestCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OTPRequestRequest, client?: API): Promise<OTPRequestResponse> => {\n const result = await Fetchers.createAccountsOtpRequestCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-otp-request')\n return result\n }\n}\n\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/verify/\n */\nexport function useCreateAccountsOtpVerifyCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OTPVerifyRequest, client?: API): Promise<OTPVerifyResponse> => {\n const result = await Fetchers.createAccountsOtpVerifyCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-otp-verify')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Endpoints\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__endpoints'\nimport type { API } from '../../index'\nimport type { EndpointsStatus } from '../schemas/EndpointsStatus.schema'\nimport type { URLsList } from '../schemas/URLsList.schema'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/drf/\n */\nexport function useEndpointsDrfRetrieve(client?: API): ReturnType<typeof useSWR<EndpointsStatus>> {\n return useSWR<EndpointsStatus>(\n 'cfg-endpoints-drf',\n () => Fetchers.getEndpointsDrfRetrieve(client)\n )\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/\n */\nexport function useEndpointsUrlsRetrieve(client?: API): ReturnType<typeof useSWR<URLsList>> {\n return useSWR<URLsList>(\n 'cfg-endpoints-url',\n () => Fetchers.getEndpointsUrlsRetrieve(client)\n )\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/compact/\n */\nexport function useEndpointsUrlsCompactRetrieve(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-endpoints-urls-compact',\n () => Fetchers.getEndpointsUrlsCompactRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Api Keys\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_api_keys'\nimport type { API } from '../../index'\nimport type { ApiKey } from '../schemas/ApiKey.schema'\nimport type { ApiKeyStats } from '../schemas/ApiKeyStats.schema'\nimport type { PaginatedApiKeyList } from '../schemas/PaginatedApiKeyList.schema'\n\n/**\n * List API keys\n *\n * @method GET\n * @path /cfg/grpc/api-keys/\n */\nexport function useGrpcApiKeysList(params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }, client?: API): ReturnType<typeof useSWR<PaginatedApiKeyList>> {\n return useSWR<PaginatedApiKeyList>(\n params ? ['cfg-grpc-api-keys', params] : 'cfg-grpc-api-keys',\n () => Fetchers.getGrpcApiKeysList(params, client)\n )\n}\n\n\n/**\n * Get API key details\n *\n * @method GET\n * @path /cfg/grpc/api-keys/{id}/\n */\nexport function useGrpcApiKeysRetrieve(id: number, client?: API): ReturnType<typeof useSWR<ApiKey>> {\n return useSWR<ApiKey>(\n ['cfg-grpc-api-key', id],\n () => Fetchers.getGrpcApiKeysRetrieve(id, client)\n )\n}\n\n\n/**\n * Get API keys statistics\n *\n * @method GET\n * @path /cfg/grpc/api-keys/stats/\n */\nexport function useGrpcApiKeysStatsRetrieve(client?: API): ReturnType<typeof useSWR<ApiKeyStats>> {\n return useSWR<ApiKeyStats>(\n 'cfg-grpc-api-keys-stat',\n () => Fetchers.getGrpcApiKeysStatsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Configuration\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_configuration'\nimport type { API } from '../../index'\nimport type { GRPCConfig } from '../schemas/GRPCConfig.schema'\nimport type { GRPCServerInfo } from '../schemas/GRPCServerInfo.schema'\n\n/**\n * Get gRPC configuration\n *\n * @method GET\n * @path /cfg/grpc/config/config/\n */\nexport function useGrpcConfigConfigRetrieve(client?: API): ReturnType<typeof useSWR<GRPCConfig>> {\n return useSWR<GRPCConfig>(\n 'cfg-grpc-config-config',\n () => Fetchers.getGrpcConfigConfigRetrieve(client)\n )\n}\n\n\n/**\n * Get server information\n *\n * @method GET\n * @path /cfg/grpc/config/server-info/\n */\nexport function useGrpcConfigServerInfoRetrieve(client?: API): ReturnType<typeof useSWR<GRPCServerInfo>> {\n return useSWR<GRPCServerInfo>(\n 'cfg-grpc-config-server-info',\n () => Fetchers.getGrpcConfigServerInfoRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Monitoring\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_monitoring'\nimport type { API } from '../../index'\nimport type { GRPCHealthCheck } from '../schemas/GRPCHealthCheck.schema'\nimport type { GRPCOverviewStats } from '../schemas/GRPCOverviewStats.schema'\nimport type { MethodList } from '../schemas/MethodList.schema'\nimport type { PaginatedRecentRequestList } from '../schemas/PaginatedRecentRequestList.schema'\n\n/**\n * Get gRPC health status\n *\n * @method GET\n * @path /cfg/grpc/monitor/health/\n */\nexport function useGrpcMonitorHealthRetrieve(client?: API): ReturnType<typeof useSWR<GRPCHealthCheck>> {\n return useSWR<GRPCHealthCheck>(\n 'cfg-grpc-monitor-health',\n () => Fetchers.getGrpcMonitorHealthRetrieve(client)\n )\n}\n\n\n/**\n * Get method statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/methods/\n */\nexport function useGrpcMonitorMethodsRetrieve(params?: { hours?: number; service?: string }, client?: API): ReturnType<typeof useSWR<MethodList>> {\n return useSWR<MethodList>(\n params ? ['cfg-grpc-monitor-method', params] : 'cfg-grpc-monitor-method',\n () => Fetchers.getGrpcMonitorMethodsRetrieve(params, client)\n )\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/overview/\n */\nexport function useGrpcMonitorOverviewRetrieve(params?: { hours?: number }, client?: API): ReturnType<typeof useSWR<GRPCOverviewStats>> {\n return useSWR<GRPCOverviewStats>(\n params ? ['cfg-grpc-monitor-overview', params] : 'cfg-grpc-monitor-overview',\n () => Fetchers.getGrpcMonitorOverviewRetrieve(params, client)\n )\n}\n\n\n/**\n * Get recent requests\n *\n * @method GET\n * @path /cfg/grpc/monitor/requests/\n */\nexport function useGrpcMonitorRequestsList(params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }, client?: API): ReturnType<typeof useSWR<PaginatedRecentRequestList>> {\n return useSWR<PaginatedRecentRequestList>(\n params ? ['cfg-grpc-monitor-requests', params] : 'cfg-grpc-monitor-requests',\n () => Fetchers.getGrpcMonitorRequestsList(params, client)\n )\n}\n\n\n/**\n * Get request timeline\n *\n * @method GET\n * @path /cfg/grpc/monitor/timeline/\n */\nexport function useGrpcMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-grpc-monitor-timeline', params] : 'cfg-grpc-monitor-timeline',\n () => Fetchers.getGrpcMonitorTimelineRetrieve(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Services\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_services'\nimport type { API } from '../../index'\nimport type { PaginatedServiceSummaryList } from '../schemas/PaginatedServiceSummaryList.schema'\nimport type { ServiceDetail } from '../schemas/ServiceDetail.schema'\nimport type { ServiceMethods } from '../schemas/ServiceMethods.schema'\n\n/**\n * List all services\n *\n * @method GET\n * @path /cfg/grpc/services/\n */\nexport function useGrpcServicesList(params?: { hours?: number; page?: number; page_size?: number }, client?: API): ReturnType<typeof useSWR<PaginatedServiceSummaryList>> {\n return useSWR<PaginatedServiceSummaryList>(\n params ? ['cfg-grpc-services', params] : 'cfg-grpc-services',\n () => Fetchers.getGrpcServicesList(params, client)\n )\n}\n\n\n/**\n * Get service details\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/\n */\nexport function useGrpcServicesRetrieve(id: string, pk: string, client?: API): ReturnType<typeof useSWR<ServiceDetail>> {\n return useSWR<ServiceDetail>(\n ['cfg-grpc-service', id],\n () => Fetchers.getGrpcServicesRetrieve(id, pk, client)\n )\n}\n\n\n/**\n * Get service methods\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/methods/\n */\nexport function useGrpcServicesMethodsRetrieve(id: string, pk: string, client?: API): ReturnType<typeof useSWR<ServiceMethods>> {\n return useSWR<ServiceMethods>(\n ['cfg-grpc-services-method', id],\n () => Fetchers.getGrpcServicesMethodsRetrieve(id, pk, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Health\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__health'\nimport type { API } from '../../index'\nimport type { DRFHealthCheck } from '../schemas/DRFHealthCheck.schema'\nimport type { QuickHealth } from '../schemas/QuickHealth.schema'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/\n */\nexport function useHealthDrfRetrieve(client?: API): ReturnType<typeof useSWR<DRFHealthCheck>> {\n return useSWR<DRFHealthCheck>(\n 'cfg-health-drf',\n () => Fetchers.getHealthDrfRetrieve(client)\n )\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/quick/\n */\nexport function useHealthDrfQuickRetrieve(client?: API): ReturnType<typeof useSWR<QuickHealth>> {\n return useSWR<QuickHealth>(\n 'cfg-health-drf-quick',\n () => Fetchers.getHealthDrfQuickRetrieve(client)\n )\n}\n\n\n","/**\n * Analytics stub for @djangocfg/api/auth\n * Provides minimal analytics interface without external dependencies\n *\n * If you need full analytics, install @djangocfg/layouts and use its Analytics module\n */\n\nexport enum AnalyticsEvent {\n AUTH_OTP_REQUEST = 'auth_otp_request',\n AUTH_LOGIN_SUCCESS = 'auth_login_success',\n AUTH_OTP_VERIFY_FAIL = 'auth_otp_verify_fail',\n AUTH_SESSION_EXPIRED = 'auth_session_expired',\n AUTH_TOKEN_REFRESH = 'auth_token_refresh',\n AUTH_TOKEN_REFRESH_FAIL = 'auth_token_refresh_fail',\n AUTH_LOGOUT = 'auth_logout',\n AUTH_OAUTH_START = 'auth_oauth_start',\n AUTH_OAUTH_FAIL = 'auth_oauth_fail',\n}\n\nexport enum AnalyticsCategory {\n AUTH = 'auth',\n}\n\nexport type AnalyticsEventType = `${AnalyticsEvent}`;\nexport type AnalyticsCategoryType = `${AnalyticsCategory}`;\n\ninterface AnalyticsEventParams {\n category?: AnalyticsCategoryType;\n label?: string;\n value?: number;\n [key: string]: any;\n}\n\n/**\n * Minimal analytics implementation\n * Logs to console in development, silent in production\n */\nexport const Analytics = {\n /**\n * Track an analytics event\n */\n event(eventName: AnalyticsEventType, params?: AnalyticsEventParams) {\n if (process.env.NODE_ENV === 'development') {\n console.log('[Analytics]', eventName, params);\n }\n\n // You can extend this to send to your analytics service\n // Example: window.gtag?.('event', eventName, params);\n },\n\n /**\n * Set user ID for tracking\n */\n setUser(userId: string) {\n if (process.env.NODE_ENV === 'development') {\n console.log('[Analytics] Set user:', userId);\n }\n\n // You can extend this to send to your analytics service\n // Example: window.gtag?.('set', { user_id: userId });\n },\n};\n","'use client';\n\nimport { useState } from 'react';\nimport { authLogger } from '../utils/logger';\n\n/**\n * Simple sessionStorage hook with better error handling\n * @param key - Storage key\n * @param initialValue - Default value if key doesn't exist\n * @returns [value, setValue, removeValue] - Current value, setter function, and remove function\n */\nexport function useSessionStorage<T>(key: string, initialValue: T) {\n // Get initial value from sessionStorage or use provided initialValue\n const [storedValue, setStoredValue] = useState<T>(() => {\n if (typeof window === 'undefined') {\n return initialValue;\n }\n\n try {\n const item = window.sessionStorage.getItem(key);\n return item ? JSON.parse(item) : initialValue;\n } catch (error) {\n authLogger.error(`Error reading sessionStorage key \"${key}\":`, error);\n return initialValue;\n }\n });\n\n // Check data size and limit\n const checkDataSize = (data: any): boolean => {\n try {\n const jsonString = JSON.stringify(data);\n const sizeInBytes = new Blob([jsonString]).size;\n const sizeInKB = sizeInBytes / 1024;\n \n // Limit to 1MB per item\n if (sizeInKB > 1024) {\n authLogger.warn(`Data size (${sizeInKB.toFixed(2)}KB) exceeds 1MB limit for key \"${key}\"`);\n return false;\n }\n\n return true;\n } catch (error) {\n authLogger.error(`Error checking data size for key \"${key}\":`, error);\n return false;\n }\n };\n\n // Clear old data when sessionStorage is full\n const clearOldData = () => {\n try {\n const keys = Object.keys(sessionStorage).filter(key => key && typeof key === 'string');\n // Remove oldest items if we have more than 50 items\n if (keys.length > 50) {\n const itemsToRemove = Math.ceil(keys.length * 0.2);\n for (let i = 0; i < itemsToRemove; i++) {\n try {\n const key = keys[i];\n if (key) {\n sessionStorage.removeItem(key);\n sessionStorage.removeItem(`${key}_timestamp`);\n }\n } catch {\n // Ignore errors when removing items\n }\n }\n }\n } catch (error) {\n authLogger.error('Error clearing old sessionStorage data:', error);\n }\n };\n\n // Force clear all data if quota is exceeded\n const forceClearAll = () => {\n try {\n const keys = Object.keys(sessionStorage);\n for (const key of keys) {\n try {\n sessionStorage.removeItem(key);\n } catch {\n // Ignore errors when removing items\n }\n }\n } catch (error) {\n authLogger.error('Error force clearing sessionStorage:', error);\n }\n };\n\n // Update sessionStorage when value changes\n const setValue = (value: T | ((val: T) => T)) => {\n try {\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n \n // Check data size before attempting to save\n if (!checkDataSize(valueToStore)) {\n authLogger.warn(`Data size too large for key \"${key}\", removing key`);\n // Remove the key if data is too large\n try {\n window.sessionStorage.removeItem(key);\n window.sessionStorage.removeItem(`${key}_timestamp`);\n } catch {\n // Ignore errors when removing\n }\n // Still update the state\n setStoredValue(valueToStore);\n return;\n }\n \n setStoredValue(valueToStore);\n\n if (typeof window !== 'undefined') {\n // Try to set the value\n try {\n window.sessionStorage.setItem(key, JSON.stringify(valueToStore));\n // Add timestamp for cleanup\n window.sessionStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (storageError: any) {\n // If quota exceeded, clear old data and try again\n if (storageError.name === 'QuotaExceededError' ||\n storageError.code === 22 ||\n storageError.message?.includes('quota')) {\n authLogger.warn('sessionStorage quota exceeded, clearing old data...');\n clearOldData();\n \n // Try again after clearing\n try {\n window.sessionStorage.setItem(key, JSON.stringify(valueToStore));\n window.sessionStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (retryError) {\n authLogger.error(`Failed to set sessionStorage key \"${key}\" after clearing old data:`, retryError);\n // If still fails, force clear all and try one more time\n try {\n forceClearAll();\n window.sessionStorage.setItem(key, JSON.stringify(valueToStore));\n window.sessionStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (finalError) {\n authLogger.error(`Failed to set sessionStorage key \"${key}\" after force clearing:`, finalError);\n // If still fails, just update the state without sessionStorage\n setStoredValue(valueToStore);\n }\n }\n } else {\n throw storageError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error setting sessionStorage key \"${key}\":`, error);\n // Still update the state even if sessionStorage fails\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n setStoredValue(valueToStore);\n }\n };\n\n // Remove value from sessionStorage\n const removeValue = () => {\n try {\n setStoredValue(initialValue);\n if (typeof window !== 'undefined') {\n try {\n window.sessionStorage.removeItem(key);\n window.sessionStorage.removeItem(`${key}_timestamp`);\n } catch (removeError: any) {\n // If removal fails due to quota, try to clear some data first\n if (removeError.name === 'QuotaExceededError' ||\n removeError.code === 22 ||\n removeError.message?.includes('quota')) {\n authLogger.warn('sessionStorage quota exceeded during removal, clearing old data...');\n clearOldData();\n \n try {\n window.sessionStorage.removeItem(key);\n window.sessionStorage.removeItem(`${key}_timestamp`);\n } catch (retryError) {\n authLogger.error(`Failed to remove sessionStorage key \"${key}\" after clearing:`, retryError);\n // If still fails, force clear all\n forceClearAll();\n }\n } else {\n throw removeError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error removing sessionStorage key \"${key}\":`, error);\n }\n };\n\n return [storedValue, setValue, removeValue] as const;\n}\n","import { useSessionStorage } from './useSessionStorage';\n\nconst AUTH_REDIRECT_KEY = 'auth_redirect_url';\n\nexport interface AuthRedirectOptions {\n fallbackUrl?: string;\n clearOnUse?: boolean;\n}\n\nexport const useAuthRedirectManager = (options: AuthRedirectOptions = {}) => {\n const { fallbackUrl = '/dashboard', clearOnUse = true } = options;\n const [redirectUrl, setRedirectUrl, removeRedirectUrl] = useSessionStorage<string>(AUTH_REDIRECT_KEY, '');\n\n const setRedirect = (url: string) => {\n setRedirectUrl(url);\n };\n\n const getRedirect = () => {\n return redirectUrl;\n };\n\n const clearRedirect = () => {\n removeRedirectUrl();\n };\n\n const hasRedirect = () => {\n return redirectUrl.length > 0;\n };\n\n const getFinalRedirectUrl = () => {\n return redirectUrl || fallbackUrl;\n };\n\n const useAndClearRedirect = () => {\n const finalUrl = getFinalRedirectUrl();\n if (clearOnUse) {\n clearRedirect();\n }\n return finalUrl;\n };\n\n return {\n redirectUrl,\n setRedirect,\n getRedirect,\n clearRedirect,\n hasRedirect,\n getFinalRedirectUrl,\n useAndClearRedirect\n };\n}; ","\"use client\"\n\nimport { useEffect } from 'react';\n\nimport { useAuth } from '../context';\nimport { useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\n\ninterface UseAuthGuardOptions {\n redirectTo?: string;\n requireAuth?: boolean;\n}\n\nexport const useAuthGuard = (options: UseAuthGuardOptions = {}) => {\n const { redirectTo = '/auth', requireAuth = true } = options;\n const { isAuthenticated, isLoading } = useAuth();\n const router = useCfgRouter();\n\n useEffect(() => {\n if (!isLoading && requireAuth && !isAuthenticated) {\n router.push(redirectTo);\n }\n }, [isAuthenticated, isLoading, router, redirectTo, requireAuth]);\n\n return { isAuthenticated, isLoading };\n}; ","'use client';\n\nimport { useEffect, useState } from 'react';\nimport { authLogger } from '../utils/logger';\n\n/**\n * Simple localStorage hook with better error handling\n * @param key - Storage key\n * @param initialValue - Default value if key doesn't exist\n * @returns [value, setValue, removeValue] - Current value, setter function, and remove function\n */\nexport function useLocalStorage<T>(key: string, initialValue: T) {\n // Get initial value from localStorage or use provided initialValue\n const [storedValue, setStoredValue] = useState<T>(() => {\n if (typeof window === 'undefined') {\n return initialValue;\n }\n\n try {\n const item = window.localStorage.getItem(key);\n if (item === null) {\n return initialValue;\n }\n \n // Try to parse as JSON first, fallback to string\n try {\n return JSON.parse(item);\n } catch {\n // If JSON.parse fails, return as string\n return item as T;\n }\n } catch (error) {\n authLogger.error(`Error reading localStorage key \"${key}\":`, error);\n return initialValue;\n }\n });\n\n // Check data size and limit\n const checkDataSize = (data: any): boolean => {\n try {\n const jsonString = JSON.stringify(data);\n const sizeInBytes = new Blob([jsonString]).size;\n const sizeInKB = sizeInBytes / 1024;\n \n // Limit to 1MB per item\n if (sizeInKB > 1024) {\n authLogger.warn(`Data size (${sizeInKB.toFixed(2)}KB) exceeds 1MB limit for key \"${key}\"`);\n return false;\n }\n\n return true;\n } catch (error) {\n authLogger.error(`Error checking data size for key \"${key}\":`, error);\n return false;\n }\n };\n\n // Clear old data when localStorage is full\n const clearOldData = () => {\n try {\n const keys = Object.keys(localStorage).filter(key => key && typeof key === 'string');\n // Remove oldest items if we have more than 50 items\n if (keys.length > 50) {\n const itemsToRemove = Math.ceil(keys.length * 0.2);\n for (let i = 0; i < itemsToRemove; i++) {\n try {\n const key = keys[i];\n if (key) {\n localStorage.removeItem(key);\n localStorage.removeItem(`${key}_timestamp`);\n }\n } catch {\n // Ignore errors when removing items\n }\n }\n }\n } catch (error) {\n authLogger.error('Error clearing old localStorage data:', error);\n }\n };\n\n // Force clear all data if quota is exceeded\n const forceClearAll = () => {\n try {\n const keys = Object.keys(localStorage);\n for (const key of keys) {\n try {\n localStorage.removeItem(key);\n } catch {\n // Ignore errors when removing items\n }\n }\n } catch (error) {\n authLogger.error('Error force clearing localStorage:', error);\n }\n };\n\n // Update localStorage when value changes\n const setValue = (value: T | ((val: T) => T)) => {\n try {\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n \n // Check data size before attempting to save\n if (!checkDataSize(valueToStore)) {\n authLogger.warn(`Data size too large for key \"${key}\", removing key`);\n // Remove the key if data is too large\n try {\n window.localStorage.removeItem(key);\n window.localStorage.removeItem(`${key}_timestamp`);\n } catch {\n // Ignore errors when removing\n }\n // Still update the state\n setStoredValue(valueToStore);\n return;\n }\n \n setStoredValue(valueToStore);\n\n if (typeof window !== 'undefined') {\n // Try to set the value\n try {\n // For strings, store directly without JSON.stringify\n if (typeof valueToStore === 'string') {\n window.localStorage.setItem(key, valueToStore);\n } else {\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\n }\n // Add timestamp for cleanup\n window.localStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (storageError: any) {\n // If quota exceeded, clear old data and try again\n if (storageError.name === 'QuotaExceededError' ||\n storageError.code === 22 ||\n storageError.message?.includes('quota')) {\n authLogger.warn('localStorage quota exceeded, clearing old data...');\n clearOldData();\n \n // Try again after clearing\n try {\n // For strings, store directly without JSON.stringify\n if (typeof valueToStore === 'string') {\n window.localStorage.setItem(key, valueToStore);\n } else {\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\n }\n window.localStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (retryError) {\n authLogger.error(`Failed to set localStorage key \"${key}\" after clearing old data:`, retryError);\n // If still fails, force clear all and try one more time\n try {\n forceClearAll();\n // For strings, store directly without JSON.stringify\n if (typeof valueToStore === 'string') {\n window.localStorage.setItem(key, valueToStore);\n } else {\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\n }\n window.localStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (finalError) {\n authLogger.error(`Failed to set localStorage key \"${key}\" after force clearing:`, finalError);\n // If still fails, just update the state without localStorage\n setStoredValue(valueToStore);\n }\n }\n } else {\n throw storageError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error setting localStorage key \"${key}\":`, error);\n // Still update the state even if localStorage fails\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n setStoredValue(valueToStore);\n }\n };\n\n // Remove value from localStorage\n const removeValue = () => {\n try {\n setStoredValue(initialValue);\n if (typeof window !== 'undefined') {\n try {\n window.localStorage.removeItem(key);\n window.localStorage.removeItem(`${key}_timestamp`);\n } catch (removeError: any) {\n // If removal fails due to quota, try to clear some data first\n if (removeError.name === 'QuotaExceededError' ||\n removeError.code === 22 ||\n removeError.message?.includes('quota')) {\n authLogger.warn('localStorage quota exceeded during removal, clearing old data...');\n clearOldData();\n \n try {\n window.localStorage.removeItem(key);\n window.localStorage.removeItem(`${key}_timestamp`);\n } catch (retryError) {\n authLogger.error(`Failed to remove localStorage key \"${key}\" after clearing:`, retryError);\n // If still fails, force clear all\n forceClearAll();\n }\n } else {\n throw removeError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error removing localStorage key \"${key}\":`, error);\n }\n };\n\n return [storedValue, setValue, removeValue] as const;\n}\n","\"use client\"\n\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { useAuth } from '../context';\nimport { useAutoAuth } from './useAutoAuth';\nimport { useLocalStorage } from './useLocalStorage';\nimport { authLogger } from '../utils/logger';\n\nexport interface AuthFormState {\n identifier: string; // Email or phone number\n channel: 'email' | 'phone';\n otp: string;\n isLoading: boolean;\n acceptedTerms: boolean;\n step: 'identifier' | 'otp';\n error: string;\n}\n\nexport interface AuthFormHandlers {\n setIdentifier: (identifier: string) => void;\n setChannel: (channel: 'email' | 'phone') => void;\n setOtp: (otp: string) => void;\n setAcceptedTerms: (accepted: boolean) => void;\n setError: (error: string) => void;\n clearError: () => void;\n handleIdentifierSubmit: (e: React.FormEvent) => Promise<void>;\n handleOTPSubmit: (e: React.FormEvent) => Promise<void>;\n handleResendOTP: () => Promise<void>;\n handleBackToIdentifier: () => void;\n forceOTPStep: () => void;\n // Utility methods\n detectChannelFromIdentifier: (identifier: string) => 'email' | 'phone' | null;\n validateIdentifier: (identifier: string, channel?: 'email' | 'phone') => boolean;\n}\n\nexport interface UseAuthFormOptions {\n onIdentifierSuccess?: (identifier: string, channel: 'email' | 'phone') => void;\n onOTPSuccess?: () => void;\n onError?: (message: string) => void;\n sourceUrl: string;\n}\n\nexport const useAuthForm = (options: UseAuthFormOptions): AuthFormState & AuthFormHandlers => {\n const { onIdentifierSuccess, onOTPSuccess, onError, sourceUrl } = options;\n \n // Form state\n const [identifier, setIdentifier] = useState('');\n const [channel, setChannel] = useState<'email' | 'phone'>('email');\n const [otp, setOtp] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [acceptedTerms, setAcceptedTerms] = useState(false);\n const [step, setStep] = useState<'identifier' | 'otp'>('identifier');\n const [error, setError] = useState('');\n \n\n \n // Auth hooks\n const { requestOTP, verifyOTP, getSavedEmail, saveEmail, getSavedPhone, savePhone } = useAuth();\n const [savedTermsAccepted, setSavedTermsAccepted] = useLocalStorage('auth_terms_accepted', false);\n const [savedEmail, setSavedEmail] = useLocalStorage('auth_email', '');\n const [savedPhone, setSavedPhone] = useLocalStorage('auth_phone', '');\n\n // Utility functions\n const detectChannelFromIdentifier = useCallback((identifier: string): 'email' | 'phone' | null => {\n if (!identifier) return null;\n \n // Email detection\n if (identifier.includes('@')) {\n return 'email';\n }\n \n // Phone detection (starts with + and contains digits)\n if (identifier.startsWith('+') && /^\\+[1-9]\\d{6,14}$/.test(identifier)) {\n return 'phone';\n }\n \n return null;\n }, []);\n\n const validateIdentifier = useCallback((identifier: string, channelType?: 'email' | 'phone'): boolean => {\n if (!identifier) return false;\n \n const detectedChannel = channelType || detectChannelFromIdentifier(identifier);\n \n if (detectedChannel === 'email') {\n // Basic email validation\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(identifier);\n } else if (detectedChannel === 'phone') {\n // E.164 phone validation\n return /^\\+[1-9]\\d{6,14}$/.test(identifier);\n }\n \n return false;\n }, [detectChannelFromIdentifier]);\n\n // Load saved data on mount\n useEffect(() => {\n const authSavedEmail = getSavedEmail();\n const authSavedPhone = getSavedPhone();\n \n // Prioritize phone over email if both exist\n if (authSavedPhone) {\n setIdentifier(authSavedPhone);\n setChannel('phone');\n } else if (authSavedEmail) {\n setIdentifier(authSavedEmail);\n setChannel('email');\n }\n \n if (savedTermsAccepted) {\n setAcceptedTerms(savedTermsAccepted);\n }\n }, [getSavedEmail, getSavedPhone, savedTermsAccepted]);\n\n // Auto-detect channel when identifier changes\n useEffect(() => {\n if (identifier) {\n const detectedChannel = detectChannelFromIdentifier(identifier);\n if (detectedChannel && detectedChannel !== channel) {\n setChannel(detectedChannel);\n }\n }\n }, [identifier, channel, detectChannelFromIdentifier]);\n\n\n\n const clearError = useCallback(() => setError(''), []);\n\n const handleIdentifierSubmit = useCallback(async (e: React.FormEvent) => {\n e.preventDefault();\n \n if (!identifier) {\n const message = channel === 'phone' ? 'Please enter your phone number' : 'Please enter your email address';\n setError(message);\n onError?.(message);\n return;\n }\n\n // Validate identifier format\n if (!validateIdentifier(identifier, channel)) {\n const message = channel === 'phone' \n ? 'Please enter a valid phone number (e.g., +1234567890)' \n : 'Please enter a valid email address';\n setError(message);\n onError?.(message);\n return;\n }\n\n if (!acceptedTerms) {\n const message = 'Please accept the Terms of Service and Privacy Policy';\n setError(message);\n onError?.(message);\n return;\n }\n\n setIsLoading(true);\n clearError();\n \n try {\n const result = await requestOTP(identifier, channel, sourceUrl);\n \n if (result.success) {\n // Save identifier and terms acceptance on successful request, clear opposite channel\n if (channel === 'email') {\n saveEmail(identifier);\n setSavedPhone(''); // Clear phone storage\n } else if (channel === 'phone') {\n savePhone(identifier);\n setSavedEmail(''); // Clear email storage\n }\n setSavedTermsAccepted(true);\n setStep('otp');\n onIdentifierSuccess?.(identifier, channel);\n } else {\n setError(result.message);\n onError?.(result.message);\n }\n } catch (error) {\n const message = 'An unexpected error occurred';\n setError(message);\n onError?.(message);\n } finally {\n setIsLoading(false);\n }\n }, [identifier, channel, acceptedTerms, validateIdentifier, requestOTP, saveEmail, clearError, setSavedTermsAccepted, onIdentifierSuccess, onError, sourceUrl]);\n\n const handleOTPSubmit = useCallback(async (e: React.FormEvent) => {\n e.preventDefault();\n \n if (!otp || otp.length < 6) {\n const message = 'Please enter the 6-digit verification code';\n setError(message);\n onError?.(message);\n return;\n }\n\n setIsLoading(true);\n clearError();\n \n try {\n const result = await verifyOTP(identifier, otp, channel, sourceUrl);\n \n if (result.success) {\n // Save identifier on successful login, clear opposite channel\n if (channel === 'email') {\n setSavedEmail(identifier);\n setSavedPhone(''); // Clear phone storage\n } else if (channel === 'phone') {\n setSavedPhone(identifier);\n setSavedEmail(''); // Clear email storage\n }\n onOTPSuccess?.();\n } else {\n setError(result.message);\n onError?.(result.message);\n }\n } catch (error) {\n const message = 'An unexpected error occurred';\n setError(message);\n onError?.(message);\n } finally {\n setIsLoading(false);\n }\n }, [identifier, otp, channel, verifyOTP, clearError, setSavedEmail, onOTPSuccess, onError, sourceUrl]);\n\n const handleResendOTP = useCallback(async () => {\n setIsLoading(true);\n clearError();\n \n try {\n const result = await requestOTP(identifier, channel, sourceUrl);\n \n if (result.success) {\n // Save identifier and clear OTP input, clear opposite channel\n if (channel === 'email') {\n saveEmail(identifier);\n setSavedPhone(''); // Clear phone storage\n } else if (channel === 'phone') {\n savePhone(identifier);\n setSavedEmail(''); // Clear email storage\n }\n setOtp('');\n } else {\n setError(result.message);\n onError?.(result.message);\n }\n } catch (error) {\n const message = 'Failed to resend verification code';\n setError(message);\n onError?.(message);\n } finally {\n setIsLoading(false);\n }\n }, [identifier, channel, requestOTP, saveEmail, clearError, setOtp, onError, sourceUrl]);\n\n const handleBackToIdentifier = useCallback(() => {\n setStep('identifier');\n clearError();\n }, [clearError]);\n\n const forceOTPStep = useCallback(() => {\n setStep('otp');\n clearError();\n }, [clearError]);\n\n const handleAcceptedTermsChange = useCallback((checked: boolean) => {\n setAcceptedTerms(checked);\n setSavedTermsAccepted(checked);\n }, [setSavedTermsAccepted]);\n\n // Auto-detect OTP from URL query parameters\n useAutoAuth({\n onOTPDetected: (otp: string) => {\n authLogger.info('OTP detected, auto-submitting');\n \n // Get saved identifier from auth context\n const savedEmail = getSavedEmail();\n const savedPhone = getSavedPhone();\n \n // Prioritize phone over email if both exist\n if (savedPhone) {\n setIdentifier(savedPhone);\n setChannel('phone');\n } else if (savedEmail) {\n setIdentifier(savedEmail);\n setChannel('email');\n }\n \n // Set OTP and force OTP step\n setOtp(otp);\n setStep('otp');\n \n // Auto-submit after a short delay to ensure state is updated\n setTimeout(() => {\n const fakeEvent = { preventDefault: () => {} } as React.FormEvent;\n handleOTPSubmit(fakeEvent);\n }, 200);\n },\n cleanupUrl: true,\n });\n\n return {\n // Form state\n identifier,\n channel,\n otp,\n isLoading,\n acceptedTerms,\n step,\n error,\n \n // Form handlers\n setIdentifier,\n setChannel,\n setOtp,\n setAcceptedTerms: handleAcceptedTermsChange,\n setError,\n clearError,\n \n // Auth handlers\n handleIdentifierSubmit,\n handleOTPSubmit,\n handleResendOTP,\n handleBackToIdentifier,\n forceOTPStep,\n \n // Utility methods\n detectChannelFromIdentifier,\n validateIdentifier,\n };\n}; ","'use client';\n\nimport { useEffect } from 'react';\nimport { usePathname } from 'next/navigation';\nimport { useQueryParams, useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\nimport { authLogger } from '../utils/logger';\n\nexport interface UseAutoAuthOptions {\n onOTPDetected?: (otp: string) => void;\n cleanupUrl?: boolean;\n}\n\n/**\n * Hook for automatic authentication from URL query parameters\n * Detects OTP from URL and triggers callback\n */\nexport const useAutoAuth = (options: UseAutoAuthOptions = {}) => {\n const { onOTPDetected, cleanupUrl = true } = options;\n const queryParams = useQueryParams();\n const pathname = usePathname();\n const router = useCfgRouter();\n\n const isReady = !!pathname && !!queryParams.get('otp');\n const hasOTP = !!(queryParams.get('otp'));\n\n useEffect(() => {\n if (!isReady) return;\n\n const queryOtp = queryParams.get('otp') as string;\n\n // Handle OTP detection\n if (queryOtp && typeof queryOtp === 'string' && queryOtp.length === 6) {\n authLogger.info('OTP detected in URL:', queryOtp);\n onOTPDetected?.(queryOtp);\n }\n\n // Clean up URL to remove sensitive params for security\n if (cleanupUrl && queryOtp) {\n const cleanQuery = Object.fromEntries(queryParams.entries());\n delete cleanQuery.otp;\n router.push(`${pathname}?${new URLSearchParams(cleanQuery).toString()}`);\n }\n }, [pathname, queryParams, onOTPDetected, cleanupUrl, router]);\n\n return {\n isReady,\n hasOTP,\n };\n};\n","'use client';\n\nimport { useCallback, useState } from 'react';\n\nimport { api as apiAccounts } from '../../';\nimport { useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\nimport { authLogger } from '../utils/logger';\nimport { Analytics, AnalyticsEvent, AnalyticsCategory } from '../utils/analytics';\n\nexport interface UseGithubAuthOptions {\n sourceUrl?: string;\n onSuccess?: (user: any, isNewUser: boolean) => void;\n onError?: (error: string) => void;\n redirectUrl?: string;\n}\n\nexport interface UseGithubAuthReturn {\n isLoading: boolean;\n error: string | null;\n startGithubAuth: () => Promise<void>;\n handleGithubCallback: (code: string, state: string) => Promise<void>;\n}\n\n/**\n * Hook for GitHub OAuth authentication flow.\n *\n * Usage:\n * 1. Call startGithubAuth() to redirect user to GitHub\n * 2. After GitHub redirects back, call handleGithubCallback(code, state)\n *\n * @example\n * ```tsx\n * const { isLoading, error, startGithubAuth } = useGithubAuth({\n * onSuccess: (user) => router.push('/dashboard'),\n * onError: (error) => console.error(error),\n * });\n *\n * <Button onClick={startGithubAuth} disabled={isLoading}>\n * Continue with GitHub\n * </Button>\n * ```\n */\nexport const useGithubAuth = (options: UseGithubAuthOptions = {}): UseGithubAuthReturn => {\n const { sourceUrl, onSuccess, onError, redirectUrl } = options;\n const router = useCfgRouter();\n\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState<string | null>(null);\n\n /**\n * Start GitHub OAuth flow - redirects user to GitHub authorization page.\n */\n const startGithubAuth = useCallback(async () => {\n setIsLoading(true);\n setError(null);\n\n try {\n authLogger.info('Starting GitHub OAuth flow...');\n\n // Track OAuth start\n Analytics.event(AnalyticsEvent.AUTH_OAUTH_START, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n\n // Call API to get authorization URL\n // The API will auto-generate redirect_uri from config if not provided\n const response = await apiAccounts.cfg_accounts_oauth.accountsOauthGithubAuthorizeCreate({\n source_url: sourceUrl || (typeof window !== 'undefined' ? window.location.href : ''),\n });\n\n if (!response.authorization_url) {\n throw new Error('Failed to get authorization URL');\n }\n\n authLogger.info('Redirecting to GitHub...', response.authorization_url);\n\n // Store state in sessionStorage for verification on callback\n if (typeof window !== 'undefined') {\n sessionStorage.setItem('oauth_state', response.state);\n sessionStorage.setItem('oauth_provider', 'github');\n }\n\n // Redirect to GitHub\n window.location.href = response.authorization_url;\n\n } catch (err) {\n const errorMessage = err instanceof Error ? err.message : 'Failed to start GitHub authentication';\n authLogger.error('GitHub OAuth start error:', err);\n setError(errorMessage);\n onError?.(errorMessage);\n\n // Track OAuth error\n Analytics.event(AnalyticsEvent.AUTH_OAUTH_FAIL, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n } finally {\n setIsLoading(false);\n }\n }, [sourceUrl, onError]);\n\n /**\n * Handle GitHub OAuth callback - exchanges code for JWT tokens.\n *\n * @param code - Authorization code from GitHub callback\n * @param state - State token for CSRF verification\n */\n const handleGithubCallback = useCallback(async (code: string, state: string) => {\n setIsLoading(true);\n setError(null);\n\n try {\n authLogger.info('Processing GitHub OAuth callback...');\n\n // Verify state matches what we stored\n if (typeof window !== 'undefined') {\n const storedState = sessionStorage.getItem('oauth_state');\n if (storedState && storedState !== state) {\n throw new Error('Invalid OAuth state - possible CSRF attack');\n }\n // Clear stored state\n sessionStorage.removeItem('oauth_state');\n sessionStorage.removeItem('oauth_provider');\n }\n\n // Exchange code for tokens\n // The API will auto-generate redirect_uri from config if not provided\n const response = await apiAccounts.cfg_accounts_oauth.accountsOauthGithubCallbackCreate({\n code,\n state,\n });\n\n if (!response.access || !response.refresh) {\n throw new Error('Invalid response from OAuth callback');\n }\n\n authLogger.info('GitHub OAuth successful, user:', response.user);\n\n // Save tokens using API client\n apiAccounts.setToken(response.access, response.refresh);\n\n // Track successful OAuth\n Analytics.event(AnalyticsEvent.AUTH_LOGIN_SUCCESS, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n\n // Set user ID for future tracking\n if (response.user?.id) {\n Analytics.setUser(String(response.user.id));\n }\n\n // Call success callback\n onSuccess?.(response.user, response.is_new_user || false);\n\n // Redirect to dashboard or specified URL\n // Use hardPush for full page reload - ensures all React contexts reinitialize\n const finalRedirectUrl = redirectUrl || '/dashboard';\n router.hardPush(finalRedirectUrl);\n\n } catch (err) {\n const errorMessage = err instanceof Error ? err.message : 'GitHub authentication failed';\n authLogger.error('GitHub OAuth callback error:', err);\n setError(errorMessage);\n onError?.(errorMessage);\n\n // Track OAuth error\n Analytics.event(AnalyticsEvent.AUTH_OAUTH_FAIL, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n } finally {\n setIsLoading(false);\n }\n }, [onSuccess, onError, redirectUrl, router]);\n\n return {\n isLoading,\n error,\n startGithubAuth,\n handleGithubCallback,\n };\n};\n","/**\n * Email validation utility\n */\nexport const validateEmail = (email: string): boolean => {\n const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n return emailRegex.test(email);\n};\n","/**\n * Format authentication error for display\n */\nexport const formatAuthError = (error: any): string => {\n if (typeof error === 'string') {\n return error;\n }\n\n if (error?.message) {\n return error.message;\n }\n\n if (error?.detail) {\n return error.detail;\n }\n\n if (error?.response?.data?.detail) {\n return error.response.data.detail;\n }\n\n return 'An unexpected error occurred';\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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,CAAC;AAGD,UAAI,SAAS,MAAM,IAAI;AACrB,kBAAU,QAAQ,OAAO,SAAS,KAAK,EAAE,CAAC;AAAA,MAC5C;AAGA,kBAAY,SAAS,MAAM,SAAS,eAAe,KAAK;AAIxD,YAAM,mBAAmB,eAAe;AACxC,aAAO,SAAS,gBAAgB;AAAA,IAElC,SAAS,KAAK;AACZ,YAAM,eAAe,eAAe,QAAQ,IAAI,UAAU;AAC1D,iBAAW,MAAM,gCAAgC,GAAG;AACpD,eAAS,YAAY;AACrB,gBAAU,YAAY;AAGtB,gBAAU,+CAAsC;AAAA,QAC9C;AAAA,QACA,OAAO;AAAA,MACT,CAAC;AAAA,IACH,UAAE;AACA,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,WAAW,SAAS,aAAa,MAAM,CAAC;AAE5C,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF,GA7I6B;;;ACvCtB,IAAM,gBAAgB,wBAAC,UAA2B;AACvD,QAAM,aAAa;AACnB,SAAO,WAAW,KAAK,KAAK;AAC9B,GAH6B;;;ACAtB,IAAM,kBAAkB,wBAAC,UAAuB;AACrD,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,SAAS;AAClB,WAAO,MAAM;AAAA,EACf;AAEA,MAAI,OAAO,QAAQ;AACjB,WAAO,MAAM;AAAA,EACf;AAEA,MAAI,OAAO,UAAU,MAAM,QAAQ;AACjC,WAAO,MAAM,SAAS,KAAK;AAAA,EAC7B;AAEA,SAAO;AACT,GAlB+B;","names":["useLocalStorage","import_react","pRetry","logger","OAuthConnectionProvider","OAuthDisconnectRequestRequestProvider","OTPRequestRequestChannel","OTPVerifyRequestChannel","QuickActionColor","RunDemoRequestRequestScenario","StatCardChangeType","StressTestRequestRequestScenario","SystemHealthOverallStatus","SystemHealthItemStatus","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_consola","api","import_consola","api","import_consola","import_consola","api","api","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","logger","import_consola","isStaticBuild","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_hooks","AnalyticsEvent","AnalyticsCategory","import_jsx_runtime","refreshToken","import_react","key","AUTH_REDIRECT_KEY","import_react","import_hooks","import_react","useLocalStorage","key","import_react","import_react","import_navigation","import_hooks","useLocalStorage","identifier","error","otp","savedEmail","savedPhone","import_react","import_hooks"]}
1
+ {"version":3,"sources":["../src/auth/index.ts","../src/auth/context/AuthContext.tsx","../src/generated/cfg_accounts/cfg_accounts__accounts__auth/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring/client.ts","../src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/client.ts","../src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/client.ts","../src/generated/cfg_accounts/cfg_accounts__accounts__oauth/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/client.ts","../src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/client.ts","../src/generated/cfg_accounts/cfg_accounts__accounts__user_profile/client.ts","../src/generated/cfg_accounts/cfg_accounts__accounts/client.ts","../src/generated/cfg_accounts/cfg_accounts__endpoints/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/client.ts","../src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/client.ts","../src/generated/cfg_accounts/cfg_accounts__health/client.ts","../src/generated/cfg_accounts/http.ts","../src/generated/cfg_accounts/errors.ts","../src/generated/cfg_accounts/logger.ts","../src/generated/cfg_accounts/retry.ts","../src/generated/cfg_accounts/client.ts","../src/generated/cfg_accounts/storage.ts","../src/generated/cfg_accounts/enums.ts","../src/generated/cfg_accounts/_utils/schemas/APIZone.schema.ts","../src/generated/cfg_accounts/_utils/schemas/APIZonesSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ZonesSummaryStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ActivityEntry.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ActivityTrackerDay.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ApiKey.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ApiKeyStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/AppStatistics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/AppStatisticsData.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ModelStatistics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/AxesConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelsRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelsResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoChannelsResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoError.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoClientInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoStreamPosition.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHistoryResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoHistoryResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPublication.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoInfoResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoInfoResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoNodeInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoMetrics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoProcess.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoOverviewStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CentrifugoToken.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChannelList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChannelStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChartData.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ChartDataset.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Command.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandCategory.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandExecuteRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandHelpResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/CommandsSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConfigData.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConfigValidation.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DjangoConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConfigMeta.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConstanceConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DRFConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DatabaseConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DjangoRQConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RQSchedule.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RedisQueueConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/EmailConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCConfigDashboard.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GitHubOAuthConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JWTConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/NextJSAdminConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/NgrokConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OpenAPIClientConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaymentsConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaymentsNowPayments.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SpectacularConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TelegramConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ConnectionTokenResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DRFHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/DashboardOverview.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QuickAction.schema.ts","../src/generated/cfg_accounts/_utils/schemas/StatCard.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SystemHealth.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SystemHealthItem.schema.ts","../src/generated/cfg_accounts/_utils/schemas/SystemMetrics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/UserStatistics.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Endpoint.schema.ts","../src/generated/cfg_accounts/_utils/schemas/EndpointsStatus.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCFeatures.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCFrameworkConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServerConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCInterceptorInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCOverviewStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServerStatus.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCRegisteredService.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServerInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServiceInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/GRPCServiceRegistryMethodStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobActionResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobDetail.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/JobListRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ManualAckRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ManualAckResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/MethodInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/MethodList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/MethodSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthAuthorizeRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthAuthorizeResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthCallbackRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthConnection.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthDisconnectRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthError.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthProvidersResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OAuthTokenResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPErrorResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPRequestResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPVerifyRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/OTPVerifyResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/User.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedApiKeyList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedJobListList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedPublishList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Publish.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedRecentRequestList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RecentRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedScheduledJobList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduledJob.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PaginatedServiceSummaryList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceSummary.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PublishTestRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/PublishTestResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QueueDetail.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QueueStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/QuickHealth.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RQConfig.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduleInfo.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RQHealthCheck.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RecentError.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RecentUser.schema.ts","../src/generated/cfg_accounts/_utils/schemas/RunDemoRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduleActionResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ScheduleCreateRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceDetail.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceStats.schema.ts","../src/generated/cfg_accounts/_utils/schemas/ServiceMethods.schema.ts","../src/generated/cfg_accounts/_utils/schemas/StressTestRequestRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TestScenario.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TestingActionResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TimelineItem.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TimelineResponse.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TokenRefresh.schema.ts","../src/generated/cfg_accounts/_utils/schemas/TokenRefreshRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/URLPattern.schema.ts","../src/generated/cfg_accounts/_utils/schemas/URLsList.schema.ts","../src/generated/cfg_accounts/_utils/schemas/UserProfileUpdateRequest.schema.ts","../src/generated/cfg_accounts/_utils/schemas/Worker.schema.ts","../src/generated/cfg_accounts/_utils/schemas/WorkerStats.schema.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts.ts","../src/generated/cfg_accounts/api-instance.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts__auth.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts__oauth.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__accounts__user_profile.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_admin_api.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_auth.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_monitoring.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_testing.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_api_zones.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_charts.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_commands.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_config.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_overview.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_statistics.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_system.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__endpoints.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_api_keys.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_configuration.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_monitoring.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_services.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__health.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_jobs.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_monitoring.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_queues.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_registries.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_schedules.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_testing.ts","../src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_workers.ts","../src/generated/cfg_accounts/index.ts","../src/index.ts","../src/auth/context/AccountsContext.tsx","../src/auth/utils/logger.ts","../src/auth/hooks/useBase64.ts","../src/auth/hooks/useProfileCache.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts__auth.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_admin_api.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_auth.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_monitoring.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_testing.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_api_zones.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_activity.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_charts.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_commands.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_config.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_overview.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_statistics.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_system.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts__oauth.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_jobs.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_monitoring.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_queues.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_registries.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_schedules.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_testing.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_workers.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts__user_profile.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__accounts.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__endpoints.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_api_keys.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_configuration.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_monitoring.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_services.ts","../src/generated/cfg_accounts/_utils/hooks/cfg_accounts__health.ts","../src/auth/utils/analytics.ts","../src/auth/hooks/useSessionStorage.ts","../src/auth/hooks/useAuthRedirect.ts","../src/auth/hooks/useAuthGuard.ts","../src/auth/hooks/useLocalStorage.ts","../src/auth/hooks/useAuthForm.ts","../src/auth/hooks/useAutoAuth.ts","../src/auth/hooks/useGithubAuth.ts","../src/auth/utils/validation.ts","../src/auth/utils/errors.ts"],"sourcesContent":["/**\n * @djangocfg/api/auth\n *\n * Authentication module with contexts, hooks and utilities.\n * Use this entry point in client components.\n *\n * @example\n * ```tsx\n * 'use client';\n * import { AuthProvider, useAuth } from '@djangocfg/api/auth';\n *\n * export function MyApp({ children }) {\n * return (\n * <AuthProvider>\n * {children}\n * </AuthProvider>\n * );\n * }\n *\n * export function Profile() {\n * const { user, logout } = useAuth();\n * return <div>{user?.email}</div>;\n * }\n * ```\n */\n\n// Contexts\nexport * from './context';\n\n// Hooks\nexport * from './hooks';\n\n// Utils (validation, errors, analytics)\nexport * from './utils';\n","// @ts-nocheck\n'use client';\n\nimport { usePathname } from 'next/navigation';\nimport React, {\n createContext, ReactNode, useCallback, useContext, useEffect, useMemo, useRef, useState\n} from 'react';\n\nimport { api as apiAccounts, Enums } from '../../';\nimport { useAccountsContext, AccountsProvider } from './AccountsContext';\nimport { useLocalStorage, useQueryParams, useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\nimport { getCachedProfile, clearProfileCache } from '../hooks/useProfileCache';\n\nimport { authLogger } from '../utils/logger';\nimport { Analytics, AnalyticsEvent, AnalyticsCategory } from '../utils/analytics';\nimport type { AuthConfig, AuthContextType, AuthProviderProps, UserProfile } from './types';\n\n// Default routes\nconst defaultRoutes = {\n auth: '/auth',\n defaultCallback: '/dashboard',\n defaultAuthCallback: '/auth',\n};\n\nconst AuthContext = createContext<AuthContextType | undefined>(undefined);\n\n// Constants\nconst EMAIL_STORAGE_KEY = 'auth_email';\nconst PHONE_STORAGE_KEY = 'auth_phone';\nconst AUTH_REDIRECT_KEY = 'auth_redirect_url';\n\nconst hasValidTokens = (): boolean => {\n if (typeof window === 'undefined') return false;\n return apiAccounts.isAuthenticated();\n};\n\n// Internal provider that uses AccountsContext\nconst AuthProviderInternal: React.FC<AuthProviderProps> = ({ children, config }) => {\n const accounts = useAccountsContext();\n\n // Smart initial loading state: only true if we don't have tokens yet\n const [isLoading, setIsLoading] = useState(() => {\n // If we already have tokens and profile, don't show loading\n if (typeof window !== 'undefined') {\n const hasTokens = hasValidTokens();\n // Only show loading on initial mount if no tokens\n return !hasTokens;\n }\n return true;\n });\n\n const [initialized, setInitialized] = useState(false);\n const router = useCfgRouter();\n const pathname = usePathname();\n const queryParams = useQueryParams();\n\n // Use localStorage hooks for email, phone, and redirect\n const [storedEmail, setStoredEmail, clearStoredEmail] = useLocalStorage<string | null>(EMAIL_STORAGE_KEY, null);\n const [storedPhone, setStoredPhone, clearStoredPhone] = useLocalStorage<string | null>(PHONE_STORAGE_KEY, null);\n const [redirectUrl, setRedirectUrl, clearRedirectUrl] = useLocalStorage<string | null>(AUTH_REDIRECT_KEY, null);\n\n // Map AccountsContext profile to UserProfile\n const user = accounts.profile as UserProfile | null;\n\n // Use refs to avoid dependency issues\n const userRef = useRef(user);\n const configRef = useRef(config);\n const isLoadingProfileRef = useRef(false);\n\n // Update refs when values change\n useEffect(() => {\n userRef.current = user;\n }, [user]);\n\n useEffect(() => {\n configRef.current = config;\n }, [config]);\n\n // Note: API URL is configured in BaseClient, not at runtime\n\n // Common function to clear auth state\n const clearAuthState = useCallback((caller: string) => {\n authLogger.info('clearAuthState >> caller', caller);\n apiAccounts.clearTokens();\n clearProfileCache(); // Clear profile cache from localStorage\n // Note: user is now managed by AccountsContext, will auto-update\n setInitialized(true);\n setIsLoading(false);\n }, []);\n\n // Global error handler for auth-related errors\n const handleGlobalAuthError = useCallback((error: any, context: string = 'API Request') => {\n // Simple error check - if response has error flag, it's an error\n if (error?.success === false) {\n authLogger.warn(`Error detected in ${context}, clearing tokens`);\n clearAuthState(`globalAuthError:${context}`);\n return true;\n }\n\n return false;\n }, [clearAuthState]);\n\n // Simple profile loading without retry - now uses AccountsContext with memoization\n const loadCurrentProfile = useCallback(async (callerId?: string): Promise<void> => {\n const finalCallerId = callerId || 'AuthContext.loadCurrentProfile';\n\n // Check if profile loading is already in progress\n if (isLoadingProfileRef.current) {\n authLogger.debug(`Profile loading already in progress, skipping duplicate call from: ${finalCallerId}`);\n return;\n }\n\n authLogger.debug(`loadCurrentProfile called by: ${finalCallerId}`);\n\n try {\n isLoadingProfileRef.current = true;\n\n // Ensure API clients are properly initialized with current token\n const isAuth = apiAccounts.isAuthenticated();\n const token = apiAccounts.getToken();\n // authLogger.debug('isAuthenticated:', isAuth, 'token:', token ? token.substring(0, 20) + '...' : 'null');\n\n if (!isAuth) {\n authLogger.warn('No valid authentication token, throwing error');\n throw new Error('No valid authentication token');\n }\n\n // Check if profile is already loaded in AccountsContext to prevent duplicate API calls\n if (accounts.profile && !accounts.isLoadingProfile) {\n authLogger.debug('Profile already loaded in AccountsContext, skipping API call');\n setInitialized(true);\n return;\n }\n\n // Refresh profile from AccountsContext (now with memoization)\n const refreshedProfile = await accounts.refreshProfile(finalCallerId);\n\n if (refreshedProfile) {\n authLogger.info('Profile loaded successfully:', refreshedProfile.id);\n } else {\n authLogger.warn('Profile refresh returned undefined - but keeping tokens');\n }\n\n // Always mark as initialized if we have valid tokens\n // Don't clear tokens just because profile fetch failed\n setInitialized(true);\n } catch (error) {\n authLogger.error('Failed to load profile:', error);\n // Use global error handler first, fallback to clearing state\n if (!handleGlobalAuthError(error, 'loadCurrentProfile')) {\n clearAuthState('loadCurrentProfile:error');\n }\n } finally {\n isLoadingProfileRef.current = false;\n }\n }, [clearAuthState, handleGlobalAuthError, accounts]);\n\n // Initialize auth state once\n useEffect(() => {\n if (initialized) return;\n\n const initializeAuth = async () => {\n authLogger.info('Initializing auth...');\n\n // Check if running in iframe (AdminLayout will handle auth via postMessage)\n const isInIframe = typeof window !== 'undefined' && window.self !== window.top;\n authLogger.info('Is in iframe:', isInIframe);\n\n // Debug token state\n const token = apiAccounts.getToken();\n const refreshToken = apiAccounts.getRefreshToken();\n authLogger.info('Token from API:', token ? `${token.substring(0, 20)}...` : 'null');\n authLogger.info('Refresh token from API:', refreshToken ? `${refreshToken.substring(0, 20)}...` : 'null');\n authLogger.info('localStorage keys:', Object.keys(localStorage).filter(k => k.includes('token') || k.includes('auth')));\n\n const hasTokens = hasValidTokens();\n authLogger.info('Has tokens:', hasTokens);\n\n // Check if profile is already loaded from cache (AccountsContext initialization)\n if (userRef.current) {\n authLogger.info('Profile already loaded from AccountsContext cache, skipping API request');\n setInitialized(true);\n setIsLoading(false);\n return;\n }\n\n // Check if cache exists in localStorage (before userRef updates)\n const cachedProfile = getCachedProfile();\n if (cachedProfile) {\n authLogger.info('Profile found in localStorage cache, skipping API request');\n setInitialized(true);\n setIsLoading(false);\n return;\n }\n\n // In iframe mode WITHOUT tokens yet - wait for AdminLayout to receive them via postMessage\n // Don't initialize yet - AdminLayout.handleAuthToken will call loadCurrentProfile\n if (isInIframe && !hasTokens) {\n authLogger.info('Running in iframe without tokens - waiting for parent to send via postMessage');\n authLogger.info('AdminLayout will handle auth initialization, skipping AuthContext init');\n setInitialized(true); // Mark as initialized to prevent re-initialization\n setIsLoading(false);\n return;\n }\n\n if (hasTokens) {\n setIsLoading(true);\n try {\n authLogger.info('No cached profile found, loading from API...');\n await loadCurrentProfile('AuthContext.initializeAuth');\n } catch (error) {\n authLogger.error('Failed to load profile during initialization:', error);\n // If profile loading fails, clear auth state\n clearAuthState('initializeAuth:loadProfileFailed');\n }\n setIsLoading(false);\n } else {\n setInitialized(true);\n setIsLoading(false);\n }\n };\n\n initializeAuth();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [initialized]);\n\n // Redirect logic - only for unauthenticated users on protected pages\n useEffect(() => {\n if (!initialized) return;\n\n // Consider authenticated if we have valid tokens, even without profile\n const isAuthenticated = apiAccounts.isAuthenticated();\n const authRoute = config?.routes?.auth || defaultRoutes.auth;\n const isAuthPage = pathname === authRoute;\n const flowParam = queryParams.get('flow');\n\n // Only redirect authenticated users away from auth page if they're not in a flow\n // This prevents interference with OTP verification flow\n if (isAuthenticated && isAuthPage && !flowParam) {\n const callbackUrl = config?.routes?.defaultCallback || defaultRoutes.defaultCallback;\n router.push(callbackUrl);\n }\n }, [initialized, pathname, queryParams, config?.routes]);\n\n const pushToDefaultCallbackUrl = useCallback(() => {\n const callbackUrl = config?.routes?.defaultCallback || defaultRoutes.defaultCallback;\n router.push(callbackUrl);\n }, [config?.routes, router]);\n\n const pushToDefaultAuthCallbackUrl = useCallback(() => {\n const authCallbackUrl = config?.routes?.defaultAuthCallback || defaultRoutes.defaultAuthCallback;\n router.push(authCallbackUrl);\n }, [config?.routes, router]);\n\n // Memoized checkAuthAndRedirect function\n const checkAuthAndRedirect = useCallback(async () => {\n try {\n setIsLoading(true);\n const isAuthenticated = apiAccounts.isAuthenticated();\n\n if (isAuthenticated) {\n await loadCurrentProfile();\n if (userRef.current) {\n pushToDefaultCallbackUrl();\n }\n } else {\n pushToDefaultAuthCallbackUrl();\n }\n } catch (error) {\n authLogger.error('Failed to check authentication:', error);\n // Use global error handler first\n if (!handleGlobalAuthError(error, 'checkAuthAndRedirect')) {\n clearAuthState('checkAuthAndRedirect');\n }\n pushToDefaultAuthCallbackUrl();\n } finally {\n setIsLoading(false);\n }\n }, [loadCurrentProfile, clearAuthState, pushToDefaultCallbackUrl, pushToDefaultAuthCallbackUrl, handleGlobalAuthError]);\n\n // OTP methods - supports both email and phone - now uses AccountsContext\n const requestOTP = useCallback(\n async (identifier: string, channel?: 'email' | 'phone', sourceUrl?: string): Promise<{ success: boolean; message: string }> => {\n // Clear tokens before requesting OTP\n apiAccounts.clearTokens();\n\n try {\n const channelValue = channel === 'phone' \n ? Enums.OTPRequestRequestChannel.PHONE \n : Enums.OTPRequestRequestChannel.EMAIL;\n const result = await accounts.requestOTP({\n identifier,\n channel: channelValue,\n });\n\n const channelName = channel === 'phone' ? 'phone number' : 'email address';\n\n // Track OTP request\n Analytics.event(AnalyticsEvent.AUTH_OTP_REQUEST, {\n category: AnalyticsCategory.AUTH,\n label: channel || 'email',\n });\n\n return {\n success: true,\n message: result.message || `OTP code sent to your ${channelName}`,\n };\n } catch (error) {\n authLogger.error('Request OTP error:', error);\n return {\n success: false,\n message: 'Failed to send OTP',\n };\n }\n },\n [accounts],\n );\n\n const verifyOTP = useCallback(\n async (identifier: string, otpCode: string, channel?: 'email' | 'phone', sourceUrl?: string): Promise<{ success: boolean; message: string; user?: UserProfile }> => {\n try {\n const channelValue = channel === 'phone' \n ? Enums.OTPVerifyRequestChannel.PHONE \n : Enums.OTPVerifyRequestChannel.EMAIL;\n // AccountsContext automatically saves tokens and refreshes profile\n const result = await accounts.verifyOTP({\n identifier,\n otp: otpCode,\n channel: channelValue,\n });\n\n // Verify that we got valid tokens\n if (!result.access || !result.refresh) {\n authLogger.error('Verify OTP returned invalid response:', result);\n return {\n success: false,\n message: 'Invalid OTP verification response',\n };\n }\n\n // Save identifier based on channel and clear opposite channel\n if (channel === 'phone') {\n setStoredPhone(identifier);\n clearStoredEmail();\n } else if (identifier.includes('@')) {\n setStoredEmail(identifier);\n clearStoredPhone();\n }\n\n // Small delay to ensure profile state is updated\n await new Promise(resolve => setTimeout(resolve, 200));\n\n // Track successful login\n Analytics.event(AnalyticsEvent.AUTH_LOGIN_SUCCESS, {\n category: AnalyticsCategory.AUTH,\n label: channel || 'email',\n });\n\n // Set user ID for future tracking\n if (result.user?.id) {\n Analytics.setUser(String(result.user.id));\n }\n\n // Handle redirect logic here\n // Use hardPush for full page reload - ensures all React contexts reinitialize\n const defaultCallback = config?.routes?.defaultCallback || defaultRoutes.defaultCallback;\n\n if (redirectUrl && redirectUrl !== defaultCallback) {\n clearRedirectUrl();\n router.hardPush(redirectUrl);\n } else {\n router.hardPush(defaultCallback);\n }\n\n return {\n success: true,\n message: 'Login successful',\n user: result.user as UserProfile,\n };\n } catch (error) {\n authLogger.error('Verify OTP error:', error);\n\n // Track failed verification\n Analytics.event(AnalyticsEvent.AUTH_OTP_VERIFY_FAIL, {\n category: AnalyticsCategory.AUTH,\n label: channel || 'email',\n });\n\n return {\n success: false,\n message: 'Failed to verify OTP',\n };\n }\n },\n [setStoredEmail, setStoredPhone, clearStoredEmail, clearStoredPhone, redirectUrl, clearRedirectUrl, config?.routes?.defaultCallback, accounts],\n );\n\n const refreshToken = useCallback(async (): Promise<{ success: boolean; message: string }> => {\n try {\n const refreshTokenValue = apiAccounts.getRefreshToken();\n if (!refreshTokenValue) {\n clearAuthState('refreshToken:noToken');\n\n // Track session expired\n Analytics.event(AnalyticsEvent.AUTH_SESSION_EXPIRED, {\n category: AnalyticsCategory.AUTH,\n });\n\n return {\n success: false,\n message: 'No refresh token available',\n };\n }\n\n await accounts.refreshToken(refreshTokenValue);\n\n // Track successful refresh\n Analytics.event(AnalyticsEvent.AUTH_TOKEN_REFRESH, {\n category: AnalyticsCategory.AUTH,\n });\n\n return {\n success: true,\n message: 'Token refreshed',\n };\n } catch (error) {\n authLogger.error('Refresh token error:', error);\n clearAuthState('refreshToken:error');\n\n // Track refresh failure\n Analytics.event(AnalyticsEvent.AUTH_TOKEN_REFRESH_FAIL, {\n category: AnalyticsCategory.AUTH,\n });\n\n return {\n success: false,\n message: 'Error refreshing token',\n };\n }\n }, [clearAuthState, accounts]);\n\n const clearRedirect = useCallback((): void => {\n clearRedirectUrl();\n }, [clearRedirectUrl]);\n\n // Save current URL for redirect after authentication\n const saveCurrentUrlForRedirect = useCallback((): void => {\n if (typeof window !== 'undefined') {\n const currentUrl = window.location.pathname + window.location.search;\n setRedirectUrl(currentUrl);\n }\n }, [setRedirectUrl]);\n\n const logout = useCallback(async (): Promise<void> => {\n const performLogout = () => {\n // Track logout\n Analytics.event(AnalyticsEvent.AUTH_LOGOUT, {\n category: AnalyticsCategory.AUTH,\n });\n\n accounts.logout(); // Clear tokens and profile\n setInitialized(true);\n setIsLoading(false);\n\n // Use hardReplace for full page reload + replace history\n // This ensures contexts reinitialize AND back button won't return to protected page\n const authCallbackUrl = config?.routes?.defaultAuthCallback || defaultRoutes.defaultAuthCallback;\n router.hardReplace(authCallbackUrl);\n };\n\n // Use config.onConfirm if provided, otherwise use a simple confirm\n if (configRef.current?.onConfirm) {\n const { confirmed } = await configRef.current.onConfirm({\n title: 'Logout',\n description: 'Are you sure you want to logout?',\n confirmationButtonText: 'Logout',\n cancellationButtonText: 'Cancel',\n color: 'error',\n });\n if (confirmed) {\n performLogout();\n }\n } else {\n // Fallback to browser confirm\n const confirmed = window.confirm('Are you sure you want to logout?');\n if (confirmed) {\n performLogout();\n }\n }\n }, [accounts, config?.routes?.defaultAuthCallback, router]);\n\n // Redirect URL methods\n const getSavedRedirectUrl = useCallback((): string | null => {\n if (typeof window !== 'undefined') {\n return sessionStorage.getItem(AUTH_REDIRECT_KEY);\n }\n return null;\n }, []);\n\n const saveRedirectUrl = useCallback((url: string): void => {\n if (typeof window !== 'undefined') {\n sessionStorage.setItem(AUTH_REDIRECT_KEY, url);\n }\n }, []);\n\n const clearSavedRedirectUrl = useCallback((): void => {\n if (typeof window !== 'undefined') {\n sessionStorage.removeItem(AUTH_REDIRECT_KEY);\n }\n }, []);\n\n const getFinalRedirectUrl = useCallback((): string => {\n const savedUrl = getSavedRedirectUrl();\n return savedUrl || (config?.routes?.defaultCallback || defaultRoutes.defaultCallback);\n }, [getSavedRedirectUrl, config?.routes?.defaultCallback]);\n\n const useAndClearRedirectUrl = useCallback((): string => {\n const finalUrl = getFinalRedirectUrl();\n clearSavedRedirectUrl();\n return finalUrl;\n }, [getFinalRedirectUrl, clearSavedRedirectUrl]);\n\n // Computed: Is admin user (staff or superuser)\n const isAdminUser = useMemo(() => {\n return Boolean(user?.is_staff || user?.is_superuser);\n }, [user]);\n\n // Memoized context value\n const value = useMemo<AuthContextType>(\n () => ({\n user,\n isLoading,\n // Consider authenticated if we have valid tokens, even without user profile\n isAuthenticated: apiAccounts.isAuthenticated(),\n isAdminUser,\n loadCurrentProfile,\n checkAuthAndRedirect,\n getToken: () => apiAccounts.getToken(),\n getRefreshToken: () => apiAccounts.getRefreshToken(),\n getSavedEmail: () => storedEmail,\n saveEmail: setStoredEmail,\n clearSavedEmail: clearStoredEmail,\n getSavedPhone: () => storedPhone,\n savePhone: setStoredPhone,\n clearSavedPhone: clearStoredPhone,\n requestOTP,\n verifyOTP,\n refreshToken,\n logout,\n getSavedRedirectUrl,\n saveRedirectUrl,\n clearSavedRedirectUrl,\n getFinalRedirectUrl,\n useAndClearRedirectUrl,\n saveCurrentUrlForRedirect,\n }),\n [\n user,\n isLoading,\n isAdminUser,\n loadCurrentProfile,\n checkAuthAndRedirect,\n storedEmail,\n setStoredEmail,\n clearStoredEmail,\n storedPhone,\n setStoredPhone,\n clearStoredPhone,\n requestOTP,\n verifyOTP,\n refreshToken,\n logout,\n getSavedRedirectUrl,\n saveRedirectUrl,\n clearSavedRedirectUrl,\n getFinalRedirectUrl,\n useAndClearRedirectUrl,\n saveCurrentUrlForRedirect,\n ],\n );\n\n return <AuthContext.Provider value={value}>{children}</AuthContext.Provider>;\n};\n\n// Wrapper that provides AccountsContext\nexport const AuthProvider: React.FC<AuthProviderProps> = ({ children, config }) => {\n return (\n <AccountsProvider>\n <AuthProviderInternal config={config}>\n {children}\n </AuthProviderInternal>\n </AccountsProvider>\n );\n};\n\nexport const useAuth = (): AuthContextType => {\n const context = useContext(AuthContext);\n if (context === undefined) {\n throw new Error('useAuth must be used within an AuthProvider');\n }\n return context;\n};\n\nexport default AuthContext; ","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Auth.\n */\nexport class CfgAccountsAuth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Refresh JWT token.\n */\n async accountsTokenRefreshCreate(data: Models.TokenRefreshRequest): Promise<Models.TokenRefresh> {\n const response = await this.client.request('POST', \"/cfg/accounts/token/refresh/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Admin API.\n */\nexport class CfgAccountsCentrifugoAdminApi {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get connection token for dashboard\n * \n * Returns JWT token and config for WebSocket connection to Centrifugo.\n */\n async centrifugoServerAuthTokenCreate(): Promise<any> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/auth/token/\");\n return response;\n }\n\n /**\n * List active channels\n * \n * Returns list of active channels with optional pattern filter.\n */\n async centrifugoServerChannelsCreate(data: Models.CentrifugoChannelsRequestRequest): Promise<Models.CentrifugoChannelsResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/channels/\", { body: data });\n return response;\n }\n\n /**\n * Get channel history\n * \n * Returns message history for a channel.\n */\n async centrifugoServerHistoryCreate(data: Models.CentrifugoHistoryRequestRequest): Promise<Models.CentrifugoHistoryResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/history/\", { body: data });\n return response;\n }\n\n /**\n * Get Centrifugo server info\n * \n * Returns server information including node count, version, and uptime.\n */\n async centrifugoServerInfoCreate(): Promise<Models.CentrifugoInfoResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/info/\");\n return response;\n }\n\n /**\n * Get channel presence\n * \n * Returns list of clients currently subscribed to a channel.\n */\n async centrifugoServerPresenceCreate(data: Models.CentrifugoPresenceRequestRequest): Promise<Models.CentrifugoPresenceResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/presence/\", { body: data });\n return response;\n }\n\n /**\n * Get channel presence statistics\n * \n * Returns quick statistics about channel presence (num_clients,\n * num_users).\n */\n async centrifugoServerPresenceStatsCreate(data: Models.CentrifugoPresenceStatsRequestRequest): Promise<Models.CentrifugoPresenceStatsResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/server/presence-stats/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Auth.\n */\nexport class CfgAccountsCentrifugoAuth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get Centrifugo connection token\n * \n * Generate JWT token for WebSocket connection to Centrifugo. Token\n * includes user's allowed channels based on their permissions. Requires\n * authentication.\n */\n async tokenRetrieve(): Promise<Models.ConnectionTokenResponse> {\n const response = await this.client.request('GET', \"/cfg/centrifugo/auth/token/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Monitoring.\n */\nexport class CfgAccountsCentrifugoMonitoring {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async centrifugoMonitorChannelsRetrieve(hours?: number): Promise<Models.ChannelList[]>;\n async centrifugoMonitorChannelsRetrieve(params?: { hours?: number }): Promise<Models.ChannelList[]>;\n\n /**\n * Get channel statistics\n * \n * Returns statistics grouped by channel.\n */\n async centrifugoMonitorChannelsRetrieve(...args: any[]): Promise<Models.ChannelList[]> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/channels/\", { params });\n return (response as any).results || response;\n }\n\n /**\n * Get Centrifugo health status\n * \n * Returns the current health status of the Centrifugo client.\n */\n async centrifugoMonitorHealthRetrieve(): Promise<Models.CentrifugoHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/health/\");\n return response;\n }\n\n async centrifugoMonitorOverviewRetrieve(hours?: number): Promise<Models.CentrifugoOverviewStats>;\n async centrifugoMonitorOverviewRetrieve(params?: { hours?: number }): Promise<Models.CentrifugoOverviewStats>;\n\n /**\n * Get overview statistics\n * \n * Returns overview statistics for Centrifugo publishes.\n */\n async centrifugoMonitorOverviewRetrieve(...args: any[]): Promise<Models.CentrifugoOverviewStats> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/overview/\", { params });\n return response;\n }\n\n async centrifugoMonitorPublishesList(channel?: string, page?: number, page_size?: number, status?: string): Promise<Models.PaginatedPublishList>;\n async centrifugoMonitorPublishesList(params?: { channel?: string; page?: number; page_size?: number; status?: string }): Promise<Models.PaginatedPublishList>;\n\n /**\n * Get recent publishes\n * \n * Returns a paginated list of recent Centrifugo publishes with their\n * details. Uses standard DRF pagination.\n */\n async centrifugoMonitorPublishesList(...args: any[]): Promise<Models.PaginatedPublishList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { channel: args[0], page: args[1], page_size: args[2], status: args[3] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/publishes/\", { params });\n return response;\n }\n\n async centrifugoMonitorTimelineRetrieve(hours?: number, interval?: string): Promise<Models.TimelineResponse>;\n async centrifugoMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }): Promise<Models.TimelineResponse>;\n\n /**\n * Get publish timeline\n * \n * Returns hourly or daily breakdown of publish counts for charts.\n */\n async centrifugoMonitorTimelineRetrieve(...args: any[]): Promise<Models.TimelineResponse> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], interval: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/centrifugo/monitor/timeline/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Centrifugo Testing.\n */\nexport class CfgAccountsCentrifugoTesting {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Publish test message\n * \n * Publish test message to Centrifugo via wrapper with optional ACK\n * tracking.\n */\n async publishTestCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/testing/publish-test/\", { body: data });\n return response;\n }\n\n /**\n * Publish with database logging\n * \n * Publish message using CentrifugoClient with database logging. This will\n * create CentrifugoLog records.\n */\n async publishWithLoggingCreate(data: Models.PublishTestRequestRequest): Promise<Models.PublishTestResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/testing/publish-with-logging/\", { body: data });\n return response;\n }\n\n /**\n * Send manual ACK\n * \n * Manually send ACK for a message to the wrapper. Pass message_id in\n * request body.\n */\n async sendAckCreate(data: Models.ManualAckRequestRequest): Promise<Models.ManualAckResponse> {\n const response = await this.client.request('POST', \"/cfg/centrifugo/testing/send-ack/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - API Zones.\n */\nexport class CfgAccountsDashboardApiZones {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get all API zones\n * \n * Retrieve all OpenAPI zones/groups with their configuration\n */\n async list(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/zones/\");\n return response;\n }\n\n /**\n * Get zones summary\n * \n * Retrieve zones summary with statistics\n */\n async summaryRetrieve(): Promise<Models.APIZonesSummary> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/zones/summary/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Activity.\n */\nexport class CfgAccountsDashboardActivity {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get quick actions\n * \n * Retrieve quick action buttons for dashboard\n */\n async dashboardApiActivityActionsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/activity/actions/\");\n return response;\n }\n\n async dashboardApiActivityRecentList(limit?: number): Promise<any>;\n async dashboardApiActivityRecentList(params?: { limit?: number }): Promise<any>;\n\n /**\n * Get recent activity\n * \n * Retrieve recent system activity entries\n */\n async dashboardApiActivityRecentList(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { limit: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/activity/recent/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Charts.\n */\nexport class CfgAccountsDashboardCharts {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async dashboardApiChartsActivityRetrieve(days?: number): Promise<Models.ChartData>;\n async dashboardApiChartsActivityRetrieve(params?: { days?: number }): Promise<Models.ChartData>;\n\n /**\n * Get user activity chart\n * \n * Retrieve user activity data for chart visualization\n */\n async dashboardApiChartsActivityRetrieve(...args: any[]): Promise<Models.ChartData> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { days: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/activity/\", { params });\n return response;\n }\n\n async dashboardApiChartsRecentUsersList(limit?: number): Promise<any>;\n async dashboardApiChartsRecentUsersList(params?: { limit?: number }): Promise<any>;\n\n /**\n * Get recent users\n * \n * Retrieve list of recently registered users\n */\n async dashboardApiChartsRecentUsersList(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { limit: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/recent-users/\", { params });\n return response;\n }\n\n async dashboardApiChartsRegistrationsRetrieve(days?: number): Promise<Models.ChartData>;\n async dashboardApiChartsRegistrationsRetrieve(params?: { days?: number }): Promise<Models.ChartData>;\n\n /**\n * Get user registration chart\n * \n * Retrieve user registration data for chart visualization\n */\n async dashboardApiChartsRegistrationsRetrieve(...args: any[]): Promise<Models.ChartData> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { days: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/registrations/\", { params });\n return response;\n }\n\n async dashboardApiChartsTrackerList(weeks?: number): Promise<any>;\n async dashboardApiChartsTrackerList(params?: { weeks?: number }): Promise<any>;\n\n /**\n * Get activity tracker\n * \n * Retrieve activity tracker data (GitHub-style contribution graph)\n */\n async dashboardApiChartsTrackerList(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { weeks: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/dashboard/api/charts/tracker/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Commands.\n */\nexport class CfgAccountsDashboardCommands {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get all commands\n * \n * Retrieve all available Django management commands\n */\n async dashboardApiCommandsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/commands/\");\n return response;\n }\n\n /**\n * Get command help\n * \n * Get detailed help text for a specific Django management command\n */\n async dashboardApiCommandsHelpRetrieve(id: string): Promise<Models.CommandHelpResponse> {\n const response = await this.client.request('GET', `/cfg/dashboard/api/commands/${id}/help/`);\n return response;\n }\n\n /**\n * Execute command\n * \n * Execute a Django management command and stream output in Server-Sent\n * Events format\n */\n async dashboardApiCommandsExecuteCreate(data: Models.CommandExecuteRequestRequest): Promise<any> {\n const response = await this.client.request('POST', \"/cfg/dashboard/api/commands/execute/\", { body: data });\n return response;\n }\n\n /**\n * Get commands summary\n * \n * Retrieve commands summary with statistics and categorization\n */\n async dashboardApiCommandsSummaryRetrieve(): Promise<Models.CommandsSummary> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/commands/summary/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Config.\n */\nexport class CfgAccountsDashboardConfig {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get configuration data\n * \n * Retrieve user's DjangoConfig settings and complete Django settings\n * (sanitized)\n */\n async dashboardApiConfigConfigRetrieve(): Promise<Models.ConfigData> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/config/config/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Overview.\n */\nexport class CfgAccountsDashboardOverview {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get dashboard overview\n * \n * Retrieve complete dashboard data including stats, health, actions, and\n * metrics\n */\n async dashboardApiOverviewOverviewRetrieve(): Promise<Models.DashboardOverview> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/overview/overview/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - Statistics.\n */\nexport class CfgAccountsDashboardStatistics {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get application statistics\n * \n * Retrieve statistics for all enabled django-cfg applications\n */\n async dashboardApiStatisticsAppsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/statistics/apps/\");\n return response;\n }\n\n /**\n * Get statistics cards\n * \n * Retrieve dashboard statistics cards with key metrics\n */\n async dashboardApiStatisticsCardsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/statistics/cards/\");\n return response;\n }\n\n /**\n * Get user statistics\n * \n * Retrieve user-related statistics\n */\n async dashboardApiStatisticsUsersRetrieve(): Promise<Models.UserStatistics> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/statistics/users/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Dashboard - System.\n */\nexport class CfgAccountsDashboardSystem {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get system health status\n * \n * Retrieve overall system health including all component checks\n */\n async dashboardApiSystemHealthRetrieve(): Promise<Models.SystemHealth> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/system/health/\");\n return response;\n }\n\n /**\n * Get system metrics\n * \n * Retrieve system performance metrics (CPU, memory, disk, etc.)\n */\n async dashboardApiSystemMetricsRetrieve(): Promise<Models.SystemMetrics> {\n const response = await this.client.request('GET', \"/cfg/dashboard/api/system/metrics/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Oauth.\n */\nexport class CfgAccountsOauth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * List OAuth connections\n * \n * Get all OAuth connections for the current user.\n */\n async accountsOauthConnectionsList(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/accounts/oauth/connections/\");\n return response;\n }\n\n /**\n * Disconnect OAuth provider\n * \n * Remove OAuth connection for the specified provider.\n */\n async accountsOauthDisconnectCreate(data: Models.OAuthDisconnectRequestRequest): Promise<any> {\n const response = await this.client.request('POST', \"/cfg/accounts/oauth/disconnect/\", { body: data });\n return response;\n }\n\n /**\n * Start GitHub OAuth\n * \n * Generate GitHub OAuth authorization URL. Redirect user to this URL to\n * start authentication.\n */\n async accountsOauthGithubAuthorizeCreate(data: Models.OAuthAuthorizeRequestRequest): Promise<Models.OAuthAuthorizeResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/oauth/github/authorize/\", { body: data });\n return response;\n }\n\n /**\n * Complete GitHub OAuth\n * \n * Exchange authorization code for JWT tokens. Call this after GitHub\n * redirects back with code.\n */\n async accountsOauthGithubCallbackCreate(data: Models.OAuthCallbackRequestRequest): Promise<Models.OAuthTokenResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/oauth/github/callback/\", { body: data });\n return response;\n }\n\n /**\n * List OAuth providers\n * \n * Get list of available OAuth providers for authentication.\n */\n async accountsOauthProvidersRetrieve(): Promise<Models.OAuthProvidersResponse> {\n const response = await this.client.request('GET', \"/cfg/accounts/oauth/providers/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Jobs.\n */\nexport class CfgAccountsRqJobs {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(page?: number, page_size?: number, queue?: string, status?: string): Promise<Models.PaginatedJobListList>;\n async list(params?: { page?: number; page_size?: number; queue?: string; status?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List all jobs\n * \n * Returns all jobs across all registries (queued, started, finished,\n * failed, deferred, scheduled).\n */\n async list(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2], status: args[3] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/\", { params });\n return response;\n }\n\n /**\n * Get job details\n * \n * Returns detailed information about a specific job.\n */\n async retrieve(id: string): Promise<Models.JobDetail> {\n const response = await this.client.request('GET', `/cfg/rq/jobs/${id}/`);\n return response;\n }\n\n /**\n * Delete job\n * \n * Deletes a job from the queue.\n */\n async destroy(id: string): Promise<Models.JobActionResponse> {\n const response = await this.client.request('DELETE', `/cfg/rq/jobs/${id}/`);\n return response;\n }\n\n /**\n * Cancel job\n * \n * Cancels a job (if it's queued or started).\n */\n async cancelCreate(id: string, data: Models.JobListRequest): Promise<Models.JobActionResponse> {\n const response = await this.client.request('POST', `/cfg/rq/jobs/${id}/cancel/`, { body: data });\n return response;\n }\n\n /**\n * Requeue job\n * \n * Requeues a failed job.\n */\n async requeueCreate(id: string, data: Models.JobListRequest): Promise<Models.JobActionResponse> {\n const response = await this.client.request('POST', `/cfg/rq/jobs/${id}/requeue/`, { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Monitoring.\n */\nexport class CfgAccountsRqMonitoring {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get RQ configuration\n * \n * Returns current RQ configuration from django-cfg.\n */\n async rqMonitorConfigRetrieve(): Promise<Models.RQConfig> {\n const response = await this.client.request('GET', \"/cfg/rq/monitor/config/\");\n return response;\n }\n\n /**\n * Health check\n * \n * Returns RQ cluster health status including worker count and queue\n * status.\n */\n async rqMonitorHealthRetrieve(): Promise<Models.RQHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/rq/monitor/health/\");\n return response;\n }\n\n /**\n * Prometheus metrics\n * \n * Returns Prometheus metrics for RQ queues and workers.\n */\n async rqMonitorMetricsRetrieve(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/rq/monitor/metrics/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Queues.\n */\nexport class CfgAccountsRqQueues {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(name?: string): Promise<any>;\n async list(params?: { name?: string }): Promise<any>;\n\n /**\n * List all queues\n * \n * Returns list of all configured RQ queues with statistics. Supports\n * filtering by queue name.\n */\n async list(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { name: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/queues/\", { params });\n return response;\n }\n\n /**\n * Get queue details\n * \n * Returns detailed information about a specific queue.\n */\n async retrieve(id: string): Promise<Models.QueueDetail> {\n const response = await this.client.request('GET', `/cfg/rq/queues/${id}/`);\n return response;\n }\n\n /**\n * Empty queue\n * \n * Removes all jobs from the specified queue.\n */\n async emptyCreate(id: string): Promise<any> {\n const response = await this.client.request('POST', `/cfg/rq/queues/${id}/empty/`);\n return response;\n }\n\n async jobsRetrieve(id: string, limit?: number, offset?: number): Promise<any>;\n async jobsRetrieve(id: string, params?: { limit?: number; offset?: number }): Promise<any>;\n\n /**\n * Get queue jobs\n * \n * Returns list of job IDs in the queue.\n */\n async jobsRetrieve(...args: any[]): Promise<any> {\n const id = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { limit: args[1], offset: args[2] };\n }\n const response = await this.client.request('GET', `/cfg/rq/queues/${id}/jobs/`, { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Registries.\n */\nexport class CfgAccountsRqRegistries {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async rqJobsRegistriesDeferredList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesDeferredList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List deferred jobs\n * \n * Returns list of all deferred jobs from deferred job registry.\n */\n async rqJobsRegistriesDeferredList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/deferred/\", { params });\n return response;\n }\n\n async rqJobsRegistriesFailedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesFailedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List failed jobs\n * \n * Returns list of all failed jobs from failed job registry.\n */\n async rqJobsRegistriesFailedList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/failed/\", { params });\n return response;\n }\n\n async rqJobsRegistriesFailedClearCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;\n async rqJobsRegistriesFailedClearCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;\n\n /**\n * Clear failed jobs registry\n * \n * Removes all jobs from the failed job registry.\n */\n async rqJobsRegistriesFailedClearCreate(...args: any[]): Promise<Models.JobActionResponse> {\n const data = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { queue: args[1] };\n }\n const response = await this.client.request('POST', \"/cfg/rq/jobs/registries/failed/clear/\", { params, body: data });\n return response;\n }\n\n async rqJobsRegistriesFailedRequeueAllCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;\n async rqJobsRegistriesFailedRequeueAllCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;\n\n /**\n * Requeue all failed jobs\n * \n * Requeues all failed jobs in the failed job registry.\n */\n async rqJobsRegistriesFailedRequeueAllCreate(...args: any[]): Promise<Models.JobActionResponse> {\n const data = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { queue: args[1] };\n }\n const response = await this.client.request('POST', \"/cfg/rq/jobs/registries/failed/requeue-all/\", { params, body: data });\n return response;\n }\n\n async rqJobsRegistriesFinishedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesFinishedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List finished jobs\n * \n * Returns list of all finished jobs from finished job registry.\n */\n async rqJobsRegistriesFinishedList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/finished/\", { params });\n return response;\n }\n\n async rqJobsRegistriesFinishedClearCreate(data: Models.JobListRequest, queue: string): Promise<Models.JobActionResponse>;\n async rqJobsRegistriesFinishedClearCreate(data: Models.JobListRequest, params: { queue: string }): Promise<Models.JobActionResponse>;\n\n /**\n * Clear finished jobs registry\n * \n * Removes all jobs from the finished job registry.\n */\n async rqJobsRegistriesFinishedClearCreate(...args: any[]): Promise<Models.JobActionResponse> {\n const data = args[0];\n const isParamsObject = args.length === 2 && typeof args[1] === 'object' && args[1] !== null && !Array.isArray(args[1]);\n \n let params;\n if (isParamsObject) {\n params = args[1];\n } else {\n params = { queue: args[1] };\n }\n const response = await this.client.request('POST', \"/cfg/rq/jobs/registries/finished/clear/\", { params, body: data });\n return response;\n }\n\n async rqJobsRegistriesStartedList(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedJobListList>;\n async rqJobsRegistriesStartedList(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedJobListList>;\n\n /**\n * List started jobs\n * \n * Returns list of all currently running jobs from started job registry.\n */\n async rqJobsRegistriesStartedList(...args: any[]): Promise<Models.PaginatedJobListList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/jobs/registries/started/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Schedules.\n */\nexport class CfgAccountsRqSchedules {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(page?: number, page_size?: number, queue?: string): Promise<Models.PaginatedScheduledJobList>;\n async list(params?: { page?: number; page_size?: number; queue?: string }): Promise<Models.PaginatedScheduledJobList>;\n\n /**\n * List scheduled jobs\n * \n * Returns list of all scheduled jobs across all queues.\n */\n async list(...args: any[]): Promise<Models.PaginatedScheduledJobList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { page: args[0], page_size: args[1], queue: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/schedules/\", { params });\n return response;\n }\n\n /**\n * Create scheduled job\n * \n * Schedule a job to run at specific time, interval, or cron schedule.\n */\n async create(data: Models.ScheduleCreateRequest): Promise<Models.ScheduleActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/schedules/\", { body: data });\n return response;\n }\n\n async retrieve(id: string, pk: string, queue?: string): Promise<Models.ScheduledJob>;\n async retrieve(id: string, pk: string, params?: { queue?: string }): Promise<Models.ScheduledJob>;\n\n /**\n * Get scheduled job details\n * \n * Returns detailed information about a specific scheduled job.\n */\n async retrieve(...args: any[]): Promise<Models.ScheduledJob> {\n const id = args[0];\n const pk = args[1];\n const isParamsObject = args.length === 3 && typeof args[2] === 'object' && args[2] !== null && !Array.isArray(args[2]);\n \n let params;\n if (isParamsObject) {\n params = args[2];\n } else {\n params = { queue: args[2] };\n }\n const response = await this.client.request('GET', `/cfg/rq/schedules/${id}/`, { params });\n return response;\n }\n\n async destroy(id: string, pk: string, queue?: string): Promise<Models.ScheduleActionResponse>;\n async destroy(id: string, pk: string, params?: { queue?: string }): Promise<Models.ScheduleActionResponse>;\n\n /**\n * Cancel scheduled job\n * \n * Cancel a scheduled job by ID.\n */\n async destroy(...args: any[]): Promise<Models.ScheduleActionResponse> {\n const id = args[0];\n const pk = args[1];\n const isParamsObject = args.length === 3 && typeof args[2] === 'object' && args[2] !== null && !Array.isArray(args[2]);\n \n let params;\n if (isParamsObject) {\n params = args[2];\n } else {\n params = { queue: args[2] };\n }\n const response = await this.client.request('DELETE', `/cfg/rq/schedules/${id}/`, { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Testing.\n */\nexport class CfgAccountsRqTesting {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * List test scenarios\n * \n * Returns list of all available test scenarios with metadata.\n */\n async list(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/rq/testing/\");\n return response;\n }\n\n async cleanupDestroy(delete_demo_jobs_only?: boolean, queue?: string, registries?: string): Promise<Models.TestingActionResponse>;\n async cleanupDestroy(params?: { delete_demo_jobs_only?: boolean; queue?: string; registries?: string }): Promise<Models.TestingActionResponse>;\n\n /**\n * Cleanup test jobs\n * \n * Clean demo jobs from registries.\n */\n async cleanupDestroy(...args: any[]): Promise<Models.TestingActionResponse> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { delete_demo_jobs_only: args[0], queue: args[1], registries: args[2] };\n }\n const response = await this.client.request('DELETE', \"/cfg/rq/testing/cleanup/\", { params });\n return response;\n }\n\n async resultsRetrieve(queue?: string, scenario?: string): Promise<any>;\n async resultsRetrieve(params?: { queue?: string; scenario?: string }): Promise<any>;\n\n /**\n * Get test results\n * \n * Get aggregated results of test jobs execution.\n */\n async resultsRetrieve(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { queue: args[0], scenario: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/testing/results/\", { params });\n return response;\n }\n\n /**\n * Run demo task\n * \n * Enqueue a single demo task for testing.\n */\n async runDemoCreate(data: Models.RunDemoRequestRequest): Promise<Models.TestingActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/testing/run-demo/\", { body: data });\n return response;\n }\n\n /**\n * Schedule demo tasks\n * \n * Register demo scheduled tasks using rq-scheduler.\n */\n async scheduleDemoCreate(data: any): Promise<Models.TestingActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/testing/schedule-demo/\", { body: data });\n return response;\n }\n\n /**\n * Stress test\n * \n * Generate N jobs for load testing and performance benchmarking.\n */\n async stressTestCreate(data: Models.StressTestRequestRequest): Promise<Models.TestingActionResponse> {\n const response = await this.client.request('POST', \"/cfg/rq/testing/stress-test/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for RQ Workers.\n */\nexport class CfgAccountsRqWorkers {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(queue?: string, state?: string): Promise<any>;\n async list(params?: { queue?: string; state?: string }): Promise<any>;\n\n /**\n * List all workers\n * \n * Returns list of all RQ workers with their current state. Supports\n * filtering by state and queue.\n */\n async list(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { queue: args[0], state: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/rq/workers/\", { params });\n return response;\n }\n\n /**\n * Get worker statistics\n * \n * Returns aggregated statistics for all workers.\n */\n async statsRetrieve(): Promise<Models.WorkerStats> {\n const response = await this.client.request('GET', \"/cfg/rq/workers/stats/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for User Profile.\n */\nexport class CfgAccountsUserProfile {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get current user profile\n * \n * Retrieve the current authenticated user's profile information.\n */\n async accountsProfileRetrieve(): Promise<Models.User> {\n const response = await this.client.request('GET', \"/cfg/accounts/profile/\");\n return response;\n }\n\n /**\n * Upload user avatar\n * \n * Upload avatar image for the current authenticated user. Accepts\n * multipart/form-data with 'avatar' field.\n */\n async accountsProfileAvatarCreate(data: FormData): Promise<Models.User> {\n const response = await this.client.request('POST', \"/cfg/accounts/profile/avatar/\", { formData: data });\n return response;\n }\n\n /**\n * Partial update user profile\n * \n * Partially update the current authenticated user's profile information.\n * Supports avatar upload.\n */\n async accountsProfilePartialUpdate(data: Models.UserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PUT', \"/cfg/accounts/profile/partial/\", { body: data });\n return response;\n }\n\n /**\n * Partial update user profile\n * \n * Partially update the current authenticated user's profile information.\n * Supports avatar upload.\n */\n async accountsProfilePartialPartialUpdate(data?: Models.PatchedUserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PATCH', \"/cfg/accounts/profile/partial/\", { body: data });\n return response;\n }\n\n /**\n * Update user profile\n * \n * Update the current authenticated user's profile information.\n */\n async accountsProfileUpdateUpdate(data: Models.UserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PUT', \"/cfg/accounts/profile/update/\", { body: data });\n return response;\n }\n\n /**\n * Update user profile\n * \n * Update the current authenticated user's profile information.\n */\n async accountsProfileUpdatePartialUpdate(data?: Models.PatchedUserProfileUpdateRequest): Promise<Models.User> {\n const response = await this.client.request('PATCH', \"/cfg/accounts/profile/update/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Accounts.\n */\nexport class CfgAccountsAccounts {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Request OTP code to email or phone.\n */\n async otpRequestCreate(data: Models.OTPRequestRequest): Promise<Models.OTPRequestResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/otp/request/\", { body: data });\n return response;\n }\n\n /**\n * Verify OTP code and return JWT tokens.\n */\n async otpVerifyCreate(data: Models.OTPVerifyRequest): Promise<Models.OTPVerifyResponse> {\n const response = await this.client.request('POST', \"/cfg/accounts/otp/verify/\", { body: data });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Endpoints.\n */\nexport class CfgAccountsEndpoints {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Return endpoints status data.\n */\n async drfRetrieve(): Promise<Models.EndpointsStatus> {\n const response = await this.client.request('GET', \"/cfg/endpoints/drf/\");\n return response;\n }\n\n /**\n * Return registered URLs (API endpoints by default). Query Parameters:\n * filter (str): Filter URLs by prefix - omit or 'api': Only API endpoints\n * (/api/*) - DEFAULT - 'all': All URLs (admin, api, cfg, etc.) - 'admin':\n * Only admin endpoints (/admin/*) - 'cfg': Only django-cfg endpoints\n * (/cfg/*)\n */\n async urlsRetrieve(): Promise<Models.URLsList[]> {\n const response = await this.client.request('GET', \"/cfg/endpoints/urls/\");\n return (response as any).results || response;\n }\n\n /**\n * Return compact URL list.\n */\n async urlsCompactRetrieve(): Promise<any> {\n const response = await this.client.request('GET', \"/cfg/endpoints/urls/compact/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Api Keys.\n */\nexport class CfgAccountsGrpcApiKeys {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(is_active?: boolean, page?: number, page_size?: number, user_id?: number): Promise<Models.PaginatedApiKeyList>;\n async list(params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }): Promise<Models.PaginatedApiKeyList>;\n\n /**\n * List API keys\n * \n * Returns a list of all API keys with their details. Uses standard DRF\n * pagination.\n */\n async list(...args: any[]): Promise<Models.PaginatedApiKeyList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { is_active: args[0], page: args[1], page_size: args[2], user_id: args[3] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/api-keys/\", { params });\n return response;\n }\n\n /**\n * Get API key details\n * \n * Returns detailed information about a specific API key.\n */\n async retrieve(id: number): Promise<Models.ApiKey> {\n const response = await this.client.request('GET', `/cfg/grpc/api-keys/${id}/`);\n return response;\n }\n\n /**\n * Get API keys statistics\n * \n * Returns overall statistics about API keys usage.\n */\n async statsRetrieve(): Promise<Models.ApiKeyStats> {\n const response = await this.client.request('GET', \"/cfg/grpc/api-keys/stats/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Configuration.\n */\nexport class CfgAccountsGrpcConfiguration {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get gRPC configuration\n * \n * Returns current gRPC server configuration from Django settings.\n */\n async grpcConfigConfigRetrieve(): Promise<Models.GRPCConfig> {\n const response = await this.client.request('GET', \"/cfg/grpc/config/config/\");\n return response;\n }\n\n /**\n * Get server information\n * \n * Returns detailed information about gRPC server, services, and runtime\n * statistics.\n */\n async grpcConfigServerInfoRetrieve(): Promise<Models.GRPCServerInfo> {\n const response = await this.client.request('GET', \"/cfg/grpc/config/server-info/\");\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Monitoring.\n */\nexport class CfgAccountsGrpcMonitoring {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Get gRPC health status\n * \n * Returns the current health status of the gRPC server.\n */\n async grpcMonitorHealthRetrieve(): Promise<Models.GRPCHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/health/\");\n return response;\n }\n\n async grpcMonitorMethodsRetrieve(hours?: number, service?: string): Promise<Models.MethodList[]>;\n async grpcMonitorMethodsRetrieve(params?: { hours?: number; service?: string }): Promise<Models.MethodList[]>;\n\n /**\n * Get method statistics\n * \n * Returns statistics grouped by method.\n */\n async grpcMonitorMethodsRetrieve(...args: any[]): Promise<Models.MethodList[]> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], service: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/methods/\", { params });\n return response;\n }\n\n async grpcMonitorOverviewRetrieve(hours?: number): Promise<Models.GRPCOverviewStats>;\n async grpcMonitorOverviewRetrieve(params?: { hours?: number }): Promise<Models.GRPCOverviewStats>;\n\n /**\n * Get overview statistics\n * \n * Returns overview statistics for gRPC requests.\n */\n async grpcMonitorOverviewRetrieve(...args: any[]): Promise<Models.GRPCOverviewStats> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/overview/\", { params });\n return response;\n }\n\n async grpcMonitorRequestsList(method?: string, page?: number, page_size?: number, service?: string, status?: string): Promise<Models.PaginatedRecentRequestList>;\n async grpcMonitorRequestsList(params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }): Promise<Models.PaginatedRecentRequestList>;\n\n /**\n * Get recent requests\n * \n * Returns a list of recent gRPC requests with their details. Uses standard\n * DRF pagination.\n */\n async grpcMonitorRequestsList(...args: any[]): Promise<Models.PaginatedRecentRequestList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { method: args[0], page: args[1], page_size: args[2], service: args[3], status: args[4] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/requests/\", { params });\n return response;\n }\n\n async grpcMonitorTimelineRetrieve(hours?: number, interval?: string): Promise<any>;\n async grpcMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }): Promise<any>;\n\n /**\n * Get request timeline\n * \n * Returns hourly or daily breakdown of request counts for charts.\n */\n async grpcMonitorTimelineRetrieve(...args: any[]): Promise<any> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], interval: args[1] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/monitor/timeline/\", { params });\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Grpc Services.\n */\nexport class CfgAccountsGrpcServices {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n async list(hours?: number, page?: number, page_size?: number): Promise<Models.PaginatedServiceSummaryList>;\n async list(params?: { hours?: number; page?: number; page_size?: number }): Promise<Models.PaginatedServiceSummaryList>;\n\n /**\n * List all services\n * \n * Returns paginated list of all registered gRPC services with basic\n * statistics.\n */\n async list(...args: any[]): Promise<Models.PaginatedServiceSummaryList> {\n const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);\n \n let params;\n if (isParamsObject) {\n params = args[0];\n } else {\n params = { hours: args[0], page: args[1], page_size: args[2] };\n }\n const response = await this.client.request('GET', \"/cfg/grpc/services/\", { params });\n return response;\n }\n\n /**\n * Get service details\n * \n * Returns detailed information about a specific gRPC service.\n */\n async retrieve(id: string, pk: string): Promise<Models.ServiceDetail> {\n const response = await this.client.request('GET', `/cfg/grpc/services/${id}/`);\n return response;\n }\n\n /**\n * Get service methods\n * \n * Returns list of methods for a specific service with statistics.\n */\n async methodsRetrieve(id: string, pk: string): Promise<Models.ServiceMethods> {\n const response = await this.client.request('GET', `/cfg/grpc/services/${id}/methods/`);\n return response;\n }\n\n}","import * as Models from \"./models\";\n\n\n/**\n * API endpoints for Health.\n */\nexport class CfgAccountsHealth {\n private client: any;\n\n constructor(client: any) {\n this.client = client;\n }\n\n /**\n * Return comprehensive health check data.\n */\n async drfRetrieve(): Promise<Models.DRFHealthCheck> {\n const response = await this.client.request('GET', \"/cfg/health/drf/\");\n return response;\n }\n\n /**\n * Return minimal health status.\n */\n async drfQuickRetrieve(): Promise<Models.QuickHealth> {\n const response = await this.client.request('GET', \"/cfg/health/drf/quick/\");\n return response;\n }\n\n}","/**\n * HTTP Client Adapter Pattern\n *\n * Allows switching between fetch/axios/httpx without changing generated code.\n * Provides unified interface for making HTTP requests.\n */\n\nexport interface HttpRequest {\n method: string;\n url: string;\n headers?: Record<string, string>;\n body?: any;\n params?: Record<string, any>;\n /** FormData for file uploads (multipart/form-data) */\n formData?: FormData;\n}\n\nexport interface HttpResponse<T = any> {\n data: T;\n status: number;\n statusText: string;\n headers: Record<string, string>;\n}\n\n/**\n * HTTP Client Adapter Interface.\n * Implement this to use custom HTTP clients (axios, httpx, etc.)\n */\nexport interface HttpClientAdapter {\n request<T = any>(request: HttpRequest): Promise<HttpResponse<T>>;\n}\n\n/**\n * Default Fetch API adapter.\n * Uses native browser fetch() with proper error handling.\n */\nexport class FetchAdapter implements HttpClientAdapter {\n async request<T = any>(request: HttpRequest): Promise<HttpResponse<T>> {\n const { method, url, headers, body, params, formData } = request;\n\n // Build URL with query params\n let finalUrl = url;\n if (params) {\n const searchParams = new URLSearchParams();\n Object.entries(params).forEach(([key, value]) => {\n if (value !== null && value !== undefined) {\n searchParams.append(key, String(value));\n }\n });\n const queryString = searchParams.toString();\n if (queryString) {\n finalUrl = url.includes('?') ? `${url}&${queryString}` : `${url}?${queryString}`;\n }\n }\n\n // Build headers\n const finalHeaders: Record<string, string> = { ...headers };\n\n // Determine body and content-type\n let requestBody: string | FormData | undefined;\n\n if (formData) {\n // For multipart/form-data, let browser set Content-Type with boundary\n requestBody = formData;\n // Don't set Content-Type - browser will set it with boundary\n } else if (body) {\n // JSON request\n finalHeaders['Content-Type'] = 'application/json';\n requestBody = JSON.stringify(body);\n }\n\n // Make request\n const response = await fetch(finalUrl, {\n method,\n headers: finalHeaders,\n body: requestBody,\n credentials: 'include', // Include Django session cookies\n });\n\n // Parse response\n let data: any = null;\n const contentType = response.headers.get('content-type');\n\n if (response.status !== 204 && contentType?.includes('application/json')) {\n data = await response.json();\n } else if (response.status !== 204) {\n data = await response.text();\n }\n\n // Convert Headers to plain object\n const responseHeaders: Record<string, string> = {};\n response.headers.forEach((value, key) => {\n responseHeaders[key] = value;\n });\n\n return {\n data,\n status: response.status,\n statusText: response.statusText,\n headers: responseHeaders,\n };\n }\n}","/**\n * API Error Classes\n *\n * Typed error classes with Django REST Framework support.\n */\n\n/**\n * HTTP API Error with DRF field-specific validation errors.\n *\n * Usage:\n * ```typescript\n * try {\n * await api.users.create(userData);\n * } catch (error) {\n * if (error instanceof APIError) {\n * if (error.isValidationError) {\n * console.log('Field errors:', error.fieldErrors);\n * // { \"email\": [\"Email already exists\"], \"username\": [\"Required\"] }\n * }\n * }\n * }\n * ```\n */\nexport class APIError extends Error {\n constructor(\n public statusCode: number,\n public statusText: string,\n public response: any,\n public url: string,\n message?: string\n ) {\n super(message || `HTTP ${statusCode}: ${statusText}`);\n this.name = 'APIError';\n }\n\n /**\n * Get error details from response.\n * DRF typically returns: { \"detail\": \"Error message\" } or { \"field\": [\"error1\", \"error2\"] }\n */\n get details(): Record<string, any> | null {\n if (typeof this.response === 'object' && this.response !== null) {\n return this.response;\n }\n return null;\n }\n\n /**\n * Get field-specific validation errors from DRF.\n * Returns: { \"field_name\": [\"error1\", \"error2\"], ... }\n */\n get fieldErrors(): Record<string, string[]> | null {\n const details = this.details;\n if (!details) return null;\n\n // DRF typically returns: { \"field\": [\"error1\", \"error2\"] }\n const fieldErrors: Record<string, string[]> = {};\n for (const [key, value] of Object.entries(details)) {\n if (Array.isArray(value)) {\n fieldErrors[key] = value;\n }\n }\n\n return Object.keys(fieldErrors).length > 0 ? fieldErrors : null;\n }\n\n /**\n * Get single error message from DRF.\n * Checks for \"detail\", \"message\", or first field error.\n */\n get errorMessage(): string {\n const details = this.details;\n if (!details) return this.message;\n\n // Check for \"detail\" field (common in DRF)\n if (details.detail) {\n return Array.isArray(details.detail) ? details.detail.join(', ') : String(details.detail);\n }\n\n // Check for \"message\" field\n if (details.message) {\n return String(details.message);\n }\n\n // Return first field error\n const fieldErrors = this.fieldErrors;\n if (fieldErrors) {\n const firstField = Object.keys(fieldErrors)[0];\n if (firstField) {\n return `${firstField}: ${fieldErrors[firstField]?.join(', ')}`;\n }\n }\n\n return this.message;\n }\n\n // Helper methods for common HTTP status codes\n get isValidationError(): boolean { return this.statusCode === 400; }\n get isAuthError(): boolean { return this.statusCode === 401; }\n get isPermissionError(): boolean { return this.statusCode === 403; }\n get isNotFoundError(): boolean { return this.statusCode === 404; }\n get isServerError(): boolean { return this.statusCode >= 500 && this.statusCode < 600; }\n}\n\n/**\n * Network Error (connection failed, timeout, etc.)\n */\nexport class NetworkError extends Error {\n constructor(\n message: string,\n public url: string,\n public originalError?: Error\n ) {\n super(message);\n this.name = 'NetworkError';\n }\n}","/**\n * API Logger with Consola\n * Beautiful console logging for API requests and responses\n *\n * Installation:\n * npm install consola\n */\n\nimport { type ConsolaInstance, createConsola } from 'consola';\n\n/**\n * Request log data\n */\nexport interface RequestLog {\n method: string;\n url: string;\n headers?: Record<string, string>;\n body?: any;\n timestamp: number;\n}\n\n/**\n * Response log data\n */\nexport interface ResponseLog {\n status: number;\n statusText: string;\n data?: any;\n duration: number;\n timestamp: number;\n}\n\n/**\n * Error log data\n */\nexport interface ErrorLog {\n message: string;\n statusCode?: number;\n fieldErrors?: Record<string, string[]>;\n duration: number;\n timestamp: number;\n}\n\n/**\n * Logger configuration\n */\nexport interface LoggerConfig {\n /** Enable logging */\n enabled: boolean;\n /** Log requests */\n logRequests: boolean;\n /** Log responses */\n logResponses: boolean;\n /** Log errors */\n logErrors: boolean;\n /** Log request/response bodies */\n logBodies: boolean;\n /** Log headers (excluding sensitive ones) */\n logHeaders: boolean;\n /** Custom consola instance */\n consola?: ConsolaInstance;\n}\n\n/**\n * Default logger configuration\n */\nconst DEFAULT_CONFIG: LoggerConfig = {\n enabled: process.env.NODE_ENV !== 'production',\n logRequests: true,\n logResponses: true,\n logErrors: true,\n logBodies: true,\n logHeaders: false,\n};\n\n/**\n * Sensitive header names to filter out\n */\nconst SENSITIVE_HEADERS = [\n 'authorization',\n 'cookie',\n 'set-cookie',\n 'x-api-key',\n 'x-csrf-token',\n];\n\n/**\n * API Logger class\n */\nexport class APILogger {\n private config: LoggerConfig;\n private consola: ConsolaInstance;\n\n constructor(config: Partial<LoggerConfig> = {}) {\n this.config = { ...DEFAULT_CONFIG, ...config };\n this.consola = config.consola || createConsola({\n level: this.config.enabled ? 4 : 0,\n });\n }\n\n /**\n * Enable logging\n */\n enable(): void {\n this.config.enabled = true;\n }\n\n /**\n * Disable logging\n */\n disable(): void {\n this.config.enabled = false;\n }\n\n /**\n * Update configuration\n */\n setConfig(config: Partial<LoggerConfig>): void {\n this.config = { ...this.config, ...config };\n }\n\n /**\n * Filter sensitive headers\n */\n private filterHeaders(headers?: Record<string, string>): Record<string, string> {\n if (!headers) return {};\n\n const filtered: Record<string, string> = {};\n Object.keys(headers).forEach((key) => {\n const lowerKey = key.toLowerCase();\n if (SENSITIVE_HEADERS.includes(lowerKey)) {\n filtered[key] = '***';\n } else {\n filtered[key] = headers[key] || '';\n }\n });\n\n return filtered;\n }\n\n /**\n * Log request\n */\n logRequest(request: RequestLog): void {\n if (!this.config.enabled || !this.config.logRequests) return;\n\n const { method, url, headers, body } = request;\n\n this.consola.start(`${method} ${url}`);\n\n if (this.config.logHeaders && headers) {\n this.consola.debug('Headers:', this.filterHeaders(headers));\n }\n\n if (this.config.logBodies && body) {\n this.consola.debug('Body:', body);\n }\n }\n\n /**\n * Log response\n */\n logResponse(request: RequestLog, response: ResponseLog): void {\n if (!this.config.enabled || !this.config.logResponses) return;\n\n const { method, url } = request;\n const { status, statusText, data, duration } = response;\n\n const statusColor = status >= 500 ? 'red'\n : status >= 400 ? 'yellow'\n : status >= 300 ? 'cyan'\n : 'green';\n\n this.consola.success(\n `${method} ${url} ${status} ${statusText} (${duration}ms)`\n );\n\n if (this.config.logBodies && data) {\n this.consola.debug('Response:', data);\n }\n }\n\n /**\n * Log error\n */\n logError(request: RequestLog, error: ErrorLog): void {\n if (!this.config.enabled || !this.config.logErrors) return;\n\n const { method, url } = request;\n const { message, statusCode, fieldErrors, duration } = error;\n\n this.consola.error(\n `${method} ${url} ${statusCode || 'Network'} Error (${duration}ms)`\n );\n\n this.consola.error('Message:', message);\n\n if (fieldErrors && Object.keys(fieldErrors).length > 0) {\n this.consola.error('Field Errors:');\n Object.entries(fieldErrors).forEach(([field, errors]) => {\n errors.forEach((err) => {\n this.consola.error(` • ${field}: ${err}`);\n });\n });\n }\n }\n\n /**\n * Log general info\n */\n info(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.info(message, ...args);\n }\n\n /**\n * Log warning\n */\n warn(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.warn(message, ...args);\n }\n\n /**\n * Log error\n */\n error(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.error(message, ...args);\n }\n\n /**\n * Log debug\n */\n debug(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.debug(message, ...args);\n }\n\n /**\n * Log success\n */\n success(message: string, ...args: any[]): void {\n if (!this.config.enabled) return;\n this.consola.success(message, ...args);\n }\n\n /**\n * Create a sub-logger with prefix\n */\n withTag(tag: string): ConsolaInstance {\n return this.consola.withTag(tag);\n }\n}\n\n/**\n * Default logger instance\n */\nexport const defaultLogger = new APILogger();","/**\n * Retry Configuration and Utilities\n *\n * Provides automatic retry logic for failed HTTP requests using p-retry.\n * Retries only on network errors and server errors (5xx), not client errors (4xx).\n */\n\nimport pRetry, { AbortError } from 'p-retry';\nimport { APIError, NetworkError } from './errors';\n\n/**\n * Information about a failed retry attempt.\n */\nexport interface FailedAttemptInfo {\n /** The error that caused the failure */\n error: Error;\n /** The attempt number (1-indexed) */\n attemptNumber: number;\n /** Number of retries left */\n retriesLeft: number;\n}\n\n/**\n * Retry configuration options.\n *\n * Uses exponential backoff with jitter by default to avoid thundering herd.\n */\nexport interface RetryConfig {\n /**\n * Maximum number of retry attempts.\n * @default 3\n */\n retries?: number;\n\n /**\n * Exponential backoff factor.\n * @default 2\n */\n factor?: number;\n\n /**\n * Minimum wait time between retries (ms).\n * @default 1000\n */\n minTimeout?: number;\n\n /**\n * Maximum wait time between retries (ms).\n * @default 60000\n */\n maxTimeout?: number;\n\n /**\n * Add randomness to wait times (jitter).\n * Helps avoid thundering herd problem.\n * @default true\n */\n randomize?: boolean;\n\n /**\n * Callback called on each failed attempt.\n */\n onFailedAttempt?: (info: FailedAttemptInfo) => void;\n}\n\n/**\n * Default retry configuration.\n */\nexport const DEFAULT_RETRY_CONFIG: Required<RetryConfig> = {\n retries: 3,\n factor: 2,\n minTimeout: 1000,\n maxTimeout: 60000,\n randomize: true,\n onFailedAttempt: () => {},\n};\n\n/**\n * Determine if an error should trigger a retry.\n *\n * Retries on:\n * - Network errors (connection refused, timeout, etc.)\n * - Server errors (5xx status codes)\n * - Rate limiting (429 status code)\n *\n * Does NOT retry on:\n * - Client errors (4xx except 429)\n * - Authentication errors (401, 403)\n * - Not found (404)\n *\n * @param error - The error to check\n * @returns true if should retry, false otherwise\n */\nexport function shouldRetry(error: any): boolean {\n // Always retry network errors\n if (error instanceof NetworkError) {\n return true;\n }\n\n // For API errors, check status code\n if (error instanceof APIError) {\n const status = error.statusCode;\n\n // Retry on 5xx server errors\n if (status >= 500 && status < 600) {\n return true;\n }\n\n // Retry on 429 (rate limit)\n if (status === 429) {\n return true;\n }\n\n // Do NOT retry on 4xx client errors\n return false;\n }\n\n // Retry on unknown errors (might be network issues)\n return true;\n}\n\n/**\n * Wrap a function with retry logic.\n *\n * @param fn - Async function to retry\n * @param config - Retry configuration\n * @returns Result of the function\n *\n * @example\n * ```typescript\n * const result = await withRetry(\n * async () => fetch('https://api.example.com/users'),\n * { retries: 5, minTimeout: 2000 }\n * );\n * ```\n */\nexport async function withRetry<T>(\n fn: () => Promise<T>,\n config?: RetryConfig\n): Promise<T> {\n const finalConfig = { ...DEFAULT_RETRY_CONFIG, ...config };\n\n return pRetry(\n async () => {\n try {\n return await fn();\n } catch (error) {\n // Check if we should retry this error\n if (!shouldRetry(error)) {\n // Abort retry immediately for non-retryable errors\n throw new AbortError(error as Error);\n }\n\n // Re-throw error to trigger retry\n throw error;\n }\n },\n {\n retries: finalConfig.retries,\n factor: finalConfig.factor,\n minTimeout: finalConfig.minTimeout,\n maxTimeout: finalConfig.maxTimeout,\n randomize: finalConfig.randomize,\n onFailedAttempt: finalConfig.onFailedAttempt ? (error) => {\n // Adapt p-retry's FailedAttemptError to our FailedAttemptInfo\n const pRetryError = error as any; // p-retry's internal type\n finalConfig.onFailedAttempt!({\n error: pRetryError as Error,\n attemptNumber: pRetryError.attemptNumber,\n retriesLeft: pRetryError.retriesLeft,\n });\n } : undefined,\n }\n );\n}","import { CfgAccountsAuth } from \"./cfg_accounts__accounts__auth\";\nimport { CfgAccountsCentrifugoAdminApi } from \"./cfg_accounts__centrifugo__centrifugo_admin_api\";\nimport { CfgAccountsCentrifugoAuth } from \"./cfg_accounts__centrifugo__centrifugo_auth\";\nimport { CfgAccountsCentrifugoMonitoring } from \"./cfg_accounts__centrifugo__centrifugo_monitoring\";\nimport { CfgAccountsCentrifugoTesting } from \"./cfg_accounts__centrifugo__centrifugo_testing\";\nimport { CfgAccountsDashboardApiZones } from \"./cfg_accounts__dashboard__dashboard_api_zones\";\nimport { CfgAccountsDashboardActivity } from \"./cfg_accounts__dashboard__dashboard_activity\";\nimport { CfgAccountsDashboardCharts } from \"./cfg_accounts__dashboard__dashboard_charts\";\nimport { CfgAccountsDashboardCommands } from \"./cfg_accounts__dashboard__dashboard_commands\";\nimport { CfgAccountsDashboardConfig } from \"./cfg_accounts__dashboard__dashboard_config\";\nimport { CfgAccountsDashboardOverview } from \"./cfg_accounts__dashboard__dashboard_overview\";\nimport { CfgAccountsDashboardStatistics } from \"./cfg_accounts__dashboard__dashboard_statistics\";\nimport { CfgAccountsDashboardSystem } from \"./cfg_accounts__dashboard__dashboard_system\";\nimport { CfgAccountsOauth } from \"./cfg_accounts__accounts__oauth\";\nimport { CfgAccountsRqJobs } from \"./cfg_accounts__rq__rq_jobs\";\nimport { CfgAccountsRqMonitoring } from \"./cfg_accounts__rq__rq_monitoring\";\nimport { CfgAccountsRqQueues } from \"./cfg_accounts__rq__rq_queues\";\nimport { CfgAccountsRqRegistries } from \"./cfg_accounts__rq__rq_registries\";\nimport { CfgAccountsRqSchedules } from \"./cfg_accounts__rq__rq_schedules\";\nimport { CfgAccountsRqTesting } from \"./cfg_accounts__rq__rq_testing\";\nimport { CfgAccountsRqWorkers } from \"./cfg_accounts__rq__rq_workers\";\nimport { CfgAccountsUserProfile } from \"./cfg_accounts__accounts__user_profile\";\nimport { CfgAccountsAccounts } from \"./cfg_accounts__accounts\";\nimport { CfgAccountsEndpoints } from \"./cfg_accounts__endpoints\";\nimport { CfgAccountsGrpcApiKeys } from \"./cfg_accounts__grpc__grpc_api_keys\";\nimport { CfgAccountsGrpcConfiguration } from \"./cfg_accounts__grpc__grpc_configuration\";\nimport { CfgAccountsGrpcMonitoring } from \"./cfg_accounts__grpc__grpc_monitoring\";\nimport { CfgAccountsGrpcServices } from \"./cfg_accounts__grpc__grpc_services\";\nimport { CfgAccountsHealth } from \"./cfg_accounts__health\";\nimport { HttpClientAdapter, FetchAdapter } from \"./http\";\nimport { APIError, NetworkError } from \"./errors\";\nimport { APILogger, type LoggerConfig } from \"./logger\";\nimport { withRetry, type RetryConfig } from \"./retry\";\n\n\n/**\n * Async API client for Django CFG API.\n *\n * Usage:\n * ```typescript\n * const client = new APIClient('https://api.example.com');\n * const users = await client.users.list();\n * const post = await client.posts.create(newPost);\n *\n * // Custom HTTP adapter (e.g., Axios)\n * const client = new APIClient('https://api.example.com', {\n * httpClient: new AxiosAdapter()\n * });\n * ```\n */\nexport class APIClient {\n private baseUrl: string;\n private httpClient: HttpClientAdapter;\n private logger: APILogger | null = null;\n private retryConfig: RetryConfig | null = null;\n\n // Sub-clients\n public cfg_accounts_auth: CfgAccountsAuth;\n public cfg_accounts_centrifugo_admin_api: CfgAccountsCentrifugoAdminApi;\n public cfg_accounts_centrifugo_auth: CfgAccountsCentrifugoAuth;\n public cfg_accounts_centrifugo_monitoring: CfgAccountsCentrifugoMonitoring;\n public cfg_accounts_centrifugo_testing: CfgAccountsCentrifugoTesting;\n public cfg_accounts_dashboard_api_zones: CfgAccountsDashboardApiZones;\n public cfg_accounts_dashboard_activity: CfgAccountsDashboardActivity;\n public cfg_accounts_dashboard_charts: CfgAccountsDashboardCharts;\n public cfg_accounts_dashboard_commands: CfgAccountsDashboardCommands;\n public cfg_accounts_dashboard_config: CfgAccountsDashboardConfig;\n public cfg_accounts_dashboard_overview: CfgAccountsDashboardOverview;\n public cfg_accounts_dashboard_statistics: CfgAccountsDashboardStatistics;\n public cfg_accounts_dashboard_system: CfgAccountsDashboardSystem;\n public cfg_accounts_oauth: CfgAccountsOauth;\n public cfg_accounts_rq_jobs: CfgAccountsRqJobs;\n public cfg_accounts_rq_monitoring: CfgAccountsRqMonitoring;\n public cfg_accounts_rq_queues: CfgAccountsRqQueues;\n public cfg_accounts_rq_registries: CfgAccountsRqRegistries;\n public cfg_accounts_rq_schedules: CfgAccountsRqSchedules;\n public cfg_accounts_rq_testing: CfgAccountsRqTesting;\n public cfg_accounts_rq_workers: CfgAccountsRqWorkers;\n public cfg_accounts_user_profile: CfgAccountsUserProfile;\n public cfg_accounts_accounts: CfgAccountsAccounts;\n public cfg_accounts_endpoints: CfgAccountsEndpoints;\n public cfg_accounts_grpc_api_keys: CfgAccountsGrpcApiKeys;\n public cfg_accounts_grpc_configuration: CfgAccountsGrpcConfiguration;\n public cfg_accounts_grpc_monitoring: CfgAccountsGrpcMonitoring;\n public cfg_accounts_grpc_services: CfgAccountsGrpcServices;\n public cfg_accounts_health: CfgAccountsHealth;\n\n constructor(\n baseUrl: string,\n options?: {\n httpClient?: HttpClientAdapter;\n loggerConfig?: Partial<LoggerConfig>;\n retryConfig?: RetryConfig;\n }\n ) {\n this.baseUrl = baseUrl.replace(/\\/$/, '');\n this.httpClient = options?.httpClient || new FetchAdapter();\n\n // Initialize logger if config provided\n if (options?.loggerConfig !== undefined) {\n this.logger = new APILogger(options.loggerConfig);\n }\n\n // Store retry configuration\n if (options?.retryConfig !== undefined) {\n this.retryConfig = options.retryConfig;\n }\n\n // Initialize sub-clients\n this.cfg_accounts_auth = new CfgAccountsAuth(this);\n this.cfg_accounts_centrifugo_admin_api = new CfgAccountsCentrifugoAdminApi(this);\n this.cfg_accounts_centrifugo_auth = new CfgAccountsCentrifugoAuth(this);\n this.cfg_accounts_centrifugo_monitoring = new CfgAccountsCentrifugoMonitoring(this);\n this.cfg_accounts_centrifugo_testing = new CfgAccountsCentrifugoTesting(this);\n this.cfg_accounts_dashboard_api_zones = new CfgAccountsDashboardApiZones(this);\n this.cfg_accounts_dashboard_activity = new CfgAccountsDashboardActivity(this);\n this.cfg_accounts_dashboard_charts = new CfgAccountsDashboardCharts(this);\n this.cfg_accounts_dashboard_commands = new CfgAccountsDashboardCommands(this);\n this.cfg_accounts_dashboard_config = new CfgAccountsDashboardConfig(this);\n this.cfg_accounts_dashboard_overview = new CfgAccountsDashboardOverview(this);\n this.cfg_accounts_dashboard_statistics = new CfgAccountsDashboardStatistics(this);\n this.cfg_accounts_dashboard_system = new CfgAccountsDashboardSystem(this);\n this.cfg_accounts_oauth = new CfgAccountsOauth(this);\n this.cfg_accounts_rq_jobs = new CfgAccountsRqJobs(this);\n this.cfg_accounts_rq_monitoring = new CfgAccountsRqMonitoring(this);\n this.cfg_accounts_rq_queues = new CfgAccountsRqQueues(this);\n this.cfg_accounts_rq_registries = new CfgAccountsRqRegistries(this);\n this.cfg_accounts_rq_schedules = new CfgAccountsRqSchedules(this);\n this.cfg_accounts_rq_testing = new CfgAccountsRqTesting(this);\n this.cfg_accounts_rq_workers = new CfgAccountsRqWorkers(this);\n this.cfg_accounts_user_profile = new CfgAccountsUserProfile(this);\n this.cfg_accounts_accounts = new CfgAccountsAccounts(this);\n this.cfg_accounts_endpoints = new CfgAccountsEndpoints(this);\n this.cfg_accounts_grpc_api_keys = new CfgAccountsGrpcApiKeys(this);\n this.cfg_accounts_grpc_configuration = new CfgAccountsGrpcConfiguration(this);\n this.cfg_accounts_grpc_monitoring = new CfgAccountsGrpcMonitoring(this);\n this.cfg_accounts_grpc_services = new CfgAccountsGrpcServices(this);\n this.cfg_accounts_health = new CfgAccountsHealth(this);\n }\n\n /**\n * Get CSRF token from cookies (for SessionAuthentication).\n *\n * Returns null if cookie doesn't exist (JWT-only auth).\n */\n getCsrfToken(): string | null {\n const name = 'csrftoken';\n const value = `; ${document.cookie}`;\n const parts = value.split(`; ${name}=`);\n if (parts.length === 2) {\n return parts.pop()?.split(';').shift() || null;\n }\n return null;\n }\n\n /**\n * Make HTTP request with Django CSRF and session handling.\n * Automatically retries on network errors and 5xx server errors.\n */\n async request<T>(\n method: string,\n path: string,\n options?: {\n params?: Record<string, any>;\n body?: any;\n formData?: FormData;\n headers?: Record<string, string>;\n }\n ): Promise<T> {\n // Wrap request in retry logic if configured\n if (this.retryConfig) {\n return withRetry(() => this._makeRequest<T>(method, path, options), {\n ...this.retryConfig,\n onFailedAttempt: (info) => {\n // Log retry attempts\n if (this.logger) {\n this.logger.warn(\n `Retry attempt ${info.attemptNumber}/${info.retriesLeft + info.attemptNumber} ` +\n `for ${method} ${path}: ${info.error.message}`\n );\n }\n // Call user's onFailedAttempt if provided\n this.retryConfig?.onFailedAttempt?.(info);\n },\n });\n }\n\n // No retry configured, make request directly\n return this._makeRequest<T>(method, path, options);\n }\n\n /**\n * Internal request method (without retry wrapper).\n * Used by request() method with optional retry logic.\n */\n private async _makeRequest<T>(\n method: string,\n path: string,\n options?: {\n params?: Record<string, any>;\n body?: any;\n formData?: FormData;\n headers?: Record<string, string>;\n }\n ): Promise<T> {\n // Build URL - handle both absolute and relative paths\n // When baseUrl is empty (static builds), path is used as-is (relative to current origin)\n const url = this.baseUrl ? `${this.baseUrl}${path}` : path;\n const startTime = Date.now();\n\n // Build headers - start with custom headers from options\n const headers: Record<string, string> = {\n ...(options?.headers || {})\n };\n\n // Don't set Content-Type for FormData (browser will set it with boundary)\n if (!options?.formData && !headers['Content-Type']) {\n headers['Content-Type'] = 'application/json';\n }\n\n // CSRF not needed - SessionAuthentication not enabled in DRF config\n // Your API uses JWT/Token authentication (no CSRF required)\n\n // Log request\n if (this.logger) {\n this.logger.logRequest({\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n });\n }\n\n try {\n // Make request via HTTP adapter\n const response = await this.httpClient.request<T>({\n method,\n url: url,\n headers,\n params: options?.params,\n body: options?.body,\n formData: options?.formData,\n });\n\n const duration = Date.now() - startTime;\n\n // Check for HTTP errors\n if (response.status >= 400) {\n const error = new APIError(\n response.status,\n response.statusText,\n response.data,\n url\n );\n\n // Log error\n if (this.logger) {\n this.logger.logError(\n {\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n },\n {\n message: error.message,\n statusCode: response.status,\n duration,\n timestamp: Date.now(),\n }\n );\n }\n\n throw error;\n }\n\n // Log successful response\n if (this.logger) {\n this.logger.logResponse(\n {\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n },\n {\n status: response.status,\n statusText: response.statusText,\n data: response.data,\n duration,\n timestamp: Date.now(),\n }\n );\n }\n\n return response.data as T;\n } catch (error) {\n const duration = Date.now() - startTime;\n\n // Re-throw APIError as-is\n if (error instanceof APIError) {\n throw error;\n }\n\n // Detect CORS errors and dispatch event\n const isCORSError = error instanceof TypeError &&\n (error.message.toLowerCase().includes('cors') ||\n error.message.toLowerCase().includes('failed to fetch') ||\n error.message.toLowerCase().includes('network request failed'));\n\n // Log specific error type first\n if (this.logger) {\n if (isCORSError) {\n this.logger.error(`🚫 CORS Error: ${method} ${url}`);\n this.logger.error(` → ${error instanceof Error ? error.message : String(error)}`);\n this.logger.error(` → Configure security_domains parameter on the server`);\n } else {\n this.logger.error(`⚠️ Network Error: ${method} ${url}`);\n this.logger.error(` → ${error instanceof Error ? error.message : String(error)}`);\n }\n }\n\n // Dispatch browser events\n if (typeof window !== 'undefined') {\n try {\n if (isCORSError) {\n // Dispatch CORS-specific error event\n window.dispatchEvent(new CustomEvent('cors-error', {\n detail: {\n url: url,\n method: method,\n error: error instanceof Error ? error.message : String(error),\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n }));\n } else {\n // Dispatch generic network error event\n window.dispatchEvent(new CustomEvent('network-error', {\n detail: {\n url: url,\n method: method,\n error: error instanceof Error ? error.message : String(error),\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n }));\n }\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n }\n }\n\n // Wrap other errors as NetworkError\n const networkError = error instanceof Error\n ? new NetworkError(error.message, url, error)\n : new NetworkError('Unknown error', url);\n\n // Detailed logging via logger.logError\n if (this.logger) {\n this.logger.logError(\n {\n method,\n url: url,\n headers,\n body: options?.formData || options?.body,\n timestamp: startTime,\n },\n {\n message: networkError.message,\n duration,\n timestamp: Date.now(),\n }\n );\n }\n\n throw networkError;\n }\n }\n}\n","/**\n * Storage adapters for cross-platform token storage.\n *\n * Supports:\n * - LocalStorage (browser)\n * - Cookies (SSR/browser)\n * - Memory (Node.js/Electron/testing)\n */\n\nimport type { APILogger } from './logger';\n\n/**\n * Storage adapter interface for cross-platform token storage.\n */\nexport interface StorageAdapter {\n getItem(key: string): string | null;\n setItem(key: string, value: string): void;\n removeItem(key: string): void;\n}\n\n/**\n * LocalStorage adapter with safe try-catch for browser environments.\n * Works in modern browsers with localStorage support.\n * \n * Note: This adapter uses window.localStorage and should only be used in browser/client environments.\n * For server-side usage, use MemoryStorageAdapter or CookieStorageAdapter instead.\n */\nexport class LocalStorageAdapter implements StorageAdapter {\n private logger?: APILogger;\n\n constructor(logger?: APILogger) {\n this.logger = logger;\n }\n\n getItem(key: string): string | null {\n try {\n if (typeof window !== 'undefined' && window.localStorage) {\n const value = localStorage.getItem(key);\n this.logger?.debug(`LocalStorage.getItem(\"${key}\"): ${value ? 'found' : 'not found'}`);\n return value;\n }\n this.logger?.warn('LocalStorage not available: window.localStorage is undefined');\n } catch (error) {\n this.logger?.error('LocalStorage.getItem failed:', error);\n }\n return null;\n }\n\n setItem(key: string, value: string): void {\n try {\n if (typeof window !== 'undefined' && window.localStorage) {\n localStorage.setItem(key, value);\n this.logger?.debug(`LocalStorage.setItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('LocalStorage not available: window.localStorage is undefined');\n }\n } catch (error) {\n this.logger?.error('LocalStorage.setItem failed:', error);\n }\n }\n\n removeItem(key: string): void {\n try {\n if (typeof window !== 'undefined' && window.localStorage) {\n localStorage.removeItem(key);\n this.logger?.debug(`LocalStorage.removeItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('LocalStorage not available: window.localStorage is undefined');\n }\n } catch (error) {\n this.logger?.error('LocalStorage.removeItem failed:', error);\n }\n }\n}\n\n/**\n * Cookie-based storage adapter for SSR and browser environments.\n * Useful for Next.js, Nuxt.js, and other SSR frameworks.\n */\nexport class CookieStorageAdapter implements StorageAdapter {\n private logger?: APILogger;\n\n constructor(logger?: APILogger) {\n this.logger = logger;\n }\n\n getItem(key: string): string | null {\n try {\n if (typeof document === 'undefined') {\n this.logger?.warn('Cookies not available: document is undefined (SSR context?)');\n return null;\n }\n const value = `; ${document.cookie}`;\n const parts = value.split(`; ${key}=`);\n if (parts.length === 2) {\n const result = parts.pop()?.split(';').shift() || null;\n this.logger?.debug(`CookieStorage.getItem(\"${key}\"): ${result ? 'found' : 'not found'}`);\n return result;\n }\n this.logger?.debug(`CookieStorage.getItem(\"${key}\"): not found`);\n } catch (error) {\n this.logger?.error('CookieStorage.getItem failed:', error);\n }\n return null;\n }\n\n setItem(key: string, value: string): void {\n try {\n if (typeof document !== 'undefined') {\n document.cookie = `${key}=${value}; path=/; max-age=31536000`;\n this.logger?.debug(`CookieStorage.setItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('Cookies not available: document is undefined (SSR context?)');\n }\n } catch (error) {\n this.logger?.error('CookieStorage.setItem failed:', error);\n }\n }\n\n removeItem(key: string): void {\n try {\n if (typeof document !== 'undefined') {\n document.cookie = `${key}=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT`;\n this.logger?.debug(`CookieStorage.removeItem(\"${key}\"): success`);\n } else {\n this.logger?.warn('Cookies not available: document is undefined (SSR context?)');\n }\n } catch (error) {\n this.logger?.error('CookieStorage.removeItem failed:', error);\n }\n }\n}\n\n/**\n * In-memory storage adapter for Node.js, Electron, and testing environments.\n * Data is stored in RAM and cleared when process exits.\n */\nexport class MemoryStorageAdapter implements StorageAdapter {\n private storage: Map<string, string> = new Map();\n private logger?: APILogger;\n\n constructor(logger?: APILogger) {\n this.logger = logger;\n }\n\n getItem(key: string): string | null {\n const value = this.storage.get(key) || null;\n this.logger?.debug(`MemoryStorage.getItem(\"${key}\"): ${value ? 'found' : 'not found'}`);\n return value;\n }\n\n setItem(key: string, value: string): void {\n this.storage.set(key, value);\n this.logger?.debug(`MemoryStorage.setItem(\"${key}\"): success`);\n }\n\n removeItem(key: string): void {\n this.storage.delete(key);\n this.logger?.debug(`MemoryStorage.removeItem(\"${key}\"): success`);\n }\n}","/**\n * OAuth provider name (github, google, etc.)\n * * `github` - GitHub\n */\nexport enum OAuthConnectionProvider {\n GITHUB = \"github\",\n}\n\n/**\n * OAuth provider to disconnect\n * * `github` - GitHub\n */\nexport enum OAuthDisconnectRequestRequestProvider {\n GITHUB = \"github\",\n}\n\n/**\n * Delivery channel: 'email' or 'phone'. Auto-detected if not provided.\n * * `email` - Email\n * * `phone` - Phone\n */\nexport enum OTPRequestRequestChannel {\n EMAIL = \"email\",\n PHONE = \"phone\",\n}\n\n/**\n * Delivery channel: 'email' or 'phone'. Auto-detected if not provided.\n * * `email` - Email\n * * `phone` - Phone\n */\nexport enum OTPVerifyRequestChannel {\n EMAIL = \"email\",\n PHONE = \"phone\",\n}\n\n/**\n * Button color theme\n * * `primary` - primary\n * * `success` - success\n * * `warning` - warning\n * * `danger` - danger\n * * `secondary` - secondary\n * * `info` - info\n * * `default` - default\n */\nexport enum QuickActionColor {\n PRIMARY = \"primary\",\n SUCCESS = \"success\",\n WARNING = \"warning\",\n DANGER = \"danger\",\n SECONDARY = \"secondary\",\n INFO = \"info\",\n DEFAULT = \"default\",\n}\n\n/**\n * Demo scenario to run\n * * `success` - success\n * * `failure` - failure\n * * `slow` - slow\n * * `progress` - progress\n * * `retry` - retry\n * * `random` - random\n * * `memory` - memory\n * * `cpu` - cpu\n */\nexport enum RunDemoRequestRequestScenario {\n SUCCESS = \"success\",\n FAILURE = \"failure\",\n SLOW = \"slow\",\n PROGRESS = \"progress\",\n RETRY = \"retry\",\n RANDOM = \"random\",\n MEMORY = \"memory\",\n CPU = \"cpu\",\n}\n\n/**\n * Change type\n * * `positive` - positive\n * * `negative` - negative\n * * `neutral` - neutral\n */\nexport enum StatCardChangeType {\n POSITIVE = \"positive\",\n NEGATIVE = \"negative\",\n NEUTRAL = \"neutral\",\n}\n\n/**\n * Task scenario\n * * `success` - success\n * * `failure` - failure\n * * `slow` - slow\n * * `random` - random\n */\nexport enum StressTestRequestRequestScenario {\n SUCCESS = \"success\",\n FAILURE = \"failure\",\n SLOW = \"slow\",\n RANDOM = \"random\",\n}\n\n/**\n * Overall system health status\n * * `healthy` - healthy\n * * `warning` - warning\n * * `error` - error\n * * `unknown` - unknown\n */\nexport enum SystemHealthOverallStatus {\n HEALTHY = \"healthy\",\n WARNING = \"warning\",\n ERROR = \"error\",\n UNKNOWN = \"unknown\",\n}\n\n/**\n * Health status\n * * `healthy` - healthy\n * * `warning` - warning\n * * `error` - error\n * * `unknown` - unknown\n */\nexport enum SystemHealthItemStatus {\n HEALTHY = \"healthy\",\n WARNING = \"warning\",\n ERROR = \"error\",\n UNKNOWN = \"unknown\",\n}\n\n","/**\n * Zod schema for APIZone\n *\n * This schema provides runtime validation and type inference.\n * * OpenAPI zone/group serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * OpenAPI zone/group serializer.\n */\nexport const APIZoneSchema = z.object({\n name: z.string(),\n title: z.string(),\n description: z.string(),\n app_count: z.int(),\n endpoint_count: z.int(),\n status: z.string(),\n schema_url: z.string(),\n relative_schema_url: z.string(),\n api_url: z.string(),\n relative_api_url: z.string(),\n apps: z.array(z.string()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type APIZone = z.infer<typeof APIZoneSchema>","/**\n * Zod schema for APIZonesSummary\n *\n * This schema provides runtime validation and type inference.\n * * API zones summary serializer.\n * */\nimport { z } from 'zod'\nimport { APIZoneSchema } from './APIZone.schema'\nimport { ZonesSummaryStatsSchema } from './ZonesSummaryStats.schema'\n\n/**\n * API zones summary serializer.\n */\nexport const APIZonesSummarySchema = z.object({\n zones: z.array(APIZoneSchema),\n summary: ZonesSummaryStatsSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type APIZonesSummary = z.infer<typeof APIZonesSummarySchema>","/**\n * Zod schema for ZonesSummaryStats\n *\n * This schema provides runtime validation and type inference.\n * * Summary statistics for API zones.\n * */\nimport { z } from 'zod'\n\n/**\n * Summary statistics for API zones.\n */\nexport const ZonesSummaryStatsSchema = z.object({\n total_apps: z.int(),\n total_endpoints: z.int(),\n total_zones: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ZonesSummaryStats = z.infer<typeof ZonesSummaryStatsSchema>","/**\n * Zod schema for ActivityEntry\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for recent activity entries.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for recent activity entries.\n */\nexport const ActivityEntrySchema = z.object({\n id: z.int(),\n user: z.string(),\n action: z.string(),\n resource: z.string(),\n timestamp: z.string(),\n icon: z.string(),\n color: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ActivityEntry = z.infer<typeof ActivityEntrySchema>","/**\n * Zod schema for ActivityTrackerDay\n *\n * This schema provides runtime validation and type inference.\n * * Activity tracker single day serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Activity tracker single day serializer.\n */\nexport const ActivityTrackerDaySchema = z.object({\n date: z.iso.date(),\n count: z.int(),\n level: z.int(),\n color: z.string(),\n tooltip: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ActivityTrackerDay = z.infer<typeof ActivityTrackerDaySchema>","/**\n * Zod schema for ApiKey\n *\n * This schema provides runtime validation and type inference.\n * * API Key information (read-only).\n * */\nimport { z } from 'zod'\n\n/**\n * API Key information (read-only).\n */\nexport const ApiKeySchema = z.object({\n id: z.int(),\n name: z.string(),\n masked_key: z.string(),\n is_active: z.boolean(),\n is_valid: z.boolean(),\n user_id: z.int(),\n username: z.string(),\n user_email: z.string(),\n request_count: z.int(),\n last_used_at: z.iso.datetime().nullable(),\n expires_at: z.iso.datetime().nullable(),\n created_at: z.iso.datetime(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ApiKey = z.infer<typeof ApiKeySchema>","/**\n * Zod schema for ApiKeyStats\n *\n * This schema provides runtime validation and type inference.\n * * API Key usage statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * API Key usage statistics.\n */\nexport const ApiKeyStatsSchema = z.object({\n total_keys: z.int(),\n active_keys: z.int(),\n expired_keys: z.int(),\n total_requests: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ApiKeyStats = z.infer<typeof ApiKeyStatsSchema>","/**\n * Zod schema for AppStatistics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for application-specific statistics.\n * */\nimport { z } from 'zod'\nimport { AppStatisticsDataSchema } from './AppStatisticsData.schema'\n\n/**\n * Serializer for application-specific statistics.\n */\nexport const AppStatisticsSchema = z.object({\n app_name: z.string(),\n statistics: AppStatisticsDataSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type AppStatistics = z.infer<typeof AppStatisticsSchema>","/**\n * Zod schema for AppStatisticsData\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for application statistics data.\n * */\nimport { z } from 'zod'\nimport { ModelStatisticsSchema } from './ModelStatistics.schema'\n\n/**\n * Serializer for application statistics data.\n */\nexport const AppStatisticsDataSchema = z.object({\n name: z.string(),\n models: z.array(ModelStatisticsSchema),\n total_records: z.int(),\n model_count: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type AppStatisticsData = z.infer<typeof AppStatisticsDataSchema>","/**\n * Zod schema for ModelStatistics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for individual model statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for individual model statistics.\n */\nexport const ModelStatisticsSchema = z.object({\n model_name: z.string(),\n name: z.string(),\n count: z.int(),\n fields_count: z.int(),\n admin_url: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ModelStatistics = z.infer<typeof ModelStatisticsSchema>","/**\n * Zod schema for AxesConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django-Axes brute-force protection configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Django-Axes brute-force protection configuration.\n */\nexport const AxesConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n failure_limit: z.int().nullable().optional(),\n cooloff_time: z.int().nullable().optional(),\n lock_out_at_failure: z.boolean().nullable().optional(),\n reset_on_success: z.boolean().nullable().optional(),\n only_user_failures: z.boolean().nullable().optional(),\n lockout_template: z.string().nullable().optional(),\n lockout_url: z.string().nullable().optional(),\n verbose: z.boolean().nullable().optional(),\n enable_access_failure_log: z.boolean().nullable().optional(),\n ipware_proxy_count: z.int().nullable().optional(),\n ipware_meta_precedence_order: z.array(z.string()).nullable().optional(),\n allowed_ips: z.array(z.string()).nullable().optional(),\n denied_ips: z.array(z.string()).nullable().optional(),\n cache_name: z.string().nullable().optional(),\n use_user_agent: z.boolean().nullable().optional(),\n username_form_field: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type AxesConfig = z.infer<typeof AxesConfigSchema>","/**\n * Zod schema for CentrifugoChannelInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a single channel.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a single channel.\n */\nexport const CentrifugoChannelInfoSchema = z.object({\n num_clients: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelInfo = z.infer<typeof CentrifugoChannelInfoSchema>","/**\n * Zod schema for CentrifugoChannelsRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to list active channels.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to list active channels.\n */\nexport const CentrifugoChannelsRequestRequestSchema = z.object({\n pattern: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelsRequestRequest = z.infer<typeof CentrifugoChannelsRequestRequestSchema>","/**\n * Zod schema for CentrifugoChannelsResponse\n *\n * This schema provides runtime validation and type inference.\n * * List of active channels response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoChannelsResultSchema } from './CentrifugoChannelsResult.schema'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\n\n/**\n * List of active channels response.\n */\nexport const CentrifugoChannelsResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoChannelsResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelsResponse = z.infer<typeof CentrifugoChannelsResponseSchema>","/**\n * Zod schema for CentrifugoChannelsResult\n *\n * This schema provides runtime validation and type inference.\n * * Channels result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoChannelInfoSchema } from './CentrifugoChannelInfo.schema'\n\n/**\n * Channels result wrapper.\n */\nexport const CentrifugoChannelsResultSchema = z.object({\n channels: z.record(z.string(), CentrifugoChannelInfoSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoChannelsResult = z.infer<typeof CentrifugoChannelsResultSchema>","/**\n * Zod schema for CentrifugoError\n *\n * This schema provides runtime validation and type inference.\n * * Centrifugo API error structure.\n * */\nimport { z } from 'zod'\n\n/**\n * Centrifugo API error structure.\n */\nexport const CentrifugoErrorSchema = z.object({\n code: z.int().optional(),\n message: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoError = z.infer<typeof CentrifugoErrorSchema>","/**\n * Zod schema for CentrifugoClientInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about connected client.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about connected client.\n */\nexport const CentrifugoClientInfoSchema = z.object({\n user: z.string(),\n client: z.string(),\n conn_info: z.record(z.string(), z.any()).nullable().optional(),\n chan_info: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoClientInfo = z.infer<typeof CentrifugoClientInfoSchema>","/**\n * Zod schema for CentrifugoConfig\n *\n * This schema provides runtime validation and type inference.\n * * Centrifugo configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Centrifugo configuration.\n */\nexport const CentrifugoConfigSchema = z.object({\n module_name: z.string().nullable().optional(),\n enabled: z.boolean().nullable().optional(),\n wrapper_url: z.string().nullable().optional(),\n wrapper_api_key: z.string().nullable().optional(),\n centrifugo_url: z.string().nullable().optional(),\n centrifugo_api_url: z.string().nullable().optional(),\n centrifugo_api_key: z.string().nullable().optional(),\n centrifugo_token_hmac_secret: z.string().nullable().optional(),\n default_timeout: z.int().nullable().optional(),\n ack_timeout: z.int().nullable().optional(),\n http_timeout: z.int().nullable().optional(),\n max_retries: z.int().nullable().optional(),\n retry_delay: z.number().nullable().optional(),\n verify_ssl: z.boolean().nullable().optional(),\n log_all_calls: z.boolean().nullable().optional(),\n log_only_with_ack: z.boolean().nullable().optional(),\n log_level: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoConfig = z.infer<typeof CentrifugoConfigSchema>","/**\n * Zod schema for CentrifugoHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * Health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * Health check response.\n */\nexport const CentrifugoHealthCheckSchema = z.object({\n status: z.string(),\n wrapper_url: z.string(),\n has_api_key: z.boolean(),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHealthCheck = z.infer<typeof CentrifugoHealthCheckSchema>","/**\n * Zod schema for CentrifugoHistoryRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to get channel history.\n * */\nimport { z } from 'zod'\nimport { CentrifugoStreamPositionSchema } from './CentrifugoStreamPosition.schema'\n\n/**\n * Request to get channel history.\n */\nexport const CentrifugoHistoryRequestRequestSchema = z.object({\n channel: z.string(),\n limit: z.int().nullable().optional(),\n since: CentrifugoStreamPositionSchema.optional(),\n reverse: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHistoryRequestRequest = z.infer<typeof CentrifugoHistoryRequestRequestSchema>","/**\n * Zod schema for CentrifugoStreamPosition\n *\n * This schema provides runtime validation and type inference.\n * * Stream position for pagination.\n * */\nimport { z } from 'zod'\n\n/**\n * Stream position for pagination.\n */\nexport const CentrifugoStreamPositionSchema = z.object({\n offset: z.int(),\n epoch: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoStreamPosition = z.infer<typeof CentrifugoStreamPositionSchema>","/**\n * Zod schema for CentrifugoHistoryResponse\n *\n * This schema provides runtime validation and type inference.\n * * Channel history response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoHistoryResultSchema } from './CentrifugoHistoryResult.schema'\n\n/**\n * Channel history response.\n */\nexport const CentrifugoHistoryResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoHistoryResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHistoryResponse = z.infer<typeof CentrifugoHistoryResponseSchema>","/**\n * Zod schema for CentrifugoHistoryResult\n *\n * This schema provides runtime validation and type inference.\n * * History result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoPublicationSchema } from './CentrifugoPublication.schema'\n\n/**\n * History result wrapper.\n */\nexport const CentrifugoHistoryResultSchema = z.object({\n publications: z.array(CentrifugoPublicationSchema),\n epoch: z.string(),\n offset: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoHistoryResult = z.infer<typeof CentrifugoHistoryResultSchema>","/**\n * Zod schema for CentrifugoPublication\n *\n * This schema provides runtime validation and type inference.\n * * Single publication (message) in channel history.\n * */\nimport { z } from 'zod'\nimport { CentrifugoClientInfoSchema } from './CentrifugoClientInfo.schema'\n\n/**\n * Single publication (message) in channel history.\n */\nexport const CentrifugoPublicationSchema = z.object({\n data: z.record(z.string(), z.any()),\n info: CentrifugoClientInfoSchema.optional(),\n offset: z.int(),\n tags: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPublication = z.infer<typeof CentrifugoPublicationSchema>","/**\n * Zod schema for CentrifugoInfoResponse\n *\n * This schema provides runtime validation and type inference.\n * * Server info response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoInfoResultSchema } from './CentrifugoInfoResult.schema'\n\n/**\n * Server info response.\n */\nexport const CentrifugoInfoResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoInfoResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoInfoResponse = z.infer<typeof CentrifugoInfoResponseSchema>","/**\n * Zod schema for CentrifugoInfoResult\n *\n * This schema provides runtime validation and type inference.\n * * Info result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoNodeInfoSchema } from './CentrifugoNodeInfo.schema'\n\n/**\n * Info result wrapper.\n */\nexport const CentrifugoInfoResultSchema = z.object({\n nodes: z.array(CentrifugoNodeInfoSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoInfoResult = z.infer<typeof CentrifugoInfoResultSchema>","/**\n * Zod schema for CentrifugoNodeInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a single Centrifugo node.\n * */\nimport { z } from 'zod'\nimport { CentrifugoMetricsSchema } from './CentrifugoMetrics.schema'\nimport { CentrifugoProcessSchema } from './CentrifugoProcess.schema'\n\n/**\n * Information about a single Centrifugo node.\n */\nexport const CentrifugoNodeInfoSchema = z.object({\n uid: z.string(),\n name: z.string(),\n version: z.string(),\n num_clients: z.int(),\n num_users: z.int(),\n num_channels: z.int(),\n uptime: z.int(),\n num_subs: z.int(),\n metrics: CentrifugoMetricsSchema.optional(),\n process: CentrifugoProcessSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoNodeInfo = z.infer<typeof CentrifugoNodeInfoSchema>","/**\n * Zod schema for CentrifugoMetrics\n *\n * This schema provides runtime validation and type inference.\n * * Server metrics.\n * */\nimport { z } from 'zod'\n\n/**\n * Server metrics.\n */\nexport const CentrifugoMetricsSchema = z.object({\n interval: z.number(),\n items: z.record(z.string(), z.number()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoMetrics = z.infer<typeof CentrifugoMetricsSchema>","/**\n * Zod schema for CentrifugoProcess\n *\n * This schema provides runtime validation and type inference.\n * * Process information.\n * */\nimport { z } from 'zod'\n\n/**\n * Process information.\n */\nexport const CentrifugoProcessSchema = z.object({\n cpu: z.number(),\n rss: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoProcess = z.infer<typeof CentrifugoProcessSchema>","/**\n * Zod schema for CentrifugoOverviewStats\n *\n * This schema provides runtime validation and type inference.\n * * Overview statistics for Centrifugo publishes.\n * */\nimport { z } from 'zod'\n\n/**\n * Overview statistics for Centrifugo publishes.\n */\nexport const CentrifugoOverviewStatsSchema = z.object({\n total: z.int(),\n successful: z.int(),\n failed: z.int(),\n timeout: z.int(),\n success_rate: z.number(),\n avg_duration_ms: z.number(),\n avg_acks_received: z.number(),\n period_hours: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoOverviewStats = z.infer<typeof CentrifugoOverviewStatsSchema>","/**\n * Zod schema for CentrifugoPresenceRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to get channel presence.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to get channel presence.\n */\nexport const CentrifugoPresenceRequestRequestSchema = z.object({\n channel: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceRequestRequest = z.infer<typeof CentrifugoPresenceRequestRequestSchema>","/**\n * Zod schema for CentrifugoPresenceResponse\n *\n * This schema provides runtime validation and type inference.\n * * Channel presence response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoPresenceResultSchema } from './CentrifugoPresenceResult.schema'\n\n/**\n * Channel presence response.\n */\nexport const CentrifugoPresenceResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoPresenceResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceResponse = z.infer<typeof CentrifugoPresenceResponseSchema>","/**\n * Zod schema for CentrifugoPresenceResult\n *\n * This schema provides runtime validation and type inference.\n * * Presence result wrapper.\n * */\nimport { z } from 'zod'\nimport { CentrifugoClientInfoSchema } from './CentrifugoClientInfo.schema'\n\n/**\n * Presence result wrapper.\n */\nexport const CentrifugoPresenceResultSchema = z.object({\n presence: z.record(z.string(), CentrifugoClientInfoSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceResult = z.infer<typeof CentrifugoPresenceResultSchema>","/**\n * Zod schema for CentrifugoPresenceStatsRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to get channel presence statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to get channel presence statistics.\n */\nexport const CentrifugoPresenceStatsRequestRequestSchema = z.object({\n channel: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceStatsRequestRequest = z.infer<typeof CentrifugoPresenceStatsRequestRequestSchema>","/**\n * Zod schema for CentrifugoPresenceStatsResponse\n *\n * This schema provides runtime validation and type inference.\n * * Channel presence stats response.\n * */\nimport { z } from 'zod'\nimport { CentrifugoErrorSchema } from './CentrifugoError.schema'\nimport { CentrifugoPresenceStatsResultSchema } from './CentrifugoPresenceStatsResult.schema'\n\n/**\n * Channel presence stats response.\n */\nexport const CentrifugoPresenceStatsResponseSchema = z.object({\n error: CentrifugoErrorSchema.optional(),\n result: CentrifugoPresenceStatsResultSchema.optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceStatsResponse = z.infer<typeof CentrifugoPresenceStatsResponseSchema>","/**\n * Zod schema for CentrifugoPresenceStatsResult\n *\n * This schema provides runtime validation and type inference.\n * * Presence stats result.\n * */\nimport { z } from 'zod'\n\n/**\n * Presence stats result.\n */\nexport const CentrifugoPresenceStatsResultSchema = z.object({\n num_clients: z.int(),\n num_users: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoPresenceStatsResult = z.infer<typeof CentrifugoPresenceStatsResultSchema>","/**\n * Zod schema for CentrifugoToken\n *\n * This schema provides runtime validation and type inference.\n * * Nested serializer for Centrifugo WebSocket connection token.\n * */\nimport { z } from 'zod'\n\n/**\n * Nested serializer for Centrifugo WebSocket connection token.\n */\nexport const CentrifugoTokenSchema = z.object({\n token: z.string(),\n centrifugo_url: z.url(),\n expires_at: z.iso.datetime(),\n channels: z.array(z.string()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CentrifugoToken = z.infer<typeof CentrifugoTokenSchema>","/**\n * Zod schema for ChannelList\n *\n * This schema provides runtime validation and type inference.\n * * List of channel statistics.\n * */\nimport { z } from 'zod'\nimport { ChannelStatsSchema } from './ChannelStats.schema'\n\n/**\n * List of channel statistics.\n */\nexport const ChannelListSchema = z.object({\n channels: z.array(ChannelStatsSchema),\n total_channels: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChannelList = z.infer<typeof ChannelListSchema>","/**\n * Zod schema for ChannelStats\n *\n * This schema provides runtime validation and type inference.\n * * Statistics per channel.\n * */\nimport { z } from 'zod'\n\n/**\n * Statistics per channel.\n */\nexport const ChannelStatsSchema = z.object({\n channel: z.string(),\n total: z.int(),\n successful: z.int(),\n failed: z.int(),\n avg_duration_ms: z.number(),\n avg_acks: z.number(),\n last_activity_at: z.string().nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChannelStats = z.infer<typeof ChannelStatsSchema>","/**\n * Zod schema for ChartData\n *\n * This schema provides runtime validation and type inference.\n * * Chart.js data structure serializer.\n * */\nimport { z } from 'zod'\nimport { ChartDatasetSchema } from './ChartDataset.schema'\n\n/**\n * Chart.js data structure serializer.\n */\nexport const ChartDataSchema = z.object({\n labels: z.array(z.string()),\n datasets: z.array(ChartDatasetSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChartData = z.infer<typeof ChartDataSchema>","/**\n * Zod schema for ChartDataset\n *\n * This schema provides runtime validation and type inference.\n * * Chart.js dataset serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Chart.js dataset serializer.\n */\nexport const ChartDatasetSchema = z.object({\n label: z.string(),\n data: z.array(z.int()),\n backgroundColor: z.string(),\n borderColor: z.string(),\n tension: z.number(),\n fill: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ChartDataset = z.infer<typeof ChartDatasetSchema>","/**\n * Zod schema for Command\n *\n * This schema provides runtime validation and type inference.\n * * Django management command serializer.\n\nIncludes security metadata from base classes (SafeCommand, InteractiveCommand, etc.):\n- web_executable: Can be executed via web interface\n- requires_input: Requires interactive user input\n- is_destructive: Modifies or deletes data\n * */\nimport { z } from 'zod'\n\n/**\n * Django management command serializer.\n\nIncludes security metadata from base classes (SafeCommand, InteractiveCommand, etc.):\n- web_executable: Can be executed via web interface\n- requires_input: Requires interactive user input\n- is_destructive: Modifies or deletes data\n */\nexport const CommandSchema = z.object({\n name: z.string(),\n app: z.string(),\n help: z.string(),\n is_core: z.boolean(),\n is_custom: z.boolean(),\n is_allowed: z.boolean().optional(),\n risk_level: z.string().optional(),\n web_executable: z.boolean().nullable().optional(),\n requires_input: z.boolean().nullable().optional(),\n is_destructive: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Command = z.infer<typeof CommandSchema>","/**\n * Zod schema for CommandCategory\n *\n * This schema provides runtime validation and type inference.\n * * Category with commands.\n * */\nimport { z } from 'zod'\nimport { CommandSchema } from './Command.schema'\n\n/**\n * Category with commands.\n */\nexport const CommandCategorySchema = z.object({\n category: z.string(),\n commands: z.array(CommandSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandCategory = z.infer<typeof CommandCategorySchema>","/**\n * Zod schema for CommandExecuteRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request serializer for command execution.\n * */\nimport { z } from 'zod'\n\n/**\n * Request serializer for command execution.\n */\nexport const CommandExecuteRequestRequestSchema = z.object({\n command: z.string().min(1),\n args: z.array(z.string().min(1)).optional(),\n options: z.record(z.string(), z.record(z.string(), z.any())).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandExecuteRequestRequest = z.infer<typeof CommandExecuteRequestRequestSchema>","/**\n * Zod schema for CommandHelpResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response serializer for command help.\n * */\nimport { z } from 'zod'\n\n/**\n * Response serializer for command help.\n */\nexport const CommandHelpResponseSchema = z.object({\n status: z.string(),\n command: z.string(),\n app: z.string().optional(),\n help_text: z.string().optional(),\n is_allowed: z.boolean().optional(),\n risk_level: z.string().optional(),\n error: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandHelpResponse = z.infer<typeof CommandHelpResponseSchema>","/**\n * Zod schema for CommandsSummary\n *\n * This schema provides runtime validation and type inference.\n * * Commands summary serializer.\n * */\nimport { z } from 'zod'\nimport { CommandSchema } from './Command.schema'\nimport { CommandCategorySchema } from './CommandCategory.schema'\n\n/**\n * Commands summary serializer.\n */\nexport const CommandsSummarySchema = z.object({\n total_commands: z.int(),\n core_commands: z.int(),\n custom_commands: z.int(),\n categories: z.array(z.string()),\n commands: z.array(CommandSchema),\n categorized: z.array(CommandCategorySchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type CommandsSummary = z.infer<typeof CommandsSummarySchema>","/**\n * Zod schema for ConfigData\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for complete config data endpoint.\n\nReturns both DjangoConfig and Django settings with validation info.\n * */\nimport { z } from 'zod'\nimport { ConfigValidationSchema } from './ConfigValidation.schema'\nimport { DjangoConfigSchema } from './DjangoConfig.schema'\n\n/**\n * Serializer for complete config data endpoint.\n\nReturns both DjangoConfig and Django settings with validation info.\n */\nexport const ConfigDataSchema = z.object({\n django_config: DjangoConfigSchema,\n django_settings: z.record(z.string(), z.any()),\n _validation: ConfigValidationSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConfigData = z.infer<typeof ConfigDataSchema>","/**\n * Zod schema for ConfigValidation\n *\n * This schema provides runtime validation and type inference.\n * * Validation result for config serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Validation result for config serializer.\n */\nexport const ConfigValidationSchema = z.object({\n status: z.string(),\n missing_in_serializer: z.array(z.string()),\n extra_in_serializer: z.array(z.string()),\n type_mismatches: z.array(z.record(z.string(), z.any())),\n total_config_fields: z.int(),\n total_serializer_fields: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConfigValidation = z.infer<typeof ConfigValidationSchema>","/**\n * Zod schema for DjangoConfig\n *\n * This schema provides runtime validation and type inference.\n * * Typed serializer for user's DjangoConfig settings.\n\nReflects the actual structure of DjangoConfig model.\nAll passwords and sensitive data are sanitized before reaching this serializer.\n * */\nimport { z } from 'zod'\nimport { AxesConfigSchema } from './AxesConfig.schema'\nimport { CentrifugoConfigSchema } from './CentrifugoConfig.schema'\nimport { ConfigMetaSchema } from './ConfigMeta.schema'\nimport { ConstanceConfigSchema } from './ConstanceConfig.schema'\nimport { DRFConfigSchema } from './DRFConfig.schema'\nimport { DatabaseConfigSchema } from './DatabaseConfig.schema'\nimport { DjangoRQConfigSchema } from './DjangoRQConfig.schema'\nimport { EmailConfigSchema } from './EmailConfig.schema'\nimport { GRPCConfigDashboardSchema } from './GRPCConfigDashboard.schema'\nimport { GitHubOAuthConfigSchema } from './GitHubOAuthConfig.schema'\nimport { JWTConfigSchema } from './JWTConfig.schema'\nimport { NextJSAdminConfigSchema } from './NextJSAdminConfig.schema'\nimport { NgrokConfigSchema } from './NgrokConfig.schema'\nimport { OpenAPIClientConfigSchema } from './OpenAPIClientConfig.schema'\nimport { PaymentsConfigSchema } from './PaymentsConfig.schema'\nimport { SpectacularConfigSchema } from './SpectacularConfig.schema'\nimport { TelegramConfigSchema } from './TelegramConfig.schema'\n\n/**\n * Typed serializer for user's DjangoConfig settings.\n\nReflects the actual structure of DjangoConfig model.\nAll passwords and sensitive data are sanitized before reaching this serializer.\n */\nexport const DjangoConfigSchema = z.object({\n env_mode: z.string().nullable().optional(),\n project_name: z.string().nullable().optional(),\n project_logo: z.string().nullable().optional(),\n project_version: z.string().nullable().optional(),\n project_description: z.string().nullable().optional(),\n startup_info_mode: z.string().nullable().optional(),\n enable_support: z.boolean().nullable().optional(),\n enable_frontend: z.boolean().nullable().optional(),\n enable_drf_tailwind: z.boolean().nullable().optional(),\n enable_pool_cleanup: z.boolean().nullable().optional(),\n site_url: z.string().nullable().optional(),\n api_url: z.string().nullable().optional(),\n media_url: z.string().nullable().optional(),\n debug: z.boolean().nullable().optional(),\n debug_warnings: z.boolean().nullable().optional(),\n root_urlconf: z.string().nullable().optional(),\n wsgi_application: z.string().nullable().optional(),\n auth_user_model: z.string().nullable().optional(),\n project_apps: z.array(z.string()).nullable().optional(),\n databases: z.record(z.string(), DatabaseConfigSchema).nullable().optional(),\n redis_url: z.string().nullable().optional(),\n cache_default: z.record(z.string(), z.any()).nullable().optional(),\n cache_sessions: z.record(z.string(), z.any()).nullable().optional(),\n security_domains: z.array(z.string()).nullable().optional(),\n ssl_redirect: z.boolean().nullable().optional(),\n cors_allow_headers: z.array(z.string()).nullable().optional(),\n email: EmailConfigSchema.nullable().optional(),\n payments: PaymentsConfigSchema.nullable().optional(),\n grpc: GRPCConfigDashboardSchema.nullable().optional(),\n centrifugo: CentrifugoConfigSchema.nullable().optional(),\n django_rq: DjangoRQConfigSchema.nullable().optional(),\n drf: DRFConfigSchema.nullable().optional(),\n spectacular: SpectacularConfigSchema.nullable().optional(),\n jwt: JWTConfigSchema.nullable().optional(),\n telegram: TelegramConfigSchema.nullable().optional(),\n ngrok: NgrokConfigSchema.nullable().optional(),\n axes: AxesConfigSchema.nullable().optional(),\n github_oauth: GitHubOAuthConfigSchema.nullable().optional(),\n crypto_fields: z.record(z.string(), z.any()).nullable().optional(),\n unfold: z.record(z.string(), z.any()).nullable().optional(),\n admin_timezone: z.string().nullable().optional(),\n tailwind_app_name: z.string().nullable().optional(),\n tailwind_version: z.int().nullable().optional(),\n limits: z.record(z.string(), z.any()).nullable().optional(),\n api_keys: z.record(z.string(), z.any()).nullable().optional(),\n custom_middleware: z.array(z.string()).nullable().optional(),\n nextjs_admin: NextJSAdminConfigSchema.nullable().optional(),\n admin_emails: z.array(z.string()).nullable().optional(),\n constance: ConstanceConfigSchema.nullable().optional(),\n openapi_client: OpenAPIClientConfigSchema.nullable().optional(),\n show_ai_hints: z.boolean().nullable().optional(),\n _meta: ConfigMetaSchema.nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DjangoConfig = z.infer<typeof DjangoConfigSchema>","/**\n * Zod schema for ConfigMeta\n *\n * This schema provides runtime validation and type inference.\n * * Config metadata.\n * */\nimport { z } from 'zod'\n\n/**\n * Config metadata.\n */\nexport const ConfigMetaSchema = z.object({\n config_class: z.string(),\n secret_key_configured: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConfigMeta = z.infer<typeof ConfigMetaSchema>","/**\n * Zod schema for ConstanceConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django-Constance dynamic settings configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Django-Constance dynamic settings configuration.\n */\nexport const ConstanceConfigSchema = z.object({\n config: z.record(z.string(), z.any()).nullable().optional(),\n config_fieldsets: z.record(z.string(), z.any()).nullable().optional(),\n backend: z.string().nullable().optional(),\n database_prefix: z.string().nullable().optional(),\n database_cache_backend: z.string().nullable().optional(),\n additional_config: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConstanceConfig = z.infer<typeof ConstanceConfigSchema>","/**\n * Zod schema for DRFConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django REST Framework configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Django REST Framework configuration.\n */\nexport const DRFConfigSchema = z.object({\n default_pagination_class: z.string().nullable().optional(),\n page_size: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DRFConfig = z.infer<typeof DRFConfigSchema>","/**\n * Zod schema for DatabaseConfig\n *\n * This schema provides runtime validation and type inference.\n * * Database configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Database configuration.\n */\nexport const DatabaseConfigSchema = z.object({\n engine: z.string(),\n name: z.string(),\n user: z.string().nullable().optional(),\n password: z.string().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n connect_timeout: z.int().nullable().optional(),\n sslmode: z.string().nullable().optional(),\n options: z.record(z.string(), z.any()).nullable().optional(),\n apps: z.array(z.string()).nullable().optional(),\n operations: z.array(z.string()).nullable().optional(),\n migrate_to: z.string().nullable().optional(),\n routing_description: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DatabaseConfig = z.infer<typeof DatabaseConfigSchema>","/**\n * Zod schema for DjangoRQConfig\n *\n * This schema provides runtime validation and type inference.\n * * Django-RQ configuration.\n * */\nimport { z } from 'zod'\nimport { RQScheduleSchema } from './RQSchedule.schema'\nimport { RedisQueueConfigSchema } from './RedisQueueConfig.schema'\n\n/**\n * Django-RQ configuration.\n */\nexport const DjangoRQConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n queues: z.array(RedisQueueConfigSchema).nullable().optional(),\n show_admin_link: z.boolean().nullable().optional(),\n exception_handlers: z.array(z.string()).nullable().optional(),\n api_token: z.string().nullable().optional(),\n prometheus_enabled: z.boolean().nullable().optional(),\n schedules: z.array(RQScheduleSchema).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DjangoRQConfig = z.infer<typeof DjangoRQConfigSchema>","/**\n * Zod schema for RQSchedule\n *\n * This schema provides runtime validation and type inference.\n * * Redis Queue schedule configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Redis Queue schedule configuration.\n */\nexport const RQScheduleSchema = z.object({\n func: z.string().nullable().optional(),\n cron_string: z.string().nullable().optional(),\n queue: z.string().nullable().optional(),\n kwargs: z.record(z.string(), z.any()).nullable().optional(),\n args: z.array(z.record(z.string(), z.any())).nullable().optional(),\n meta: z.record(z.string(), z.any()).nullable().optional(),\n repeat: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RQSchedule = z.infer<typeof RQScheduleSchema>","/**\n * Zod schema for RedisQueueConfig\n *\n * This schema provides runtime validation and type inference.\n * * Redis Queue configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Redis Queue configuration.\n */\nexport const RedisQueueConfigSchema = z.object({\n url: z.string().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n db: z.int().nullable().optional(),\n username: z.string().nullable().optional(),\n password: z.string().nullable().optional(),\n default_timeout: z.int().nullable().optional(),\n default_result_ttl: z.int().nullable().optional(),\n sentinels: z.record(z.string(), z.any()).nullable().optional(),\n master_name: z.string().nullable().optional(),\n socket_timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RedisQueueConfig = z.infer<typeof RedisQueueConfigSchema>","/**\n * Zod schema for EmailConfig\n *\n * This schema provides runtime validation and type inference.\n * * Email configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Email configuration.\n */\nexport const EmailConfigSchema = z.object({\n backend: z.string().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n username: z.string().nullable().optional(),\n password: z.string().nullable().optional(),\n use_tls: z.boolean().nullable().optional(),\n use_ssl: z.boolean().nullable().optional(),\n ssl_verify: z.boolean().nullable().optional(),\n timeout: z.int().nullable().optional(),\n default_from: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type EmailConfig = z.infer<typeof EmailConfigSchema>","/**\n * Zod schema for GRPCConfigDashboard\n *\n * This schema provides runtime validation and type inference.\n * * gRPC configuration for dashboard.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC configuration for dashboard.\n */\nexport const GRPCConfigDashboardSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n host: z.string().nullable().optional(),\n port: z.int().nullable().optional(),\n public_url: z.string().nullable().optional(),\n enable_reflection: z.boolean().nullable().optional(),\n package_prefix: z.string().nullable().optional(),\n output_dir: z.string().nullable().optional(),\n handlers_hook: z.string().nullable().optional(),\n auto_register_apps: z.boolean().nullable().optional(),\n enabled_apps: z.array(z.string()).nullable().optional(),\n custom_services: z.record(z.string(), z.record(z.string(), z.any())).nullable().optional(),\n server: z.record(z.string(), z.any()).nullable().optional(),\n auth: z.record(z.string(), z.any()).nullable().optional(),\n proto: z.record(z.string(), z.any()).nullable().optional(),\n observability: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCConfigDashboard = z.infer<typeof GRPCConfigDashboardSchema>","/**\n * Zod schema for GitHubOAuthConfig\n *\n * This schema provides runtime validation and type inference.\n * * GitHub OAuth configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * GitHub OAuth configuration.\n */\nexport const GitHubOAuthConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n client_id: z.string().nullable().optional(),\n client_secret: z.string().nullable().optional(),\n scope: z.array(z.string()).nullable().optional(),\n authorize_url: z.string().nullable().optional(),\n token_url: z.string().nullable().optional(),\n user_api_url: z.string().nullable().optional(),\n emails_api_url: z.string().nullable().optional(),\n callback_path: z.string().nullable().optional(),\n state_timeout_seconds: z.int().nullable().optional(),\n allow_account_linking: z.boolean().nullable().optional(),\n auto_create_user: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GitHubOAuthConfig = z.infer<typeof GitHubOAuthConfigSchema>","/**\n * Zod schema for JWTConfig\n *\n * This schema provides runtime validation and type inference.\n * * JWT configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * JWT configuration.\n */\nexport const JWTConfigSchema = z.object({\n access_token_lifetime: z.int().nullable().optional(),\n refresh_token_lifetime: z.int().nullable().optional(),\n algorithm: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JWTConfig = z.infer<typeof JWTConfigSchema>","/**\n * Zod schema for NextJSAdminConfig\n *\n * This schema provides runtime validation and type inference.\n * * Next.js Admin application configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Next.js Admin application configuration.\n */\nexport const NextJSAdminConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n url: z.string().nullable().optional(),\n api_base_url: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type NextJSAdminConfig = z.infer<typeof NextJSAdminConfigSchema>","/**\n * Zod schema for NgrokConfig\n *\n * This schema provides runtime validation and type inference.\n * * Ngrok tunneling configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Ngrok tunneling configuration.\n */\nexport const NgrokConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n authtoken: z.string().nullable().optional(),\n basic_auth: z.array(z.string()).nullable().optional(),\n compression: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type NgrokConfig = z.infer<typeof NgrokConfigSchema>","/**\n * Zod schema for OpenAPIClientConfig\n *\n * This schema provides runtime validation and type inference.\n * * OpenAPI Client generation configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * OpenAPI Client generation configuration.\n */\nexport const OpenAPIClientConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n output_dir: z.string().nullable().optional(),\n client_name: z.string().nullable().optional(),\n schema_url: z.string().nullable().optional(),\n generator: z.string().nullable().optional(),\n additional_properties: z.record(z.string(), z.any()).nullable().optional(),\n templates: z.array(z.string()).nullable().optional(),\n global_properties: z.record(z.string(), z.any()).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OpenAPIClientConfig = z.infer<typeof OpenAPIClientConfigSchema>","/**\n * Zod schema for PaymentsConfig\n *\n * This schema provides runtime validation and type inference.\n * * Payments configuration.\n * */\nimport { z } from 'zod'\nimport { PaymentsNowPaymentsSchema } from './PaymentsNowPayments.schema'\n\n/**\n * Payments configuration.\n */\nexport const PaymentsConfigSchema = z.object({\n enabled: z.boolean().nullable().optional(),\n nowpayments: PaymentsNowPaymentsSchema.nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaymentsConfig = z.infer<typeof PaymentsConfigSchema>","/**\n * Zod schema for PaymentsNowPayments\n *\n * This schema provides runtime validation and type inference.\n * * NowPayments configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * NowPayments configuration.\n */\nexport const PaymentsNowPaymentsSchema = z.object({\n api_key: z.string().nullable().optional(),\n ipn_secret: z.string().nullable().optional(),\n sandbox: z.boolean().nullable().optional(),\n enabled: z.boolean().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaymentsNowPayments = z.infer<typeof PaymentsNowPaymentsSchema>","/**\n * Zod schema for SpectacularConfig\n *\n * This schema provides runtime validation and type inference.\n * * DRF Spectacular configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * DRF Spectacular configuration.\n */\nexport const SpectacularConfigSchema = z.object({\n title: z.string().nullable().optional(),\n description: z.string().nullable().optional(),\n version: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SpectacularConfig = z.infer<typeof SpectacularConfigSchema>","/**\n * Zod schema for TelegramConfig\n *\n * This schema provides runtime validation and type inference.\n * * Telegram service configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * Telegram service configuration.\n */\nexport const TelegramConfigSchema = z.object({\n bot_token: z.string().nullable().optional(),\n chat_id: z.int().nullable().optional(),\n parse_mode: z.string().nullable().optional(),\n disable_notification: z.boolean().nullable().optional(),\n disable_web_page_preview: z.boolean().nullable().optional(),\n timeout: z.int().nullable().optional(),\n webhook_url: z.string().nullable().optional(),\n webhook_secret: z.string().nullable().optional(),\n max_retries: z.int().nullable().optional(),\n retry_delay: z.number().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TelegramConfig = z.infer<typeof TelegramConfigSchema>","/**\n * Zod schema for ConnectionTokenResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response model for Centrifugo connection token.\n * */\nimport { z } from 'zod'\n\n/**\n * Response model for Centrifugo connection token.\n */\nexport const ConnectionTokenResponseSchema = z.object({\n token: z.string(),\n centrifugo_url: z.string(),\n expires_at: z.string(),\n channels: z.array(z.string()),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ConnectionTokenResponse = z.infer<typeof ConnectionTokenResponseSchema>","/**\n * Zod schema for DRFHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for health check response.\n */\nexport const DRFHealthCheckSchema = z.object({\n status: z.string(),\n timestamp: z.iso.datetime(),\n service: z.string(),\n version: z.string(),\n checks: z.record(z.string(), z.record(z.string(), z.any())),\n environment: z.record(z.string(), z.record(z.string(), z.any())),\n links: z.record(z.string(), z.record(z.string(), z.any())).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DRFHealthCheck = z.infer<typeof DRFHealthCheckSchema>","/**\n * Zod schema for DashboardOverview\n *\n * This schema provides runtime validation and type inference.\n * * Main serializer for dashboard overview endpoint.\nUses typed serializers for proper OpenAPI schema generation.\n * */\nimport { z } from 'zod'\nimport { ActivityEntrySchema } from './ActivityEntry.schema'\nimport { AppStatisticsSchema } from './AppStatistics.schema'\nimport { QuickActionSchema } from './QuickAction.schema'\nimport { StatCardSchema } from './StatCard.schema'\nimport { SystemHealthSchema } from './SystemHealth.schema'\nimport { SystemMetricsSchema } from './SystemMetrics.schema'\nimport { UserStatisticsSchema } from './UserStatistics.schema'\n\n/**\n * Main serializer for dashboard overview endpoint.\nUses typed serializers for proper OpenAPI schema generation.\n */\nexport const DashboardOverviewSchema = z.object({\n stat_cards: z.array(StatCardSchema),\n system_health: SystemHealthSchema,\n quick_actions: z.array(QuickActionSchema),\n recent_activity: z.array(ActivityEntrySchema),\n system_metrics: SystemMetricsSchema,\n user_statistics: UserStatisticsSchema,\n app_statistics: z.array(AppStatisticsSchema).optional(),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type DashboardOverview = z.infer<typeof DashboardOverviewSchema>","/**\n * Zod schema for QuickAction\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for quick action buttons.\n\nMaps to QuickAction Pydantic model.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for quick action buttons.\n\nMaps to QuickAction Pydantic model.\n */\nexport const QuickActionSchema = z.object({\n title: z.string(),\n description: z.string(),\n icon: z.string(),\n link: z.string(),\n color: z.nativeEnum(Enums.QuickActionColor).optional(),\n category: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QuickAction = z.infer<typeof QuickActionSchema>","/**\n * Zod schema for StatCard\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for dashboard statistics cards.\n\nMaps to StatCard Pydantic model.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for dashboard statistics cards.\n\nMaps to StatCard Pydantic model.\n */\nexport const StatCardSchema = z.object({\n title: z.string(),\n value: z.string(),\n icon: z.string(),\n change: z.string().nullable().optional(),\n change_type: z.nativeEnum(Enums.StatCardChangeType).optional(),\n description: z.string().nullable().optional(),\n color: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type StatCard = z.infer<typeof StatCardSchema>","/**\n * Zod schema for SystemHealth\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for overall system health status.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\nimport { SystemHealthItemSchema } from './SystemHealthItem.schema'\n\n/**\n * Serializer for overall system health status.\n */\nexport const SystemHealthSchema = z.object({\n overall_status: z.nativeEnum(Enums.SystemHealthOverallStatus),\n overall_health_percentage: z.int().min(0.0).max(100.0),\n components: z.array(SystemHealthItemSchema),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SystemHealth = z.infer<typeof SystemHealthSchema>","/**\n * Zod schema for SystemHealthItem\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for system health status items.\n\nMaps to SystemHealthItem Pydantic model.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for system health status items.\n\nMaps to SystemHealthItem Pydantic model.\n */\nexport const SystemHealthItemSchema = z.object({\n component: z.string(),\n status: z.nativeEnum(Enums.SystemHealthItemStatus),\n description: z.string(),\n last_check: z.string(),\n health_percentage: z.int().min(0.0).max(100.0).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SystemHealthItem = z.infer<typeof SystemHealthItemSchema>","/**\n * Zod schema for SystemMetrics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for system performance metrics.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for system performance metrics.\n */\nexport const SystemMetricsSchema = z.object({\n cpu_usage: z.number(),\n memory_usage: z.number(),\n disk_usage: z.number(),\n network_in: z.string(),\n network_out: z.string(),\n response_time: z.string(),\n uptime: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type SystemMetrics = z.infer<typeof SystemMetricsSchema>","/**\n * Zod schema for UserStatistics\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for user statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for user statistics.\n */\nexport const UserStatisticsSchema = z.object({\n total_users: z.int(),\n active_users: z.int(),\n new_users: z.int(),\n superusers: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type UserStatistics = z.infer<typeof UserStatisticsSchema>","/**\n * Zod schema for Endpoint\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for single endpoint status.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for single endpoint status.\n */\nexport const EndpointSchema = z.object({\n url: z.string(),\n url_pattern: z.string().nullable().optional(),\n url_name: z.string().nullable().optional(),\n namespace: z.string().optional(),\n group: z.string(),\n view: z.string().optional(),\n status: z.string(),\n status_code: z.int().nullable().optional(),\n response_time_ms: z.number().nullable().optional(),\n is_healthy: z.boolean().nullable().optional(),\n error: z.string().optional(),\n error_type: z.string().optional(),\n reason: z.string().optional(),\n last_checked: z.iso.datetime().nullable().optional(),\n has_parameters: z.boolean().optional(),\n required_auth: z.boolean().optional(),\n rate_limited: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Endpoint = z.infer<typeof EndpointSchema>","/**\n * Zod schema for EndpointsStatus\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for overall endpoints status response.\n * */\nimport { z } from 'zod'\nimport { EndpointSchema } from './Endpoint.schema'\n\n/**\n * Serializer for overall endpoints status response.\n */\nexport const EndpointsStatusSchema = z.object({\n status: z.string(),\n timestamp: z.iso.datetime(),\n total_endpoints: z.int(),\n healthy: z.int(),\n unhealthy: z.int(),\n warnings: z.int(),\n errors: z.int(),\n skipped: z.int(),\n endpoints: z.array(EndpointSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type EndpointsStatus = z.infer<typeof EndpointsStatusSchema>","/**\n * Zod schema for GRPCConfig\n *\n * This schema provides runtime validation and type inference.\n * * Complete gRPC configuration response.\n * */\nimport { z } from 'zod'\nimport { GRPCFeaturesSchema } from './GRPCFeatures.schema'\nimport { GRPCFrameworkConfigSchema } from './GRPCFrameworkConfig.schema'\nimport { GRPCServerConfigSchema } from './GRPCServerConfig.schema'\n\n/**\n * Complete gRPC configuration response.\n */\nexport const GRPCConfigSchema = z.object({\n server: GRPCServerConfigSchema,\n framework: GRPCFrameworkConfigSchema,\n features: GRPCFeaturesSchema,\n registered_services: z.int(),\n total_methods: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCConfig = z.infer<typeof GRPCConfigSchema>","/**\n * Zod schema for GRPCFeatures\n *\n * This schema provides runtime validation and type inference.\n * * gRPC features configuration.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC features configuration.\n */\nexport const GRPCFeaturesSchema = z.object({\n api_key_auth: z.boolean(),\n request_logging: z.boolean(),\n metrics: z.boolean(),\n reflection: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCFeatures = z.infer<typeof GRPCFeaturesSchema>","/**\n * Zod schema for GRPCFrameworkConfig\n *\n * This schema provides runtime validation and type inference.\n * * gRPC framework configuration details.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC framework configuration details.\n */\nexport const GRPCFrameworkConfigSchema = z.object({\n enabled: z.boolean(),\n auto_discover: z.boolean(),\n services_path: z.string(),\n interceptors: z.array(z.string()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCFrameworkConfig = z.infer<typeof GRPCFrameworkConfigSchema>","/**\n * Zod schema for GRPCServerConfig\n *\n * This schema provides runtime validation and type inference.\n * * gRPC server configuration details.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC server configuration details.\n */\nexport const GRPCServerConfigSchema = z.object({\n host: z.string(),\n port: z.int(),\n enabled: z.boolean(),\n max_concurrent_streams: z.int().nullable().optional(),\n max_concurrent_rpcs: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServerConfig = z.infer<typeof GRPCServerConfigSchema>","/**\n * Zod schema for GRPCHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * gRPC health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * gRPC health check response.\n */\nexport const GRPCHealthCheckSchema = z.object({\n status: z.string(),\n server_host: z.string(),\n server_port: z.int(),\n enabled: z.boolean(),\n timestamp: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCHealthCheck = z.infer<typeof GRPCHealthCheckSchema>","/**\n * Zod schema for GRPCInterceptorInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about an interceptor.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about an interceptor.\n */\nexport const GRPCInterceptorInfoSchema = z.object({\n name: z.string(),\n enabled: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCInterceptorInfo = z.infer<typeof GRPCInterceptorInfoSchema>","/**\n * Zod schema for GRPCOverviewStats\n *\n * This schema provides runtime validation and type inference.\n * * Overview statistics for gRPC requests.\n * */\nimport { z } from 'zod'\nimport { GRPCServerStatusSchema } from './GRPCServerStatus.schema'\n\n/**\n * Overview statistics for gRPC requests.\n */\nexport const GRPCOverviewStatsSchema = z.object({\n total: z.int(),\n successful: z.int(),\n errors: z.int(),\n cancelled: z.int(),\n timeout: z.int(),\n success_rate: z.number(),\n avg_duration_ms: z.number(),\n p95_duration_ms: z.number().nullable(),\n period_hours: z.int(),\n server: GRPCServerStatusSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCOverviewStats = z.infer<typeof GRPCOverviewStatsSchema>","/**\n * Zod schema for GRPCServerStatus\n *\n * This schema provides runtime validation and type inference.\n * * gRPC server status and information for overview stats.\n * */\nimport { z } from 'zod'\nimport { GRPCRegisteredServiceSchema } from './GRPCRegisteredService.schema'\n\n/**\n * gRPC server status and information for overview stats.\n */\nexport const GRPCServerStatusSchema = z.object({\n status: z.string(),\n is_running: z.boolean(),\n host: z.string(),\n port: z.int(),\n address: z.string(),\n pid: z.int().nullable(),\n hostname: z.string(),\n started_at: z.iso.datetime().nullable(),\n uptime_seconds: z.int(),\n last_heartbeat: z.iso.datetime().nullable(),\n services: z.array(GRPCRegisteredServiceSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServerStatus = z.infer<typeof GRPCServerStatusSchema>","/**\n * Zod schema for GRPCRegisteredService\n *\n * This schema provides runtime validation and type inference.\n * * Information about a registered gRPC service.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a registered gRPC service.\n */\nexport const GRPCRegisteredServiceSchema = z.object({\n name: z.string(),\n full_name: z.string(),\n methods_count: z.int(),\n request_count: z.int(),\n error_count: z.int(),\n success_rate: z.number(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCRegisteredService = z.infer<typeof GRPCRegisteredServiceSchema>","/**\n * Zod schema for GRPCServerInfo\n *\n * This schema provides runtime validation and type inference.\n * * Complete gRPC server information response.\n * */\nimport { z } from 'zod'\nimport { GRPCInterceptorInfoSchema } from './GRPCInterceptorInfo.schema'\nimport { GRPCServiceInfoSchema } from './GRPCServiceInfo.schema'\nimport { GRPCStatsSchema } from './GRPCStats.schema'\n\n/**\n * Complete gRPC server information response.\n */\nexport const GRPCServerInfoSchema = z.object({\n server_status: z.string(),\n address: z.string(),\n started_at: z.string().nullable().optional(),\n uptime_seconds: z.int().nullable().optional(),\n services: z.array(GRPCServiceInfoSchema).optional(),\n interceptors: z.array(GRPCInterceptorInfoSchema).optional(),\n stats: GRPCStatsSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServerInfo = z.infer<typeof GRPCServerInfoSchema>","/**\n * Zod schema for GRPCServiceInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a single gRPC service.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a single gRPC service.\n */\nexport const GRPCServiceInfoSchema = z.object({\n name: z.string(),\n methods: z.array(z.string()).optional(),\n full_name: z.string(),\n description: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServiceInfo = z.infer<typeof GRPCServiceInfoSchema>","/**\n * Zod schema for GRPCStats\n *\n * This schema provides runtime validation and type inference.\n * * Runtime statistics summary.\n * */\nimport { z } from 'zod'\n\n/**\n * Runtime statistics summary.\n */\nexport const GRPCStatsSchema = z.object({\n total_requests: z.int(),\n success_rate: z.number(),\n avg_duration_ms: z.number(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCStats = z.infer<typeof GRPCStatsSchema>","/**\n * Zod schema for GRPCServiceRegistryMethodStats\n *\n * This schema provides runtime validation and type inference.\n * * Statistics for a single method.\n * */\nimport { z } from 'zod'\n\n/**\n * Statistics for a single method.\n */\nexport const GRPCServiceRegistryMethodStatsSchema = z.object({\n total_requests: z.int().optional(),\n successful: z.int().optional(),\n errors: z.int().optional(),\n success_rate: z.number().optional(),\n avg_duration_ms: z.number().optional(),\n p50_duration_ms: z.number().optional(),\n p95_duration_ms: z.number().optional(),\n p99_duration_ms: z.number().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type GRPCServiceRegistryMethodStats = z.infer<typeof GRPCServiceRegistryMethodStatsSchema>","/**\n * Zod schema for JobActionResponse\n *\n * This schema provides runtime validation and type inference.\n * * Job action response serializer.\n\nUsed for job management actions (requeue, delete, etc.).\n * */\nimport { z } from 'zod'\n\n/**\n * Job action response serializer.\n\nUsed for job management actions (requeue, delete, etc.).\n */\nexport const JobActionResponseSchema = z.object({\n success: z.boolean(),\n message: z.string(),\n job_id: z.string(),\n action: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobActionResponse = z.infer<typeof JobActionResponseSchema>","/**\n * Zod schema for JobDetail\n *\n * This schema provides runtime validation and type inference.\n * * Detailed job information serializer.\n\nProvides comprehensive job details including result and metadata.\n * */\nimport { z } from 'zod'\n\n/**\n * Detailed job information serializer.\n\nProvides comprehensive job details including result and metadata.\n */\nexport const JobDetailSchema = z.object({\n id: z.string(),\n func_name: z.string(),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n created_at: z.iso.datetime(),\n enqueued_at: z.iso.datetime().nullable().optional(),\n started_at: z.iso.datetime().nullable().optional(),\n ended_at: z.iso.datetime().nullable().optional(),\n status: z.string(),\n queue: z.string(),\n worker_name: z.string().nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n failure_ttl: z.int().nullable().optional(),\n result: z.record(z.string(), z.any()).nullable().optional(),\n exc_info: z.string().nullable().optional(),\n meta: z.record(z.string(), z.any()).optional(),\n dependency_ids: z.array(z.string()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobDetail = z.infer<typeof JobDetailSchema>","/**\n * Zod schema for JobList\n *\n * This schema provides runtime validation and type inference.\n * * Job list item serializer.\n\nProvides basic job information for list views.\n * */\nimport { z } from 'zod'\n\n/**\n * Job list item serializer.\n\nProvides basic job information for list views.\n */\nexport const JobListSchema = z.object({\n id: z.string(),\n func_name: z.string(),\n created_at: z.iso.datetime(),\n status: z.string(),\n queue: z.string(),\n timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobList = z.infer<typeof JobListSchema>","/**\n * Zod schema for JobListRequest\n *\n * This schema provides runtime validation and type inference.\n * * Job list item serializer.\n\nProvides basic job information for list views.\n * */\nimport { z } from 'zod'\n\n/**\n * Job list item serializer.\n\nProvides basic job information for list views.\n */\nexport const JobListRequestSchema = z.object({\n id: z.string().min(1),\n func_name: z.string().min(1),\n created_at: z.iso.datetime(),\n status: z.string().min(1),\n queue: z.string().min(1),\n timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type JobListRequest = z.infer<typeof JobListRequestSchema>","/**\n * Zod schema for ManualAckRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request model for manual ACK sending.\n * */\nimport { z } from 'zod'\n\n/**\n * Request model for manual ACK sending.\n */\nexport const ManualAckRequestRequestSchema = z.object({\n message_id: z.string(),\n client_id: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ManualAckRequestRequest = z.infer<typeof ManualAckRequestRequestSchema>","/**\n * Zod schema for ManualAckResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response model for manual ACK.\n * */\nimport { z } from 'zod'\n\n/**\n * Response model for manual ACK.\n */\nexport const ManualAckResponseSchema = z.object({\n success: z.boolean(),\n message_id: z.string(),\n error: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ManualAckResponse = z.infer<typeof ManualAckResponseSchema>","/**\n * Zod schema for MethodInfo\n *\n * This schema provides runtime validation and type inference.\n * * Information about a service method.\n * */\nimport { z } from 'zod'\n\n/**\n * Information about a service method.\n */\nexport const MethodInfoSchema = z.object({\n name: z.string(),\n full_name: z.string(),\n request_type: z.string().optional(),\n response_type: z.string().optional(),\n streaming: z.boolean().optional(),\n auth_required: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type MethodInfo = z.infer<typeof MethodInfoSchema>","/**\n * Zod schema for MethodList\n *\n * This schema provides runtime validation and type inference.\n * * List of methods response (for monitoring endpoint).\n * */\nimport { z } from 'zod'\nimport { MethodSummarySchema } from './MethodSummary.schema'\n\n/**\n * List of methods response (for monitoring endpoint).\n */\nexport const MethodListSchema = z.object({\n methods: z.array(MethodSummarySchema).optional(),\n total_methods: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type MethodList = z.infer<typeof MethodListSchema>","/**\n * Zod schema for MethodSummary\n *\n * This schema provides runtime validation and type inference.\n * * Summary information for a method.\n * */\nimport { z } from 'zod'\nimport { GRPCServiceRegistryMethodStatsSchema } from './GRPCServiceRegistryMethodStats.schema'\n\n/**\n * Summary information for a method.\n */\nexport const MethodSummarySchema = z.object({\n name: z.string(),\n full_name: z.string(),\n service_name: z.string(),\n request_type: z.string().optional(),\n response_type: z.string().optional(),\n stats: GRPCServiceRegistryMethodStatsSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type MethodSummary = z.infer<typeof MethodSummarySchema>","/**\n * Zod schema for OAuthAuthorizeRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to start OAuth flow.\n * */\nimport { z } from 'zod'\n\n/**\n * Request to start OAuth flow.\n */\nexport const OAuthAuthorizeRequestRequestSchema = z.object({\n redirect_uri: z.url().optional(),\n source_url: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthAuthorizeRequestRequest = z.infer<typeof OAuthAuthorizeRequestRequestSchema>","/**\n * Zod schema for OAuthAuthorizeResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response with OAuth authorization URL.\n * */\nimport { z } from 'zod'\n\n/**\n * Response with OAuth authorization URL.\n */\nexport const OAuthAuthorizeResponseSchema = z.object({\n authorization_url: z.url(),\n state: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthAuthorizeResponse = z.infer<typeof OAuthAuthorizeResponseSchema>","/**\n * Zod schema for OAuthCallbackRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to complete OAuth flow (callback handler).\n * */\nimport { z } from 'zod'\n\n/**\n * Request to complete OAuth flow (callback handler).\n */\nexport const OAuthCallbackRequestRequestSchema = z.object({\n code: z.string().min(10).max(500),\n state: z.string().min(20).max(100),\n redirect_uri: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthCallbackRequestRequest = z.infer<typeof OAuthCallbackRequestRequestSchema>","/**\n * Zod schema for OAuthConnection\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for OAuth connection info (user-facing).\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for OAuth connection info (user-facing).\n */\nexport const OAuthConnectionSchema = z.object({\n id: z.int(),\n provider: z.nativeEnum(Enums.OAuthConnectionProvider),\n provider_display: z.string(),\n provider_username: z.string(),\n provider_email: z.email(),\n provider_avatar_url: z.url(),\n connected_at: z.iso.datetime(),\n last_login_at: z.iso.datetime(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthConnection = z.infer<typeof OAuthConnectionSchema>","/**\n * Zod schema for OAuthDisconnectRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request to disconnect OAuth provider.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Request to disconnect OAuth provider.\n */\nexport const OAuthDisconnectRequestRequestSchema = z.object({\n provider: z.nativeEnum(Enums.OAuthDisconnectRequestRequestProvider),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthDisconnectRequestRequest = z.infer<typeof OAuthDisconnectRequestRequestSchema>","/**\n * Zod schema for OAuthError\n *\n * This schema provides runtime validation and type inference.\n * * Error response for OAuth endpoints.\n * */\nimport { z } from 'zod'\n\n/**\n * Error response for OAuth endpoints.\n */\nexport const OAuthErrorSchema = z.object({\n error: z.string(),\n error_description: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthError = z.infer<typeof OAuthErrorSchema>","/**\n * Zod schema for OAuthProvidersResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response with available OAuth providers.\n * */\nimport { z } from 'zod'\n\n/**\n * Response with available OAuth providers.\n */\nexport const OAuthProvidersResponseSchema = z.object({\n providers: z.array(z.record(z.string(), z.record(z.string(), z.any()))),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthProvidersResponse = z.infer<typeof OAuthProvidersResponseSchema>","/**\n * Zod schema for OAuthTokenResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response with JWT tokens after OAuth authentication.\n * */\nimport { z } from 'zod'\n\n/**\n * Response with JWT tokens after OAuth authentication.\n */\nexport const OAuthTokenResponseSchema = z.object({\n access: z.string(),\n refresh: z.string(),\n user: z.record(z.string(), z.record(z.string(), z.any())),\n is_new_user: z.boolean(),\n is_new_connection: z.boolean(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OAuthTokenResponse = z.infer<typeof OAuthTokenResponseSchema>","/**\n * Zod schema for OTPErrorResponse\n *\n * This schema provides runtime validation and type inference.\n * * Error response for OTP operations.\n * */\nimport { z } from 'zod'\n\n/**\n * Error response for OTP operations.\n */\nexport const OTPErrorResponseSchema = z.object({\n error: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPErrorResponse = z.infer<typeof OTPErrorResponseSchema>","/**\n * Zod schema for OTPRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for OTP request.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for OTP request.\n */\nexport const OTPRequestRequestSchema = z.object({\n identifier: z.string().min(1),\n channel: z.nativeEnum(Enums.OTPRequestRequestChannel).optional(),\n source_url: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPRequestRequest = z.infer<typeof OTPRequestRequestSchema>","/**\n * Zod schema for OTPRequestResponse\n *\n * This schema provides runtime validation and type inference.\n * * OTP request response.\n * */\nimport { z } from 'zod'\n\n/**\n * OTP request response.\n */\nexport const OTPRequestResponseSchema = z.object({\n message: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPRequestResponse = z.infer<typeof OTPRequestResponseSchema>","/**\n * Zod schema for OTPVerifyRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for OTP verification.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for OTP verification.\n */\nexport const OTPVerifyRequestSchema = z.object({\n identifier: z.string().min(1),\n otp: z.string().min(6).max(6),\n channel: z.nativeEnum(Enums.OTPVerifyRequestChannel).optional(),\n source_url: z.url().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPVerifyRequest = z.infer<typeof OTPVerifyRequestSchema>","/**\n * Zod schema for OTPVerifyResponse\n *\n * This schema provides runtime validation and type inference.\n * * OTP verification response.\n * */\nimport { z } from 'zod'\nimport { UserSchema } from './User.schema'\n\n/**\n * OTP verification response.\n */\nexport const OTPVerifyResponseSchema = z.object({\n refresh: z.string(),\n access: z.string(),\n user: UserSchema,\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type OTPVerifyResponse = z.infer<typeof OTPVerifyResponseSchema>","/**\n * Zod schema for User\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for user details.\n * */\nimport { z } from 'zod'\nimport { CentrifugoTokenSchema } from './CentrifugoToken.schema'\n\n/**\n * Serializer for user details.\n */\nexport const UserSchema = z.object({\n id: z.int(),\n email: z.email(),\n first_name: z.string().max(50).optional(),\n last_name: z.string().max(50).optional(),\n full_name: z.string(),\n initials: z.string(),\n display_username: z.string(),\n company: z.string().max(100).optional(),\n phone: z.string().max(20).optional(),\n position: z.string().max(100).optional(),\n avatar: z.url().nullable(),\n is_staff: z.boolean(),\n is_superuser: z.boolean(),\n date_joined: z.iso.datetime(),\n last_login: z.iso.datetime().nullable(),\n unanswered_messages_count: z.int(),\n centrifugo: CentrifugoTokenSchema.nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type User = z.infer<typeof UserSchema>","/**\n * Zod schema for PaginatedApiKeyList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { ApiKeySchema } from './ApiKey.schema'\n\nexport const PaginatedApiKeyListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(ApiKeySchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedApiKeyList = z.infer<typeof PaginatedApiKeyListSchema>","/**\n * Zod schema for PaginatedJobListList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { JobListSchema } from './JobList.schema'\n\nexport const PaginatedJobListListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(JobListSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedJobListList = z.infer<typeof PaginatedJobListListSchema>","/**\n * Zod schema for PaginatedPublishList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { PublishSchema } from './Publish.schema'\n\nexport const PaginatedPublishListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(PublishSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedPublishList = z.infer<typeof PaginatedPublishListSchema>","/**\n * Zod schema for Publish\n *\n * This schema provides runtime validation and type inference.\n * * Single publish item for DRF pagination.\n * */\nimport { z } from 'zod'\n\n/**\n * Single publish item for DRF pagination.\n */\nexport const PublishSchema = z.object({\n message_id: z.string(),\n channel: z.string(),\n status: z.string(),\n wait_for_ack: z.boolean(),\n acks_received: z.int(),\n acks_expected: z.int().nullable(),\n duration_ms: z.number().nullable(),\n created_at: z.iso.datetime(),\n completed_at: z.iso.datetime().nullable(),\n error_code: z.string().nullable(),\n error_message: z.string().nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Publish = z.infer<typeof PublishSchema>","/**\n * Zod schema for PaginatedRecentRequestList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { RecentRequestSchema } from './RecentRequest.schema'\n\nexport const PaginatedRecentRequestListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(RecentRequestSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedRecentRequestList = z.infer<typeof PaginatedRecentRequestListSchema>","/**\n * Zod schema for RecentRequest\n *\n * This schema provides runtime validation and type inference.\n * * Recent request information.\n * */\nimport { z } from 'zod'\n\n/**\n * Recent request information.\n */\nexport const RecentRequestSchema = z.object({\n id: z.int(),\n request_id: z.string(),\n service_name: z.string(),\n method_name: z.string(),\n status: z.string(),\n duration_ms: z.int().optional(),\n grpc_status_code: z.string().optional(),\n error_message: z.string().optional(),\n created_at: z.string(),\n client_ip: z.string().optional(),\n user_id: z.int().nullable().optional(),\n username: z.string().nullable().optional(),\n is_authenticated: z.boolean().optional(),\n api_key_id: z.int().nullable().optional(),\n api_key_name: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RecentRequest = z.infer<typeof RecentRequestSchema>","/**\n * Zod schema for PaginatedScheduledJobList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { ScheduledJobSchema } from './ScheduledJob.schema'\n\nexport const PaginatedScheduledJobListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(ScheduledJobSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedScheduledJobList = z.infer<typeof PaginatedScheduledJobListSchema>","/**\n * Zod schema for ScheduledJob\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for scheduled job information.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for scheduled job information.\n */\nexport const ScheduledJobSchema = z.object({\n id: z.string(),\n func: z.string(),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n queue_name: z.string(),\n scheduled_time: z.iso.datetime().nullable().optional(),\n interval: z.int().nullable().optional(),\n cron: z.string().nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n repeat: z.int().nullable().optional(),\n description: z.string().nullable().optional(),\n created_at: z.iso.datetime().nullable().optional(),\n meta: z.record(z.string(), z.any()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduledJob = z.infer<typeof ScheduledJobSchema>","/**\n * Zod schema for PaginatedServiceSummaryList\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\nimport { ServiceSummarySchema } from './ServiceSummary.schema'\n\nexport const PaginatedServiceSummaryListSchema = z.object({\n count: z.int(),\n page: z.int(),\n pages: z.int(),\n page_size: z.int(),\n has_next: z.boolean(),\n has_previous: z.boolean(),\n next_page: z.int().nullable().optional(),\n previous_page: z.int().nullable().optional(),\n results: z.array(ServiceSummarySchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PaginatedServiceSummaryList = z.infer<typeof PaginatedServiceSummaryListSchema>","/**\n * Zod schema for ServiceSummary\n *\n * This schema provides runtime validation and type inference.\n * * Summary information for a single service.\n * */\nimport { z } from 'zod'\n\n/**\n * Summary information for a single service.\n */\nexport const ServiceSummarySchema = z.object({\n name: z.string(),\n full_name: z.string(),\n package: z.string(),\n methods_count: z.int(),\n total_requests: z.int().optional(),\n success_rate: z.number().optional(),\n avg_duration_ms: z.number().optional(),\n last_activity_at: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceSummary = z.infer<typeof ServiceSummarySchema>","/**\n * Zod schema for PatchedUserProfileUpdateRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for updating user profile.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for updating user profile.\n */\nexport const PatchedUserProfileUpdateRequestSchema = z.object({\n first_name: z.string().max(50).optional(),\n last_name: z.string().max(50).optional(),\n company: z.string().max(100).optional(),\n phone: z.string().max(20).optional(),\n position: z.string().max(100).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PatchedUserProfileUpdateRequest = z.infer<typeof PatchedUserProfileUpdateRequestSchema>","/**\n * Zod schema for PublishTestRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Request model for test message publishing.\n * */\nimport { z } from 'zod'\n\n/**\n * Request model for test message publishing.\n */\nexport const PublishTestRequestRequestSchema = z.object({\n channel: z.string(),\n data: z.record(z.string(), z.any()),\n wait_for_ack: z.boolean().optional(),\n ack_timeout: z.int().min(1.0).max(60.0).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PublishTestRequestRequest = z.infer<typeof PublishTestRequestRequestSchema>","/**\n * Zod schema for PublishTestResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response model for test message publishing.\n * */\nimport { z } from 'zod'\n\n/**\n * Response model for test message publishing.\n */\nexport const PublishTestResponseSchema = z.object({\n success: z.boolean(),\n message_id: z.string(),\n channel: z.string(),\n acks_received: z.int().optional(),\n delivered: z.boolean().optional(),\n error: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type PublishTestResponse = z.infer<typeof PublishTestResponseSchema>","/**\n * Zod schema for QueueDetail\n *\n * This schema provides runtime validation and type inference.\n * * Detailed queue information serializer.\n\nProvides comprehensive queue statistics and metadata.\n * */\nimport { z } from 'zod'\n\n/**\n * Detailed queue information serializer.\n\nProvides comprehensive queue statistics and metadata.\n */\nexport const QueueDetailSchema = z.object({\n name: z.string(),\n count: z.int(),\n queued_jobs: z.int().optional(),\n started_jobs: z.int().optional(),\n finished_jobs: z.int().optional(),\n failed_jobs: z.int().optional(),\n deferred_jobs: z.int().optional(),\n scheduled_jobs: z.int().optional(),\n workers: z.int().optional(),\n oldest_job_timestamp: z.iso.datetime().nullable().optional(),\n connection_kwargs: z.record(z.string(), z.any()).optional(),\n is_async: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QueueDetail = z.infer<typeof QueueDetailSchema>","/**\n * Zod schema for QueueStats\n *\n * This schema provides runtime validation and type inference.\n * * Queue statistics serializer.\n\nProvides basic queue statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Queue statistics serializer.\n\nProvides basic queue statistics.\n */\nexport const QueueStatsSchema = z.object({\n name: z.string(),\n count: z.int(),\n queued_jobs: z.int().optional(),\n started_jobs: z.int().optional(),\n finished_jobs: z.int().optional(),\n failed_jobs: z.int().optional(),\n deferred_jobs: z.int().optional(),\n scheduled_jobs: z.int().optional(),\n workers: z.int().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QueueStats = z.infer<typeof QueueStatsSchema>","/**\n * Zod schema for QuickHealth\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for quick health check response.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for quick health check response.\n */\nexport const QuickHealthSchema = z.object({\n status: z.string(),\n timestamp: z.iso.datetime(),\n error: z.string().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type QuickHealth = z.infer<typeof QuickHealthSchema>","/**\n * Zod schema for RQConfig\n *\n * This schema provides runtime validation and type inference.\n * * RQ configuration serializer.\n\nReturns current RQ configuration from django-cfg.\n * */\nimport { z } from 'zod'\nimport { ScheduleInfoSchema } from './ScheduleInfo.schema'\n\n/**\n * RQ configuration serializer.\n\nReturns current RQ configuration from django-cfg.\n */\nexport const RQConfigSchema = z.object({\n enabled: z.boolean(),\n queues: z.record(z.string(), z.any()),\n async_mode: z.boolean().optional(),\n show_admin_link: z.boolean().optional(),\n prometheus_enabled: z.boolean().optional(),\n api_token_configured: z.boolean().optional(),\n schedules: z.array(ScheduleInfoSchema).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RQConfig = z.infer<typeof RQConfigSchema>","/**\n * Zod schema for ScheduleInfo\n *\n * This schema provides runtime validation and type inference.\n * * Schedule information in config response.\n * */\nimport { z } from 'zod'\n\n/**\n * Schedule information in config response.\n */\nexport const ScheduleInfoSchema = z.object({\n func: z.string(),\n queue: z.string(),\n cron: z.string().nullable().optional(),\n interval: z.int().nullable().optional(),\n scheduled_time: z.iso.datetime().nullable().optional(),\n description: z.string().nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n repeat: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduleInfo = z.infer<typeof ScheduleInfoSchema>","/**\n * Zod schema for RQHealthCheck\n *\n * This schema provides runtime validation and type inference.\n * * Health check response serializer.\n\nProvides overall RQ cluster health status.\n * */\nimport { z } from 'zod'\n\n/**\n * Health check response serializer.\n\nProvides overall RQ cluster health status.\n */\nexport const RQHealthCheckSchema = z.object({\n status: z.string(),\n worker_count: z.int(),\n queue_count: z.int(),\n total_jobs: z.int(),\n timestamp: z.iso.datetime(),\n enabled: z.boolean(),\n redis_connected: z.boolean(),\n wrapper_url: z.string().optional(),\n has_api_key: z.boolean().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RQHealthCheck = z.infer<typeof RQHealthCheckSchema>","/**\n * Zod schema for RecentError\n *\n * This schema provides runtime validation and type inference.\n * * Recent error information.\n * */\nimport { z } from 'zod'\n\n/**\n * Recent error information.\n */\nexport const RecentErrorSchema = z.object({\n method: z.string(),\n error_message: z.string(),\n grpc_status_code: z.string(),\n occurred_at: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RecentError = z.infer<typeof RecentErrorSchema>","/**\n * Zod schema for RecentUser\n *\n * This schema provides runtime validation and type inference.\n * * Recent user serializer.\n * */\nimport { z } from 'zod'\n\n/**\n * Recent user serializer.\n */\nexport const RecentUserSchema = z.object({\n id: z.int(),\n username: z.string(),\n email: z.email(),\n date_joined: z.string(),\n is_active: z.boolean(),\n is_staff: z.boolean(),\n is_superuser: z.boolean(),\n last_login: z.string().nullable(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RecentUser = z.infer<typeof RecentUserSchema>","/**\n * Zod schema for RunDemoRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for running demo tasks.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for running demo tasks.\n */\nexport const RunDemoRequestRequestSchema = z.object({\n scenario: z.nativeEnum(Enums.RunDemoRequestRequestScenario),\n queue: z.string().min(1).optional(),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n timeout: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type RunDemoRequestRequest = z.infer<typeof RunDemoRequestRequestSchema>","/**\n * Zod schema for ScheduleActionResponse\n *\n * This schema provides runtime validation and type inference.\n * * Response serializer for schedule actions (create/delete).\n * */\nimport { z } from 'zod'\n\n/**\n * Response serializer for schedule actions (create/delete).\n */\nexport const ScheduleActionResponseSchema = z.object({\n success: z.boolean(),\n message: z.string(),\n job_id: z.string().nullable().optional(),\n action: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduleActionResponse = z.infer<typeof ScheduleActionResponseSchema>","/**\n * Zod schema for ScheduleCreateRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for creating a scheduled job.\n\nSupports three scheduling methods:\n1. scheduled_time: Schedule job at specific time\n2. interval: Schedule job to repeat at intervals\n3. cron: Schedule job with cron expression\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for creating a scheduled job.\n\nSupports three scheduling methods:\n1. scheduled_time: Schedule job at specific time\n2. interval: Schedule job to repeat at intervals\n3. cron: Schedule job with cron expression\n */\nexport const ScheduleCreateRequestSchema = z.object({\n func: z.string().min(1),\n args: z.array(z.record(z.string(), z.any())).optional(),\n kwargs: z.record(z.string(), z.any()).optional(),\n queue_name: z.string().min(1).optional(),\n scheduled_time: z.iso.datetime().nullable().optional(),\n interval: z.int().min(1.0).nullable().optional(),\n cron: z.string().min(1).nullable().optional(),\n timeout: z.int().nullable().optional(),\n result_ttl: z.int().nullable().optional(),\n repeat: z.int().nullable().optional(),\n description: z.string().min(1).max(255).nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ScheduleCreateRequest = z.infer<typeof ScheduleCreateRequestSchema>","/**\n * Zod schema for ServiceDetail\n *\n * This schema provides runtime validation and type inference.\n * * Detailed information about a service.\n * */\nimport { z } from 'zod'\nimport { MethodInfoSchema } from './MethodInfo.schema'\nimport { RecentErrorSchema } from './RecentError.schema'\nimport { ServiceStatsSchema } from './ServiceStats.schema'\n\n/**\n * Detailed information about a service.\n */\nexport const ServiceDetailSchema = z.object({\n name: z.string(),\n full_name: z.string(),\n package: z.string(),\n description: z.string().optional(),\n file_path: z.string().optional(),\n class_name: z.string(),\n base_class: z.string().optional(),\n methods: z.array(MethodInfoSchema).optional(),\n stats: ServiceStatsSchema,\n recent_errors: z.array(RecentErrorSchema).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceDetail = z.infer<typeof ServiceDetailSchema>","/**\n * Zod schema for ServiceStats\n *\n * This schema provides runtime validation and type inference.\n * * Service statistics.\n * */\nimport { z } from 'zod'\n\n/**\n * Service statistics.\n */\nexport const ServiceStatsSchema = z.object({\n total_requests: z.int().optional(),\n successful: z.int().optional(),\n errors: z.int().optional(),\n success_rate: z.number().optional(),\n avg_duration_ms: z.number().optional(),\n last_24h_requests: z.int().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceStats = z.infer<typeof ServiceStatsSchema>","/**\n * Zod schema for ServiceMethods\n *\n * This schema provides runtime validation and type inference.\n * * List of methods for a service.\n * */\nimport { z } from 'zod'\nimport { MethodSummarySchema } from './MethodSummary.schema'\n\n/**\n * List of methods for a service.\n */\nexport const ServiceMethodsSchema = z.object({\n service_name: z.string(),\n methods: z.array(MethodSummarySchema).optional(),\n total_methods: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type ServiceMethods = z.infer<typeof ServiceMethodsSchema>","/**\n * Zod schema for StressTestRequestRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for stress testing.\n * */\nimport { z } from 'zod'\nimport * as Enums from '../../enums'\n\n/**\n * Serializer for stress testing.\n */\nexport const StressTestRequestRequestSchema = z.object({\n num_jobs: z.int().min(1.0).max(1000.0).optional(),\n queue: z.string().min(1).optional(),\n scenario: z.nativeEnum(Enums.StressTestRequestRequestScenario).optional(),\n duration: z.int().min(1.0).max(60.0).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type StressTestRequestRequest = z.infer<typeof StressTestRequestRequestSchema>","/**\n * Zod schema for TestScenario\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for available test scenarios.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for available test scenarios.\n */\nexport const TestScenarioSchema = z.object({\n id: z.string(),\n name: z.string(),\n description: z.string(),\n task_func: z.string(),\n default_args: z.array(z.record(z.string(), z.any())).optional(),\n default_kwargs: z.record(z.string(), z.any()).optional(),\n estimated_duration: z.int().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TestScenario = z.infer<typeof TestScenarioSchema>","/**\n * Zod schema for TestingActionResponse\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for testing action responses.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for testing action responses.\n */\nexport const TestingActionResponseSchema = z.object({\n success: z.boolean(),\n message: z.string(),\n job_ids: z.array(z.string()).optional(),\n count: z.int().nullable().optional(),\n metadata: z.record(z.string(), z.any()).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TestingActionResponse = z.infer<typeof TestingActionResponseSchema>","/**\n * Zod schema for TimelineItem\n *\n * This schema provides runtime validation and type inference.\n * * Single timeline data point for DRF.\n * */\nimport { z } from 'zod'\n\n/**\n * Single timeline data point for DRF.\n */\nexport const TimelineItemSchema = z.object({\n timestamp: z.string(),\n count: z.int(),\n successful: z.int(),\n failed: z.int(),\n timeout: z.int(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TimelineItem = z.infer<typeof TimelineItemSchema>","/**\n * Zod schema for TimelineResponse\n *\n * This schema provides runtime validation and type inference.\n * * Timeline response with hourly/daily breakdown for DRF.\n * */\nimport { z } from 'zod'\nimport { TimelineItemSchema } from './TimelineItem.schema'\n\n/**\n * Timeline response with hourly/daily breakdown for DRF.\n */\nexport const TimelineResponseSchema = z.object({\n timeline: z.array(TimelineItemSchema),\n period_hours: z.int(),\n interval: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TimelineResponse = z.infer<typeof TimelineResponseSchema>","/**\n * Zod schema for TokenRefresh\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\n\nexport const TokenRefreshSchema = z.object({\n access: z.string(),\n refresh: z.string(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TokenRefresh = z.infer<typeof TokenRefreshSchema>","/**\n * Zod schema for TokenRefreshRequest\n *\n * This schema provides runtime validation and type inference.\n * */\nimport { z } from 'zod'\n\nexport const TokenRefreshRequestSchema = z.object({\n refresh: z.string().min(1),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type TokenRefreshRequest = z.infer<typeof TokenRefreshRequestSchema>","/**\n * Zod schema for URLPattern\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for single URL pattern.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for single URL pattern.\n */\nexport const URLPatternSchema = z.object({\n pattern: z.string(),\n name: z.string().nullable().optional(),\n full_name: z.string().nullable().optional(),\n namespace: z.string().nullable().optional(),\n view: z.string().nullable().optional(),\n view_class: z.string().nullable().optional(),\n methods: z.array(z.string()).optional(),\n module: z.string().nullable().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type URLPattern = z.infer<typeof URLPatternSchema>","/**\n * Zod schema for URLsList\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for URLs list response.\n * */\nimport { z } from 'zod'\nimport { URLPatternSchema } from './URLPattern.schema'\n\n/**\n * Serializer for URLs list response.\n */\nexport const URLsListSchema = z.object({\n status: z.string(),\n service: z.string(),\n version: z.string(),\n base_url: z.string(),\n total_urls: z.int(),\n urls: z.array(URLPatternSchema),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type URLsList = z.infer<typeof URLsListSchema>","/**\n * Zod schema for UserProfileUpdateRequest\n *\n * This schema provides runtime validation and type inference.\n * * Serializer for updating user profile.\n * */\nimport { z } from 'zod'\n\n/**\n * Serializer for updating user profile.\n */\nexport const UserProfileUpdateRequestSchema = z.object({\n first_name: z.string().max(50).optional(),\n last_name: z.string().max(50).optional(),\n company: z.string().max(100).optional(),\n phone: z.string().max(20).optional(),\n position: z.string().max(100).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type UserProfileUpdateRequest = z.infer<typeof UserProfileUpdateRequestSchema>","/**\n * Zod schema for Worker\n *\n * This schema provides runtime validation and type inference.\n * * Worker information serializer.\n\nProvides detailed information about an RQ worker.\n * */\nimport { z } from 'zod'\n\n/**\n * Worker information serializer.\n\nProvides detailed information about an RQ worker.\n */\nexport const WorkerSchema = z.object({\n name: z.string(),\n queues: z.array(z.string()).optional(),\n state: z.string(),\n current_job: z.string().nullable().optional(),\n birth: z.iso.datetime(),\n last_heartbeat: z.iso.datetime(),\n successful_job_count: z.int().optional(),\n failed_job_count: z.int().optional(),\n total_working_time: z.number().optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type Worker = z.infer<typeof WorkerSchema>","/**\n * Zod schema for WorkerStats\n *\n * This schema provides runtime validation and type inference.\n * * Aggregated worker statistics serializer.\n\nProvides overview of all workers across all queues.\n * */\nimport { z } from 'zod'\nimport { WorkerSchema } from './Worker.schema'\n\n/**\n * Aggregated worker statistics serializer.\n\nProvides overview of all workers across all queues.\n */\nexport const WorkerStatsSchema = z.object({\n total_workers: z.int(),\n busy_workers: z.int().optional(),\n idle_workers: z.int().optional(),\n suspended_workers: z.int().optional(),\n total_successful_jobs: z.int().optional(),\n total_failed_jobs: z.int().optional(),\n total_working_time: z.number().optional(),\n workers: z.array(WorkerSchema).optional(),\n})\n\n/**\n * Infer TypeScript type from Zod schema\n */\nexport type WorkerStats = z.infer<typeof WorkerStatsSchema>","/**\n * Typed fetchers for Accounts\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { OTPRequestRequestSchema, type OTPRequestRequest } from '../schemas/OTPRequestRequest.schema'\nimport { OTPRequestResponseSchema, type OTPRequestResponse } from '../schemas/OTPRequestResponse.schema'\nimport { OTPVerifyRequestSchema, type OTPVerifyRequest } from '../schemas/OTPVerifyRequest.schema'\nimport { OTPVerifyResponseSchema, type OTPVerifyResponse } from '../schemas/OTPVerifyResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/request/\n */\nexport async function createAccountsOtpRequestCreate( data: OTPRequestRequest, client?: any\n): Promise<OTPRequestResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_accounts.otpRequestCreate(data)\n try {\n return OTPRequestResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOtpRequestCreate\\nPath: /cfg/accounts/otp/request/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOtpRequestCreate',\n path: '/cfg/accounts/otp/request/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/verify/\n */\nexport async function createAccountsOtpVerifyCreate( data: OTPVerifyRequest, client?: any\n): Promise<OTPVerifyResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_accounts.otpVerifyCreate(data)\n try {\n return OTPVerifyResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOtpVerifyCreate\\nPath: /cfg/accounts/otp/verify/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOtpVerifyCreate',\n path: '/cfg/accounts/otp/verify/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Global API Instance - Singleton configuration\n *\n * This module provides a global API instance that can be configured once\n * and used throughout your application.\n *\n * Usage:\n * ```typescript\n * // Configure once (e.g., in your app entry point)\n * import { configureAPI } from './api-instance'\n *\n * configureAPI({\n * baseUrl: 'https://api.example.com',\n * token: 'your-jwt-token'\n * })\n *\n * // Then use fetchers and hooks anywhere without configuration\n * import { getUsers } from './fetchers'\n * const users = await getUsers({ page: 1 })\n * ```\n *\n * For SSR or multiple instances:\n * ```typescript\n * import { API } from './index'\n * import { getUsers } from './fetchers'\n *\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\n\nimport { API, type APIOptions } from './index'\n\nlet globalAPI: API | null = null\n\n/**\n * Get the global API instance\n * @throws Error if API is not configured\n */\nexport function getAPIInstance(): API {\n if (!globalAPI) {\n throw new Error(\n 'API not configured. Call configureAPI() with your base URL before using fetchers or hooks.\\n\\n' +\n 'Example:\\n' +\n ' import { configureAPI } from \"./api-instance\"\\n' +\n ' configureAPI({ baseUrl: \"https://api.example.com\" })'\n )\n }\n return globalAPI\n}\n\n/**\n * Check if API is configured\n */\nexport function isAPIConfigured(): boolean {\n return globalAPI !== null\n}\n\n/**\n * Configure the global API instance\n *\n * @param baseUrl - Base URL for the API\n * @param options - Optional configuration (storage, retry, logger)\n *\n * @example\n * ```typescript\n * configureAPI({\n * baseUrl: 'https://api.example.com',\n * token: 'jwt-token',\n * options: {\n * retryConfig: { maxRetries: 3 },\n * loggerConfig: { enabled: true }\n * }\n * })\n * ```\n */\nexport function configureAPI(config: {\n baseUrl: string\n token?: string\n refreshToken?: string\n options?: APIOptions\n}): API {\n globalAPI = new API(config.baseUrl, config.options)\n\n if (config.token) {\n globalAPI.setToken(config.token, config.refreshToken)\n }\n\n return globalAPI\n}\n\n/**\n * Reconfigure the global API instance with new settings\n * Useful for updating tokens or base URL\n */\nexport function reconfigureAPI(updates: {\n baseUrl?: string\n token?: string\n refreshToken?: string\n}): API {\n const instance = getAPIInstance()\n\n if (updates.baseUrl) {\n instance.setBaseUrl(updates.baseUrl)\n }\n\n if (updates.token) {\n instance.setToken(updates.token, updates.refreshToken)\n }\n\n return instance\n}\n\n/**\n * Clear tokens from the global API instance\n */\nexport function clearAPITokens(): void {\n const instance = getAPIInstance()\n instance.clearTokens()\n}\n\n/**\n * Reset the global API instance\n * Useful for testing or logout scenarios\n */\nexport function resetAPI(): void {\n if (globalAPI) {\n globalAPI.clearTokens()\n }\n globalAPI = null\n}","/**\n * Typed fetchers for Auth\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { TokenRefreshSchema, type TokenRefresh } from '../schemas/TokenRefresh.schema'\nimport { TokenRefreshRequestSchema, type TokenRefreshRequest } from '../schemas/TokenRefreshRequest.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/token/refresh/\n */\nexport async function createAccountsTokenRefreshCreate( data: TokenRefreshRequest, client?: any\n): Promise<TokenRefresh> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_auth.accountsTokenRefreshCreate(data)\n try {\n return TokenRefreshSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsTokenRefreshCreate\\nPath: /cfg/accounts/token/refresh/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsTokenRefreshCreate',\n path: '/cfg/accounts/token/refresh/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Oauth\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { OAuthAuthorizeRequestRequestSchema, type OAuthAuthorizeRequestRequest } from '../schemas/OAuthAuthorizeRequestRequest.schema'\nimport { OAuthAuthorizeResponseSchema, type OAuthAuthorizeResponse } from '../schemas/OAuthAuthorizeResponse.schema'\nimport { OAuthCallbackRequestRequestSchema, type OAuthCallbackRequestRequest } from '../schemas/OAuthCallbackRequestRequest.schema'\nimport { OAuthDisconnectRequestRequestSchema, type OAuthDisconnectRequestRequest } from '../schemas/OAuthDisconnectRequestRequest.schema'\nimport { OAuthProvidersResponseSchema, type OAuthProvidersResponse } from '../schemas/OAuthProvidersResponse.schema'\nimport { OAuthTokenResponseSchema, type OAuthTokenResponse } from '../schemas/OAuthTokenResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List OAuth connections\n *\n * @method GET\n * @path /cfg/accounts/oauth/connections/\n */\nexport async function getAccountsOauthConnectionsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthConnectionsList()\n return response\n}\n\n\n/**\n * Disconnect OAuth provider\n *\n * @method POST\n * @path /cfg/accounts/oauth/disconnect/\n */\nexport async function createAccountsOauthDisconnectCreate( data: OAuthDisconnectRequestRequest, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthDisconnectCreate(data)\n return response\n}\n\n\n/**\n * Start GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/authorize/\n */\nexport async function createAccountsOauthGithubAuthorizeCreate( data: OAuthAuthorizeRequestRequest, client?: any\n): Promise<OAuthAuthorizeResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthGithubAuthorizeCreate(data)\n try {\n return OAuthAuthorizeResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOauthGithubAuthorizeCreate\\nPath: /cfg/accounts/oauth/github/authorize/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOauthGithubAuthorizeCreate',\n path: '/cfg/accounts/oauth/github/authorize/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Complete GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/callback/\n */\nexport async function createAccountsOauthGithubCallbackCreate( data: OAuthCallbackRequestRequest, client?: any\n): Promise<OAuthTokenResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthGithubCallbackCreate(data)\n try {\n return OAuthTokenResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsOauthGithubCallbackCreate\\nPath: /cfg/accounts/oauth/github/callback/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsOauthGithubCallbackCreate',\n path: '/cfg/accounts/oauth/github/callback/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List OAuth providers\n *\n * @method GET\n * @path /cfg/accounts/oauth/providers/\n */\nexport async function getAccountsOauthProvidersRetrieve( client?: any\n): Promise<OAuthProvidersResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_oauth.accountsOauthProvidersRetrieve()\n try {\n return OAuthProvidersResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getAccountsOauthProvidersRetrieve\\nPath: /cfg/accounts/oauth/providers/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getAccountsOauthProvidersRetrieve',\n path: '/cfg/accounts/oauth/providers/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for User Profile\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { PatchedUserProfileUpdateRequestSchema, type PatchedUserProfileUpdateRequest } from '../schemas/PatchedUserProfileUpdateRequest.schema'\nimport { UserSchema, type User } from '../schemas/User.schema'\nimport { UserProfileUpdateRequestSchema, type UserProfileUpdateRequest } from '../schemas/UserProfileUpdateRequest.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get current user profile\n *\n * @method GET\n * @path /cfg/accounts/profile/\n */\nexport async function getAccountsProfileRetrieve( client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileRetrieve()\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getAccountsProfileRetrieve\\nPath: /cfg/accounts/profile/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getAccountsProfileRetrieve',\n path: '/cfg/accounts/profile/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Upload user avatar\n *\n * @method POST\n * @path /cfg/accounts/profile/avatar/\n */\nexport async function createAccountsProfileAvatarCreate( data: any, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileAvatarCreate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createAccountsProfileAvatarCreate\\nPath: /cfg/accounts/profile/avatar/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createAccountsProfileAvatarCreate',\n path: '/cfg/accounts/profile/avatar/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/partial/\n */\nexport async function partialUpdateAccountsProfilePartialUpdate( data: UserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfilePartialUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`partialUpdateAccountsProfilePartialUpdate\\nPath: /cfg/accounts/profile/partial/\\nMethod: PUT`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'partialUpdateAccountsProfilePartialUpdate',\n path: '/cfg/accounts/profile/partial/',\n method: 'PUT',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/partial/\n */\nexport async function partialUpdateAccountsProfilePartialPartialUpdate( data?: PatchedUserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfilePartialPartialUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`partialUpdateAccountsProfilePartialPartialUpdate\\nPath: /cfg/accounts/profile/partial/\\nMethod: PATCH`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'partialUpdateAccountsProfilePartialPartialUpdate',\n path: '/cfg/accounts/profile/partial/',\n method: 'PATCH',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/update/\n */\nexport async function updateAccountsProfileUpdateUpdate( data: UserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileUpdateUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`updateAccountsProfileUpdateUpdate\\nPath: /cfg/accounts/profile/update/\\nMethod: PUT`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'updateAccountsProfileUpdateUpdate',\n path: '/cfg/accounts/profile/update/',\n method: 'PUT',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/update/\n */\nexport async function partialUpdateAccountsProfileUpdatePartialUpdate( data?: PatchedUserProfileUpdateRequest, client?: any\n): Promise<User> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_user_profile.accountsProfileUpdatePartialUpdate(data)\n try {\n return UserSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`partialUpdateAccountsProfileUpdatePartialUpdate\\nPath: /cfg/accounts/profile/update/\\nMethod: PATCH`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'partialUpdateAccountsProfileUpdatePartialUpdate',\n path: '/cfg/accounts/profile/update/',\n method: 'PATCH',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Admin API\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { CentrifugoChannelsRequestRequestSchema, type CentrifugoChannelsRequestRequest } from '../schemas/CentrifugoChannelsRequestRequest.schema'\nimport { CentrifugoChannelsResponseSchema, type CentrifugoChannelsResponse } from '../schemas/CentrifugoChannelsResponse.schema'\nimport { CentrifugoHistoryRequestRequestSchema, type CentrifugoHistoryRequestRequest } from '../schemas/CentrifugoHistoryRequestRequest.schema'\nimport { CentrifugoHistoryResponseSchema, type CentrifugoHistoryResponse } from '../schemas/CentrifugoHistoryResponse.schema'\nimport { CentrifugoInfoResponseSchema, type CentrifugoInfoResponse } from '../schemas/CentrifugoInfoResponse.schema'\nimport { CentrifugoPresenceRequestRequestSchema, type CentrifugoPresenceRequestRequest } from '../schemas/CentrifugoPresenceRequestRequest.schema'\nimport { CentrifugoPresenceResponseSchema, type CentrifugoPresenceResponse } from '../schemas/CentrifugoPresenceResponse.schema'\nimport { CentrifugoPresenceStatsRequestRequestSchema, type CentrifugoPresenceStatsRequestRequest } from '../schemas/CentrifugoPresenceStatsRequestRequest.schema'\nimport { CentrifugoPresenceStatsResponseSchema, type CentrifugoPresenceStatsResponse } from '../schemas/CentrifugoPresenceStatsResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get connection token for dashboard\n *\n * @method POST\n * @path /cfg/centrifugo/server/auth/token/\n */\nexport async function createCentrifugoServerAuthTokenCreate( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerAuthTokenCreate()\n return response\n}\n\n\n/**\n * List active channels\n *\n * @method POST\n * @path /cfg/centrifugo/server/channels/\n */\nexport async function createCentrifugoServerChannelsCreate( data: CentrifugoChannelsRequestRequest, client?: any\n): Promise<CentrifugoChannelsResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerChannelsCreate(data)\n try {\n return CentrifugoChannelsResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerChannelsCreate\\nPath: /cfg/centrifugo/server/channels/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerChannelsCreate',\n path: '/cfg/centrifugo/server/channels/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get channel history\n *\n * @method POST\n * @path /cfg/centrifugo/server/history/\n */\nexport async function createCentrifugoServerHistoryCreate( data: CentrifugoHistoryRequestRequest, client?: any\n): Promise<CentrifugoHistoryResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerHistoryCreate(data)\n try {\n return CentrifugoHistoryResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerHistoryCreate\\nPath: /cfg/centrifugo/server/history/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerHistoryCreate',\n path: '/cfg/centrifugo/server/history/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get Centrifugo server info\n *\n * @method POST\n * @path /cfg/centrifugo/server/info/\n */\nexport async function createCentrifugoServerInfoCreate( client?: any\n): Promise<CentrifugoInfoResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerInfoCreate()\n try {\n return CentrifugoInfoResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerInfoCreate\\nPath: /cfg/centrifugo/server/info/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerInfoCreate',\n path: '/cfg/centrifugo/server/info/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get channel presence\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence/\n */\nexport async function createCentrifugoServerPresenceCreate( data: CentrifugoPresenceRequestRequest, client?: any\n): Promise<CentrifugoPresenceResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerPresenceCreate(data)\n try {\n return CentrifugoPresenceResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerPresenceCreate\\nPath: /cfg/centrifugo/server/presence/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerPresenceCreate',\n path: '/cfg/centrifugo/server/presence/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get channel presence statistics\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence-stats/\n */\nexport async function createCentrifugoServerPresenceStatsCreate( data: CentrifugoPresenceStatsRequestRequest, client?: any\n): Promise<CentrifugoPresenceStatsResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerPresenceStatsCreate(data)\n try {\n return CentrifugoPresenceStatsResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoServerPresenceStatsCreate\\nPath: /cfg/centrifugo/server/presence-stats/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoServerPresenceStatsCreate',\n path: '/cfg/centrifugo/server/presence-stats/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Auth\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ConnectionTokenResponseSchema, type ConnectionTokenResponse } from '../schemas/ConnectionTokenResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get Centrifugo connection token\n *\n * @method GET\n * @path /cfg/centrifugo/auth/token/\n */\nexport async function getCentrifugoAuthTokenRetrieve( client?: any\n): Promise<ConnectionTokenResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_auth.tokenRetrieve()\n try {\n return ConnectionTokenResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoAuthTokenRetrieve\\nPath: /cfg/centrifugo/auth/token/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoAuthTokenRetrieve',\n path: '/cfg/centrifugo/auth/token/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Monitoring\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { CentrifugoHealthCheckSchema, type CentrifugoHealthCheck } from '../schemas/CentrifugoHealthCheck.schema'\nimport { CentrifugoOverviewStatsSchema, type CentrifugoOverviewStats } from '../schemas/CentrifugoOverviewStats.schema'\nimport { ChannelListSchema, type ChannelList } from '../schemas/ChannelList.schema'\nimport { PaginatedPublishListSchema, type PaginatedPublishList } from '../schemas/PaginatedPublishList.schema'\nimport { TimelineResponseSchema, type TimelineResponse } from '../schemas/TimelineResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get channel statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/channels/\n */\nexport async function getCentrifugoMonitorChannelsRetrieve( params?: { hours?: number }, client?: any\n): Promise<ChannelList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorChannelsRetrieve(params?.hours)\n try {\n return ChannelListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorChannelsRetrieve\\nPath: /cfg/centrifugo/monitor/channels/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorChannelsRetrieve',\n path: '/cfg/centrifugo/monitor/channels/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get Centrifugo health status\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/health/\n */\nexport async function getCentrifugoMonitorHealthRetrieve( client?: any\n): Promise<CentrifugoHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorHealthRetrieve()\n try {\n return CentrifugoHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorHealthRetrieve\\nPath: /cfg/centrifugo/monitor/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorHealthRetrieve',\n path: '/cfg/centrifugo/monitor/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/overview/\n */\nexport async function getCentrifugoMonitorOverviewRetrieve( params?: { hours?: number }, client?: any\n): Promise<CentrifugoOverviewStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorOverviewRetrieve(params?.hours)\n try {\n return CentrifugoOverviewStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorOverviewRetrieve\\nPath: /cfg/centrifugo/monitor/overview/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorOverviewRetrieve',\n path: '/cfg/centrifugo/monitor/overview/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get recent publishes\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/publishes/\n */\nexport async function getCentrifugoMonitorPublishesList( params?: { channel?: string; page?: number; page_size?: number; status?: string }, client?: any\n): Promise<PaginatedPublishList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorPublishesList(params?.channel, params?.page, params?.page_size, params?.status)\n try {\n return PaginatedPublishListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorPublishesList\\nPath: /cfg/centrifugo/monitor/publishes/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorPublishesList',\n path: '/cfg/centrifugo/monitor/publishes/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get publish timeline\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/timeline/\n */\nexport async function getCentrifugoMonitorTimelineRetrieve( params?: { hours?: number; interval?: string }, client?: any\n): Promise<TimelineResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorTimelineRetrieve(params?.hours, params?.interval)\n try {\n return TimelineResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getCentrifugoMonitorTimelineRetrieve\\nPath: /cfg/centrifugo/monitor/timeline/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getCentrifugoMonitorTimelineRetrieve',\n path: '/cfg/centrifugo/monitor/timeline/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Centrifugo Testing\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ManualAckRequestRequestSchema, type ManualAckRequestRequest } from '../schemas/ManualAckRequestRequest.schema'\nimport { ManualAckResponseSchema, type ManualAckResponse } from '../schemas/ManualAckResponse.schema'\nimport { PublishTestRequestRequestSchema, type PublishTestRequestRequest } from '../schemas/PublishTestRequestRequest.schema'\nimport { PublishTestResponseSchema, type PublishTestResponse } from '../schemas/PublishTestResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Publish test message\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-test/\n */\nexport async function createCentrifugoTestingPublishTestCreate( data: PublishTestRequestRequest, client?: any\n): Promise<PublishTestResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_testing.publishTestCreate(data)\n try {\n return PublishTestResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoTestingPublishTestCreate\\nPath: /cfg/centrifugo/testing/publish-test/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoTestingPublishTestCreate',\n path: '/cfg/centrifugo/testing/publish-test/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Publish with database logging\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-with-logging/\n */\nexport async function createCentrifugoTestingPublishWithLoggingCreate( data: PublishTestRequestRequest, client?: any\n): Promise<PublishTestResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_testing.publishWithLoggingCreate(data)\n try {\n return PublishTestResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoTestingPublishWithLoggingCreate\\nPath: /cfg/centrifugo/testing/publish-with-logging/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoTestingPublishWithLoggingCreate',\n path: '/cfg/centrifugo/testing/publish-with-logging/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Send manual ACK\n *\n * @method POST\n * @path /cfg/centrifugo/testing/send-ack/\n */\nexport async function createCentrifugoTestingSendAckCreate( data: ManualAckRequestRequest, client?: any\n): Promise<ManualAckResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_centrifugo_testing.sendAckCreate(data)\n try {\n return ManualAckResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createCentrifugoTestingSendAckCreate\\nPath: /cfg/centrifugo/testing/send-ack/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createCentrifugoTestingSendAckCreate',\n path: '/cfg/centrifugo/testing/send-ack/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - API Zones\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { APIZonesSummarySchema, type APIZonesSummary } from '../schemas/APIZonesSummary.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get all API zones\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/\n */\nexport async function getDashboardApiZonesList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_api_zones.list()\n return response\n}\n\n\n/**\n * Get zones summary\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/summary/\n */\nexport async function getDashboardApiZonesSummaryRetrieve( client?: any\n): Promise<APIZonesSummary> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_api_zones.summaryRetrieve()\n try {\n return APIZonesSummarySchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiZonesSummaryRetrieve\\nPath: /cfg/dashboard/api/zones/summary/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiZonesSummaryRetrieve',\n path: '/cfg/dashboard/api/zones/summary/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Charts\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ChartDataSchema, type ChartData } from '../schemas/ChartData.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get user activity chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/activity/\n */\nexport async function getDashboardApiChartsActivityRetrieve( params?: { days?: number }, client?: any\n): Promise<ChartData> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsActivityRetrieve(params?.days)\n try {\n return ChartDataSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiChartsActivityRetrieve\\nPath: /cfg/dashboard/api/charts/activity/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiChartsActivityRetrieve',\n path: '/cfg/dashboard/api/charts/activity/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get recent users\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/recent-users/\n */\nexport async function getDashboardApiChartsRecentUsersList( params?: { limit?: number }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsRecentUsersList(params?.limit)\n return response\n}\n\n\n/**\n * Get user registration chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/registrations/\n */\nexport async function getDashboardApiChartsRegistrationsRetrieve( params?: { days?: number }, client?: any\n): Promise<ChartData> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsRegistrationsRetrieve(params?.days)\n try {\n return ChartDataSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiChartsRegistrationsRetrieve\\nPath: /cfg/dashboard/api/charts/registrations/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiChartsRegistrationsRetrieve',\n path: '/cfg/dashboard/api/charts/registrations/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get activity tracker\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/tracker/\n */\nexport async function getDashboardApiChartsTrackerList( params?: { weeks?: number }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_charts.dashboardApiChartsTrackerList(params?.weeks)\n return response\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Commands\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { CommandExecuteRequestRequestSchema, type CommandExecuteRequestRequest } from '../schemas/CommandExecuteRequestRequest.schema'\nimport { CommandHelpResponseSchema, type CommandHelpResponse } from '../schemas/CommandHelpResponse.schema'\nimport { CommandsSummarySchema, type CommandsSummary } from '../schemas/CommandsSummary.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get all commands\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/\n */\nexport async function getDashboardApiCommandsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsList()\n return response\n}\n\n\n/**\n * Get command help\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/{id}/help/\n */\nexport async function getDashboardApiCommandsHelpRetrieve( id: string, client?: any\n): Promise<CommandHelpResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsHelpRetrieve(id)\n try {\n return CommandHelpResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiCommandsHelpRetrieve\\nPath: /cfg/dashboard/api/commands/{id}/help/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiCommandsHelpRetrieve',\n path: '/cfg/dashboard/api/commands/{id}/help/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Execute command\n *\n * @method POST\n * @path /cfg/dashboard/api/commands/execute/\n */\nexport async function createDashboardApiCommandsExecuteCreate( data: CommandExecuteRequestRequest, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsExecuteCreate(data)\n return response\n}\n\n\n/**\n * Get commands summary\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/summary/\n */\nexport async function getDashboardApiCommandsSummaryRetrieve( client?: any\n): Promise<CommandsSummary> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_commands.dashboardApiCommandsSummaryRetrieve()\n try {\n return CommandsSummarySchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiCommandsSummaryRetrieve\\nPath: /cfg/dashboard/api/commands/summary/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiCommandsSummaryRetrieve',\n path: '/cfg/dashboard/api/commands/summary/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Config\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ConfigDataSchema, type ConfigData } from '../schemas/ConfigData.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get configuration data\n *\n * @method GET\n * @path /cfg/dashboard/api/config/config/\n */\nexport async function getDashboardApiConfigConfigRetrieve( client?: any\n): Promise<ConfigData> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_config.dashboardApiConfigConfigRetrieve()\n try {\n return ConfigDataSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiConfigConfigRetrieve\\nPath: /cfg/dashboard/api/config/config/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiConfigConfigRetrieve',\n path: '/cfg/dashboard/api/config/config/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Overview\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { DashboardOverviewSchema, type DashboardOverview } from '../schemas/DashboardOverview.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get dashboard overview\n *\n * @method GET\n * @path /cfg/dashboard/api/overview/overview/\n */\nexport async function getDashboardApiOverviewOverviewRetrieve( client?: any\n): Promise<DashboardOverview> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_overview.dashboardApiOverviewOverviewRetrieve()\n try {\n return DashboardOverviewSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiOverviewOverviewRetrieve\\nPath: /cfg/dashboard/api/overview/overview/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiOverviewOverviewRetrieve',\n path: '/cfg/dashboard/api/overview/overview/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - Statistics\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { UserStatisticsSchema, type UserStatistics } from '../schemas/UserStatistics.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get application statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/apps/\n */\nexport async function getDashboardApiStatisticsAppsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_statistics.dashboardApiStatisticsAppsList()\n return response\n}\n\n\n/**\n * Get statistics cards\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/cards/\n */\nexport async function getDashboardApiStatisticsCardsList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_statistics.dashboardApiStatisticsCardsList()\n return response\n}\n\n\n/**\n * Get user statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/users/\n */\nexport async function getDashboardApiStatisticsUsersRetrieve( client?: any\n): Promise<UserStatistics> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_statistics.dashboardApiStatisticsUsersRetrieve()\n try {\n return UserStatisticsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiStatisticsUsersRetrieve\\nPath: /cfg/dashboard/api/statistics/users/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiStatisticsUsersRetrieve',\n path: '/cfg/dashboard/api/statistics/users/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Dashboard - System\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { SystemHealthSchema, type SystemHealth } from '../schemas/SystemHealth.schema'\nimport { SystemMetricsSchema, type SystemMetrics } from '../schemas/SystemMetrics.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get system health status\n *\n * @method GET\n * @path /cfg/dashboard/api/system/health/\n */\nexport async function getDashboardApiSystemHealthRetrieve( client?: any\n): Promise<SystemHealth> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_system.dashboardApiSystemHealthRetrieve()\n try {\n return SystemHealthSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiSystemHealthRetrieve\\nPath: /cfg/dashboard/api/system/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiSystemHealthRetrieve',\n path: '/cfg/dashboard/api/system/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get system metrics\n *\n * @method GET\n * @path /cfg/dashboard/api/system/metrics/\n */\nexport async function getDashboardApiSystemMetricsRetrieve( client?: any\n): Promise<SystemMetrics> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_dashboard_system.dashboardApiSystemMetricsRetrieve()\n try {\n return SystemMetricsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getDashboardApiSystemMetricsRetrieve\\nPath: /cfg/dashboard/api/system/metrics/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getDashboardApiSystemMetricsRetrieve',\n path: '/cfg/dashboard/api/system/metrics/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Endpoints\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { EndpointsStatusSchema, type EndpointsStatus } from '../schemas/EndpointsStatus.schema'\nimport { URLsListSchema, type URLsList } from '../schemas/URLsList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/drf/\n */\nexport async function getEndpointsDrfRetrieve( client?: any\n): Promise<EndpointsStatus> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_endpoints.drfRetrieve()\n try {\n return EndpointsStatusSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getEndpointsDrfRetrieve\\nPath: /cfg/endpoints/drf/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getEndpointsDrfRetrieve',\n path: '/cfg/endpoints/drf/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/\n */\nexport async function getEndpointsUrlsRetrieve( client?: any\n): Promise<URLsList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_endpoints.urlsRetrieve()\n try {\n return URLsListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getEndpointsUrlsRetrieve\\nPath: /cfg/endpoints/urls/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getEndpointsUrlsRetrieve',\n path: '/cfg/endpoints/urls/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/compact/\n */\nexport async function getEndpointsUrlsCompactRetrieve( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_endpoints.urlsCompactRetrieve()\n return response\n}\n\n\n","/**\n * Typed fetchers for Grpc Api Keys\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { ApiKeySchema, type ApiKey } from '../schemas/ApiKey.schema'\nimport { ApiKeyStatsSchema, type ApiKeyStats } from '../schemas/ApiKeyStats.schema'\nimport { PaginatedApiKeyListSchema, type PaginatedApiKeyList } from '../schemas/PaginatedApiKeyList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List API keys\n *\n * @method GET\n * @path /cfg/grpc/api-keys/\n */\nexport async function getGrpcApiKeysList( params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }, client?: any\n): Promise<PaginatedApiKeyList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_api_keys.list(params?.is_active, params?.page, params?.page_size, params?.user_id)\n try {\n return PaginatedApiKeyListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcApiKeysList\\nPath: /cfg/grpc/api-keys/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcApiKeysList',\n path: '/cfg/grpc/api-keys/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get API key details\n *\n * @method GET\n * @path /cfg/grpc/api-keys/{id}/\n */\nexport async function getGrpcApiKeysRetrieve( id: number, client?: any\n): Promise<ApiKey> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_api_keys.retrieve(id)\n try {\n return ApiKeySchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcApiKeysRetrieve\\nPath: /cfg/grpc/api-keys/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcApiKeysRetrieve',\n path: '/cfg/grpc/api-keys/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get API keys statistics\n *\n * @method GET\n * @path /cfg/grpc/api-keys/stats/\n */\nexport async function getGrpcApiKeysStatsRetrieve( client?: any\n): Promise<ApiKeyStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_api_keys.statsRetrieve()\n try {\n return ApiKeyStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcApiKeysStatsRetrieve\\nPath: /cfg/grpc/api-keys/stats/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcApiKeysStatsRetrieve',\n path: '/cfg/grpc/api-keys/stats/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Grpc Configuration\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { GRPCConfigSchema, type GRPCConfig } from '../schemas/GRPCConfig.schema'\nimport { GRPCServerInfoSchema, type GRPCServerInfo } from '../schemas/GRPCServerInfo.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get gRPC configuration\n *\n * @method GET\n * @path /cfg/grpc/config/config/\n */\nexport async function getGrpcConfigConfigRetrieve( client?: any\n): Promise<GRPCConfig> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_configuration.grpcConfigConfigRetrieve()\n try {\n return GRPCConfigSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcConfigConfigRetrieve\\nPath: /cfg/grpc/config/config/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcConfigConfigRetrieve',\n path: '/cfg/grpc/config/config/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get server information\n *\n * @method GET\n * @path /cfg/grpc/config/server-info/\n */\nexport async function getGrpcConfigServerInfoRetrieve( client?: any\n): Promise<GRPCServerInfo> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_configuration.grpcConfigServerInfoRetrieve()\n try {\n return GRPCServerInfoSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcConfigServerInfoRetrieve\\nPath: /cfg/grpc/config/server-info/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcConfigServerInfoRetrieve',\n path: '/cfg/grpc/config/server-info/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Grpc Monitoring\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { GRPCHealthCheckSchema, type GRPCHealthCheck } from '../schemas/GRPCHealthCheck.schema'\nimport { GRPCOverviewStatsSchema, type GRPCOverviewStats } from '../schemas/GRPCOverviewStats.schema'\nimport { MethodListSchema, type MethodList } from '../schemas/MethodList.schema'\nimport { PaginatedRecentRequestListSchema, type PaginatedRecentRequestList } from '../schemas/PaginatedRecentRequestList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get gRPC health status\n *\n * @method GET\n * @path /cfg/grpc/monitor/health/\n */\nexport async function getGrpcMonitorHealthRetrieve( client?: any\n): Promise<GRPCHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorHealthRetrieve()\n try {\n return GRPCHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorHealthRetrieve\\nPath: /cfg/grpc/monitor/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorHealthRetrieve',\n path: '/cfg/grpc/monitor/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get method statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/methods/\n */\nexport async function getGrpcMonitorMethodsRetrieve( params?: { hours?: number; service?: string }, client?: any\n): Promise<MethodList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorMethodsRetrieve(params?.hours, params?.service)\n try {\n return MethodListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorMethodsRetrieve\\nPath: /cfg/grpc/monitor/methods/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorMethodsRetrieve',\n path: '/cfg/grpc/monitor/methods/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/overview/\n */\nexport async function getGrpcMonitorOverviewRetrieve( params?: { hours?: number }, client?: any\n): Promise<GRPCOverviewStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorOverviewRetrieve(params?.hours)\n try {\n return GRPCOverviewStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorOverviewRetrieve\\nPath: /cfg/grpc/monitor/overview/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorOverviewRetrieve',\n path: '/cfg/grpc/monitor/overview/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get recent requests\n *\n * @method GET\n * @path /cfg/grpc/monitor/requests/\n */\nexport async function getGrpcMonitorRequestsList( params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }, client?: any\n): Promise<PaginatedRecentRequestList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorRequestsList(params?.method, params?.page, params?.page_size, params?.service, params?.status)\n try {\n return PaginatedRecentRequestListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcMonitorRequestsList\\nPath: /cfg/grpc/monitor/requests/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcMonitorRequestsList',\n path: '/cfg/grpc/monitor/requests/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get request timeline\n *\n * @method GET\n * @path /cfg/grpc/monitor/timeline/\n */\nexport async function getGrpcMonitorTimelineRetrieve( params?: { hours?: number; interval?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_monitoring.grpcMonitorTimelineRetrieve(params?.hours, params?.interval)\n return response\n}\n\n\n","/**\n * Typed fetchers for Grpc Services\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { PaginatedServiceSummaryListSchema, type PaginatedServiceSummaryList } from '../schemas/PaginatedServiceSummaryList.schema'\nimport { ServiceDetailSchema, type ServiceDetail } from '../schemas/ServiceDetail.schema'\nimport { ServiceMethodsSchema, type ServiceMethods } from '../schemas/ServiceMethods.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all services\n *\n * @method GET\n * @path /cfg/grpc/services/\n */\nexport async function getGrpcServicesList( params?: { hours?: number; page?: number; page_size?: number }, client?: any\n): Promise<PaginatedServiceSummaryList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_services.list(params?.hours, params?.page, params?.page_size)\n try {\n return PaginatedServiceSummaryListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcServicesList\\nPath: /cfg/grpc/services/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcServicesList',\n path: '/cfg/grpc/services/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get service details\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/\n */\nexport async function getGrpcServicesRetrieve( id: string, pk: string, client?: any\n): Promise<ServiceDetail> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_services.retrieve(id, pk)\n try {\n return ServiceDetailSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcServicesRetrieve\\nPath: /cfg/grpc/services/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcServicesRetrieve',\n path: '/cfg/grpc/services/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get service methods\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/methods/\n */\nexport async function getGrpcServicesMethodsRetrieve( id: string, pk: string, client?: any\n): Promise<ServiceMethods> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_grpc_services.methodsRetrieve(id, pk)\n try {\n return ServiceMethodsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getGrpcServicesMethodsRetrieve\\nPath: /cfg/grpc/services/{id}/methods/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getGrpcServicesMethodsRetrieve',\n path: '/cfg/grpc/services/{id}/methods/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for Health\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { DRFHealthCheckSchema, type DRFHealthCheck } from '../schemas/DRFHealthCheck.schema'\nimport { QuickHealthSchema, type QuickHealth } from '../schemas/QuickHealth.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/\n */\nexport async function getHealthDrfRetrieve( client?: any\n): Promise<DRFHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_health.drfRetrieve()\n try {\n return DRFHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getHealthDrfRetrieve\\nPath: /cfg/health/drf/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getHealthDrfRetrieve',\n path: '/cfg/health/drf/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/quick/\n */\nexport async function getHealthDrfQuickRetrieve( client?: any\n): Promise<QuickHealth> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_health.drfQuickRetrieve()\n try {\n return QuickHealthSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getHealthDrfQuickRetrieve\\nPath: /cfg/health/drf/quick/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getHealthDrfQuickRetrieve',\n path: '/cfg/health/drf/quick/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Jobs\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { JobActionResponseSchema, type JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport { JobDetailSchema, type JobDetail } from '../schemas/JobDetail.schema'\nimport { JobListRequestSchema, type JobListRequest } from '../schemas/JobListRequest.schema'\nimport { PaginatedJobListListSchema, type PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/\n */\nexport async function getRqJobsList( params?: { page?: number; page_size?: number; queue?: string; status?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.list(params?.page, params?.page_size, params?.queue, params?.status)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsList\\nPath: /cfg/rq/jobs/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsList',\n path: '/cfg/rq/jobs/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get job details\n *\n * @method GET\n * @path /cfg/rq/jobs/{id}/\n */\nexport async function getRqJobsRetrieve( id: string, client?: any\n): Promise<JobDetail> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.retrieve(id)\n try {\n return JobDetailSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRetrieve\\nPath: /cfg/rq/jobs/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRetrieve',\n path: '/cfg/rq/jobs/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Delete job\n *\n * @method DELETE\n * @path /cfg/rq/jobs/{id}/\n */\nexport async function deleteRqJobsDestroy( id: string, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.destroy(id)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`deleteRqJobsDestroy\\nPath: /cfg/rq/jobs/{id}/\\nMethod: DELETE`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'deleteRqJobsDestroy',\n path: '/cfg/rq/jobs/{id}/',\n method: 'DELETE',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Cancel job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/cancel/\n */\nexport async function createRqJobsCancelCreate( id: string, data: JobListRequest, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.cancelCreate(id, data)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsCancelCreate\\nPath: /cfg/rq/jobs/{id}/cancel/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsCancelCreate',\n path: '/cfg/rq/jobs/{id}/cancel/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Requeue job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/requeue/\n */\nexport async function createRqJobsRequeueCreate( id: string, data: JobListRequest, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_jobs.requeueCreate(id, data)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRequeueCreate\\nPath: /cfg/rq/jobs/{id}/requeue/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRequeueCreate',\n path: '/cfg/rq/jobs/{id}/requeue/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Monitoring\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { RQConfigSchema, type RQConfig } from '../schemas/RQConfig.schema'\nimport { RQHealthCheckSchema, type RQHealthCheck } from '../schemas/RQHealthCheck.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * Get RQ configuration\n *\n * @method GET\n * @path /cfg/rq/monitor/config/\n */\nexport async function getRqMonitorConfigRetrieve( client?: any\n): Promise<RQConfig> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_monitoring.rqMonitorConfigRetrieve()\n try {\n return RQConfigSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqMonitorConfigRetrieve\\nPath: /cfg/rq/monitor/config/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqMonitorConfigRetrieve',\n path: '/cfg/rq/monitor/config/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Health check\n *\n * @method GET\n * @path /cfg/rq/monitor/health/\n */\nexport async function getRqMonitorHealthRetrieve( client?: any\n): Promise<RQHealthCheck> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_monitoring.rqMonitorHealthRetrieve()\n try {\n return RQHealthCheckSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqMonitorHealthRetrieve\\nPath: /cfg/rq/monitor/health/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqMonitorHealthRetrieve',\n path: '/cfg/rq/monitor/health/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Prometheus metrics\n *\n * @method GET\n * @path /cfg/rq/monitor/metrics/\n */\nexport async function getRqMonitorMetricsRetrieve( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_monitoring.rqMonitorMetricsRetrieve()\n return response\n}\n\n\n","/**\n * Typed fetchers for RQ Queues\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { QueueDetailSchema, type QueueDetail } from '../schemas/QueueDetail.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all queues\n *\n * @method GET\n * @path /cfg/rq/queues/\n */\nexport async function getRqQueuesList( params?: { name?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.list(params?.name)\n return response\n}\n\n\n/**\n * Get queue details\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/\n */\nexport async function getRqQueuesRetrieve( id: string, client?: any\n): Promise<QueueDetail> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.retrieve(id)\n try {\n return QueueDetailSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqQueuesRetrieve\\nPath: /cfg/rq/queues/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqQueuesRetrieve',\n path: '/cfg/rq/queues/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Empty queue\n *\n * @method POST\n * @path /cfg/rq/queues/{id}/empty/\n */\nexport async function createRqQueuesEmptyCreate( id: string, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.emptyCreate(id)\n return response\n}\n\n\n/**\n * Get queue jobs\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/jobs/\n */\nexport async function getRqQueuesJobsRetrieve( id: string, params?: { limit?: number; offset?: number }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_queues.jobsRetrieve(id, params?.limit, params?.offset)\n return response\n}\n\n\n","/**\n * Typed fetchers for RQ Registries\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { JobActionResponseSchema, type JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport { JobListRequestSchema, type JobListRequest } from '../schemas/JobListRequest.schema'\nimport { PaginatedJobListListSchema, type PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List deferred jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/deferred/\n */\nexport async function getRqJobsRegistriesDeferredList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesDeferredList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesDeferredList\\nPath: /cfg/rq/jobs/registries/deferred/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesDeferredList',\n path: '/cfg/rq/jobs/registries/deferred/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List failed jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/failed/\n */\nexport async function getRqJobsRegistriesFailedList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFailedList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesFailedList\\nPath: /cfg/rq/jobs/registries/failed/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesFailedList',\n path: '/cfg/rq/jobs/registries/failed/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Clear failed jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/clear/\n */\nexport async function createRqJobsRegistriesFailedClearCreate( data: JobListRequest, params: { queue: string }, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFailedClearCreate(data, params.queue)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRegistriesFailedClearCreate\\nPath: /cfg/rq/jobs/registries/failed/clear/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRegistriesFailedClearCreate',\n path: '/cfg/rq/jobs/registries/failed/clear/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Requeue all failed jobs\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/requeue-all/\n */\nexport async function createRqJobsRegistriesFailedRequeueAllCreate( data: JobListRequest, params: { queue: string }, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFailedRequeueAllCreate(data, params.queue)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRegistriesFailedRequeueAllCreate\\nPath: /cfg/rq/jobs/registries/failed/requeue-all/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRegistriesFailedRequeueAllCreate',\n path: '/cfg/rq/jobs/registries/failed/requeue-all/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List finished jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/finished/\n */\nexport async function getRqJobsRegistriesFinishedList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFinishedList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesFinishedList\\nPath: /cfg/rq/jobs/registries/finished/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesFinishedList',\n path: '/cfg/rq/jobs/registries/finished/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Clear finished jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/finished/clear/\n */\nexport async function createRqJobsRegistriesFinishedClearCreate( data: JobListRequest, params: { queue: string }, client?: any\n): Promise<JobActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesFinishedClearCreate(data, params.queue)\n try {\n return JobActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqJobsRegistriesFinishedClearCreate\\nPath: /cfg/rq/jobs/registries/finished/clear/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqJobsRegistriesFinishedClearCreate',\n path: '/cfg/rq/jobs/registries/finished/clear/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * List started jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/started/\n */\nexport async function getRqJobsRegistriesStartedList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedJobListList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_registries.rqJobsRegistriesStartedList(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedJobListListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqJobsRegistriesStartedList\\nPath: /cfg/rq/jobs/registries/started/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqJobsRegistriesStartedList',\n path: '/cfg/rq/jobs/registries/started/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Schedules\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { PaginatedScheduledJobListSchema, type PaginatedScheduledJobList } from '../schemas/PaginatedScheduledJobList.schema'\nimport { ScheduleActionResponseSchema, type ScheduleActionResponse } from '../schemas/ScheduleActionResponse.schema'\nimport { ScheduleCreateRequestSchema, type ScheduleCreateRequest } from '../schemas/ScheduleCreateRequest.schema'\nimport { ScheduledJobSchema, type ScheduledJob } from '../schemas/ScheduledJob.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List scheduled jobs\n *\n * @method GET\n * @path /cfg/rq/schedules/\n */\nexport async function getRqSchedulesList( params?: { page?: number; page_size?: number; queue?: string }, client?: any\n): Promise<PaginatedScheduledJobList> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.list(params?.page, params?.page_size, params?.queue)\n try {\n return PaginatedScheduledJobListSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqSchedulesList\\nPath: /cfg/rq/schedules/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqSchedulesList',\n path: '/cfg/rq/schedules/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Create scheduled job\n *\n * @method POST\n * @path /cfg/rq/schedules/\n */\nexport async function createRqSchedulesCreate( data: ScheduleCreateRequest, client?: any\n): Promise<ScheduleActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.create(data)\n try {\n return ScheduleActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqSchedulesCreate\\nPath: /cfg/rq/schedules/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqSchedulesCreate',\n path: '/cfg/rq/schedules/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get scheduled job details\n *\n * @method GET\n * @path /cfg/rq/schedules/{id}/\n */\nexport async function getRqSchedulesRetrieve( id: string, pk: string, params?: { queue?: string }, client?: any\n): Promise<ScheduledJob> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.retrieve(id, pk, params?.queue)\n try {\n return ScheduledJobSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqSchedulesRetrieve\\nPath: /cfg/rq/schedules/{id}/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqSchedulesRetrieve',\n path: '/cfg/rq/schedules/{id}/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Cancel scheduled job\n *\n * @method DELETE\n * @path /cfg/rq/schedules/{id}/\n */\nexport async function deleteRqSchedulesDestroy( id: string, pk: string, params?: { queue?: string }, client?: any\n): Promise<ScheduleActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_schedules.destroy(id, pk, params?.queue)\n try {\n return ScheduleActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`deleteRqSchedulesDestroy\\nPath: /cfg/rq/schedules/{id}/\\nMethod: DELETE`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'deleteRqSchedulesDestroy',\n path: '/cfg/rq/schedules/{id}/',\n method: 'DELETE',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Testing\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { RunDemoRequestRequestSchema, type RunDemoRequestRequest } from '../schemas/RunDemoRequestRequest.schema'\nimport { StressTestRequestRequestSchema, type StressTestRequestRequest } from '../schemas/StressTestRequestRequest.schema'\nimport { TestingActionResponseSchema, type TestingActionResponse } from '../schemas/TestingActionResponse.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List test scenarios\n *\n * @method GET\n * @path /cfg/rq/testing/\n */\nexport async function getRqTestingList( client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.list()\n return response\n}\n\n\n/**\n * Cleanup test jobs\n *\n * @method DELETE\n * @path /cfg/rq/testing/cleanup/\n */\nexport async function deleteRqTestingCleanupDestroy( params?: { delete_demo_jobs_only?: boolean; queue?: string; registries?: string }, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.cleanupDestroy(params?.delete_demo_jobs_only, params?.queue, params?.registries)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`deleteRqTestingCleanupDestroy\\nPath: /cfg/rq/testing/cleanup/\\nMethod: DELETE`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'deleteRqTestingCleanupDestroy',\n path: '/cfg/rq/testing/cleanup/',\n method: 'DELETE',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Get test results\n *\n * @method GET\n * @path /cfg/rq/testing/results/\n */\nexport async function getRqTestingResultsRetrieve( params?: { queue?: string; scenario?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.resultsRetrieve(params?.queue, params?.scenario)\n return response\n}\n\n\n/**\n * Run demo task\n *\n * @method POST\n * @path /cfg/rq/testing/run-demo/\n */\nexport async function createRqTestingRunDemoCreate( data: RunDemoRequestRequest, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.runDemoCreate(data)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqTestingRunDemoCreate\\nPath: /cfg/rq/testing/run-demo/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqTestingRunDemoCreate',\n path: '/cfg/rq/testing/run-demo/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Schedule demo tasks\n *\n * @method POST\n * @path /cfg/rq/testing/schedule-demo/\n */\nexport async function createRqTestingScheduleDemoCreate( data: any, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.scheduleDemoCreate(data)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqTestingScheduleDemoCreate\\nPath: /cfg/rq/testing/schedule-demo/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqTestingScheduleDemoCreate',\n path: '/cfg/rq/testing/schedule-demo/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n/**\n * Stress test\n *\n * @method POST\n * @path /cfg/rq/testing/stress-test/\n */\nexport async function createRqTestingStressTestCreate( data: StressTestRequestRequest, client?: any\n): Promise<TestingActionResponse> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_testing.stressTestCreate(data)\n try {\n return TestingActionResponseSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`createRqTestingStressTestCreate\\nPath: /cfg/rq/testing/stress-test/\\nMethod: POST`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'createRqTestingStressTestCreate',\n path: '/cfg/rq/testing/stress-test/',\n method: 'POST',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Typed fetchers for RQ Workers\n *\n * Universal functions that work in any environment:\n * - Next.js (App Router / Pages Router / Server Components)\n * - React Native\n * - Node.js backend\n *\n * These fetchers use Zod schemas for runtime validation.\n *\n * Usage:\n * ```typescript\n * // Configure API once (in your app entry point)\n * import { configureAPI } from '../../api-instance'\n * configureAPI({ baseUrl: 'https://api.example.com' })\n *\n * // Then use fetchers anywhere\n * const users = await getUsers({ page: 1 })\n *\n * // With SWR\n * const { data } = useSWR(['users', params], () => getUsers(params))\n *\n * // With React Query\n * const { data } = useQuery(['users', params], () => getUsers(params))\n *\n * // In Server Component or SSR (pass custom client)\n * import { API } from '../../index'\n * const api = new API('https://api.example.com')\n * const users = await getUsers({ page: 1 }, api)\n * ```\n */\nimport { consola } from 'consola'\nimport { WorkerStatsSchema, type WorkerStats } from '../schemas/WorkerStats.schema'\nimport { getAPIInstance } from '../../api-instance'\n\n/**\n * List all workers\n *\n * @method GET\n * @path /cfg/rq/workers/\n */\nexport async function getRqWorkersList( params?: { queue?: string; state?: string }, client?: any\n): Promise<any> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_workers.list(params?.queue, params?.state)\n return response\n}\n\n\n/**\n * Get worker statistics\n *\n * @method GET\n * @path /cfg/rq/workers/stats/\n */\nexport async function getRqWorkersStatsRetrieve( client?: any\n): Promise<WorkerStats> {\n const api = client || getAPIInstance()\n const response = await api.cfg_accounts_rq_workers.statsRetrieve()\n try {\n return WorkerStatsSchema.parse(response)\n } catch (error) {\n // Zod validation error - log detailed information\n consola.error('❌ Zod Validation Failed');\n consola.box(`getRqWorkersStatsRetrieve\\nPath: /cfg/rq/workers/stats/\\nMethod: GET`);\n\n if (error instanceof Error && 'issues' in error && Array.isArray((error as any).issues)) {\n consola.error('Validation Issues:');\n (error as any).issues.forEach((issue: any, index: number) => {\n consola.error(` ${index + 1}. ${issue.path.join('.') || 'root'}`);\n consola.error(` ├─ Message: ${issue.message}`);\n if (issue.expected) consola.error(` ├─ Expected: ${issue.expected}`);\n if (issue.received) consola.error(` └─ Received: ${issue.received}`);\n });\n }\n\n consola.error('Response data:', response);\n\n // Dispatch browser CustomEvent (only if window is defined)\n if (typeof window !== 'undefined' && error instanceof Error && 'issues' in error) {\n try {\n const event = new CustomEvent('zod-validation-error', {\n detail: {\n operation: 'getRqWorkersStatsRetrieve',\n path: '/cfg/rq/workers/stats/',\n method: 'GET',\n error: error,\n response: response,\n timestamp: new Date(),\n },\n bubbles: true,\n cancelable: false,\n });\n window.dispatchEvent(event);\n } catch (eventError) {\n // Silently fail - event dispatch should never crash the app\n consola.warn('Failed to dispatch validation error event:', eventError);\n }\n }\n\n // Re-throw the error\n throw error;\n }\n}\n\n\n","/**\n * Django CFG API - API Client with JWT Management\n *\n * Usage:\n * ```typescript\n * import { API } from './api';\n *\n * const api = new API('https://api.example.com');\n *\n * // Set JWT token\n * api.setToken('your-jwt-token', 'refresh-token');\n *\n * // Use API\n * const posts = await api.posts.list();\n * const user = await api.users.retrieve(1);\n *\n * // Check authentication\n * if (api.isAuthenticated()) {\n * // ...\n * }\n *\n * // Custom storage with logging (for Electron/Node.js)\n * import { MemoryStorageAdapter, APILogger } from './storage';\n * const logger = new APILogger({ enabled: true, logLevel: 'debug' });\n * const api = new API('https://api.example.com', {\n * storage: new MemoryStorageAdapter(logger),\n * loggerConfig: { enabled: true, logLevel: 'debug' }\n * });\n *\n * // Get OpenAPI schema\n * const schema = api.getSchema();\n * ```\n */\n\nimport { APIClient } from \"./client\";\nimport {\n StorageAdapter,\n LocalStorageAdapter,\n CookieStorageAdapter,\n MemoryStorageAdapter\n} from \"./storage\";\nimport type { RetryConfig } from \"./retry\";\nimport type { LoggerConfig } from \"./logger\";\nimport { APILogger } from \"./logger\";\nimport { CfgAccountsAuth } from \"./cfg_accounts__accounts__auth/client\";\nimport { CfgAccountsCentrifugoAdminApi } from \"./cfg_accounts__centrifugo__centrifugo_admin_api/client\";\nimport { CfgAccountsCentrifugoAuth } from \"./cfg_accounts__centrifugo__centrifugo_auth/client\";\nimport { CfgAccountsCentrifugoMonitoring } from \"./cfg_accounts__centrifugo__centrifugo_monitoring/client\";\nimport { CfgAccountsCentrifugoTesting } from \"./cfg_accounts__centrifugo__centrifugo_testing/client\";\nimport { CfgAccountsDashboardApiZones } from \"./cfg_accounts__dashboard__dashboard_api_zones/client\";\nimport { CfgAccountsDashboardActivity } from \"./cfg_accounts__dashboard__dashboard_activity/client\";\nimport { CfgAccountsDashboardCharts } from \"./cfg_accounts__dashboard__dashboard_charts/client\";\nimport { CfgAccountsDashboardCommands } from \"./cfg_accounts__dashboard__dashboard_commands/client\";\nimport { CfgAccountsDashboardConfig } from \"./cfg_accounts__dashboard__dashboard_config/client\";\nimport { CfgAccountsDashboardOverview } from \"./cfg_accounts__dashboard__dashboard_overview/client\";\nimport { CfgAccountsDashboardStatistics } from \"./cfg_accounts__dashboard__dashboard_statistics/client\";\nimport { CfgAccountsDashboardSystem } from \"./cfg_accounts__dashboard__dashboard_system/client\";\nimport { CfgAccountsOauth } from \"./cfg_accounts__accounts__oauth/client\";\nimport { CfgAccountsRqJobs } from \"./cfg_accounts__rq__rq_jobs/client\";\nimport { CfgAccountsRqMonitoring } from \"./cfg_accounts__rq__rq_monitoring/client\";\nimport { CfgAccountsRqQueues } from \"./cfg_accounts__rq__rq_queues/client\";\nimport { CfgAccountsRqRegistries } from \"./cfg_accounts__rq__rq_registries/client\";\nimport { CfgAccountsRqSchedules } from \"./cfg_accounts__rq__rq_schedules/client\";\nimport { CfgAccountsRqTesting } from \"./cfg_accounts__rq__rq_testing/client\";\nimport { CfgAccountsRqWorkers } from \"./cfg_accounts__rq__rq_workers/client\";\nimport { CfgAccountsUserProfile } from \"./cfg_accounts__accounts__user_profile/client\";\nimport { CfgAccountsAccounts } from \"./cfg_accounts__accounts/client\";\nimport { CfgAccountsEndpoints } from \"./cfg_accounts__endpoints/client\";\nimport { CfgAccountsGrpcApiKeys } from \"./cfg_accounts__grpc__grpc_api_keys/client\";\nimport { CfgAccountsGrpcConfiguration } from \"./cfg_accounts__grpc__grpc_configuration/client\";\nimport { CfgAccountsGrpcMonitoring } from \"./cfg_accounts__grpc__grpc_monitoring/client\";\nimport { CfgAccountsGrpcServices } from \"./cfg_accounts__grpc__grpc_services/client\";\nimport { CfgAccountsHealth } from \"./cfg_accounts__health/client\";\nexport * as CfgAccountsAuthTypes from \"./cfg_accounts__accounts__auth/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoAdminApiTypes from \"./cfg_accounts__centrifugo__centrifugo_admin_api/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoAuthTypes from \"./cfg_accounts__centrifugo__centrifugo_auth/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoMonitoringTypes from \"./cfg_accounts__centrifugo__centrifugo_monitoring/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsCentrifugoTestingTypes from \"./cfg_accounts__centrifugo__centrifugo_testing/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardApiZonesTypes from \"./cfg_accounts__dashboard__dashboard_api_zones/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardActivityTypes from \"./cfg_accounts__dashboard__dashboard_activity/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardChartsTypes from \"./cfg_accounts__dashboard__dashboard_charts/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardCommandsTypes from \"./cfg_accounts__dashboard__dashboard_commands/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardConfigTypes from \"./cfg_accounts__dashboard__dashboard_config/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardOverviewTypes from \"./cfg_accounts__dashboard__dashboard_overview/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardStatisticsTypes from \"./cfg_accounts__dashboard__dashboard_statistics/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsDashboardSystemTypes from \"./cfg_accounts__dashboard__dashboard_system/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsOauthTypes from \"./cfg_accounts__accounts__oauth/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqJobsTypes from \"./cfg_accounts__rq__rq_jobs/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqMonitoringTypes from \"./cfg_accounts__rq__rq_monitoring/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqQueuesTypes from \"./cfg_accounts__rq__rq_queues/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqRegistriesTypes from \"./cfg_accounts__rq__rq_registries/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqSchedulesTypes from \"./cfg_accounts__rq__rq_schedules/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqTestingTypes from \"./cfg_accounts__rq__rq_testing/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsRqWorkersTypes from \"./cfg_accounts__rq__rq_workers/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsUserProfileTypes from \"./cfg_accounts__accounts__user_profile/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsAccountsTypes from \"./cfg_accounts__accounts/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsEndpointsTypes from \"./cfg_accounts__endpoints/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcApiKeysTypes from \"./cfg_accounts__grpc__grpc_api_keys/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcConfigurationTypes from \"./cfg_accounts__grpc__grpc_configuration/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcMonitoringTypes from \"./cfg_accounts__grpc__grpc_monitoring/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsGrpcServicesTypes from \"./cfg_accounts__grpc__grpc_services/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as CfgAccountsHealthTypes from \"./cfg_accounts__health/models\";\n// Note: Direct exports (export * from) are removed to avoid duplicate type conflicts\n// Use namespace exports like CfgAccountsTypes.User or import from specific modules\nexport * as Enums from \"./enums\";\n\n// Re-export Zod schemas for runtime validation\nexport * as Schemas from \"./_utils/schemas\";\n// Also export all schemas directly for convenience\nexport * from \"./_utils/schemas\";\n\n// Re-export Zod validation events for browser integration\nexport type { ValidationErrorDetail, ValidationErrorEvent } from \"./validation-events\";\nexport { dispatchValidationError, onValidationError, formatZodError } from \"./validation-events\";\n\n// Re-export typed fetchers for universal usage\nexport * as Fetchers from \"./_utils/fetchers\";\nexport * from \"./_utils/fetchers\";\n\n// Re-export API instance configuration functions\nexport {\n configureAPI,\n getAPIInstance,\n reconfigureAPI,\n clearAPITokens,\n resetAPI,\n isAPIConfigured\n} from \"./api-instance\";\n// NOTE: SWR hooks are generated in ./_utils/hooks/ but NOT exported here to keep\n// the main bundle server-safe. Import hooks directly from the hooks directory:\n// import { useUsers } from './_utils/hooks';\n// Or use a separate entry point like '@djangocfg/api/hooks' for client components.\n\n// Re-export core client\nexport { APIClient };\n\n// Re-export storage adapters for convenience\nexport type { StorageAdapter };\nexport { LocalStorageAdapter, CookieStorageAdapter, MemoryStorageAdapter };\n\n// Re-export error classes for convenience\nexport { APIError, NetworkError } from \"./errors\";\n\n// Re-export HTTP adapters for custom implementations\nexport type { HttpClientAdapter, HttpRequest, HttpResponse } from \"./http\";\nexport { FetchAdapter } from \"./http\";\n\n// Re-export logger types and classes\nexport type { LoggerConfig, RequestLog, ResponseLog, ErrorLog } from \"./logger\";\nexport { APILogger } from \"./logger\";\n\n// Re-export retry configuration and utilities\nexport type { RetryConfig, FailedAttemptInfo } from \"./retry\";\nexport { withRetry, shouldRetry, DEFAULT_RETRY_CONFIG } from \"./retry\";\n\nexport const TOKEN_KEY = \"auth_token\";\nexport const REFRESH_TOKEN_KEY = \"refresh_token\";\n\nexport interface APIOptions {\n /** Custom storage adapter (defaults to LocalStorageAdapter) */\n storage?: StorageAdapter;\n /** Retry configuration for failed requests */\n retryConfig?: RetryConfig;\n /** Logger configuration */\n loggerConfig?: Partial<LoggerConfig>;\n}\n\nexport class API {\n private baseUrl: string;\n private _client: APIClient;\n private _token: string | null = null;\n private _refreshToken: string | null = null;\n private storage: StorageAdapter;\n private options?: APIOptions;\n\n // Sub-clients\n public cfg_accounts_auth!: CfgAccountsAuth;\n public cfg_accounts_centrifugo_admin_api!: CfgAccountsCentrifugoAdminApi;\n public cfg_accounts_centrifugo_auth!: CfgAccountsCentrifugoAuth;\n public cfg_accounts_centrifugo_monitoring!: CfgAccountsCentrifugoMonitoring;\n public cfg_accounts_centrifugo_testing!: CfgAccountsCentrifugoTesting;\n public cfg_accounts_dashboard_api_zones!: CfgAccountsDashboardApiZones;\n public cfg_accounts_dashboard_activity!: CfgAccountsDashboardActivity;\n public cfg_accounts_dashboard_charts!: CfgAccountsDashboardCharts;\n public cfg_accounts_dashboard_commands!: CfgAccountsDashboardCommands;\n public cfg_accounts_dashboard_config!: CfgAccountsDashboardConfig;\n public cfg_accounts_dashboard_overview!: CfgAccountsDashboardOverview;\n public cfg_accounts_dashboard_statistics!: CfgAccountsDashboardStatistics;\n public cfg_accounts_dashboard_system!: CfgAccountsDashboardSystem;\n public cfg_accounts_oauth!: CfgAccountsOauth;\n public cfg_accounts_rq_jobs!: CfgAccountsRqJobs;\n public cfg_accounts_rq_monitoring!: CfgAccountsRqMonitoring;\n public cfg_accounts_rq_queues!: CfgAccountsRqQueues;\n public cfg_accounts_rq_registries!: CfgAccountsRqRegistries;\n public cfg_accounts_rq_schedules!: CfgAccountsRqSchedules;\n public cfg_accounts_rq_testing!: CfgAccountsRqTesting;\n public cfg_accounts_rq_workers!: CfgAccountsRqWorkers;\n public cfg_accounts_user_profile!: CfgAccountsUserProfile;\n public cfg_accounts_accounts!: CfgAccountsAccounts;\n public cfg_accounts_endpoints!: CfgAccountsEndpoints;\n public cfg_accounts_grpc_api_keys!: CfgAccountsGrpcApiKeys;\n public cfg_accounts_grpc_configuration!: CfgAccountsGrpcConfiguration;\n public cfg_accounts_grpc_monitoring!: CfgAccountsGrpcMonitoring;\n public cfg_accounts_grpc_services!: CfgAccountsGrpcServices;\n public cfg_accounts_health!: CfgAccountsHealth;\n\n constructor(baseUrl: string, options?: APIOptions) {\n this.baseUrl = baseUrl;\n this.options = options;\n\n // Create logger if config provided\n const logger = options?.loggerConfig ? new APILogger(options.loggerConfig) : undefined;\n\n // Initialize storage with logger\n this.storage = options?.storage || new LocalStorageAdapter(logger);\n\n this._loadTokensFromStorage();\n\n // Initialize APIClient\n this._client = new APIClient(this.baseUrl, {\n retryConfig: this.options?.retryConfig,\n loggerConfig: this.options?.loggerConfig,\n });\n\n // Always inject auth header wrapper (reads token dynamically from storage)\n this._injectAuthHeader();\n\n // Initialize sub-clients from APIClient\n this.cfg_accounts_auth = this._client.cfg_accounts_auth;\n this.cfg_accounts_centrifugo_admin_api = this._client.cfg_accounts_centrifugo_admin_api;\n this.cfg_accounts_centrifugo_auth = this._client.cfg_accounts_centrifugo_auth;\n this.cfg_accounts_centrifugo_monitoring = this._client.cfg_accounts_centrifugo_monitoring;\n this.cfg_accounts_centrifugo_testing = this._client.cfg_accounts_centrifugo_testing;\n this.cfg_accounts_dashboard_api_zones = this._client.cfg_accounts_dashboard_api_zones;\n this.cfg_accounts_dashboard_activity = this._client.cfg_accounts_dashboard_activity;\n this.cfg_accounts_dashboard_charts = this._client.cfg_accounts_dashboard_charts;\n this.cfg_accounts_dashboard_commands = this._client.cfg_accounts_dashboard_commands;\n this.cfg_accounts_dashboard_config = this._client.cfg_accounts_dashboard_config;\n this.cfg_accounts_dashboard_overview = this._client.cfg_accounts_dashboard_overview;\n this.cfg_accounts_dashboard_statistics = this._client.cfg_accounts_dashboard_statistics;\n this.cfg_accounts_dashboard_system = this._client.cfg_accounts_dashboard_system;\n this.cfg_accounts_oauth = this._client.cfg_accounts_oauth;\n this.cfg_accounts_rq_jobs = this._client.cfg_accounts_rq_jobs;\n this.cfg_accounts_rq_monitoring = this._client.cfg_accounts_rq_monitoring;\n this.cfg_accounts_rq_queues = this._client.cfg_accounts_rq_queues;\n this.cfg_accounts_rq_registries = this._client.cfg_accounts_rq_registries;\n this.cfg_accounts_rq_schedules = this._client.cfg_accounts_rq_schedules;\n this.cfg_accounts_rq_testing = this._client.cfg_accounts_rq_testing;\n this.cfg_accounts_rq_workers = this._client.cfg_accounts_rq_workers;\n this.cfg_accounts_user_profile = this._client.cfg_accounts_user_profile;\n this.cfg_accounts_accounts = this._client.cfg_accounts_accounts;\n this.cfg_accounts_endpoints = this._client.cfg_accounts_endpoints;\n this.cfg_accounts_grpc_api_keys = this._client.cfg_accounts_grpc_api_keys;\n this.cfg_accounts_grpc_configuration = this._client.cfg_accounts_grpc_configuration;\n this.cfg_accounts_grpc_monitoring = this._client.cfg_accounts_grpc_monitoring;\n this.cfg_accounts_grpc_services = this._client.cfg_accounts_grpc_services;\n this.cfg_accounts_health = this._client.cfg_accounts_health;\n }\n\n private _loadTokensFromStorage(): void {\n this._token = this.storage.getItem(TOKEN_KEY);\n this._refreshToken = this.storage.getItem(REFRESH_TOKEN_KEY);\n }\n\n private _reinitClients(): void {\n this._client = new APIClient(this.baseUrl, {\n retryConfig: this.options?.retryConfig,\n loggerConfig: this.options?.loggerConfig,\n });\n\n // Always inject auth header wrapper (reads token dynamically from storage)\n this._injectAuthHeader();\n\n // Reinitialize sub-clients\n this.cfg_accounts_auth = this._client.cfg_accounts_auth;\n this.cfg_accounts_centrifugo_admin_api = this._client.cfg_accounts_centrifugo_admin_api;\n this.cfg_accounts_centrifugo_auth = this._client.cfg_accounts_centrifugo_auth;\n this.cfg_accounts_centrifugo_monitoring = this._client.cfg_accounts_centrifugo_monitoring;\n this.cfg_accounts_centrifugo_testing = this._client.cfg_accounts_centrifugo_testing;\n this.cfg_accounts_dashboard_api_zones = this._client.cfg_accounts_dashboard_api_zones;\n this.cfg_accounts_dashboard_activity = this._client.cfg_accounts_dashboard_activity;\n this.cfg_accounts_dashboard_charts = this._client.cfg_accounts_dashboard_charts;\n this.cfg_accounts_dashboard_commands = this._client.cfg_accounts_dashboard_commands;\n this.cfg_accounts_dashboard_config = this._client.cfg_accounts_dashboard_config;\n this.cfg_accounts_dashboard_overview = this._client.cfg_accounts_dashboard_overview;\n this.cfg_accounts_dashboard_statistics = this._client.cfg_accounts_dashboard_statistics;\n this.cfg_accounts_dashboard_system = this._client.cfg_accounts_dashboard_system;\n this.cfg_accounts_oauth = this._client.cfg_accounts_oauth;\n this.cfg_accounts_rq_jobs = this._client.cfg_accounts_rq_jobs;\n this.cfg_accounts_rq_monitoring = this._client.cfg_accounts_rq_monitoring;\n this.cfg_accounts_rq_queues = this._client.cfg_accounts_rq_queues;\n this.cfg_accounts_rq_registries = this._client.cfg_accounts_rq_registries;\n this.cfg_accounts_rq_schedules = this._client.cfg_accounts_rq_schedules;\n this.cfg_accounts_rq_testing = this._client.cfg_accounts_rq_testing;\n this.cfg_accounts_rq_workers = this._client.cfg_accounts_rq_workers;\n this.cfg_accounts_user_profile = this._client.cfg_accounts_user_profile;\n this.cfg_accounts_accounts = this._client.cfg_accounts_accounts;\n this.cfg_accounts_endpoints = this._client.cfg_accounts_endpoints;\n this.cfg_accounts_grpc_api_keys = this._client.cfg_accounts_grpc_api_keys;\n this.cfg_accounts_grpc_configuration = this._client.cfg_accounts_grpc_configuration;\n this.cfg_accounts_grpc_monitoring = this._client.cfg_accounts_grpc_monitoring;\n this.cfg_accounts_grpc_services = this._client.cfg_accounts_grpc_services;\n this.cfg_accounts_health = this._client.cfg_accounts_health;\n }\n\n private _injectAuthHeader(): void {\n // Override request method to inject auth header\n const originalRequest = this._client.request.bind(this._client);\n this._client.request = async <T>(\n method: string,\n path: string,\n options?: { params?: Record<string, any>; body?: any; formData?: FormData; headers?: Record<string, string> }\n ): Promise<T> => {\n // Read token from storage dynamically (supports JWT injection after instantiation)\n const token = this.getToken();\n const mergedOptions = {\n ...options,\n headers: {\n ...(options?.headers || {}),\n ...(token ? { 'Authorization': `Bearer ${token}` } : {}),\n },\n };\n\n return originalRequest(method, path, mergedOptions);\n };\n }\n\n /**\n * Get current JWT token\n */\n getToken(): string | null {\n return this.storage.getItem(TOKEN_KEY);\n }\n\n /**\n * Get current refresh token\n */\n getRefreshToken(): string | null {\n return this.storage.getItem(REFRESH_TOKEN_KEY);\n }\n\n /**\n * Set JWT token and refresh token\n * @param token - JWT access token\n * @param refreshToken - JWT refresh token (optional)\n */\n setToken(token: string, refreshToken?: string): void {\n this._token = token;\n this.storage.setItem(TOKEN_KEY, token);\n\n if (refreshToken) {\n this._refreshToken = refreshToken;\n this.storage.setItem(REFRESH_TOKEN_KEY, refreshToken);\n }\n\n // Reinitialize clients with new token\n this._reinitClients();\n }\n\n /**\n * Clear all tokens\n */\n clearTokens(): void {\n this._token = null;\n this._refreshToken = null;\n this.storage.removeItem(TOKEN_KEY);\n this.storage.removeItem(REFRESH_TOKEN_KEY);\n\n // Reinitialize clients without token\n this._reinitClients();\n }\n\n /**\n * Check if user is authenticated\n */\n isAuthenticated(): boolean {\n return !!this.getToken();\n }\n\n /**\n * Update base URL and reinitialize clients\n * @param url - New base URL\n */\n setBaseUrl(url: string): void {\n this.baseUrl = url;\n this._reinitClients();\n }\n\n /**\n * Get current base URL\n */\n getBaseUrl(): string {\n return this.baseUrl;\n }\n\n /**\n * Get OpenAPI schema path\n * @returns Path to the OpenAPI schema JSON file\n *\n * Note: The OpenAPI schema is available in the schema.json file.\n * You can load it dynamically using:\n * ```typescript\n * const schema = await fetch('./schema.json').then(r => r.json());\n * // or using fs in Node.js:\n * // const schema = JSON.parse(fs.readFileSync('./schema.json', 'utf-8'));\n * ```\n */\n getSchemaPath(): string {\n return './schema.json';\n }\n}\n\nexport default API;","/**\n * @djangocfg/api - Shared API Package\n *\n * Core authentication API (cfg_accounts only).\n * Extensions are now in separate packages:\n * - @djangocfg/ext-support\n * - @djangocfg/ext-payments\n * - etc.\n */\n\n// ============================================================================\n// Main API from cfg_accounts (authentication)\n// ============================================================================\nexport * from './generated/cfg_accounts';\nexport { API, LocalStorageAdapter, MemoryStorageAdapter } from './generated/cfg_accounts';\nexport { Schemas, Fetchers, Enums } from './generated/cfg_accounts';\n\n// ============================================================================\n// CFG Accounts Type Namespace\n// ============================================================================\nexport * as CfgAccountsTypes from './generated/cfg_accounts';\n\n/**\n * Base Client for all API services\n *\n * Provides:\n * - Centralized API instance with JWT token management\n * - LocalStorage adapter for browser environments\n * - Singleton pattern for API client\n */\n\nimport { API, LocalStorageAdapter } from './generated/cfg_accounts';\n\n/**\n * Singleton API instance with JWT token management\n * Uses LocalStorage for token persistence\n */\nconst isStaticBuild = process.env.NEXT_PUBLIC_STATIC_BUILD === 'true';\nconst apiUrl = isStaticBuild ? '' : process.env.NEXT_PUBLIC_API_URL || '';\n\nconst api = new API(\n apiUrl,\n {\n storage: new LocalStorageAdapter()\n }\n);\n\n/**\n * Base Client Class\n *\n * Service classes can extend this to access api instance\n */\nexport class BaseClient {\n protected static api = api;\n}\n\n/**\n * Export API instance for direct access\n */\nexport { api };\n","/**\n * Accounts Context\n *\n * Manages user authentication and profile operations using generated SWR hooks\n *\n * Features:\n * - OTP-based authentication\n * - User profile management\n * - Avatar upload\n * - Profile updates\n * - localStorage cache with TTL (1 hour)\n */\n\n\"use client\";\n\nimport { createContext, useContext, ReactNode, useState, useCallback, useRef, useEffect } from 'react';\nimport { getCachedProfile, setCachedProfile, clearProfileCache } from '../hooks/useProfileCache';\nimport { authLogger } from '../utils/logger';\n// Import API instance and fetcher\nimport { api as apiAccounts, getAccountsProfileRetrieve } from '../../';\n// Import types from generated API\nimport type {\n User,\n UserProfileUpdateRequest,\n PatchedUserProfileUpdateRequest,\n OTPRequestRequest,\n OTPVerifyRequest,\n OTPRequestResponse,\n OTPVerifyResponse,\n TokenRefresh,\n API,\n} from '../../generated/cfg_accounts';\n// Import schema\nimport { PatchedUserProfileUpdateRequestSchema } from '../../generated/cfg_accounts';\n// Import hooks from generated API hooks\nimport {\n usePartialUpdateAccountsProfilePartialUpdate,\n useUpdateAccountsProfileUpdateUpdate,\n useCreateAccountsProfileAvatarCreate,\n useCreateAccountsOtpRequestCreate,\n useCreateAccountsOtpVerifyCreate,\n useCreateAccountsTokenRefreshCreate,\n} from '../../generated/cfg_accounts/_utils/hooks';\n\n// Re-export schemas for external use\nexport { PatchedUserProfileUpdateRequestSchema };\nexport type { PatchedUserProfileUpdateRequest };\n\n// ─────────────────────────────────────────────────────────────────────────\n// Context Type\n// ─────────────────────────────────────────────────────────────────────────\n\nexport interface AccountsContextValue {\n // Current user profile\n profile?: User;\n isLoadingProfile: boolean;\n profileError: Error | null;\n\n // Profile operations\n updateProfile: (data: UserProfileUpdateRequest) => Promise<User>;\n partialUpdateProfile: (data: PatchedUserProfileUpdateRequest) => Promise<User>;\n uploadAvatar: (formData: FormData) => Promise<User>;\n refreshProfile: (callerId?: string) => Promise<User | undefined>;\n\n // Authentication\n requestOTP: (data: OTPRequestRequest) => Promise<OTPRequestResponse>;\n verifyOTP: (data: OTPVerifyRequest) => Promise<OTPVerifyResponse>;\n refreshToken: (refresh: string) => Promise<TokenRefresh>;\n logout: () => void;\n}\n\n// ─────────────────────────────────────────────────────────────────────────\n// Context\n// ─────────────────────────────────────────────────────────────────────────\n\nconst AccountsContext = createContext<AccountsContextValue | undefined>(undefined);\n\n// ─────────────────────────────────────────────────────────────────────────\n// Provider Component\n// ─────────────────────────────────────────────────────────────────────────\n\ninterface AccountsProviderProps {\n children: ReactNode;\n}\n\nexport function AccountsProvider({ children }: AccountsProviderProps) {\n // State management with localStorage cache\n const [profile, setProfile] = useState<User | undefined>(() => {\n // Initialize from cache on mount\n const cached = getCachedProfile();\n return cached || undefined;\n });\n const [isLoadingProfile, setIsLoadingProfile] = useState(false);\n const [profileError, setProfileError] = useState<Error | null>(null);\n\n // Use refs to access current state without adding to dependencies\n const profileRef = useRef<User | undefined>(profile);\n const isLoadingRef = useRef(false);\n\n // Keep refs in sync with state\n useEffect(() => {\n profileRef.current = profile;\n }, [profile]);\n\n useEffect(() => {\n isLoadingRef.current = isLoadingProfile;\n }, [isLoadingProfile]);\n\n // Mutation hooks\n const updateMutation = useUpdateAccountsProfileUpdateUpdate();\n const partialUpdateMutation = usePartialUpdateAccountsProfilePartialUpdate();\n const avatarMutation = useCreateAccountsProfileAvatarCreate();\n const otpRequestMutation = useCreateAccountsOtpRequestCreate();\n const otpVerifyMutation = useCreateAccountsOtpVerifyCreate();\n const tokenRefreshMutation = useCreateAccountsTokenRefreshCreate();\n\n // Refresh profile - fetch and cache with stable callback\n const refreshProfile = useCallback(async (callerId?: string): Promise<User | undefined> => {\n // Use refs to check current state without creating dependency\n const currentProfile = profileRef.current;\n const currentLoading = isLoadingRef.current;\n\n // Prevent duplicate calls if profile is already loaded and not loading\n if (currentProfile && !currentLoading) {\n authLogger.debug(`Profile already loaded, returning cached (caller: ${callerId})`);\n return currentProfile;\n }\n\n setIsLoadingProfile(true);\n isLoadingRef.current = true;\n setProfileError(null);\n try {\n // Log caller for debugging excessive API calls using consola logger\n if (callerId) {\n authLogger.debug(`Profile refresh called by: ${callerId}`);\n }\n const result = await getAccountsProfileRetrieve(apiAccounts);\n setProfile(result);\n profileRef.current = result;\n // Save to cache with 1 hour TTL\n setCachedProfile(result);\n return result;\n } catch (error) {\n const err = error instanceof Error ? error : new Error('Failed to fetch profile');\n setProfileError(err);\n throw err;\n } finally {\n setIsLoadingProfile(false);\n isLoadingRef.current = false;\n }\n }, []); // Empty dependencies - callback is stable\n\n // Update profile (full)\n const updateProfile = async (data: UserProfileUpdateRequest): Promise<User> => {\n const result = await updateMutation(data, apiAccounts);\n await refreshProfile('AccountsContext.updateProfile');\n return result as User;\n };\n\n // Partial update profile\n const partialUpdateProfile = async (data: PatchedUserProfileUpdateRequest): Promise<User> => {\n const result = await partialUpdateMutation(data, apiAccounts);\n await refreshProfile('AccountsContext.partialUpdateProfile');\n return result as User;\n };\n\n // Upload avatar\n const uploadAvatar = async (formData: FormData): Promise<User> => {\n const result = await avatarMutation(formData, apiAccounts);\n await refreshProfile('AccountsContext.uploadAvatar');\n return result as User;\n };\n\n // Request OTP\n const requestOTP = async (data: OTPRequestRequest): Promise<OTPRequestResponse> => {\n const result = await otpRequestMutation(data, apiAccounts);\n return result as OTPRequestResponse;\n };\n\n // Verify OTP\n const verifyOTP = async (data: OTPVerifyRequest): Promise<OTPVerifyResponse> => {\n const result = await otpVerifyMutation(data, apiAccounts);\n\n // Automatically save tokens after successful verification\n if (result.access && result.refresh) {\n apiAccounts.setToken(result.access, result.refresh);\n // Refresh profile to load user data with new token\n await refreshProfile('AccountsContext.verifyOTP');\n }\n\n return result as OTPVerifyResponse;\n };\n\n // Refresh token\n const refreshToken = async (refresh: string): Promise<TokenRefresh> => {\n const result = await tokenRefreshMutation({ refresh }, apiAccounts);\n\n // Automatically save new access token\n if (result.access) {\n apiAccounts.setToken(result.access, refresh);\n }\n\n return result as TokenRefresh;\n };\n\n // Logout - clear tokens, profile state, and cache\n const logout = useCallback(() => {\n apiAccounts.clearTokens();\n setProfile(undefined);\n setProfileError(null);\n clearProfileCache();\n }, []);\n\n const value: AccountsContextValue = {\n profile,\n isLoadingProfile,\n profileError,\n updateProfile,\n partialUpdateProfile,\n uploadAvatar,\n refreshProfile,\n requestOTP,\n verifyOTP,\n refreshToken,\n logout,\n };\n\n return (\n <AccountsContext.Provider value={value}>\n {children}\n </AccountsContext.Provider>\n );\n}\n\n// ─────────────────────────────────────────────────────────────────────────\n// Hook\n// ─────────────────────────────────────────────────────────────────────────\n\nexport function useAccountsContext(): AccountsContextValue {\n const context = useContext(AccountsContext);\n if (!context) {\n throw new Error('useAccountsContext must be used within AccountsProvider');\n }\n return context;\n}\n","import { createConsola } from 'consola';\n\n/**\n * Universal logger for @djangocfg/api/auth\n * Uses consola for beautiful console logging\n *\n * Log levels:\n * - 0: silent\n * - 1: fatal, error\n * - 2: warn\n * - 3: log, info\n * - 4: debug\n * - 5: trace, verbose\n */\nconst isDevelopment = process.env.NODE_ENV === 'development';\nconst isStaticBuild = process.env.NEXT_PUBLIC_STATIC_BUILD === 'true';\nconst showLogs = isDevelopment || isStaticBuild;\n\nexport const logger = createConsola({\n level: showLogs ? 4 : 1, // dev: debug, production: errors only\n}).withTag('api');\n\n/**\n * Auth-specific logger\n */\nexport const authLogger = logger.withTag('auth');\n\nexport default logger;\n","\"use client\"\n\n/**\n * Base64 Encoding/Decoding Hook\n *\n * Provides base64 encoding/decoding with dev mode detection:\n * - In production: encodes data to base64\n * - In development: returns data as-is (no encoding)\n */\n\nconst isDev = process.env.NODE_ENV === 'development';\n\n/**\n * Encode string to base64\n * @param data - String data to encode\n * @returns Base64 encoded string (or original in dev mode)\n */\nexport function encodeBase64(data: string): string {\n if (isDev) {\n return data;\n }\n\n try {\n // Browser-safe base64 encoding\n if (typeof window !== 'undefined') {\n return btoa(encodeURIComponent(data).replace(/%([0-9A-F]{2})/g, (_, p1) => {\n return String.fromCharCode(parseInt(p1, 16));\n }));\n }\n // Node.js fallback\n return Buffer.from(data, 'utf-8').toString('base64');\n } catch (error) {\n console.error('Base64 encoding error:', error);\n return data; // Return original on error\n }\n}\n\n/**\n * Decode base64 to string\n * @param encoded - Base64 encoded string\n * @returns Decoded string (or original in dev mode)\n */\nexport function decodeBase64(encoded: string): string {\n if (isDev) {\n return encoded;\n }\n\n try {\n // Browser-safe base64 decoding\n if (typeof window !== 'undefined') {\n const binary = atob(encoded);\n const bytes = new Uint8Array(binary.length);\n for (let i = 0; i < binary.length; i++) {\n bytes[i] = binary.charCodeAt(i);\n }\n return decodeURIComponent(\n Array.from(bytes)\n .map(byte => '%' + ('00' + byte.toString(16)).slice(-2))\n .join('')\n );\n }\n // Node.js fallback\n return Buffer.from(encoded, 'base64').toString('utf-8');\n } catch (error) {\n console.error('Base64 decoding error:', error);\n return encoded; // Return original on error\n }\n}\n\n/**\n * Hook for base64 encoding/decoding\n * @returns Object with encode and decode functions\n */\nexport function useBase64() {\n return {\n encode: encodeBase64,\n decode: decodeBase64,\n isDev,\n };\n}\n","\"use client\"\n\n/**\n * Profile Cache Hook\n *\n * Provides localStorage-based caching for user profile with:\n * - TTL (Time To Live) - default 1 hour\n * - Version control for migrations\n * - Automatic invalidation on expiry\n */\n\nimport type { User } from '../../';\nimport { authLogger as profileLogger } from '../utils/logger';\nimport { encodeBase64, decodeBase64 } from './useBase64';\n\n// Cache configuration\nconst CACHE_KEY = 'user_profile_cache';\nconst CACHE_VERSION = 1;\nconst DEFAULT_TTL = 3600000; // 1 hour in milliseconds\n\nexport interface ProfileCacheOptions {\n /** Time to live in milliseconds (default: 1 hour) */\n ttl?: number;\n}\n\ninterface CachedProfile {\n version: number;\n data: User;\n timestamp: number;\n ttl: number;\n}\n\n/**\n * Get cached profile from localStorage\n * @returns User profile if valid cache exists, null otherwise\n */\nexport function getCachedProfile(): User | null {\n try {\n if (typeof window === 'undefined') return null;\n\n const cached = localStorage.getItem(CACHE_KEY);\n if (!cached) {\n profileLogger.debug('No cached profile found');\n return null;\n }\n\n // Decode from base64\n const decoded = decodeBase64(cached);\n const cachedData: CachedProfile = JSON.parse(decoded);\n\n // Version check\n if (cachedData.version !== CACHE_VERSION) {\n profileLogger.warn('Cache version mismatch, clearing cache');\n clearProfileCache();\n return null;\n }\n\n // TTL check\n const now = Date.now();\n const age = now - cachedData.timestamp;\n if (age > cachedData.ttl) {\n profileLogger.info('Cache expired, clearing');\n clearProfileCache();\n return null;\n }\n\n profileLogger.debug('Cache hit, age:', Math.round(age / 1000), 'seconds');\n return cachedData.data;\n } catch (error) {\n profileLogger.error('Error reading cache:', error);\n clearProfileCache();\n return null;\n }\n}\n\n/**\n * Save profile to localStorage cache\n * @param profile - User profile to cache\n * @param options - Cache options (TTL)\n */\nexport function setCachedProfile(profile: User, options?: ProfileCacheOptions): void {\n try {\n if (typeof window === 'undefined') return;\n\n const cachedData: CachedProfile = {\n version: CACHE_VERSION,\n data: profile,\n timestamp: Date.now(),\n ttl: options?.ttl || DEFAULT_TTL,\n };\n\n // Encode to base64\n const encoded = encodeBase64(JSON.stringify(cachedData));\n localStorage.setItem(CACHE_KEY, encoded);\n profileLogger.debug('Profile cached, TTL:', cachedData.ttl / 1000, 'seconds');\n } catch (error) {\n profileLogger.error('Error writing cache:', error);\n }\n}\n\n/**\n * Clear profile cache from localStorage\n */\nexport function clearProfileCache(): void {\n try {\n if (typeof window === 'undefined') return;\n localStorage.removeItem(CACHE_KEY);\n profileLogger.debug('Cache cleared');\n } catch (error) {\n profileLogger.error('Error clearing cache:', error);\n }\n}\n\n/**\n * Check if cached profile is valid (exists and not expired)\n */\nexport function hasValidCache(): boolean {\n return getCachedProfile() !== null;\n}\n\n/**\n * Get cache metadata (age, TTL, etc.)\n */\nexport function getCacheMetadata(): {\n exists: boolean;\n age?: number;\n ttl?: number;\n expiresIn?: number;\n} | null {\n try {\n if (typeof window === 'undefined') return null;\n\n const cached = localStorage.getItem(CACHE_KEY);\n if (!cached) return { exists: false };\n\n // Decode from base64\n const decoded = decodeBase64(cached);\n const cachedData: CachedProfile = JSON.parse(decoded);\n const now = Date.now();\n const age = now - cachedData.timestamp;\n const expiresIn = cachedData.ttl - age;\n\n return {\n exists: true,\n age,\n ttl: cachedData.ttl,\n expiresIn: Math.max(0, expiresIn),\n };\n } catch (error) {\n profileLogger.error('Error reading metadata:', error);\n return null;\n }\n}\n","'use client';\n\n/**\n * SWR Hooks for Auth\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts__auth'\nimport type { API } from '../../index'\nimport type { TokenRefresh } from '../schemas/TokenRefresh.schema'\nimport type { TokenRefreshRequest } from '../schemas/TokenRefreshRequest.schema'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/token/refresh/\n */\nexport function useCreateAccountsTokenRefreshCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: TokenRefreshRequest, client?: API): Promise<TokenRefresh> => {\n const result = await Fetchers.createAccountsTokenRefreshCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-token-refresh')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Admin API\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_admin_api'\nimport type { API } from '../../index'\nimport type { CentrifugoChannelsRequestRequest } from '../schemas/CentrifugoChannelsRequestRequest.schema'\nimport type { CentrifugoChannelsResponse } from '../schemas/CentrifugoChannelsResponse.schema'\nimport type { CentrifugoHistoryRequestRequest } from '../schemas/CentrifugoHistoryRequestRequest.schema'\nimport type { CentrifugoHistoryResponse } from '../schemas/CentrifugoHistoryResponse.schema'\nimport type { CentrifugoInfoResponse } from '../schemas/CentrifugoInfoResponse.schema'\nimport type { CentrifugoPresenceRequestRequest } from '../schemas/CentrifugoPresenceRequestRequest.schema'\nimport type { CentrifugoPresenceResponse } from '../schemas/CentrifugoPresenceResponse.schema'\nimport type { CentrifugoPresenceStatsRequestRequest } from '../schemas/CentrifugoPresenceStatsRequestRequest.schema'\nimport type { CentrifugoPresenceStatsResponse } from '../schemas/CentrifugoPresenceStatsResponse.schema'\n\n/**\n * Get connection token for dashboard\n *\n * @method POST\n * @path /cfg/centrifugo/server/auth/token/\n */\nexport function useCreateCentrifugoServerAuthTokenCreate() {\n const { mutate } = useSWRConfig()\n\n return async (client?: API): Promise<any> => {\n const result = await Fetchers.createCentrifugoServerAuthTokenCreate(client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-auth-token')\n return result\n }\n}\n\n\n/**\n * List active channels\n *\n * @method POST\n * @path /cfg/centrifugo/server/channels/\n */\nexport function useCreateCentrifugoServerChannelsCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoChannelsRequestRequest, client?: API): Promise<CentrifugoChannelsResponse> => {\n const result = await Fetchers.createCentrifugoServerChannelsCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-channels')\n return result\n }\n}\n\n\n/**\n * Get channel history\n *\n * @method POST\n * @path /cfg/centrifugo/server/history/\n */\nexport function useCreateCentrifugoServerHistoryCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoHistoryRequestRequest, client?: API): Promise<CentrifugoHistoryResponse> => {\n const result = await Fetchers.createCentrifugoServerHistoryCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-history')\n return result\n }\n}\n\n\n/**\n * Get Centrifugo server info\n *\n * @method POST\n * @path /cfg/centrifugo/server/info/\n */\nexport function useCreateCentrifugoServerInfoCreate() {\n const { mutate } = useSWRConfig()\n\n return async (client?: API): Promise<CentrifugoInfoResponse> => {\n const result = await Fetchers.createCentrifugoServerInfoCreate(client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-info')\n return result\n }\n}\n\n\n/**\n * Get channel presence\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence/\n */\nexport function useCreateCentrifugoServerPresenceCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoPresenceRequestRequest, client?: API): Promise<CentrifugoPresenceResponse> => {\n const result = await Fetchers.createCentrifugoServerPresenceCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-presence')\n return result\n }\n}\n\n\n/**\n * Get channel presence statistics\n *\n * @method POST\n * @path /cfg/centrifugo/server/presence-stats/\n */\nexport function useCreateCentrifugoServerPresenceStatsCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CentrifugoPresenceStatsRequestRequest, client?: API): Promise<CentrifugoPresenceStatsResponse> => {\n const result = await Fetchers.createCentrifugoServerPresenceStatsCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-server-presence-stats')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Auth\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_auth'\nimport type { API } from '../../index'\nimport type { ConnectionTokenResponse } from '../schemas/ConnectionTokenResponse.schema'\n\n/**\n * Get Centrifugo connection token\n *\n * @method GET\n * @path /cfg/centrifugo/auth/token/\n */\nexport function useCentrifugoAuthTokenRetrieve(client?: API): ReturnType<typeof useSWR<ConnectionTokenResponse>> {\n return useSWR<ConnectionTokenResponse>(\n 'cfg-centrifugo-auth-token',\n () => Fetchers.getCentrifugoAuthTokenRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Monitoring\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_monitoring'\nimport type { API } from '../../index'\nimport type { CentrifugoHealthCheck } from '../schemas/CentrifugoHealthCheck.schema'\nimport type { CentrifugoOverviewStats } from '../schemas/CentrifugoOverviewStats.schema'\nimport type { ChannelList } from '../schemas/ChannelList.schema'\nimport type { PaginatedPublishList } from '../schemas/PaginatedPublishList.schema'\nimport type { TimelineResponse } from '../schemas/TimelineResponse.schema'\n\n/**\n * Get channel statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/channels/\n */\nexport function useCentrifugoMonitorChannelsRetrieve(params?: { hours?: number }, client?: API): ReturnType<typeof useSWR<ChannelList>> {\n return useSWR<ChannelList>(\n params ? ['cfg-centrifugo-monitor-channel', params] : 'cfg-centrifugo-monitor-channel',\n () => Fetchers.getCentrifugoMonitorChannelsRetrieve(params, client)\n )\n}\n\n\n/**\n * Get Centrifugo health status\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/health/\n */\nexport function useCentrifugoMonitorHealthRetrieve(client?: API): ReturnType<typeof useSWR<CentrifugoHealthCheck>> {\n return useSWR<CentrifugoHealthCheck>(\n 'cfg-centrifugo-monitor-health',\n () => Fetchers.getCentrifugoMonitorHealthRetrieve(client)\n )\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/overview/\n */\nexport function useCentrifugoMonitorOverviewRetrieve(params?: { hours?: number }, client?: API): ReturnType<typeof useSWR<CentrifugoOverviewStats>> {\n return useSWR<CentrifugoOverviewStats>(\n params ? ['cfg-centrifugo-monitor-overview', params] : 'cfg-centrifugo-monitor-overview',\n () => Fetchers.getCentrifugoMonitorOverviewRetrieve(params, client)\n )\n}\n\n\n/**\n * Get recent publishes\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/publishes/\n */\nexport function useCentrifugoMonitorPublishesList(params?: { channel?: string; page?: number; page_size?: number; status?: string }, client?: API): ReturnType<typeof useSWR<PaginatedPublishList>> {\n return useSWR<PaginatedPublishList>(\n params ? ['cfg-centrifugo-monitor-publishes', params] : 'cfg-centrifugo-monitor-publishes',\n () => Fetchers.getCentrifugoMonitorPublishesList(params, client)\n )\n}\n\n\n/**\n * Get publish timeline\n *\n * @method GET\n * @path /cfg/centrifugo/monitor/timeline/\n */\nexport function useCentrifugoMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }, client?: API): ReturnType<typeof useSWR<TimelineResponse>> {\n return useSWR<TimelineResponse>(\n params ? ['cfg-centrifugo-monitor-timeline', params] : 'cfg-centrifugo-monitor-timeline',\n () => Fetchers.getCentrifugoMonitorTimelineRetrieve(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Centrifugo Testing\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_testing'\nimport type { API } from '../../index'\nimport type { ManualAckRequestRequest } from '../schemas/ManualAckRequestRequest.schema'\nimport type { ManualAckResponse } from '../schemas/ManualAckResponse.schema'\nimport type { PublishTestRequestRequest } from '../schemas/PublishTestRequestRequest.schema'\nimport type { PublishTestResponse } from '../schemas/PublishTestResponse.schema'\n\n/**\n * Publish test message\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-test/\n */\nexport function useCreateCentrifugoTestingPublishTestCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: PublishTestRequestRequest, client?: API): Promise<PublishTestResponse> => {\n const result = await Fetchers.createCentrifugoTestingPublishTestCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-testing-publish-test')\n return result\n }\n}\n\n\n/**\n * Publish with database logging\n *\n * @method POST\n * @path /cfg/centrifugo/testing/publish-with-logging/\n */\nexport function useCreateCentrifugoTestingPublishWithLoggingCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: PublishTestRequestRequest, client?: API): Promise<PublishTestResponse> => {\n const result = await Fetchers.createCentrifugoTestingPublishWithLoggingCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-testing-publish-with-logging')\n return result\n }\n}\n\n\n/**\n * Send manual ACK\n *\n * @method POST\n * @path /cfg/centrifugo/testing/send-ack/\n */\nexport function useCreateCentrifugoTestingSendAckCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: ManualAckRequestRequest, client?: API): Promise<ManualAckResponse> => {\n const result = await Fetchers.createCentrifugoTestingSendAckCreate(data, client)\n // Revalidate related queries\n mutate('cfg-centrifugo-testing-send-ack')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - API Zones\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_api_zones'\nimport type { API } from '../../index'\nimport type { APIZonesSummary } from '../schemas/APIZonesSummary.schema'\n\n/**\n * Get all API zones\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/\n */\nexport function useDashboardApiZonesList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-zones',\n () => Fetchers.getDashboardApiZonesList(client)\n )\n}\n\n\n/**\n * Get zones summary\n *\n * @method GET\n * @path /cfg/dashboard/api/zones/summary/\n */\nexport function useDashboardApiZonesSummaryRetrieve(client?: API): ReturnType<typeof useSWR<APIZonesSummary>> {\n return useSWR<APIZonesSummary>(\n 'cfg-dashboard-api-zones-summary',\n () => Fetchers.getDashboardApiZonesSummaryRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Activity\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_activity'\nimport type { API } from '../../index'\n\n/**\n * Get quick actions\n *\n * @method GET\n * @path /cfg/dashboard/api/activity/actions/\n */\nexport function useDashboardApiActivityActionsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-activity-actions',\n () => Fetchers.getDashboardApiActivityActionsList(client)\n )\n}\n\n\n/**\n * Get recent activity\n *\n * @method GET\n * @path /cfg/dashboard/api/activity/recent/\n */\nexport function useDashboardApiActivityRecentList(params?: { limit?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-dashboard-api-activity-recent', params] : 'cfg-dashboard-api-activity-recent',\n () => Fetchers.getDashboardApiActivityRecentList(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Charts\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_charts'\nimport type { API } from '../../index'\nimport type { ChartData } from '../schemas/ChartData.schema'\n\n/**\n * Get user activity chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/activity/\n */\nexport function useDashboardApiChartsActivityRetrieve(params?: { days?: number }, client?: API): ReturnType<typeof useSWR<ChartData>> {\n return useSWR<ChartData>(\n params ? ['cfg-dashboard-api-charts-activity', params] : 'cfg-dashboard-api-charts-activity',\n () => Fetchers.getDashboardApiChartsActivityRetrieve(params, client)\n )\n}\n\n\n/**\n * Get recent users\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/recent-users/\n */\nexport function useDashboardApiChartsRecentUsersList(params?: { limit?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-dashboard-api-charts-recent-users', params] : 'cfg-dashboard-api-charts-recent-users',\n () => Fetchers.getDashboardApiChartsRecentUsersList(params, client)\n )\n}\n\n\n/**\n * Get user registration chart\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/registrations/\n */\nexport function useDashboardApiChartsRegistrationsRetrieve(params?: { days?: number }, client?: API): ReturnType<typeof useSWR<ChartData>> {\n return useSWR<ChartData>(\n params ? ['cfg-dashboard-api-charts-registration', params] : 'cfg-dashboard-api-charts-registration',\n () => Fetchers.getDashboardApiChartsRegistrationsRetrieve(params, client)\n )\n}\n\n\n/**\n * Get activity tracker\n *\n * @method GET\n * @path /cfg/dashboard/api/charts/tracker/\n */\nexport function useDashboardApiChartsTrackerList(params?: { weeks?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-dashboard-api-charts-tracker', params] : 'cfg-dashboard-api-charts-tracker',\n () => Fetchers.getDashboardApiChartsTrackerList(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Commands\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_commands'\nimport type { API } from '../../index'\nimport type { CommandExecuteRequestRequest } from '../schemas/CommandExecuteRequestRequest.schema'\nimport type { CommandHelpResponse } from '../schemas/CommandHelpResponse.schema'\nimport type { CommandsSummary } from '../schemas/CommandsSummary.schema'\n\n/**\n * Get all commands\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/\n */\nexport function useDashboardApiCommandsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-commands',\n () => Fetchers.getDashboardApiCommandsList(client)\n )\n}\n\n\n/**\n * Get command help\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/{id}/help/\n */\nexport function useDashboardApiCommandsHelpRetrieve(id: string, client?: API): ReturnType<typeof useSWR<CommandHelpResponse>> {\n return useSWR<CommandHelpResponse>(\n ['cfg-dashboard-api-commands-help', id],\n () => Fetchers.getDashboardApiCommandsHelpRetrieve(id, client)\n )\n}\n\n\n/**\n * Execute command\n *\n * @method POST\n * @path /cfg/dashboard/api/commands/execute/\n */\nexport function useCreateDashboardApiCommandsExecuteCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: CommandExecuteRequestRequest, client?: API): Promise<any> => {\n const result = await Fetchers.createDashboardApiCommandsExecuteCreate(data, client)\n // Revalidate related queries\n mutate('cfg-dashboard-api-commands-execute')\n return result\n }\n}\n\n\n/**\n * Get commands summary\n *\n * @method GET\n * @path /cfg/dashboard/api/commands/summary/\n */\nexport function useDashboardApiCommandsSummaryRetrieve(client?: API): ReturnType<typeof useSWR<CommandsSummary>> {\n return useSWR<CommandsSummary>(\n 'cfg-dashboard-api-commands-summary',\n () => Fetchers.getDashboardApiCommandsSummaryRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Config\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_config'\nimport type { API } from '../../index'\nimport type { ConfigData } from '../schemas/ConfigData.schema'\n\n/**\n * Get configuration data\n *\n * @method GET\n * @path /cfg/dashboard/api/config/config/\n */\nexport function useDashboardApiConfigConfigRetrieve(client?: API): ReturnType<typeof useSWR<ConfigData>> {\n return useSWR<ConfigData>(\n 'cfg-dashboard-api-config-config',\n () => Fetchers.getDashboardApiConfigConfigRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Overview\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_overview'\nimport type { API } from '../../index'\nimport type { DashboardOverview } from '../schemas/DashboardOverview.schema'\n\n/**\n * Get dashboard overview\n *\n * @method GET\n * @path /cfg/dashboard/api/overview/overview/\n */\nexport function useDashboardApiOverviewOverviewRetrieve(client?: API): ReturnType<typeof useSWR<DashboardOverview>> {\n return useSWR<DashboardOverview>(\n 'cfg-dashboard-api-overview-overview',\n () => Fetchers.getDashboardApiOverviewOverviewRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - Statistics\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_statistics'\nimport type { API } from '../../index'\nimport type { UserStatistics } from '../schemas/UserStatistics.schema'\n\n/**\n * Get application statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/apps/\n */\nexport function useDashboardApiStatisticsAppsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-statistics-apps',\n () => Fetchers.getDashboardApiStatisticsAppsList(client)\n )\n}\n\n\n/**\n * Get statistics cards\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/cards/\n */\nexport function useDashboardApiStatisticsCardsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-dashboard-api-statistics-cards',\n () => Fetchers.getDashboardApiStatisticsCardsList(client)\n )\n}\n\n\n/**\n * Get user statistics\n *\n * @method GET\n * @path /cfg/dashboard/api/statistics/users/\n */\nexport function useDashboardApiStatisticsUsersRetrieve(client?: API): ReturnType<typeof useSWR<UserStatistics>> {\n return useSWR<UserStatistics>(\n 'cfg-dashboard-api-statistics-user',\n () => Fetchers.getDashboardApiStatisticsUsersRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Dashboard - System\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_system'\nimport type { API } from '../../index'\nimport type { SystemHealth } from '../schemas/SystemHealth.schema'\nimport type { SystemMetrics } from '../schemas/SystemMetrics.schema'\n\n/**\n * Get system health status\n *\n * @method GET\n * @path /cfg/dashboard/api/system/health/\n */\nexport function useDashboardApiSystemHealthRetrieve(client?: API): ReturnType<typeof useSWR<SystemHealth>> {\n return useSWR<SystemHealth>(\n 'cfg-dashboard-api-system-health',\n () => Fetchers.getDashboardApiSystemHealthRetrieve(client)\n )\n}\n\n\n/**\n * Get system metrics\n *\n * @method GET\n * @path /cfg/dashboard/api/system/metrics/\n */\nexport function useDashboardApiSystemMetricsRetrieve(client?: API): ReturnType<typeof useSWR<SystemMetrics>> {\n return useSWR<SystemMetrics>(\n 'cfg-dashboard-api-system-metric',\n () => Fetchers.getDashboardApiSystemMetricsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Oauth\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts__oauth'\nimport type { API } from '../../index'\nimport type { OAuthAuthorizeRequestRequest } from '../schemas/OAuthAuthorizeRequestRequest.schema'\nimport type { OAuthAuthorizeResponse } from '../schemas/OAuthAuthorizeResponse.schema'\nimport type { OAuthCallbackRequestRequest } from '../schemas/OAuthCallbackRequestRequest.schema'\nimport type { OAuthDisconnectRequestRequest } from '../schemas/OAuthDisconnectRequestRequest.schema'\nimport type { OAuthProvidersResponse } from '../schemas/OAuthProvidersResponse.schema'\nimport type { OAuthTokenResponse } from '../schemas/OAuthTokenResponse.schema'\n\n/**\n * List OAuth connections\n *\n * @method GET\n * @path /cfg/accounts/oauth/connections/\n */\nexport function useAccountsOauthConnectionsList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-accounts-oauth-connections',\n () => Fetchers.getAccountsOauthConnectionsList(client)\n )\n}\n\n\n/**\n * Disconnect OAuth provider\n *\n * @method POST\n * @path /cfg/accounts/oauth/disconnect/\n */\nexport function useCreateAccountsOauthDisconnectCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OAuthDisconnectRequestRequest, client?: API): Promise<any> => {\n const result = await Fetchers.createAccountsOauthDisconnectCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-oauth-disconnect')\n return result\n }\n}\n\n\n/**\n * Start GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/authorize/\n */\nexport function useCreateAccountsOauthGithubAuthorizeCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OAuthAuthorizeRequestRequest, client?: API): Promise<OAuthAuthorizeResponse> => {\n const result = await Fetchers.createAccountsOauthGithubAuthorizeCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-oauth-github-authorize')\n return result\n }\n}\n\n\n/**\n * Complete GitHub OAuth\n *\n * @method POST\n * @path /cfg/accounts/oauth/github/callback/\n */\nexport function useCreateAccountsOauthGithubCallbackCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OAuthCallbackRequestRequest, client?: API): Promise<OAuthTokenResponse> => {\n const result = await Fetchers.createAccountsOauthGithubCallbackCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-oauth-github-callback')\n return result\n }\n}\n\n\n/**\n * List OAuth providers\n *\n * @method GET\n * @path /cfg/accounts/oauth/providers/\n */\nexport function useAccountsOauthProvidersRetrieve(client?: API): ReturnType<typeof useSWR<OAuthProvidersResponse>> {\n return useSWR<OAuthProvidersResponse>(\n 'cfg-accounts-oauth-provider',\n () => Fetchers.getAccountsOauthProvidersRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Jobs\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_jobs'\nimport type { API } from '../../index'\nimport type { JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport type { JobDetail } from '../schemas/JobDetail.schema'\nimport type { JobListRequest } from '../schemas/JobListRequest.schema'\nimport type { PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\n\n/**\n * List all jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/\n */\nexport function useRqJobsList(params?: { page?: number; page_size?: number; queue?: string; status?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs', params] : 'cfg-rq-jobs',\n () => Fetchers.getRqJobsList(params, client)\n )\n}\n\n\n/**\n * Get job details\n *\n * @method GET\n * @path /cfg/rq/jobs/{id}/\n */\nexport function useRqJobsRetrieve(id: string, client?: API): ReturnType<typeof useSWR<JobDetail>> {\n return useSWR<JobDetail>(\n ['cfg-rq-job', id],\n () => Fetchers.getRqJobsRetrieve(id, client)\n )\n}\n\n\n/**\n * Delete job\n *\n * @method DELETE\n * @path /cfg/rq/jobs/{id}/\n */\nexport function useDeleteRqJobsDestroy() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.deleteRqJobsDestroy(id, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs')\n mutate('cfg-rq-job')\n return result\n }\n}\n\n\n/**\n * Cancel job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/cancel/\n */\nexport function useCreateRqJobsCancelCreate() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, data: JobListRequest, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsCancelCreate(id, data, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-cancel')\n return result\n }\n}\n\n\n/**\n * Requeue job\n *\n * @method POST\n * @path /cfg/rq/jobs/{id}/requeue/\n */\nexport function useCreateRqJobsRequeueCreate() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, data: JobListRequest, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRequeueCreate(id, data, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-requeue')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Monitoring\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_monitoring'\nimport type { API } from '../../index'\nimport type { RQConfig } from '../schemas/RQConfig.schema'\nimport type { RQHealthCheck } from '../schemas/RQHealthCheck.schema'\n\n/**\n * Get RQ configuration\n *\n * @method GET\n * @path /cfg/rq/monitor/config/\n */\nexport function useRqMonitorConfigRetrieve(client?: API): ReturnType<typeof useSWR<RQConfig>> {\n return useSWR<RQConfig>(\n 'cfg-rq-monitor-config',\n () => Fetchers.getRqMonitorConfigRetrieve(client)\n )\n}\n\n\n/**\n * Health check\n *\n * @method GET\n * @path /cfg/rq/monitor/health/\n */\nexport function useRqMonitorHealthRetrieve(client?: API): ReturnType<typeof useSWR<RQHealthCheck>> {\n return useSWR<RQHealthCheck>(\n 'cfg-rq-monitor-health',\n () => Fetchers.getRqMonitorHealthRetrieve(client)\n )\n}\n\n\n/**\n * Prometheus metrics\n *\n * @method GET\n * @path /cfg/rq/monitor/metrics/\n */\nexport function useRqMonitorMetricsRetrieve(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-rq-monitor-metric',\n () => Fetchers.getRqMonitorMetricsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Queues\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_queues'\nimport type { API } from '../../index'\nimport type { QueueDetail } from '../schemas/QueueDetail.schema'\n\n/**\n * List all queues\n *\n * @method GET\n * @path /cfg/rq/queues/\n */\nexport function useRqQueuesList(params?: { name?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-rq-queues', params] : 'cfg-rq-queues',\n () => Fetchers.getRqQueuesList(params, client)\n )\n}\n\n\n/**\n * Get queue details\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/\n */\nexport function useRqQueuesRetrieve(id: string, client?: API): ReturnType<typeof useSWR<QueueDetail>> {\n return useSWR<QueueDetail>(\n ['cfg-rq-queue', id],\n () => Fetchers.getRqQueuesRetrieve(id, client)\n )\n}\n\n\n/**\n * Empty queue\n *\n * @method POST\n * @path /cfg/rq/queues/{id}/empty/\n */\nexport function useCreateRqQueuesEmptyCreate() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, client?: API): Promise<any> => {\n const result = await Fetchers.createRqQueuesEmptyCreate(id, client)\n // Revalidate related queries\n mutate('cfg-rq-queues-empty')\n return result\n }\n}\n\n\n/**\n * Get queue jobs\n *\n * @method GET\n * @path /cfg/rq/queues/{id}/jobs/\n */\nexport function useRqQueuesJobsRetrieve(id: string, params?: { limit?: number; offset?: number }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n ['cfg-rq-queues-job', id],\n () => Fetchers.getRqQueuesJobsRetrieve(id, params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Registries\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_registries'\nimport type { API } from '../../index'\nimport type { JobActionResponse } from '../schemas/JobActionResponse.schema'\nimport type { JobListRequest } from '../schemas/JobListRequest.schema'\nimport type { PaginatedJobListList } from '../schemas/PaginatedJobListList.schema'\n\n/**\n * List deferred jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/deferred/\n */\nexport function useRqJobsRegistriesDeferredList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-deferred', params] : 'cfg-rq-jobs-registries-deferred',\n () => Fetchers.getRqJobsRegistriesDeferredList(params, client)\n )\n}\n\n\n/**\n * List failed jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/failed/\n */\nexport function useRqJobsRegistriesFailedList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-failed', params] : 'cfg-rq-jobs-registries-failed',\n () => Fetchers.getRqJobsRegistriesFailedList(params, client)\n )\n}\n\n\n/**\n * Clear failed jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/clear/\n */\nexport function useCreateRqJobsRegistriesFailedClearCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: JobListRequest, params: { queue: string }, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRegistriesFailedClearCreate(data, params, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-registries-failed-clear')\n return result\n }\n}\n\n\n/**\n * Requeue all failed jobs\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/failed/requeue-all/\n */\nexport function useCreateRqJobsRegistriesFailedRequeueAllCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: JobListRequest, params: { queue: string }, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRegistriesFailedRequeueAllCreate(data, params, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-registries-failed-requeue-all')\n return result\n }\n}\n\n\n/**\n * List finished jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/finished/\n */\nexport function useRqJobsRegistriesFinishedList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-finished', params] : 'cfg-rq-jobs-registries-finished',\n () => Fetchers.getRqJobsRegistriesFinishedList(params, client)\n )\n}\n\n\n/**\n * Clear finished jobs registry\n *\n * @method POST\n * @path /cfg/rq/jobs/registries/finished/clear/\n */\nexport function useCreateRqJobsRegistriesFinishedClearCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: JobListRequest, params: { queue: string }, client?: API): Promise<JobActionResponse> => {\n const result = await Fetchers.createRqJobsRegistriesFinishedClearCreate(data, params, client)\n // Revalidate related queries\n mutate('cfg-rq-jobs-registries-finished-clear')\n return result\n }\n}\n\n\n/**\n * List started jobs\n *\n * @method GET\n * @path /cfg/rq/jobs/registries/started/\n */\nexport function useRqJobsRegistriesStartedList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedJobListList>> {\n return useSWR<PaginatedJobListList>(\n params ? ['cfg-rq-jobs-registries-started', params] : 'cfg-rq-jobs-registries-started',\n () => Fetchers.getRqJobsRegistriesStartedList(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Schedules\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_schedules'\nimport type { API } from '../../index'\nimport type { PaginatedScheduledJobList } from '../schemas/PaginatedScheduledJobList.schema'\nimport type { ScheduleActionResponse } from '../schemas/ScheduleActionResponse.schema'\nimport type { ScheduleCreateRequest } from '../schemas/ScheduleCreateRequest.schema'\nimport type { ScheduledJob } from '../schemas/ScheduledJob.schema'\n\n/**\n * List scheduled jobs\n *\n * @method GET\n * @path /cfg/rq/schedules/\n */\nexport function useRqSchedulesList(params?: { page?: number; page_size?: number; queue?: string }, client?: API): ReturnType<typeof useSWR<PaginatedScheduledJobList>> {\n return useSWR<PaginatedScheduledJobList>(\n params ? ['cfg-rq-schedules', params] : 'cfg-rq-schedules',\n () => Fetchers.getRqSchedulesList(params, client)\n )\n}\n\n\n/**\n * Create scheduled job\n *\n * @method POST\n * @path /cfg/rq/schedules/\n */\nexport function useCreateRqSchedulesCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: ScheduleCreateRequest, client?: API): Promise<ScheduleActionResponse> => {\n const result = await Fetchers.createRqSchedulesCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-schedules')\n return result\n }\n}\n\n\n/**\n * Get scheduled job details\n *\n * @method GET\n * @path /cfg/rq/schedules/{id}/\n */\nexport function useRqSchedulesRetrieve(id: string, pk: string, params?: { queue?: string }, client?: API): ReturnType<typeof useSWR<ScheduledJob>> {\n return useSWR<ScheduledJob>(\n ['cfg-rq-schedule', id],\n () => Fetchers.getRqSchedulesRetrieve(id, pk, params, client)\n )\n}\n\n\n/**\n * Cancel scheduled job\n *\n * @method DELETE\n * @path /cfg/rq/schedules/{id}/\n */\nexport function useDeleteRqSchedulesDestroy() {\n const { mutate } = useSWRConfig()\n\n return async (id: string, pk: string, params?: { queue?: string }, client?: API): Promise<ScheduleActionResponse> => {\n const result = await Fetchers.deleteRqSchedulesDestroy(id, pk, params, client)\n // Revalidate related queries\n mutate('cfg-rq-schedules')\n mutate('cfg-rq-schedule')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Testing\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_testing'\nimport type { API } from '../../index'\nimport type { RunDemoRequestRequest } from '../schemas/RunDemoRequestRequest.schema'\nimport type { StressTestRequestRequest } from '../schemas/StressTestRequestRequest.schema'\nimport type { TestingActionResponse } from '../schemas/TestingActionResponse.schema'\n\n/**\n * List test scenarios\n *\n * @method GET\n * @path /cfg/rq/testing/\n */\nexport function useRqTestingList(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-rq-testing',\n () => Fetchers.getRqTestingList(client)\n )\n}\n\n\n/**\n * Cleanup test jobs\n *\n * @method DELETE\n * @path /cfg/rq/testing/cleanup/\n */\nexport function useDeleteRqTestingCleanupDestroy() {\n const { mutate } = useSWRConfig()\n\n return async (params?: { delete_demo_jobs_only?: boolean; queue?: string; registries?: string }, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.deleteRqTestingCleanupDestroy(params, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-cleanup')\n return result\n }\n}\n\n\n/**\n * Get test results\n *\n * @method GET\n * @path /cfg/rq/testing/results/\n */\nexport function useRqTestingResultsRetrieve(params?: { queue?: string; scenario?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-rq-testing-result', params] : 'cfg-rq-testing-result',\n () => Fetchers.getRqTestingResultsRetrieve(params, client)\n )\n}\n\n\n/**\n * Run demo task\n *\n * @method POST\n * @path /cfg/rq/testing/run-demo/\n */\nexport function useCreateRqTestingRunDemoCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: RunDemoRequestRequest, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.createRqTestingRunDemoCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-run-demo')\n return result\n }\n}\n\n\n/**\n * Schedule demo tasks\n *\n * @method POST\n * @path /cfg/rq/testing/schedule-demo/\n */\nexport function useCreateRqTestingScheduleDemoCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: any, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.createRqTestingScheduleDemoCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-schedule-demo')\n return result\n }\n}\n\n\n/**\n * Stress test\n *\n * @method POST\n * @path /cfg/rq/testing/stress-test/\n */\nexport function useCreateRqTestingStressTestCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: StressTestRequestRequest, client?: API): Promise<TestingActionResponse> => {\n const result = await Fetchers.createRqTestingStressTestCreate(data, client)\n // Revalidate related queries\n mutate('cfg-rq-testing-stress-test')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for RQ Workers\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__rq__rq_workers'\nimport type { API } from '../../index'\nimport type { WorkerStats } from '../schemas/WorkerStats.schema'\n\n/**\n * List all workers\n *\n * @method GET\n * @path /cfg/rq/workers/\n */\nexport function useRqWorkersList(params?: { queue?: string; state?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-rq-workers', params] : 'cfg-rq-workers',\n () => Fetchers.getRqWorkersList(params, client)\n )\n}\n\n\n/**\n * Get worker statistics\n *\n * @method GET\n * @path /cfg/rq/workers/stats/\n */\nexport function useRqWorkersStatsRetrieve(client?: API): ReturnType<typeof useSWR<WorkerStats>> {\n return useSWR<WorkerStats>(\n 'cfg-rq-workers-stat',\n () => Fetchers.getRqWorkersStatsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for User Profile\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts__user_profile'\nimport type { API } from '../../index'\nimport type { PatchedUserProfileUpdateRequest } from '../schemas/PatchedUserProfileUpdateRequest.schema'\nimport type { User } from '../schemas/User.schema'\nimport type { UserProfileUpdateRequest } from '../schemas/UserProfileUpdateRequest.schema'\n\n/**\n * Get current user profile\n *\n * @method GET\n * @path /cfg/accounts/profile/\n */\nexport function useAccountsProfileRetrieve(client?: API): ReturnType<typeof useSWR<User>> {\n return useSWR<User>(\n 'cfg-accounts-profile',\n () => Fetchers.getAccountsProfileRetrieve(client)\n )\n}\n\n\n/**\n * Upload user avatar\n *\n * @method POST\n * @path /cfg/accounts/profile/avatar/\n */\nexport function useCreateAccountsProfileAvatarCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: any, client?: API): Promise<User> => {\n const result = await Fetchers.createAccountsProfileAvatarCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-avatar')\n return result\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/partial/\n */\nexport function usePartialUpdateAccountsProfilePartialUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data: UserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.partialUpdateAccountsProfilePartialUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-partial')\n return result\n }\n}\n\n\n/**\n * Partial update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/partial/\n */\nexport function usePartialUpdateAccountsProfilePartialPartialUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data?: PatchedUserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.partialUpdateAccountsProfilePartialPartialUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-partial-partial')\n return result\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PUT\n * @path /cfg/accounts/profile/update/\n */\nexport function useUpdateAccountsProfileUpdateUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data: UserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.updateAccountsProfileUpdateUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile')\n return result\n }\n}\n\n\n/**\n * Update user profile\n *\n * @method PATCH\n * @path /cfg/accounts/profile/update/\n */\nexport function usePartialUpdateAccountsProfileUpdatePartialUpdate() {\n const { mutate } = useSWRConfig()\n\n return async (data?: PatchedUserProfileUpdateRequest, client?: API): Promise<User> => {\n const result = await Fetchers.partialUpdateAccountsProfileUpdatePartialUpdate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-profile-partial')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Accounts\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport { useSWRConfig } from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__accounts'\nimport type { API } from '../../index'\nimport type { OTPRequestRequest } from '../schemas/OTPRequestRequest.schema'\nimport type { OTPRequestResponse } from '../schemas/OTPRequestResponse.schema'\nimport type { OTPVerifyRequest } from '../schemas/OTPVerifyRequest.schema'\nimport type { OTPVerifyResponse } from '../schemas/OTPVerifyResponse.schema'\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/request/\n */\nexport function useCreateAccountsOtpRequestCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OTPRequestRequest, client?: API): Promise<OTPRequestResponse> => {\n const result = await Fetchers.createAccountsOtpRequestCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-otp-request')\n return result\n }\n}\n\n\n/**\n * API operation\n *\n * @method POST\n * @path /cfg/accounts/otp/verify/\n */\nexport function useCreateAccountsOtpVerifyCreate() {\n const { mutate } = useSWRConfig()\n\n return async (data: OTPVerifyRequest, client?: API): Promise<OTPVerifyResponse> => {\n const result = await Fetchers.createAccountsOtpVerifyCreate(data, client)\n // Revalidate related queries\n mutate('cfg-accounts-otp-verify')\n return result\n }\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Endpoints\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__endpoints'\nimport type { API } from '../../index'\nimport type { EndpointsStatus } from '../schemas/EndpointsStatus.schema'\nimport type { URLsList } from '../schemas/URLsList.schema'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/drf/\n */\nexport function useEndpointsDrfRetrieve(client?: API): ReturnType<typeof useSWR<EndpointsStatus>> {\n return useSWR<EndpointsStatus>(\n 'cfg-endpoints-drf',\n () => Fetchers.getEndpointsDrfRetrieve(client)\n )\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/\n */\nexport function useEndpointsUrlsRetrieve(client?: API): ReturnType<typeof useSWR<URLsList>> {\n return useSWR<URLsList>(\n 'cfg-endpoints-url',\n () => Fetchers.getEndpointsUrlsRetrieve(client)\n )\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/endpoints/urls/compact/\n */\nexport function useEndpointsUrlsCompactRetrieve(client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n 'cfg-endpoints-urls-compact',\n () => Fetchers.getEndpointsUrlsCompactRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Api Keys\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_api_keys'\nimport type { API } from '../../index'\nimport type { ApiKey } from '../schemas/ApiKey.schema'\nimport type { ApiKeyStats } from '../schemas/ApiKeyStats.schema'\nimport type { PaginatedApiKeyList } from '../schemas/PaginatedApiKeyList.schema'\n\n/**\n * List API keys\n *\n * @method GET\n * @path /cfg/grpc/api-keys/\n */\nexport function useGrpcApiKeysList(params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }, client?: API): ReturnType<typeof useSWR<PaginatedApiKeyList>> {\n return useSWR<PaginatedApiKeyList>(\n params ? ['cfg-grpc-api-keys', params] : 'cfg-grpc-api-keys',\n () => Fetchers.getGrpcApiKeysList(params, client)\n )\n}\n\n\n/**\n * Get API key details\n *\n * @method GET\n * @path /cfg/grpc/api-keys/{id}/\n */\nexport function useGrpcApiKeysRetrieve(id: number, client?: API): ReturnType<typeof useSWR<ApiKey>> {\n return useSWR<ApiKey>(\n ['cfg-grpc-api-key', id],\n () => Fetchers.getGrpcApiKeysRetrieve(id, client)\n )\n}\n\n\n/**\n * Get API keys statistics\n *\n * @method GET\n * @path /cfg/grpc/api-keys/stats/\n */\nexport function useGrpcApiKeysStatsRetrieve(client?: API): ReturnType<typeof useSWR<ApiKeyStats>> {\n return useSWR<ApiKeyStats>(\n 'cfg-grpc-api-keys-stat',\n () => Fetchers.getGrpcApiKeysStatsRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Configuration\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_configuration'\nimport type { API } from '../../index'\nimport type { GRPCConfig } from '../schemas/GRPCConfig.schema'\nimport type { GRPCServerInfo } from '../schemas/GRPCServerInfo.schema'\n\n/**\n * Get gRPC configuration\n *\n * @method GET\n * @path /cfg/grpc/config/config/\n */\nexport function useGrpcConfigConfigRetrieve(client?: API): ReturnType<typeof useSWR<GRPCConfig>> {\n return useSWR<GRPCConfig>(\n 'cfg-grpc-config-config',\n () => Fetchers.getGrpcConfigConfigRetrieve(client)\n )\n}\n\n\n/**\n * Get server information\n *\n * @method GET\n * @path /cfg/grpc/config/server-info/\n */\nexport function useGrpcConfigServerInfoRetrieve(client?: API): ReturnType<typeof useSWR<GRPCServerInfo>> {\n return useSWR<GRPCServerInfo>(\n 'cfg-grpc-config-server-info',\n () => Fetchers.getGrpcConfigServerInfoRetrieve(client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Monitoring\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_monitoring'\nimport type { API } from '../../index'\nimport type { GRPCHealthCheck } from '../schemas/GRPCHealthCheck.schema'\nimport type { GRPCOverviewStats } from '../schemas/GRPCOverviewStats.schema'\nimport type { MethodList } from '../schemas/MethodList.schema'\nimport type { PaginatedRecentRequestList } from '../schemas/PaginatedRecentRequestList.schema'\n\n/**\n * Get gRPC health status\n *\n * @method GET\n * @path /cfg/grpc/monitor/health/\n */\nexport function useGrpcMonitorHealthRetrieve(client?: API): ReturnType<typeof useSWR<GRPCHealthCheck>> {\n return useSWR<GRPCHealthCheck>(\n 'cfg-grpc-monitor-health',\n () => Fetchers.getGrpcMonitorHealthRetrieve(client)\n )\n}\n\n\n/**\n * Get method statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/methods/\n */\nexport function useGrpcMonitorMethodsRetrieve(params?: { hours?: number; service?: string }, client?: API): ReturnType<typeof useSWR<MethodList>> {\n return useSWR<MethodList>(\n params ? ['cfg-grpc-monitor-method', params] : 'cfg-grpc-monitor-method',\n () => Fetchers.getGrpcMonitorMethodsRetrieve(params, client)\n )\n}\n\n\n/**\n * Get overview statistics\n *\n * @method GET\n * @path /cfg/grpc/monitor/overview/\n */\nexport function useGrpcMonitorOverviewRetrieve(params?: { hours?: number }, client?: API): ReturnType<typeof useSWR<GRPCOverviewStats>> {\n return useSWR<GRPCOverviewStats>(\n params ? ['cfg-grpc-monitor-overview', params] : 'cfg-grpc-monitor-overview',\n () => Fetchers.getGrpcMonitorOverviewRetrieve(params, client)\n )\n}\n\n\n/**\n * Get recent requests\n *\n * @method GET\n * @path /cfg/grpc/monitor/requests/\n */\nexport function useGrpcMonitorRequestsList(params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }, client?: API): ReturnType<typeof useSWR<PaginatedRecentRequestList>> {\n return useSWR<PaginatedRecentRequestList>(\n params ? ['cfg-grpc-monitor-requests', params] : 'cfg-grpc-monitor-requests',\n () => Fetchers.getGrpcMonitorRequestsList(params, client)\n )\n}\n\n\n/**\n * Get request timeline\n *\n * @method GET\n * @path /cfg/grpc/monitor/timeline/\n */\nexport function useGrpcMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }, client?: API): ReturnType<typeof useSWR<any>> {\n return useSWR<any>(\n params ? ['cfg-grpc-monitor-timeline', params] : 'cfg-grpc-monitor-timeline',\n () => Fetchers.getGrpcMonitorTimelineRetrieve(params, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Grpc Services\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_services'\nimport type { API } from '../../index'\nimport type { PaginatedServiceSummaryList } from '../schemas/PaginatedServiceSummaryList.schema'\nimport type { ServiceDetail } from '../schemas/ServiceDetail.schema'\nimport type { ServiceMethods } from '../schemas/ServiceMethods.schema'\n\n/**\n * List all services\n *\n * @method GET\n * @path /cfg/grpc/services/\n */\nexport function useGrpcServicesList(params?: { hours?: number; page?: number; page_size?: number }, client?: API): ReturnType<typeof useSWR<PaginatedServiceSummaryList>> {\n return useSWR<PaginatedServiceSummaryList>(\n params ? ['cfg-grpc-services', params] : 'cfg-grpc-services',\n () => Fetchers.getGrpcServicesList(params, client)\n )\n}\n\n\n/**\n * Get service details\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/\n */\nexport function useGrpcServicesRetrieve(id: string, pk: string, client?: API): ReturnType<typeof useSWR<ServiceDetail>> {\n return useSWR<ServiceDetail>(\n ['cfg-grpc-service', id],\n () => Fetchers.getGrpcServicesRetrieve(id, pk, client)\n )\n}\n\n\n/**\n * Get service methods\n *\n * @method GET\n * @path /cfg/grpc/services/{id}/methods/\n */\nexport function useGrpcServicesMethodsRetrieve(id: string, pk: string, client?: API): ReturnType<typeof useSWR<ServiceMethods>> {\n return useSWR<ServiceMethods>(\n ['cfg-grpc-services-method', id],\n () => Fetchers.getGrpcServicesMethodsRetrieve(id, pk, client)\n )\n}\n\n\n","'use client';\n\n/**\n * SWR Hooks for Health\n *\n * React hooks powered by SWR for data fetching with automatic caching,\n * revalidation, and optimistic updates.\n *\n * Usage:\n * ```typescript\n * // Query hooks (GET)\n * const { data, error, isLoading } = useUsers({ page: 1 })\n *\n * // Mutation hooks (POST/PUT/PATCH/DELETE)\n * const createUser = useCreateUser()\n * await createUser({ name: 'John', email: 'john@example.com' })\n * ```\n */\nimport useSWR from 'swr'\nimport * as Fetchers from '../fetchers/cfg_accounts__health'\nimport type { API } from '../../index'\nimport type { DRFHealthCheck } from '../schemas/DRFHealthCheck.schema'\nimport type { QuickHealth } from '../schemas/QuickHealth.schema'\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/\n */\nexport function useHealthDrfRetrieve(client?: API): ReturnType<typeof useSWR<DRFHealthCheck>> {\n return useSWR<DRFHealthCheck>(\n 'cfg-health-drf',\n () => Fetchers.getHealthDrfRetrieve(client)\n )\n}\n\n\n/**\n * API operation\n *\n * @method GET\n * @path /cfg/health/drf/quick/\n */\nexport function useHealthDrfQuickRetrieve(client?: API): ReturnType<typeof useSWR<QuickHealth>> {\n return useSWR<QuickHealth>(\n 'cfg-health-drf-quick',\n () => Fetchers.getHealthDrfQuickRetrieve(client)\n )\n}\n\n\n","/**\n * Analytics stub for @djangocfg/api/auth\n * Provides minimal analytics interface without external dependencies\n *\n * If you need full analytics, install @djangocfg/layouts and use its Analytics module\n */\n\nexport enum AnalyticsEvent {\n AUTH_OTP_REQUEST = 'auth_otp_request',\n AUTH_LOGIN_SUCCESS = 'auth_login_success',\n AUTH_OTP_VERIFY_FAIL = 'auth_otp_verify_fail',\n AUTH_SESSION_EXPIRED = 'auth_session_expired',\n AUTH_TOKEN_REFRESH = 'auth_token_refresh',\n AUTH_TOKEN_REFRESH_FAIL = 'auth_token_refresh_fail',\n AUTH_LOGOUT = 'auth_logout',\n AUTH_OAUTH_START = 'auth_oauth_start',\n AUTH_OAUTH_FAIL = 'auth_oauth_fail',\n}\n\nexport enum AnalyticsCategory {\n AUTH = 'auth',\n}\n\nexport type AnalyticsEventType = `${AnalyticsEvent}`;\nexport type AnalyticsCategoryType = `${AnalyticsCategory}`;\n\ninterface AnalyticsEventParams {\n category?: AnalyticsCategoryType;\n label?: string;\n value?: number;\n [key: string]: any;\n}\n\n/**\n * Minimal analytics implementation\n * Logs to console in development, silent in production\n */\nexport const Analytics = {\n /**\n * Track an analytics event\n */\n event(eventName: AnalyticsEventType, params?: AnalyticsEventParams) {\n if (process.env.NODE_ENV === 'development') {\n console.log('[Analytics]', eventName, params);\n }\n\n // You can extend this to send to your analytics service\n // Example: window.gtag?.('event', eventName, params);\n },\n\n /**\n * Set user ID for tracking\n */\n setUser(userId: string) {\n if (process.env.NODE_ENV === 'development') {\n console.log('[Analytics] Set user:', userId);\n }\n\n // You can extend this to send to your analytics service\n // Example: window.gtag?.('set', { user_id: userId });\n },\n};\n","'use client';\n\nimport { useState } from 'react';\nimport { authLogger } from '../utils/logger';\n\n/**\n * Simple sessionStorage hook with better error handling\n * @param key - Storage key\n * @param initialValue - Default value if key doesn't exist\n * @returns [value, setValue, removeValue] - Current value, setter function, and remove function\n */\nexport function useSessionStorage<T>(key: string, initialValue: T) {\n // Get initial value from sessionStorage or use provided initialValue\n const [storedValue, setStoredValue] = useState<T>(() => {\n if (typeof window === 'undefined') {\n return initialValue;\n }\n\n try {\n const item = window.sessionStorage.getItem(key);\n return item ? JSON.parse(item) : initialValue;\n } catch (error) {\n authLogger.error(`Error reading sessionStorage key \"${key}\":`, error);\n return initialValue;\n }\n });\n\n // Check data size and limit\n const checkDataSize = (data: any): boolean => {\n try {\n const jsonString = JSON.stringify(data);\n const sizeInBytes = new Blob([jsonString]).size;\n const sizeInKB = sizeInBytes / 1024;\n \n // Limit to 1MB per item\n if (sizeInKB > 1024) {\n authLogger.warn(`Data size (${sizeInKB.toFixed(2)}KB) exceeds 1MB limit for key \"${key}\"`);\n return false;\n }\n\n return true;\n } catch (error) {\n authLogger.error(`Error checking data size for key \"${key}\":`, error);\n return false;\n }\n };\n\n // Clear old data when sessionStorage is full\n const clearOldData = () => {\n try {\n const keys = Object.keys(sessionStorage).filter(key => key && typeof key === 'string');\n // Remove oldest items if we have more than 50 items\n if (keys.length > 50) {\n const itemsToRemove = Math.ceil(keys.length * 0.2);\n for (let i = 0; i < itemsToRemove; i++) {\n try {\n const key = keys[i];\n if (key) {\n sessionStorage.removeItem(key);\n sessionStorage.removeItem(`${key}_timestamp`);\n }\n } catch {\n // Ignore errors when removing items\n }\n }\n }\n } catch (error) {\n authLogger.error('Error clearing old sessionStorage data:', error);\n }\n };\n\n // Force clear all data if quota is exceeded\n const forceClearAll = () => {\n try {\n const keys = Object.keys(sessionStorage);\n for (const key of keys) {\n try {\n sessionStorage.removeItem(key);\n } catch {\n // Ignore errors when removing items\n }\n }\n } catch (error) {\n authLogger.error('Error force clearing sessionStorage:', error);\n }\n };\n\n // Update sessionStorage when value changes\n const setValue = (value: T | ((val: T) => T)) => {\n try {\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n \n // Check data size before attempting to save\n if (!checkDataSize(valueToStore)) {\n authLogger.warn(`Data size too large for key \"${key}\", removing key`);\n // Remove the key if data is too large\n try {\n window.sessionStorage.removeItem(key);\n window.sessionStorage.removeItem(`${key}_timestamp`);\n } catch {\n // Ignore errors when removing\n }\n // Still update the state\n setStoredValue(valueToStore);\n return;\n }\n \n setStoredValue(valueToStore);\n\n if (typeof window !== 'undefined') {\n // Try to set the value\n try {\n window.sessionStorage.setItem(key, JSON.stringify(valueToStore));\n // Add timestamp for cleanup\n window.sessionStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (storageError: any) {\n // If quota exceeded, clear old data and try again\n if (storageError.name === 'QuotaExceededError' ||\n storageError.code === 22 ||\n storageError.message?.includes('quota')) {\n authLogger.warn('sessionStorage quota exceeded, clearing old data...');\n clearOldData();\n \n // Try again after clearing\n try {\n window.sessionStorage.setItem(key, JSON.stringify(valueToStore));\n window.sessionStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (retryError) {\n authLogger.error(`Failed to set sessionStorage key \"${key}\" after clearing old data:`, retryError);\n // If still fails, force clear all and try one more time\n try {\n forceClearAll();\n window.sessionStorage.setItem(key, JSON.stringify(valueToStore));\n window.sessionStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (finalError) {\n authLogger.error(`Failed to set sessionStorage key \"${key}\" after force clearing:`, finalError);\n // If still fails, just update the state without sessionStorage\n setStoredValue(valueToStore);\n }\n }\n } else {\n throw storageError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error setting sessionStorage key \"${key}\":`, error);\n // Still update the state even if sessionStorage fails\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n setStoredValue(valueToStore);\n }\n };\n\n // Remove value from sessionStorage\n const removeValue = () => {\n try {\n setStoredValue(initialValue);\n if (typeof window !== 'undefined') {\n try {\n window.sessionStorage.removeItem(key);\n window.sessionStorage.removeItem(`${key}_timestamp`);\n } catch (removeError: any) {\n // If removal fails due to quota, try to clear some data first\n if (removeError.name === 'QuotaExceededError' ||\n removeError.code === 22 ||\n removeError.message?.includes('quota')) {\n authLogger.warn('sessionStorage quota exceeded during removal, clearing old data...');\n clearOldData();\n \n try {\n window.sessionStorage.removeItem(key);\n window.sessionStorage.removeItem(`${key}_timestamp`);\n } catch (retryError) {\n authLogger.error(`Failed to remove sessionStorage key \"${key}\" after clearing:`, retryError);\n // If still fails, force clear all\n forceClearAll();\n }\n } else {\n throw removeError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error removing sessionStorage key \"${key}\":`, error);\n }\n };\n\n return [storedValue, setValue, removeValue] as const;\n}\n","import { useSessionStorage } from './useSessionStorage';\n\nconst AUTH_REDIRECT_KEY = 'auth_redirect_url';\n\nexport interface AuthRedirectOptions {\n fallbackUrl?: string;\n clearOnUse?: boolean;\n}\n\nexport const useAuthRedirectManager = (options: AuthRedirectOptions = {}) => {\n const { fallbackUrl = '/dashboard', clearOnUse = true } = options;\n const [redirectUrl, setRedirectUrl, removeRedirectUrl] = useSessionStorage<string>(AUTH_REDIRECT_KEY, '');\n\n const setRedirect = (url: string) => {\n setRedirectUrl(url);\n };\n\n const getRedirect = () => {\n return redirectUrl;\n };\n\n const clearRedirect = () => {\n removeRedirectUrl();\n };\n\n const hasRedirect = () => {\n return redirectUrl.length > 0;\n };\n\n const getFinalRedirectUrl = () => {\n return redirectUrl || fallbackUrl;\n };\n\n const useAndClearRedirect = () => {\n const finalUrl = getFinalRedirectUrl();\n if (clearOnUse) {\n clearRedirect();\n }\n return finalUrl;\n };\n\n return {\n redirectUrl,\n setRedirect,\n getRedirect,\n clearRedirect,\n hasRedirect,\n getFinalRedirectUrl,\n useAndClearRedirect\n };\n}; ","\"use client\"\n\nimport { useEffect } from 'react';\n\nimport { useAuth } from '../context';\nimport { useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\n\ninterface UseAuthGuardOptions {\n redirectTo?: string;\n requireAuth?: boolean;\n}\n\nexport const useAuthGuard = (options: UseAuthGuardOptions = {}) => {\n const { redirectTo = '/auth', requireAuth = true } = options;\n const { isAuthenticated, isLoading } = useAuth();\n const router = useCfgRouter();\n\n useEffect(() => {\n if (!isLoading && requireAuth && !isAuthenticated) {\n router.push(redirectTo);\n }\n }, [isAuthenticated, isLoading, router, redirectTo, requireAuth]);\n\n return { isAuthenticated, isLoading };\n}; ","'use client';\n\nimport { useEffect, useState } from 'react';\nimport { authLogger } from '../utils/logger';\n\n/**\n * Simple localStorage hook with better error handling\n * @param key - Storage key\n * @param initialValue - Default value if key doesn't exist\n * @returns [value, setValue, removeValue] - Current value, setter function, and remove function\n */\nexport function useLocalStorage<T>(key: string, initialValue: T) {\n // Get initial value from localStorage or use provided initialValue\n const [storedValue, setStoredValue] = useState<T>(() => {\n if (typeof window === 'undefined') {\n return initialValue;\n }\n\n try {\n const item = window.localStorage.getItem(key);\n if (item === null) {\n return initialValue;\n }\n \n // Try to parse as JSON first, fallback to string\n try {\n return JSON.parse(item);\n } catch {\n // If JSON.parse fails, return as string\n return item as T;\n }\n } catch (error) {\n authLogger.error(`Error reading localStorage key \"${key}\":`, error);\n return initialValue;\n }\n });\n\n // Check data size and limit\n const checkDataSize = (data: any): boolean => {\n try {\n const jsonString = JSON.stringify(data);\n const sizeInBytes = new Blob([jsonString]).size;\n const sizeInKB = sizeInBytes / 1024;\n \n // Limit to 1MB per item\n if (sizeInKB > 1024) {\n authLogger.warn(`Data size (${sizeInKB.toFixed(2)}KB) exceeds 1MB limit for key \"${key}\"`);\n return false;\n }\n\n return true;\n } catch (error) {\n authLogger.error(`Error checking data size for key \"${key}\":`, error);\n return false;\n }\n };\n\n // Clear old data when localStorage is full\n const clearOldData = () => {\n try {\n const keys = Object.keys(localStorage).filter(key => key && typeof key === 'string');\n // Remove oldest items if we have more than 50 items\n if (keys.length > 50) {\n const itemsToRemove = Math.ceil(keys.length * 0.2);\n for (let i = 0; i < itemsToRemove; i++) {\n try {\n const key = keys[i];\n if (key) {\n localStorage.removeItem(key);\n localStorage.removeItem(`${key}_timestamp`);\n }\n } catch {\n // Ignore errors when removing items\n }\n }\n }\n } catch (error) {\n authLogger.error('Error clearing old localStorage data:', error);\n }\n };\n\n // Force clear all data if quota is exceeded\n const forceClearAll = () => {\n try {\n const keys = Object.keys(localStorage);\n for (const key of keys) {\n try {\n localStorage.removeItem(key);\n } catch {\n // Ignore errors when removing items\n }\n }\n } catch (error) {\n authLogger.error('Error force clearing localStorage:', error);\n }\n };\n\n // Update localStorage when value changes\n const setValue = (value: T | ((val: T) => T)) => {\n try {\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n \n // Check data size before attempting to save\n if (!checkDataSize(valueToStore)) {\n authLogger.warn(`Data size too large for key \"${key}\", removing key`);\n // Remove the key if data is too large\n try {\n window.localStorage.removeItem(key);\n window.localStorage.removeItem(`${key}_timestamp`);\n } catch {\n // Ignore errors when removing\n }\n // Still update the state\n setStoredValue(valueToStore);\n return;\n }\n \n setStoredValue(valueToStore);\n\n if (typeof window !== 'undefined') {\n // Try to set the value\n try {\n // For strings, store directly without JSON.stringify\n if (typeof valueToStore === 'string') {\n window.localStorage.setItem(key, valueToStore);\n } else {\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\n }\n // Add timestamp for cleanup\n window.localStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (storageError: any) {\n // If quota exceeded, clear old data and try again\n if (storageError.name === 'QuotaExceededError' ||\n storageError.code === 22 ||\n storageError.message?.includes('quota')) {\n authLogger.warn('localStorage quota exceeded, clearing old data...');\n clearOldData();\n \n // Try again after clearing\n try {\n // For strings, store directly without JSON.stringify\n if (typeof valueToStore === 'string') {\n window.localStorage.setItem(key, valueToStore);\n } else {\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\n }\n window.localStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (retryError) {\n authLogger.error(`Failed to set localStorage key \"${key}\" after clearing old data:`, retryError);\n // If still fails, force clear all and try one more time\n try {\n forceClearAll();\n // For strings, store directly without JSON.stringify\n if (typeof valueToStore === 'string') {\n window.localStorage.setItem(key, valueToStore);\n } else {\n window.localStorage.setItem(key, JSON.stringify(valueToStore));\n }\n window.localStorage.setItem(`${key}_timestamp`, Date.now().toString());\n } catch (finalError) {\n authLogger.error(`Failed to set localStorage key \"${key}\" after force clearing:`, finalError);\n // If still fails, just update the state without localStorage\n setStoredValue(valueToStore);\n }\n }\n } else {\n throw storageError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error setting localStorage key \"${key}\":`, error);\n // Still update the state even if localStorage fails\n const valueToStore = value instanceof Function ? value(storedValue) : value;\n setStoredValue(valueToStore);\n }\n };\n\n // Remove value from localStorage\n const removeValue = () => {\n try {\n setStoredValue(initialValue);\n if (typeof window !== 'undefined') {\n try {\n window.localStorage.removeItem(key);\n window.localStorage.removeItem(`${key}_timestamp`);\n } catch (removeError: any) {\n // If removal fails due to quota, try to clear some data first\n if (removeError.name === 'QuotaExceededError' ||\n removeError.code === 22 ||\n removeError.message?.includes('quota')) {\n authLogger.warn('localStorage quota exceeded during removal, clearing old data...');\n clearOldData();\n \n try {\n window.localStorage.removeItem(key);\n window.localStorage.removeItem(`${key}_timestamp`);\n } catch (retryError) {\n authLogger.error(`Failed to remove localStorage key \"${key}\" after clearing:`, retryError);\n // If still fails, force clear all\n forceClearAll();\n }\n } else {\n throw removeError;\n }\n }\n }\n } catch (error) {\n authLogger.error(`Error removing localStorage key \"${key}\":`, error);\n }\n };\n\n return [storedValue, setValue, removeValue] as const;\n}\n","\"use client\"\n\nimport { useCallback, useEffect, useState } from 'react';\n\nimport { useAuth } from '../context';\nimport { useAutoAuth } from './useAutoAuth';\nimport { useLocalStorage } from './useLocalStorage';\nimport { authLogger } from '../utils/logger';\n\nexport interface AuthFormState {\n identifier: string; // Email or phone number\n channel: 'email' | 'phone';\n otp: string;\n isLoading: boolean;\n acceptedTerms: boolean;\n step: 'identifier' | 'otp';\n error: string;\n}\n\nexport interface AuthFormHandlers {\n setIdentifier: (identifier: string) => void;\n setChannel: (channel: 'email' | 'phone') => void;\n setOtp: (otp: string) => void;\n setAcceptedTerms: (accepted: boolean) => void;\n setError: (error: string) => void;\n clearError: () => void;\n handleIdentifierSubmit: (e: React.FormEvent) => Promise<void>;\n handleOTPSubmit: (e: React.FormEvent) => Promise<void>;\n handleResendOTP: () => Promise<void>;\n handleBackToIdentifier: () => void;\n forceOTPStep: () => void;\n // Utility methods\n detectChannelFromIdentifier: (identifier: string) => 'email' | 'phone' | null;\n validateIdentifier: (identifier: string, channel?: 'email' | 'phone') => boolean;\n}\n\nexport interface UseAuthFormOptions {\n onIdentifierSuccess?: (identifier: string, channel: 'email' | 'phone') => void;\n onOTPSuccess?: () => void;\n onError?: (message: string) => void;\n sourceUrl: string;\n}\n\nexport const useAuthForm = (options: UseAuthFormOptions): AuthFormState & AuthFormHandlers => {\n const { onIdentifierSuccess, onOTPSuccess, onError, sourceUrl } = options;\n \n // Form state\n const [identifier, setIdentifier] = useState('');\n const [channel, setChannel] = useState<'email' | 'phone'>('email');\n const [otp, setOtp] = useState('');\n const [isLoading, setIsLoading] = useState(false);\n const [acceptedTerms, setAcceptedTerms] = useState(false);\n const [step, setStep] = useState<'identifier' | 'otp'>('identifier');\n const [error, setError] = useState('');\n \n\n \n // Auth hooks\n const { requestOTP, verifyOTP, getSavedEmail, saveEmail, getSavedPhone, savePhone } = useAuth();\n const [savedTermsAccepted, setSavedTermsAccepted] = useLocalStorage('auth_terms_accepted', false);\n const [savedEmail, setSavedEmail] = useLocalStorage('auth_email', '');\n const [savedPhone, setSavedPhone] = useLocalStorage('auth_phone', '');\n\n // Utility functions\n const detectChannelFromIdentifier = useCallback((identifier: string): 'email' | 'phone' | null => {\n if (!identifier) return null;\n \n // Email detection\n if (identifier.includes('@')) {\n return 'email';\n }\n \n // Phone detection (starts with + and contains digits)\n if (identifier.startsWith('+') && /^\\+[1-9]\\d{6,14}$/.test(identifier)) {\n return 'phone';\n }\n \n return null;\n }, []);\n\n const validateIdentifier = useCallback((identifier: string, channelType?: 'email' | 'phone'): boolean => {\n if (!identifier) return false;\n \n const detectedChannel = channelType || detectChannelFromIdentifier(identifier);\n \n if (detectedChannel === 'email') {\n // Basic email validation\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(identifier);\n } else if (detectedChannel === 'phone') {\n // E.164 phone validation\n return /^\\+[1-9]\\d{6,14}$/.test(identifier);\n }\n \n return false;\n }, [detectChannelFromIdentifier]);\n\n // Load saved data on mount\n useEffect(() => {\n const authSavedEmail = getSavedEmail();\n const authSavedPhone = getSavedPhone();\n \n // Prioritize phone over email if both exist\n if (authSavedPhone) {\n setIdentifier(authSavedPhone);\n setChannel('phone');\n } else if (authSavedEmail) {\n setIdentifier(authSavedEmail);\n setChannel('email');\n }\n \n if (savedTermsAccepted) {\n setAcceptedTerms(savedTermsAccepted);\n }\n }, [getSavedEmail, getSavedPhone, savedTermsAccepted]);\n\n // Auto-detect channel when identifier changes\n useEffect(() => {\n if (identifier) {\n const detectedChannel = detectChannelFromIdentifier(identifier);\n if (detectedChannel && detectedChannel !== channel) {\n setChannel(detectedChannel);\n }\n }\n }, [identifier, channel, detectChannelFromIdentifier]);\n\n\n\n const clearError = useCallback(() => setError(''), []);\n\n const handleIdentifierSubmit = useCallback(async (e: React.FormEvent) => {\n e.preventDefault();\n \n if (!identifier) {\n const message = channel === 'phone' ? 'Please enter your phone number' : 'Please enter your email address';\n setError(message);\n onError?.(message);\n return;\n }\n\n // Validate identifier format\n if (!validateIdentifier(identifier, channel)) {\n const message = channel === 'phone' \n ? 'Please enter a valid phone number (e.g., +1234567890)' \n : 'Please enter a valid email address';\n setError(message);\n onError?.(message);\n return;\n }\n\n if (!acceptedTerms) {\n const message = 'Please accept the Terms of Service and Privacy Policy';\n setError(message);\n onError?.(message);\n return;\n }\n\n setIsLoading(true);\n clearError();\n \n try {\n const result = await requestOTP(identifier, channel, sourceUrl);\n \n if (result.success) {\n // Save identifier and terms acceptance on successful request, clear opposite channel\n if (channel === 'email') {\n saveEmail(identifier);\n setSavedPhone(''); // Clear phone storage\n } else if (channel === 'phone') {\n savePhone(identifier);\n setSavedEmail(''); // Clear email storage\n }\n setSavedTermsAccepted(true);\n setStep('otp');\n onIdentifierSuccess?.(identifier, channel);\n } else {\n setError(result.message);\n onError?.(result.message);\n }\n } catch (error) {\n const message = 'An unexpected error occurred';\n setError(message);\n onError?.(message);\n } finally {\n setIsLoading(false);\n }\n }, [identifier, channel, acceptedTerms, validateIdentifier, requestOTP, saveEmail, clearError, setSavedTermsAccepted, onIdentifierSuccess, onError, sourceUrl]);\n\n const handleOTPSubmit = useCallback(async (e: React.FormEvent) => {\n e.preventDefault();\n \n if (!otp || otp.length < 6) {\n const message = 'Please enter the 6-digit verification code';\n setError(message);\n onError?.(message);\n return;\n }\n\n setIsLoading(true);\n clearError();\n \n try {\n const result = await verifyOTP(identifier, otp, channel, sourceUrl);\n \n if (result.success) {\n // Save identifier on successful login, clear opposite channel\n if (channel === 'email') {\n setSavedEmail(identifier);\n setSavedPhone(''); // Clear phone storage\n } else if (channel === 'phone') {\n setSavedPhone(identifier);\n setSavedEmail(''); // Clear email storage\n }\n onOTPSuccess?.();\n } else {\n setError(result.message);\n onError?.(result.message);\n }\n } catch (error) {\n const message = 'An unexpected error occurred';\n setError(message);\n onError?.(message);\n } finally {\n setIsLoading(false);\n }\n }, [identifier, otp, channel, verifyOTP, clearError, setSavedEmail, onOTPSuccess, onError, sourceUrl]);\n\n const handleResendOTP = useCallback(async () => {\n setIsLoading(true);\n clearError();\n \n try {\n const result = await requestOTP(identifier, channel, sourceUrl);\n \n if (result.success) {\n // Save identifier and clear OTP input, clear opposite channel\n if (channel === 'email') {\n saveEmail(identifier);\n setSavedPhone(''); // Clear phone storage\n } else if (channel === 'phone') {\n savePhone(identifier);\n setSavedEmail(''); // Clear email storage\n }\n setOtp('');\n } else {\n setError(result.message);\n onError?.(result.message);\n }\n } catch (error) {\n const message = 'Failed to resend verification code';\n setError(message);\n onError?.(message);\n } finally {\n setIsLoading(false);\n }\n }, [identifier, channel, requestOTP, saveEmail, clearError, setOtp, onError, sourceUrl]);\n\n const handleBackToIdentifier = useCallback(() => {\n setStep('identifier');\n clearError();\n }, [clearError]);\n\n const forceOTPStep = useCallback(() => {\n setStep('otp');\n clearError();\n }, [clearError]);\n\n const handleAcceptedTermsChange = useCallback((checked: boolean) => {\n setAcceptedTerms(checked);\n setSavedTermsAccepted(checked);\n }, [setSavedTermsAccepted]);\n\n // Auto-detect OTP from URL query parameters\n useAutoAuth({\n onOTPDetected: (otp: string) => {\n authLogger.info('OTP detected, auto-submitting');\n \n // Get saved identifier from auth context\n const savedEmail = getSavedEmail();\n const savedPhone = getSavedPhone();\n \n // Prioritize phone over email if both exist\n if (savedPhone) {\n setIdentifier(savedPhone);\n setChannel('phone');\n } else if (savedEmail) {\n setIdentifier(savedEmail);\n setChannel('email');\n }\n \n // Set OTP and force OTP step\n setOtp(otp);\n setStep('otp');\n \n // Auto-submit after a short delay to ensure state is updated\n setTimeout(() => {\n const fakeEvent = { preventDefault: () => {} } as React.FormEvent;\n handleOTPSubmit(fakeEvent);\n }, 200);\n },\n cleanupUrl: true,\n });\n\n return {\n // Form state\n identifier,\n channel,\n otp,\n isLoading,\n acceptedTerms,\n step,\n error,\n \n // Form handlers\n setIdentifier,\n setChannel,\n setOtp,\n setAcceptedTerms: handleAcceptedTermsChange,\n setError,\n clearError,\n \n // Auth handlers\n handleIdentifierSubmit,\n handleOTPSubmit,\n handleResendOTP,\n handleBackToIdentifier,\n forceOTPStep,\n \n // Utility methods\n detectChannelFromIdentifier,\n validateIdentifier,\n };\n}; ","'use client';\n\nimport { useEffect } from 'react';\nimport { usePathname } from 'next/navigation';\nimport { useQueryParams, useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\nimport { authLogger } from '../utils/logger';\n\nexport interface UseAutoAuthOptions {\n onOTPDetected?: (otp: string) => void;\n cleanupUrl?: boolean;\n}\n\n/**\n * Hook for automatic authentication from URL query parameters\n * Detects OTP from URL and triggers callback\n */\nexport const useAutoAuth = (options: UseAutoAuthOptions = {}) => {\n const { onOTPDetected, cleanupUrl = true } = options;\n const queryParams = useQueryParams();\n const pathname = usePathname();\n const router = useCfgRouter();\n\n const isReady = !!pathname && !!queryParams.get('otp');\n const hasOTP = !!(queryParams.get('otp'));\n\n useEffect(() => {\n if (!isReady) return;\n\n const queryOtp = queryParams.get('otp') as string;\n\n // Handle OTP detection\n if (queryOtp && typeof queryOtp === 'string' && queryOtp.length === 6) {\n authLogger.info('OTP detected in URL:', queryOtp);\n onOTPDetected?.(queryOtp);\n }\n\n // Clean up URL to remove sensitive params for security\n if (cleanupUrl && queryOtp) {\n const cleanQuery = Object.fromEntries(queryParams.entries());\n delete cleanQuery.otp;\n router.push(`${pathname}?${new URLSearchParams(cleanQuery).toString()}`);\n }\n }, [pathname, queryParams, onOTPDetected, cleanupUrl, router]);\n\n return {\n isReady,\n hasOTP,\n };\n};\n","'use client';\n\nimport { useCallback, useState } from 'react';\n\nimport { api as apiAccounts } from '../../';\nimport { useCfgRouter } from '@djangocfg/ui-nextjs/hooks';\nimport { authLogger } from '../utils/logger';\nimport { Analytics, AnalyticsEvent, AnalyticsCategory } from '../utils/analytics';\n\nexport interface UseGithubAuthOptions {\n sourceUrl?: string;\n onSuccess?: (user: any, isNewUser: boolean) => void;\n onError?: (error: string) => void;\n redirectUrl?: string;\n}\n\nexport interface UseGithubAuthReturn {\n isLoading: boolean;\n error: string | null;\n startGithubAuth: () => Promise<void>;\n handleGithubCallback: (code: string, state: string) => Promise<void>;\n}\n\n/**\n * Hook for GitHub OAuth authentication flow.\n *\n * Usage:\n * 1. Call startGithubAuth() to redirect user to GitHub\n * 2. After GitHub redirects back, call handleGithubCallback(code, state)\n *\n * @example\n * ```tsx\n * const { isLoading, error, startGithubAuth } = useGithubAuth({\n * onSuccess: (user) => router.push('/dashboard'),\n * onError: (error) => console.error(error),\n * });\n *\n * <Button onClick={startGithubAuth} disabled={isLoading}>\n * Continue with GitHub\n * </Button>\n * ```\n */\nexport const useGithubAuth = (options: UseGithubAuthOptions = {}): UseGithubAuthReturn => {\n const { sourceUrl, onSuccess, onError, redirectUrl } = options;\n const router = useCfgRouter();\n\n const [isLoading, setIsLoading] = useState(false);\n const [error, setError] = useState<string | null>(null);\n\n /**\n * Start GitHub OAuth flow - redirects user to GitHub authorization page.\n */\n const startGithubAuth = useCallback(async () => {\n setIsLoading(true);\n setError(null);\n\n try {\n authLogger.info('Starting GitHub OAuth flow...');\n\n // Track OAuth start\n Analytics.event(AnalyticsEvent.AUTH_OAUTH_START, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n\n // Call API to get authorization URL\n // The API will auto-generate redirect_uri from config if not provided\n const response = await apiAccounts.cfg_accounts_oauth.accountsOauthGithubAuthorizeCreate({\n source_url: sourceUrl || (typeof window !== 'undefined' ? window.location.href : ''),\n });\n\n if (!response.authorization_url) {\n throw new Error('Failed to get authorization URL');\n }\n\n authLogger.info('Redirecting to GitHub...', response.authorization_url);\n\n // Store state in sessionStorage for verification on callback\n if (typeof window !== 'undefined') {\n sessionStorage.setItem('oauth_state', response.state);\n sessionStorage.setItem('oauth_provider', 'github');\n }\n\n // Redirect to GitHub\n window.location.href = response.authorization_url;\n\n } catch (err) {\n const errorMessage = err instanceof Error ? err.message : 'Failed to start GitHub authentication';\n authLogger.error('GitHub OAuth start error:', err);\n setError(errorMessage);\n onError?.(errorMessage);\n\n // Track OAuth error\n Analytics.event(AnalyticsEvent.AUTH_OAUTH_FAIL, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n } finally {\n setIsLoading(false);\n }\n }, [sourceUrl, onError]);\n\n /**\n * Handle GitHub OAuth callback - exchanges code for JWT tokens.\n *\n * @param code - Authorization code from GitHub callback\n * @param state - State token for CSRF verification\n */\n const handleGithubCallback = useCallback(async (code: string, state: string) => {\n setIsLoading(true);\n setError(null);\n\n try {\n authLogger.info('Processing GitHub OAuth callback...');\n\n // Verify state matches what we stored\n if (typeof window !== 'undefined') {\n const storedState = sessionStorage.getItem('oauth_state');\n if (storedState && storedState !== state) {\n throw new Error('Invalid OAuth state - possible CSRF attack');\n }\n // Clear stored state\n sessionStorage.removeItem('oauth_state');\n sessionStorage.removeItem('oauth_provider');\n }\n\n // Exchange code for tokens\n // The API will auto-generate redirect_uri from config if not provided\n const response = await apiAccounts.cfg_accounts_oauth.accountsOauthGithubCallbackCreate({\n code,\n state,\n });\n\n if (!response.access || !response.refresh) {\n throw new Error('Invalid response from OAuth callback');\n }\n\n authLogger.info('GitHub OAuth successful, user:', response.user);\n\n // Save tokens using API client\n apiAccounts.setToken(response.access, response.refresh);\n\n // Track successful OAuth\n Analytics.event(AnalyticsEvent.AUTH_LOGIN_SUCCESS, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n\n // Set user ID for future tracking\n if (response.user?.id) {\n Analytics.setUser(String(response.user.id));\n }\n\n // Call success callback\n onSuccess?.(response.user, response.is_new_user || false);\n\n // Redirect to dashboard or specified URL\n // Use hardPush for full page reload - ensures all React contexts reinitialize\n const finalRedirectUrl = redirectUrl || '/dashboard';\n router.hardPush(finalRedirectUrl);\n\n } catch (err) {\n const errorMessage = err instanceof Error ? err.message : 'GitHub authentication failed';\n authLogger.error('GitHub OAuth callback error:', err);\n setError(errorMessage);\n onError?.(errorMessage);\n\n // Track OAuth error\n Analytics.event(AnalyticsEvent.AUTH_OAUTH_FAIL, {\n category: AnalyticsCategory.AUTH,\n label: 'github',\n });\n } finally {\n setIsLoading(false);\n }\n }, [onSuccess, onError, redirectUrl, router]);\n\n return {\n isLoading,\n error,\n startGithubAuth,\n handleGithubCallback,\n };\n};\n","/**\n * Email validation utility\n */\nexport const validateEmail = (email: string): boolean => {\n const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n return emailRegex.test(email);\n};\n","/**\n * Format authentication error for display\n */\nexport const formatAuthError = (error: any): string => {\n if (typeof error === 'string') {\n return error;\n }\n\n if (error?.message) {\n return error.message;\n }\n\n if (error?.detail) {\n return error.detail;\n }\n\n if (error?.response?.data?.detail) {\n return error.response.data.detail;\n }\n\n return 'An unexpected error occurred';\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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A,MACT,CAAC;AAGD,UAAI,SAAS,MAAM,IAAI;AACrB,kBAAU,QAAQ,OAAO,SAAS,KAAK,EAAE,CAAC;AAAA,MAC5C;AAGA,kBAAY,SAAS,MAAM,SAAS,eAAe,KAAK;AAIxD,YAAM,mBAAmB,eAAe;AACxC,aAAO,SAAS,gBAAgB;AAAA,IAElC,SAAS,KAAK;AACZ,YAAM,eAAe,eAAe,QAAQ,IAAI,UAAU;AAC1D,iBAAW,MAAM,gCAAgC,GAAG;AACpD,eAAS,YAAY;AACrB,gBAAU,YAAY;AAGtB,gBAAU,+CAAsC;AAAA,QAC9C;AAAA,QACA,OAAO;AAAA,MACT,CAAC;AAAA,IACH,UAAE;AACA,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,WAAW,SAAS,aAAa,MAAM,CAAC;AAE5C,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF,GA7I6B;;;ACvCtB,IAAM,gBAAgB,wBAAC,UAA2B;AACvD,QAAM,aAAa;AACnB,SAAO,WAAW,KAAK,KAAK;AAC9B,GAH6B;;;ACAtB,IAAM,kBAAkB,wBAAC,UAAuB;AACrD,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO;AAAA,EACT;AAEA,MAAI,OAAO,SAAS;AAClB,WAAO,MAAM;AAAA,EACf;AAEA,MAAI,OAAO,QAAQ;AACjB,WAAO,MAAM;AAAA,EACf;AAEA,MAAI,OAAO,UAAU,MAAM,QAAQ;AACjC,WAAO,MAAM,SAAS,KAAK;AAAA,EAC7B;AAEA,SAAO;AACT,GAlB+B;","names":["useLocalStorage","import_react","pRetry","logger","OAuthConnectionProvider","OAuthDisconnectRequestRequestProvider","OTPRequestRequestChannel","OTPVerifyRequestChannel","QuickActionColor","RunDemoRequestRequestScenario","StatCardChangeType","StressTestRequestRequestScenario","SystemHealthOverallStatus","SystemHealthItemStatus","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_zod","import_consola","api","import_consola","api","import_consola","import_consola","api","api","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","import_consola","logger","import_consola","isStaticBuild","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_swr","import_hooks","AnalyticsEvent","AnalyticsCategory","import_jsx_runtime","refreshToken","import_react","key","AUTH_REDIRECT_KEY","import_react","import_hooks","import_react","useLocalStorage","key","import_react","import_react","import_navigation","import_hooks","useLocalStorage","identifier","error","otp","savedEmail","savedPhone","import_react","import_hooks"]}