@djangocfg/api 2.1.36 → 2.1.37
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 +3007 -4015
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.mjs +3007 -4015
- package/dist/auth.mjs.map +1 -1
- package/dist/clients.cjs +4983 -0
- package/dist/clients.cjs.map +1 -0
- package/dist/clients.d.cts +4135 -0
- package/dist/clients.d.ts +4135 -0
- package/dist/clients.mjs +4957 -0
- package/dist/clients.mjs.map +1 -0
- package/dist/hooks.cjs +1083 -0
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.d.cts +1122 -1
- package/dist/hooks.d.ts +1122 -1
- package/dist/hooks.mjs +1053 -0
- package/dist/hooks.mjs.map +1 -1
- package/dist/index.cjs +2888 -7848
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1867 -9643
- package/dist/index.d.ts +1867 -9643
- package/dist/index.mjs +2891 -7851
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -3
- package/src/auth/hooks/useGithubAuth.ts +3 -3
- package/src/clients.ts +57 -0
- package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts.ts → accounts.ts} +10 -2
- package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
- package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +13 -5
- package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +14 -6
- package/src/generated/cfg_accounts/_utils/fetchers/index.ts +12 -29
- package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts.ts → accounts.ts} +9 -1
- package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
- package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +9 -1
- package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +9 -1
- package/src/generated/cfg_accounts/_utils/hooks/index.ts +12 -29
- package/src/generated/cfg_accounts/_utils/schemas/index.ts +8 -134
- package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/client.ts +1 -1
- package/src/generated/cfg_accounts/accounts/index.ts +10 -0
- package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/models.ts +8 -0
- package/src/generated/cfg_accounts/{cfg_accounts__accounts__auth → accounts__auth}/client.ts +1 -1
- package/src/generated/cfg_accounts/accounts__auth/index.ts +10 -0
- package/src/generated/cfg_accounts/accounts__auth/models.ts +25 -0
- package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/client.ts +1 -1
- package/src/generated/cfg_accounts/accounts__oauth/index.ts +10 -0
- package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/models.ts +8 -0
- package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/client.ts +1 -1
- package/src/generated/cfg_accounts/accounts__user_profile/index.ts +10 -0
- package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/models.ts +8 -0
- package/src/generated/cfg_accounts/api-instance.ts +8 -0
- package/src/generated/cfg_accounts/client.ts +12 -87
- package/src/generated/cfg_accounts/enums.ts +8 -96
- package/src/generated/cfg_accounts/errors.ts +8 -0
- package/src/generated/cfg_accounts/http.ts +8 -0
- package/src/generated/cfg_accounts/index.ts +28 -195
- package/src/generated/cfg_accounts/logger.ts +8 -0
- package/src/generated/cfg_accounts/retry.ts +8 -0
- package/src/generated/cfg_accounts/schema.json +246 -10265
- package/src/generated/cfg_accounts/storage.ts +8 -0
- package/src/generated/cfg_accounts/validation-events.ts +8 -0
- package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_admin_api.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_admin_api.ts} +14 -6
- package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_auth.ts} +9 -1
- package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_monitoring.ts} +13 -5
- package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_testing.ts} +11 -3
- package/src/generated/cfg_centrifugo/_utils/fetchers/index.ts +39 -0
- package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_admin_api.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_admin_api.ts} +9 -1
- package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_auth.ts} +9 -1
- package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_monitoring.ts} +9 -1
- package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_testing.ts} +9 -1
- package/src/generated/cfg_centrifugo/_utils/hooks/index.ts +39 -0
- package/src/generated/cfg_centrifugo/_utils/schemas/index.ts +61 -0
- package/src/generated/cfg_centrifugo/api-instance.ts +139 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/client.ts +1 -1
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_admin_api/index.ts +10 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/models.ts +8 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/client.ts +1 -1
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_auth/index.ts +10 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/models.ts +8 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/client.ts +1 -1
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_monitoring/index.ts +10 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/models.ts +8 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/client.ts +1 -1
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_testing/index.ts +10 -0
- package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/models.ts +8 -0
- package/src/generated/cfg_centrifugo/client.ts +310 -0
- package/src/generated/cfg_centrifugo/errors.ts +124 -0
- package/src/generated/cfg_centrifugo/http.ts +111 -0
- package/src/generated/cfg_centrifugo/index.ts +301 -0
- package/src/generated/cfg_centrifugo/logger.ts +267 -0
- package/src/generated/cfg_centrifugo/retry.ts +183 -0
- package/src/generated/cfg_centrifugo/schema.json +2123 -0
- package/src/generated/cfg_centrifugo/storage.ts +169 -0
- package/src/generated/cfg_centrifugo/validation-events.ts +141 -0
- package/src/generated/cfg_webpush/_utils/fetchers/index.ts +36 -0
- package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_api_keys.ts → cfg_webpush/_utils/fetchers/webpush__web_push.ts} +45 -35
- package/src/generated/cfg_webpush/_utils/hooks/index.ts +36 -0
- package/src/generated/cfg_webpush/_utils/hooks/webpush__web_push.ts +86 -0
- package/src/generated/cfg_webpush/_utils/schemas/SendPushRequestRequest.schema.ts +22 -0
- package/src/generated/cfg_webpush/_utils/schemas/SendPushResponse.schema.ts +20 -0
- package/src/generated/cfg_webpush/_utils/schemas/SubscribeRequestRequest.schema.ts +20 -0
- package/src/generated/cfg_webpush/_utils/schemas/SubscribeResponse.schema.ts +21 -0
- package/src/generated/cfg_webpush/_utils/schemas/VapidPublicKeyResponse.schema.ts +19 -0
- package/src/generated/cfg_webpush/_utils/schemas/index.ts +31 -0
- package/src/generated/cfg_webpush/api-instance.ts +139 -0
- package/src/generated/cfg_webpush/client.ts +301 -0
- package/src/generated/cfg_webpush/errors.ts +124 -0
- package/src/generated/cfg_webpush/http.ts +111 -0
- package/src/generated/cfg_webpush/index.ts +280 -0
- package/src/generated/cfg_webpush/logger.ts +267 -0
- package/src/generated/cfg_webpush/retry.ts +183 -0
- package/src/generated/cfg_webpush/schema.json +302 -0
- package/src/generated/cfg_webpush/storage.ts +169 -0
- package/src/generated/cfg_webpush/validation-events.ts +141 -0
- package/src/generated/cfg_webpush/webpush__web_push/client.ts +45 -0
- package/src/generated/cfg_webpush/webpush__web_push/index.ts +10 -0
- package/src/generated/cfg_webpush/webpush__web_push/models.ts +72 -0
- package/src/hooks/accounts.ts +8 -0
- package/src/hooks/index.ts +10 -0
- package/src/hooks/webpush.ts +12 -0
- package/src/index.ts +11 -0
- package/src/server.ts +5 -8
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_activity.ts +0 -62
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -106
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_charts.ts +0 -177
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_commands.ts +0 -179
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_config.ts +0 -92
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_overview.ts +0 -92
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_statistics.ts +0 -120
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_system.ts +0 -150
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__endpoints.ts +0 -164
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_configuration.ts +0 -150
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_monitoring.ts +0 -280
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_services.ts +0 -208
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__health.ts +0 -150
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_jobs.ts +0 -323
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_monitoring.ts +0 -164
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_queues.ts +0 -134
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_registries.ts +0 -436
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_schedules.ts +0 -266
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_testing.ts +0 -293
- package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_workers.ts +0 -106
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_activity.ts +0 -50
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -51
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_charts.ts +0 -79
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_commands.ts +0 -86
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_config.ts +0 -37
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_overview.ts +0 -37
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_statistics.ts +0 -65
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_system.ts +0 -52
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__endpoints.ts +0 -66
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_api_keys.ts +0 -67
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_configuration.ts +0 -52
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_monitoring.ts +0 -96
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_services.ts +0 -67
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__health.ts +0 -52
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_jobs.ts +0 -110
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_monitoring.ts +0 -66
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_queues.ts +0 -84
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_registries.ts +0 -136
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_schedules.ts +0 -92
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_testing.ts +0 -126
- package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_workers.ts +0 -51
- package/src/generated/cfg_accounts/_utils/schemas/APIZone.schema.ts +0 -29
- package/src/generated/cfg_accounts/_utils/schemas/APIZonesSummary.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/ActivityEntry.schema.ts +0 -25
- package/src/generated/cfg_accounts/_utils/schemas/ActivityTrackerDay.schema.ts +0 -23
- package/src/generated/cfg_accounts/_utils/schemas/ApiKey.schema.ts +0 -30
- package/src/generated/cfg_accounts/_utils/schemas/ApiKeyStats.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/AppStatistics.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/AppStatisticsData.schema.ts +0 -23
- package/src/generated/cfg_accounts/_utils/schemas/AxesConfig.schema.ts +0 -35
- package/src/generated/cfg_accounts/_utils/schemas/CentrifugoConfig.schema.ts +0 -35
- package/src/generated/cfg_accounts/_utils/schemas/ChartData.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/ChartDataset.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/Command.schema.ts +0 -38
- package/src/generated/cfg_accounts/_utils/schemas/CommandCategory.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/CommandExecuteRequestRequest.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/CommandHelpResponse.schema.ts +0 -25
- package/src/generated/cfg_accounts/_utils/schemas/CommandsSummary.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/ConfigData.schema.ts +0 -27
- package/src/generated/cfg_accounts/_utils/schemas/ConfigMeta.schema.ts +0 -20
- package/src/generated/cfg_accounts/_utils/schemas/ConfigValidation.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/ConstanceConfig.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/DRFConfig.schema.ts +0 -20
- package/src/generated/cfg_accounts/_utils/schemas/DRFHealthCheck.schema.ts +0 -25
- package/src/generated/cfg_accounts/_utils/schemas/DashboardOverview.schema.ts +0 -35
- package/src/generated/cfg_accounts/_utils/schemas/DatabaseConfig.schema.ts +0 -31
- package/src/generated/cfg_accounts/_utils/schemas/DjangoConfig.schema.ts +0 -93
- package/src/generated/cfg_accounts/_utils/schemas/DjangoRQConfig.schema.ts +0 -27
- package/src/generated/cfg_accounts/_utils/schemas/EmailConfig.schema.ts +0 -28
- package/src/generated/cfg_accounts/_utils/schemas/Endpoint.schema.ts +0 -35
- package/src/generated/cfg_accounts/_utils/schemas/EndpointsStatus.schema.ts +0 -28
- package/src/generated/cfg_accounts/_utils/schemas/GRPCConfig.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/GRPCConfigDashboard.schema.ts +0 -33
- package/src/generated/cfg_accounts/_utils/schemas/GRPCFeatures.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/GRPCFrameworkConfig.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/GRPCHealthCheck.schema.ts +0 -23
- package/src/generated/cfg_accounts/_utils/schemas/GRPCInterceptorInfo.schema.ts +0 -20
- package/src/generated/cfg_accounts/_utils/schemas/GRPCOverviewStats.schema.ts +0 -29
- package/src/generated/cfg_accounts/_utils/schemas/GRPCRegisteredService.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/GRPCServerConfig.schema.ts +0 -23
- package/src/generated/cfg_accounts/_utils/schemas/GRPCServerInfo.schema.ts +0 -28
- package/src/generated/cfg_accounts/_utils/schemas/GRPCServerStatus.schema.ts +0 -30
- package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceInfo.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceRegistryMethodStats.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/GRPCStats.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/GitHubOAuthConfig.schema.ts +0 -30
- package/src/generated/cfg_accounts/_utils/schemas/JWTConfig.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/JobActionResponse.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/JobDetail.schema.ts +0 -40
- package/src/generated/cfg_accounts/_utils/schemas/JobList.schema.ts +0 -28
- package/src/generated/cfg_accounts/_utils/schemas/JobListRequest.schema.ts +0 -28
- package/src/generated/cfg_accounts/_utils/schemas/MethodInfo.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/MethodList.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/MethodSummary.schema.ts +0 -25
- package/src/generated/cfg_accounts/_utils/schemas/ModelStatistics.schema.ts +0 -23
- package/src/generated/cfg_accounts/_utils/schemas/NextJSAdminConfig.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/NgrokConfig.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/OpenAPIClientConfig.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/PaginatedApiKeyList.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/PaginatedJobListList.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/PaginatedRecentRequestList.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/PaginatedScheduledJobList.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/PaginatedServiceSummaryList.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/PaymentsConfig.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/PaymentsNowPayments.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/QueueDetail.schema.ts +0 -34
- package/src/generated/cfg_accounts/_utils/schemas/QueueStats.schema.ts +0 -31
- package/src/generated/cfg_accounts/_utils/schemas/QuickAction.schema.ts +0 -29
- package/src/generated/cfg_accounts/_utils/schemas/QuickHealth.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/RQConfig.schema.ts +0 -30
- package/src/generated/cfg_accounts/_utils/schemas/RQHealthCheck.schema.ts +0 -31
- package/src/generated/cfg_accounts/_utils/schemas/RQSchedule.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/RecentError.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/RecentRequest.schema.ts +0 -33
- package/src/generated/cfg_accounts/_utils/schemas/RecentUser.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/RedisQueueConfig.schema.ts +0 -29
- package/src/generated/cfg_accounts/_utils/schemas/RunDemoRequestRequest.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/ScheduleActionResponse.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/ScheduleCreateRequest.schema.ts +0 -39
- package/src/generated/cfg_accounts/_utils/schemas/ScheduleInfo.schema.ts +0 -27
- package/src/generated/cfg_accounts/_utils/schemas/ScheduledJob.schema.ts +0 -32
- package/src/generated/cfg_accounts/_utils/schemas/ServiceDetail.schema.ts +0 -31
- package/src/generated/cfg_accounts/_utils/schemas/ServiceMethods.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/ServiceStats.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/ServiceSummary.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/SpectacularConfig.schema.ts +0 -21
- package/src/generated/cfg_accounts/_utils/schemas/StatCard.schema.ts +0 -30
- package/src/generated/cfg_accounts/_utils/schemas/StressTestRequestRequest.schema.ts +0 -23
- package/src/generated/cfg_accounts/_utils/schemas/SystemHealth.schema.ts +0 -24
- package/src/generated/cfg_accounts/_utils/schemas/SystemHealthItem.schema.ts +0 -28
- package/src/generated/cfg_accounts/_utils/schemas/SystemMetrics.schema.ts +0 -25
- package/src/generated/cfg_accounts/_utils/schemas/TelegramConfig.schema.ts +0 -28
- package/src/generated/cfg_accounts/_utils/schemas/TestScenario.schema.ts +0 -25
- package/src/generated/cfg_accounts/_utils/schemas/TestingActionResponse.schema.ts +0 -23
- package/src/generated/cfg_accounts/_utils/schemas/URLPattern.schema.ts +0 -26
- package/src/generated/cfg_accounts/_utils/schemas/URLsList.schema.ts +0 -25
- package/src/generated/cfg_accounts/_utils/schemas/UserStatistics.schema.ts +0 -22
- package/src/generated/cfg_accounts/_utils/schemas/Worker.schema.ts +0 -31
- package/src/generated/cfg_accounts/_utils/schemas/WorkerStats.schema.ts +0 -31
- package/src/generated/cfg_accounts/_utils/schemas/ZonesSummaryStats.schema.ts +0 -21
- package/src/generated/cfg_accounts/cfg_accounts__accounts/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/models.ts +0 -17
- package/src/generated/cfg_accounts/cfg_accounts__accounts__oauth/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__accounts__user_profile/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/client.ts +0 -45
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/models.ts +0 -0
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/client.ts +0 -34
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/models.ts +0 -40
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/client.ts +0 -98
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/models.ts +0 -24
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/client.ts +0 -55
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/models.ts +0 -80
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/client.ts +0 -25
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/models.ts +0 -412
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/client.ts +0 -25
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/models.ts +0 -228
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/client.ts +0 -44
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/models.ts +0 -16
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/client.ts +0 -34
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/models.ts +0 -69
- package/src/generated/cfg_accounts/cfg_accounts__endpoints/client.ts +0 -42
- package/src/generated/cfg_accounts/cfg_accounts__endpoints/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__endpoints/models.ts +0 -112
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/client.ts +0 -56
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/models.ts +0 -73
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/client.ts +0 -35
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/models.ts +0 -128
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/client.ts +0 -109
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/models.ts +0 -213
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/client.ts +0 -56
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/models.ts +0 -189
- package/src/generated/cfg_accounts/cfg_accounts__health/client.ts +0 -30
- package/src/generated/cfg_accounts/cfg_accounts__health/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__health/models.ts +0 -36
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/client.ts +0 -76
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/models.ts +0 -127
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/client.ts +0 -45
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/models.ts +0 -66
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/client.ts +0 -78
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/models.ts +0 -33
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/client.ts +0 -164
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/models.ts +0 -82
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/client.ts +0 -91
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/models.ts +0 -109
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/client.ts +0 -96
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/models.ts +0 -68
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/client.ts +0 -46
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/index.ts +0 -2
- package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/models.ts +0 -52
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelInfo.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsRequestRequest.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResult.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoClientInfo.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoError.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHealthCheck.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResult.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResult.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoMetrics.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoNodeInfo.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoOverviewStats.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceRequestRequest.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResult.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoProcess.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPublication.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoStreamPosition.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelList.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelStats.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ConnectionTokenResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckRequestRequest.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PaginatedPublishList.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/Publish.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestRequestRequest.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestResponse.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineItem.schema.ts +0 -0
- /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineResponse.schema.ts +0 -0
package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_config.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Dashboard - Config
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_config'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { ConfigData } from '../schemas/ConfigData.schema'
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Get configuration data
|
|
26
|
-
*
|
|
27
|
-
* @method GET
|
|
28
|
-
* @path /cfg/dashboard/api/config/config/
|
|
29
|
-
*/
|
|
30
|
-
export function useDashboardApiConfigConfigRetrieve(client?: API): ReturnType<typeof useSWR<ConfigData>> {
|
|
31
|
-
return useSWR<ConfigData>(
|
|
32
|
-
'cfg-dashboard-api-config-config',
|
|
33
|
-
() => Fetchers.getDashboardApiConfigConfigRetrieve(client)
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_overview.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Dashboard - Overview
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_overview'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { DashboardOverview } from '../schemas/DashboardOverview.schema'
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Get dashboard overview
|
|
26
|
-
*
|
|
27
|
-
* @method GET
|
|
28
|
-
* @path /cfg/dashboard/api/overview/overview/
|
|
29
|
-
*/
|
|
30
|
-
export function useDashboardApiOverviewOverviewRetrieve(client?: API): ReturnType<typeof useSWR<DashboardOverview>> {
|
|
31
|
-
return useSWR<DashboardOverview>(
|
|
32
|
-
'cfg-dashboard-api-overview-overview',
|
|
33
|
-
() => Fetchers.getDashboardApiOverviewOverviewRetrieve(client)
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_statistics.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Dashboard - Statistics
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_statistics'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { UserStatistics } from '../schemas/UserStatistics.schema'
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Get application statistics
|
|
26
|
-
*
|
|
27
|
-
* @method GET
|
|
28
|
-
* @path /cfg/dashboard/api/statistics/apps/
|
|
29
|
-
*/
|
|
30
|
-
export function useDashboardApiStatisticsAppsList(client?: API): ReturnType<typeof useSWR<any>> {
|
|
31
|
-
return useSWR<any>(
|
|
32
|
-
'cfg-dashboard-api-statistics-apps',
|
|
33
|
-
() => Fetchers.getDashboardApiStatisticsAppsList(client)
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Get statistics cards
|
|
40
|
-
*
|
|
41
|
-
* @method GET
|
|
42
|
-
* @path /cfg/dashboard/api/statistics/cards/
|
|
43
|
-
*/
|
|
44
|
-
export function useDashboardApiStatisticsCardsList(client?: API): ReturnType<typeof useSWR<any>> {
|
|
45
|
-
return useSWR<any>(
|
|
46
|
-
'cfg-dashboard-api-statistics-cards',
|
|
47
|
-
() => Fetchers.getDashboardApiStatisticsCardsList(client)
|
|
48
|
-
)
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Get user statistics
|
|
54
|
-
*
|
|
55
|
-
* @method GET
|
|
56
|
-
* @path /cfg/dashboard/api/statistics/users/
|
|
57
|
-
*/
|
|
58
|
-
export function useDashboardApiStatisticsUsersRetrieve(client?: API): ReturnType<typeof useSWR<UserStatistics>> {
|
|
59
|
-
return useSWR<UserStatistics>(
|
|
60
|
-
'cfg-dashboard-api-statistics-user',
|
|
61
|
-
() => Fetchers.getDashboardApiStatisticsUsersRetrieve(client)
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_system.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Dashboard - System
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__dashboard__dashboard_system'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { SystemHealth } from '../schemas/SystemHealth.schema'
|
|
23
|
-
import type { SystemMetrics } from '../schemas/SystemMetrics.schema'
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Get system health status
|
|
27
|
-
*
|
|
28
|
-
* @method GET
|
|
29
|
-
* @path /cfg/dashboard/api/system/health/
|
|
30
|
-
*/
|
|
31
|
-
export function useDashboardApiSystemHealthRetrieve(client?: API): ReturnType<typeof useSWR<SystemHealth>> {
|
|
32
|
-
return useSWR<SystemHealth>(
|
|
33
|
-
'cfg-dashboard-api-system-health',
|
|
34
|
-
() => Fetchers.getDashboardApiSystemHealthRetrieve(client)
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Get system metrics
|
|
41
|
-
*
|
|
42
|
-
* @method GET
|
|
43
|
-
* @path /cfg/dashboard/api/system/metrics/
|
|
44
|
-
*/
|
|
45
|
-
export function useDashboardApiSystemMetricsRetrieve(client?: API): ReturnType<typeof useSWR<SystemMetrics>> {
|
|
46
|
-
return useSWR<SystemMetrics>(
|
|
47
|
-
'cfg-dashboard-api-system-metric',
|
|
48
|
-
() => Fetchers.getDashboardApiSystemMetricsRetrieve(client)
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Endpoints
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__endpoints'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { EndpointsStatus } from '../schemas/EndpointsStatus.schema'
|
|
23
|
-
import type { URLsList } from '../schemas/URLsList.schema'
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* API operation
|
|
27
|
-
*
|
|
28
|
-
* @method GET
|
|
29
|
-
* @path /cfg/endpoints/drf/
|
|
30
|
-
*/
|
|
31
|
-
export function useEndpointsDrfRetrieve(client?: API): ReturnType<typeof useSWR<EndpointsStatus>> {
|
|
32
|
-
return useSWR<EndpointsStatus>(
|
|
33
|
-
'cfg-endpoints-drf',
|
|
34
|
-
() => Fetchers.getEndpointsDrfRetrieve(client)
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* API operation
|
|
41
|
-
*
|
|
42
|
-
* @method GET
|
|
43
|
-
* @path /cfg/endpoints/urls/
|
|
44
|
-
*/
|
|
45
|
-
export function useEndpointsUrlsRetrieve(client?: API): ReturnType<typeof useSWR<URLsList>> {
|
|
46
|
-
return useSWR<URLsList>(
|
|
47
|
-
'cfg-endpoints-url',
|
|
48
|
-
() => Fetchers.getEndpointsUrlsRetrieve(client)
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* API operation
|
|
55
|
-
*
|
|
56
|
-
* @method GET
|
|
57
|
-
* @path /cfg/endpoints/urls/compact/
|
|
58
|
-
*/
|
|
59
|
-
export function useEndpointsUrlsCompactRetrieve(client?: API): ReturnType<typeof useSWR<any>> {
|
|
60
|
-
return useSWR<any>(
|
|
61
|
-
'cfg-endpoints-urls-compact',
|
|
62
|
-
() => Fetchers.getEndpointsUrlsCompactRetrieve(client)
|
|
63
|
-
)
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Grpc Api Keys
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_api_keys'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { ApiKey } from '../schemas/ApiKey.schema'
|
|
23
|
-
import type { ApiKeyStats } from '../schemas/ApiKeyStats.schema'
|
|
24
|
-
import type { PaginatedApiKeyList } from '../schemas/PaginatedApiKeyList.schema'
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* List API keys
|
|
28
|
-
*
|
|
29
|
-
* @method GET
|
|
30
|
-
* @path /cfg/grpc/api-keys/
|
|
31
|
-
*/
|
|
32
|
-
export function useGrpcApiKeysList(params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }, client?: API): ReturnType<typeof useSWR<PaginatedApiKeyList>> {
|
|
33
|
-
return useSWR<PaginatedApiKeyList>(
|
|
34
|
-
params ? ['cfg-grpc-api-keys', params] : 'cfg-grpc-api-keys',
|
|
35
|
-
() => Fetchers.getGrpcApiKeysList(params, client)
|
|
36
|
-
)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Get API key details
|
|
42
|
-
*
|
|
43
|
-
* @method GET
|
|
44
|
-
* @path /cfg/grpc/api-keys/{id}/
|
|
45
|
-
*/
|
|
46
|
-
export function useGrpcApiKeysRetrieve(id: number, client?: API): ReturnType<typeof useSWR<ApiKey>> {
|
|
47
|
-
return useSWR<ApiKey>(
|
|
48
|
-
['cfg-grpc-api-key', id],
|
|
49
|
-
() => Fetchers.getGrpcApiKeysRetrieve(id, client)
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Get API keys statistics
|
|
56
|
-
*
|
|
57
|
-
* @method GET
|
|
58
|
-
* @path /cfg/grpc/api-keys/stats/
|
|
59
|
-
*/
|
|
60
|
-
export function useGrpcApiKeysStatsRetrieve(client?: API): ReturnType<typeof useSWR<ApiKeyStats>> {
|
|
61
|
-
return useSWR<ApiKeyStats>(
|
|
62
|
-
'cfg-grpc-api-keys-stat',
|
|
63
|
-
() => Fetchers.getGrpcApiKeysStatsRetrieve(client)
|
|
64
|
-
)
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Grpc Configuration
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_configuration'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { GRPCConfig } from '../schemas/GRPCConfig.schema'
|
|
23
|
-
import type { GRPCServerInfo } from '../schemas/GRPCServerInfo.schema'
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Get gRPC configuration
|
|
27
|
-
*
|
|
28
|
-
* @method GET
|
|
29
|
-
* @path /cfg/grpc/config/config/
|
|
30
|
-
*/
|
|
31
|
-
export function useGrpcConfigConfigRetrieve(client?: API): ReturnType<typeof useSWR<GRPCConfig>> {
|
|
32
|
-
return useSWR<GRPCConfig>(
|
|
33
|
-
'cfg-grpc-config-config',
|
|
34
|
-
() => Fetchers.getGrpcConfigConfigRetrieve(client)
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Get server information
|
|
41
|
-
*
|
|
42
|
-
* @method GET
|
|
43
|
-
* @path /cfg/grpc/config/server-info/
|
|
44
|
-
*/
|
|
45
|
-
export function useGrpcConfigServerInfoRetrieve(client?: API): ReturnType<typeof useSWR<GRPCServerInfo>> {
|
|
46
|
-
return useSWR<GRPCServerInfo>(
|
|
47
|
-
'cfg-grpc-config-server-info',
|
|
48
|
-
() => Fetchers.getGrpcConfigServerInfoRetrieve(client)
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Grpc Monitoring
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_monitoring'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { GRPCHealthCheck } from '../schemas/GRPCHealthCheck.schema'
|
|
23
|
-
import type { GRPCOverviewStats } from '../schemas/GRPCOverviewStats.schema'
|
|
24
|
-
import type { MethodList } from '../schemas/MethodList.schema'
|
|
25
|
-
import type { PaginatedRecentRequestList } from '../schemas/PaginatedRecentRequestList.schema'
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Get gRPC health status
|
|
29
|
-
*
|
|
30
|
-
* @method GET
|
|
31
|
-
* @path /cfg/grpc/monitor/health/
|
|
32
|
-
*/
|
|
33
|
-
export function useGrpcMonitorHealthRetrieve(client?: API): ReturnType<typeof useSWR<GRPCHealthCheck>> {
|
|
34
|
-
return useSWR<GRPCHealthCheck>(
|
|
35
|
-
'cfg-grpc-monitor-health',
|
|
36
|
-
() => Fetchers.getGrpcMonitorHealthRetrieve(client)
|
|
37
|
-
)
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Get method statistics
|
|
43
|
-
*
|
|
44
|
-
* @method GET
|
|
45
|
-
* @path /cfg/grpc/monitor/methods/
|
|
46
|
-
*/
|
|
47
|
-
export function useGrpcMonitorMethodsRetrieve(params?: { hours?: number; service?: string }, client?: API): ReturnType<typeof useSWR<MethodList>> {
|
|
48
|
-
return useSWR<MethodList>(
|
|
49
|
-
params ? ['cfg-grpc-monitor-method', params] : 'cfg-grpc-monitor-method',
|
|
50
|
-
() => Fetchers.getGrpcMonitorMethodsRetrieve(params, client)
|
|
51
|
-
)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Get overview statistics
|
|
57
|
-
*
|
|
58
|
-
* @method GET
|
|
59
|
-
* @path /cfg/grpc/monitor/overview/
|
|
60
|
-
*/
|
|
61
|
-
export function useGrpcMonitorOverviewRetrieve(params?: { hours?: number }, client?: API): ReturnType<typeof useSWR<GRPCOverviewStats>> {
|
|
62
|
-
return useSWR<GRPCOverviewStats>(
|
|
63
|
-
params ? ['cfg-grpc-monitor-overview', params] : 'cfg-grpc-monitor-overview',
|
|
64
|
-
() => Fetchers.getGrpcMonitorOverviewRetrieve(params, client)
|
|
65
|
-
)
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Get recent requests
|
|
71
|
-
*
|
|
72
|
-
* @method GET
|
|
73
|
-
* @path /cfg/grpc/monitor/requests/
|
|
74
|
-
*/
|
|
75
|
-
export function useGrpcMonitorRequestsList(params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }, client?: API): ReturnType<typeof useSWR<PaginatedRecentRequestList>> {
|
|
76
|
-
return useSWR<PaginatedRecentRequestList>(
|
|
77
|
-
params ? ['cfg-grpc-monitor-requests', params] : 'cfg-grpc-monitor-requests',
|
|
78
|
-
() => Fetchers.getGrpcMonitorRequestsList(params, client)
|
|
79
|
-
)
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Get request timeline
|
|
85
|
-
*
|
|
86
|
-
* @method GET
|
|
87
|
-
* @path /cfg/grpc/monitor/timeline/
|
|
88
|
-
*/
|
|
89
|
-
export function useGrpcMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }, client?: API): ReturnType<typeof useSWR<any>> {
|
|
90
|
-
return useSWR<any>(
|
|
91
|
-
params ? ['cfg-grpc-monitor-timeline', params] : 'cfg-grpc-monitor-timeline',
|
|
92
|
-
() => Fetchers.getGrpcMonitorTimelineRetrieve(params, client)
|
|
93
|
-
)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Grpc Services
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__grpc__grpc_services'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { PaginatedServiceSummaryList } from '../schemas/PaginatedServiceSummaryList.schema'
|
|
23
|
-
import type { ServiceDetail } from '../schemas/ServiceDetail.schema'
|
|
24
|
-
import type { ServiceMethods } from '../schemas/ServiceMethods.schema'
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* List all services
|
|
28
|
-
*
|
|
29
|
-
* @method GET
|
|
30
|
-
* @path /cfg/grpc/services/
|
|
31
|
-
*/
|
|
32
|
-
export function useGrpcServicesList(params?: { hours?: number; page?: number; page_size?: number }, client?: API): ReturnType<typeof useSWR<PaginatedServiceSummaryList>> {
|
|
33
|
-
return useSWR<PaginatedServiceSummaryList>(
|
|
34
|
-
params ? ['cfg-grpc-services', params] : 'cfg-grpc-services',
|
|
35
|
-
() => Fetchers.getGrpcServicesList(params, client)
|
|
36
|
-
)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Get service details
|
|
42
|
-
*
|
|
43
|
-
* @method GET
|
|
44
|
-
* @path /cfg/grpc/services/{id}/
|
|
45
|
-
*/
|
|
46
|
-
export function useGrpcServicesRetrieve(id: string, pk: string, client?: API): ReturnType<typeof useSWR<ServiceDetail>> {
|
|
47
|
-
return useSWR<ServiceDetail>(
|
|
48
|
-
['cfg-grpc-service', id],
|
|
49
|
-
() => Fetchers.getGrpcServicesRetrieve(id, pk, client)
|
|
50
|
-
)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Get service methods
|
|
56
|
-
*
|
|
57
|
-
* @method GET
|
|
58
|
-
* @path /cfg/grpc/services/{id}/methods/
|
|
59
|
-
*/
|
|
60
|
-
export function useGrpcServicesMethodsRetrieve(id: string, pk: string, client?: API): ReturnType<typeof useSWR<ServiceMethods>> {
|
|
61
|
-
return useSWR<ServiceMethods>(
|
|
62
|
-
['cfg-grpc-services-method', id],
|
|
63
|
-
() => Fetchers.getGrpcServicesMethodsRetrieve(id, pk, client)
|
|
64
|
-
)
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* SWR Hooks for Health
|
|
5
|
-
*
|
|
6
|
-
* React hooks powered by SWR for data fetching with automatic caching,
|
|
7
|
-
* revalidation, and optimistic updates.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* ```typescript
|
|
11
|
-
* // Query hooks (GET)
|
|
12
|
-
* const { data, error, isLoading } = useUsers({ page: 1 })
|
|
13
|
-
*
|
|
14
|
-
* // Mutation hooks (POST/PUT/PATCH/DELETE)
|
|
15
|
-
* const createUser = useCreateUser()
|
|
16
|
-
* await createUser({ name: 'John', email: 'john@example.com' })
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
import useSWR from 'swr'
|
|
20
|
-
import * as Fetchers from '../fetchers/cfg_accounts__health'
|
|
21
|
-
import type { API } from '../../index'
|
|
22
|
-
import type { DRFHealthCheck } from '../schemas/DRFHealthCheck.schema'
|
|
23
|
-
import type { QuickHealth } from '../schemas/QuickHealth.schema'
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* API operation
|
|
27
|
-
*
|
|
28
|
-
* @method GET
|
|
29
|
-
* @path /cfg/health/drf/
|
|
30
|
-
*/
|
|
31
|
-
export function useHealthDrfRetrieve(client?: API): ReturnType<typeof useSWR<DRFHealthCheck>> {
|
|
32
|
-
return useSWR<DRFHealthCheck>(
|
|
33
|
-
'cfg-health-drf',
|
|
34
|
-
() => Fetchers.getHealthDrfRetrieve(client)
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* API operation
|
|
41
|
-
*
|
|
42
|
-
* @method GET
|
|
43
|
-
* @path /cfg/health/drf/quick/
|
|
44
|
-
*/
|
|
45
|
-
export function useHealthDrfQuickRetrieve(client?: API): ReturnType<typeof useSWR<QuickHealth>> {
|
|
46
|
-
return useSWR<QuickHealth>(
|
|
47
|
-
'cfg-health-drf-quick',
|
|
48
|
-
() => Fetchers.getHealthDrfQuickRetrieve(client)
|
|
49
|
-
)
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|