@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
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Serializer for user statistics.
|
|
3
|
-
*
|
|
4
|
-
* Response model (includes read-only fields).
|
|
5
|
-
*/
|
|
6
|
-
export interface UserStatistics {
|
|
7
|
-
/** Total number of users */
|
|
8
|
-
total_users: number;
|
|
9
|
-
/** Active users (last 30 days) */
|
|
10
|
-
active_users: number;
|
|
11
|
-
/** New users (last 7 days) */
|
|
12
|
-
new_users: number;
|
|
13
|
-
/** Number of superusers */
|
|
14
|
-
superusers: number;
|
|
15
|
-
}
|
|
16
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as Models from "./models";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* API endpoints for Dashboard - System.
|
|
6
|
-
*/
|
|
7
|
-
export class CfgAccountsDashboardSystem {
|
|
8
|
-
private client: any;
|
|
9
|
-
|
|
10
|
-
constructor(client: any) {
|
|
11
|
-
this.client = client;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Get system health status
|
|
16
|
-
*
|
|
17
|
-
* Retrieve overall system health including all component checks
|
|
18
|
-
*/
|
|
19
|
-
async dashboardApiSystemHealthRetrieve(): Promise<Models.SystemHealth> {
|
|
20
|
-
const response = await this.client.request('GET', "/cfg/dashboard/api/system/health/");
|
|
21
|
-
return response;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Get system metrics
|
|
26
|
-
*
|
|
27
|
-
* Retrieve system performance metrics (CPU, memory, disk, etc.)
|
|
28
|
-
*/
|
|
29
|
-
async dashboardApiSystemMetricsRetrieve(): Promise<Models.SystemMetrics> {
|
|
30
|
-
const response = await this.client.request('GET', "/cfg/dashboard/api/system/metrics/");
|
|
31
|
-
return response;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import * as Enums from "../enums";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Serializer for overall system health status.
|
|
5
|
-
*
|
|
6
|
-
* Response model (includes read-only fields).
|
|
7
|
-
*/
|
|
8
|
-
export interface SystemHealth {
|
|
9
|
-
/** Overall system health status
|
|
10
|
-
|
|
11
|
-
* `healthy` - healthy
|
|
12
|
-
* `warning` - warning
|
|
13
|
-
* `error` - error
|
|
14
|
-
* `unknown` - unknown */
|
|
15
|
-
overall_status: Enums.SystemHealthOverallStatus;
|
|
16
|
-
/** Overall health percentage */
|
|
17
|
-
overall_health_percentage: number;
|
|
18
|
-
/** Health status of individual components */
|
|
19
|
-
components: Array<SystemHealthItem>;
|
|
20
|
-
/** Check timestamp (ISO format) */
|
|
21
|
-
timestamp: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Serializer for system performance metrics.
|
|
26
|
-
*
|
|
27
|
-
* Response model (includes read-only fields).
|
|
28
|
-
*/
|
|
29
|
-
export interface SystemMetrics {
|
|
30
|
-
/** CPU usage percentage */
|
|
31
|
-
cpu_usage: number;
|
|
32
|
-
/** Memory usage percentage */
|
|
33
|
-
memory_usage: number;
|
|
34
|
-
/** Disk usage percentage */
|
|
35
|
-
disk_usage: number;
|
|
36
|
-
/** Network incoming bandwidth */
|
|
37
|
-
network_in: string;
|
|
38
|
-
/** Network outgoing bandwidth */
|
|
39
|
-
network_out: string;
|
|
40
|
-
/** Average response time */
|
|
41
|
-
response_time: string;
|
|
42
|
-
/** System uptime */
|
|
43
|
-
uptime: string;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Serializer for system health status items. Maps to SystemHealthItem Pydantic
|
|
48
|
-
* model.
|
|
49
|
-
*
|
|
50
|
-
* Response model (includes read-only fields).
|
|
51
|
-
*/
|
|
52
|
-
export interface SystemHealthItem {
|
|
53
|
-
/** Component name */
|
|
54
|
-
component: string;
|
|
55
|
-
/** Health status
|
|
56
|
-
|
|
57
|
-
* `healthy` - healthy
|
|
58
|
-
* `warning` - warning
|
|
59
|
-
* `error` - error
|
|
60
|
-
* `unknown` - unknown */
|
|
61
|
-
status: Enums.SystemHealthItemStatus;
|
|
62
|
-
/** Status description */
|
|
63
|
-
description: string;
|
|
64
|
-
/** Last check time (ISO format) */
|
|
65
|
-
last_check: string;
|
|
66
|
-
/** Health percentage (0-100) */
|
|
67
|
-
health_percentage?: number | null;
|
|
68
|
-
}
|
|
69
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as Models from "./models";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* API endpoints for Endpoints.
|
|
6
|
-
*/
|
|
7
|
-
export class CfgAccountsEndpoints {
|
|
8
|
-
private client: any;
|
|
9
|
-
|
|
10
|
-
constructor(client: any) {
|
|
11
|
-
this.client = client;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Return endpoints status data.
|
|
16
|
-
*/
|
|
17
|
-
async drfRetrieve(): Promise<Models.EndpointsStatus> {
|
|
18
|
-
const response = await this.client.request('GET', "/cfg/endpoints/drf/");
|
|
19
|
-
return response;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Return registered URLs (API endpoints by default). Query Parameters:
|
|
24
|
-
* filter (str): Filter URLs by prefix - omit or 'api': Only API endpoints
|
|
25
|
-
* (/api/*) - DEFAULT - 'all': All URLs (admin, api, cfg, etc.) - 'admin':
|
|
26
|
-
* Only admin endpoints (/admin/*) - 'cfg': Only django-cfg endpoints
|
|
27
|
-
* (/cfg/*)
|
|
28
|
-
*/
|
|
29
|
-
async urlsRetrieve(): Promise<Models.URLsList[]> {
|
|
30
|
-
const response = await this.client.request('GET', "/cfg/endpoints/urls/");
|
|
31
|
-
return (response as any).results || response;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Return compact URL list.
|
|
36
|
-
*/
|
|
37
|
-
async urlsCompactRetrieve(): Promise<any> {
|
|
38
|
-
const response = await this.client.request('GET', "/cfg/endpoints/urls/compact/");
|
|
39
|
-
return response;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Serializer for overall endpoints status response.
|
|
3
|
-
*
|
|
4
|
-
* Response model (includes read-only fields).
|
|
5
|
-
*/
|
|
6
|
-
export interface EndpointsStatus {
|
|
7
|
-
/** Overall status: healthy, degraded, or unhealthy */
|
|
8
|
-
status: string;
|
|
9
|
-
/** Timestamp of the check */
|
|
10
|
-
timestamp: string;
|
|
11
|
-
/** Total number of endpoints checked */
|
|
12
|
-
total_endpoints: number;
|
|
13
|
-
/** Number of healthy endpoints */
|
|
14
|
-
healthy: number;
|
|
15
|
-
/** Number of unhealthy endpoints */
|
|
16
|
-
unhealthy: number;
|
|
17
|
-
/** Number of endpoints with warnings */
|
|
18
|
-
warnings: number;
|
|
19
|
-
/** Number of endpoints with errors */
|
|
20
|
-
errors: number;
|
|
21
|
-
/** Number of skipped endpoints */
|
|
22
|
-
skipped: number;
|
|
23
|
-
/** List of all endpoints with their status */
|
|
24
|
-
endpoints: Array<Endpoint>;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Serializer for URLs list response.
|
|
29
|
-
*
|
|
30
|
-
* Response model (includes read-only fields).
|
|
31
|
-
*/
|
|
32
|
-
export interface URLsList {
|
|
33
|
-
/** Status: success or error */
|
|
34
|
-
status: string;
|
|
35
|
-
/** Service name */
|
|
36
|
-
service: string;
|
|
37
|
-
/** Django-CFG version */
|
|
38
|
-
version: string;
|
|
39
|
-
/** Base URL of the service */
|
|
40
|
-
base_url: string;
|
|
41
|
-
/** Total number of registered URLs */
|
|
42
|
-
total_urls: number;
|
|
43
|
-
/** List of all registered URL patterns */
|
|
44
|
-
urls: Array<URLPattern>;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Serializer for single endpoint status.
|
|
49
|
-
*
|
|
50
|
-
* Response model (includes read-only fields).
|
|
51
|
-
*/
|
|
52
|
-
export interface Endpoint {
|
|
53
|
-
/** Resolved URL (for parametrized URLs) or URL pattern */
|
|
54
|
-
url: string;
|
|
55
|
-
/** Original URL pattern (for parametrized URLs) */
|
|
56
|
-
url_pattern?: string | null;
|
|
57
|
-
/** Django URL name (if available) */
|
|
58
|
-
url_name?: string | null;
|
|
59
|
-
/** URL namespace */
|
|
60
|
-
namespace?: string;
|
|
61
|
-
/** URL group (up to 3 depth) */
|
|
62
|
-
group: string;
|
|
63
|
-
/** View function/class name */
|
|
64
|
-
view?: string;
|
|
65
|
-
/** Status: healthy, unhealthy, warning, error, skipped, pending */
|
|
66
|
-
status: string;
|
|
67
|
-
/** HTTP status code */
|
|
68
|
-
status_code?: number | null;
|
|
69
|
-
/** Response time in milliseconds */
|
|
70
|
-
response_time_ms?: number | null;
|
|
71
|
-
/** Whether endpoint is healthy */
|
|
72
|
-
is_healthy?: boolean | null;
|
|
73
|
-
/** Error message if check failed */
|
|
74
|
-
error?: string;
|
|
75
|
-
/** Error type: database, general, etc. */
|
|
76
|
-
error_type?: string;
|
|
77
|
-
/** Reason for warning/skip */
|
|
78
|
-
reason?: string;
|
|
79
|
-
/** Timestamp of last check */
|
|
80
|
-
last_checked?: string | null;
|
|
81
|
-
/** Whether URL has parameters that were resolved with test values */
|
|
82
|
-
has_parameters?: boolean;
|
|
83
|
-
/** Whether endpoint required JWT authentication */
|
|
84
|
-
required_auth?: boolean;
|
|
85
|
-
/** Whether endpoint returned 429 (rate limited) */
|
|
86
|
-
rate_limited?: boolean;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Serializer for single URL pattern.
|
|
91
|
-
*
|
|
92
|
-
* Response model (includes read-only fields).
|
|
93
|
-
*/
|
|
94
|
-
export interface URLPattern {
|
|
95
|
-
/** URL pattern (e.g., ^api/users/(?P<pk>[^/.]+)/$) */
|
|
96
|
-
pattern: string;
|
|
97
|
-
/** URL name (if defined) */
|
|
98
|
-
name?: string | null;
|
|
99
|
-
/** Full URL name with namespace (e.g., admin:index) */
|
|
100
|
-
full_name?: string | null;
|
|
101
|
-
/** URL namespace */
|
|
102
|
-
namespace?: string | null;
|
|
103
|
-
/** View function/class name */
|
|
104
|
-
view?: string | null;
|
|
105
|
-
/** View class name (for CBV/ViewSets) */
|
|
106
|
-
view_class?: string | null;
|
|
107
|
-
/** Allowed HTTP methods */
|
|
108
|
-
methods?: Array<string>;
|
|
109
|
-
/** View module path */
|
|
110
|
-
module?: string | null;
|
|
111
|
-
}
|
|
112
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as Models from "./models";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* API endpoints for Grpc Api Keys.
|
|
6
|
-
*/
|
|
7
|
-
export class CfgAccountsGrpcApiKeys {
|
|
8
|
-
private client: any;
|
|
9
|
-
|
|
10
|
-
constructor(client: any) {
|
|
11
|
-
this.client = client;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
async list(is_active?: boolean, page?: number, page_size?: number, user_id?: number): Promise<Models.PaginatedApiKeyList>;
|
|
15
|
-
async list(params?: { is_active?: boolean; page?: number; page_size?: number; user_id?: number }): Promise<Models.PaginatedApiKeyList>;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* List API keys
|
|
19
|
-
*
|
|
20
|
-
* Returns a list of all API keys with their details. Uses standard DRF
|
|
21
|
-
* pagination.
|
|
22
|
-
*/
|
|
23
|
-
async list(...args: any[]): Promise<Models.PaginatedApiKeyList> {
|
|
24
|
-
const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
|
|
25
|
-
|
|
26
|
-
let params;
|
|
27
|
-
if (isParamsObject) {
|
|
28
|
-
params = args[0];
|
|
29
|
-
} else {
|
|
30
|
-
params = { is_active: args[0], page: args[1], page_size: args[2], user_id: args[3] };
|
|
31
|
-
}
|
|
32
|
-
const response = await this.client.request('GET', "/cfg/grpc/api-keys/", { params });
|
|
33
|
-
return response;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Get API key details
|
|
38
|
-
*
|
|
39
|
-
* Returns detailed information about a specific API key.
|
|
40
|
-
*/
|
|
41
|
-
async retrieve(id: number): Promise<Models.ApiKey> {
|
|
42
|
-
const response = await this.client.request('GET', `/cfg/grpc/api-keys/${id}/`);
|
|
43
|
-
return response;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Get API keys statistics
|
|
48
|
-
*
|
|
49
|
-
* Returns overall statistics about API keys usage.
|
|
50
|
-
*/
|
|
51
|
-
async statsRetrieve(): Promise<Models.ApiKeyStats> {
|
|
52
|
-
const response = await this.client.request('GET', "/cfg/grpc/api-keys/stats/");
|
|
53
|
-
return response;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* Response model (includes read-only fields).
|
|
4
|
-
*/
|
|
5
|
-
export interface PaginatedApiKeyList {
|
|
6
|
-
/** Total number of items across all pages */
|
|
7
|
-
count: number;
|
|
8
|
-
/** Current page number (1-based) */
|
|
9
|
-
page: number;
|
|
10
|
-
/** Total number of pages */
|
|
11
|
-
pages: number;
|
|
12
|
-
/** Number of items per page */
|
|
13
|
-
page_size: number;
|
|
14
|
-
/** Whether there is a next page */
|
|
15
|
-
has_next: boolean;
|
|
16
|
-
/** Whether there is a previous page */
|
|
17
|
-
has_previous: boolean;
|
|
18
|
-
/** Next page number (null if no next page) */
|
|
19
|
-
next_page?: number | null;
|
|
20
|
-
/** Previous page number (null if no previous page) */
|
|
21
|
-
previous_page?: number | null;
|
|
22
|
-
/** Array of items for current page */
|
|
23
|
-
results: Array<ApiKey>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* API Key information (read-only).
|
|
28
|
-
*
|
|
29
|
-
* Response model (includes read-only fields).
|
|
30
|
-
*/
|
|
31
|
-
export interface ApiKey {
|
|
32
|
-
/** Database ID */
|
|
33
|
-
id: number;
|
|
34
|
-
/** Key name/description */
|
|
35
|
-
name: string;
|
|
36
|
-
/** Masked API key (first 4 and last 4 chars) */
|
|
37
|
-
masked_key: string;
|
|
38
|
-
/** Whether key is active */
|
|
39
|
-
is_active: boolean;
|
|
40
|
-
/** Whether key is valid (active and not expired) */
|
|
41
|
-
is_valid: boolean;
|
|
42
|
-
/** User ID */
|
|
43
|
-
user_id: number;
|
|
44
|
-
/** Username */
|
|
45
|
-
username: string;
|
|
46
|
-
/** User email */
|
|
47
|
-
user_email: string;
|
|
48
|
-
/** Total requests made with this key */
|
|
49
|
-
request_count: number;
|
|
50
|
-
/** When key was last used */
|
|
51
|
-
last_used_at: string | null;
|
|
52
|
-
/** When key expires (null = never) */
|
|
53
|
-
expires_at: string | null;
|
|
54
|
-
/** When key was created */
|
|
55
|
-
created_at: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* API Key usage statistics.
|
|
60
|
-
*
|
|
61
|
-
* Response model (includes read-only fields).
|
|
62
|
-
*/
|
|
63
|
-
export interface ApiKeyStats {
|
|
64
|
-
/** Total API keys */
|
|
65
|
-
total_keys: number;
|
|
66
|
-
/** Active API keys */
|
|
67
|
-
active_keys: number;
|
|
68
|
-
/** Expired API keys */
|
|
69
|
-
expired_keys: number;
|
|
70
|
-
/** Total requests across all keys */
|
|
71
|
-
total_requests: number;
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as Models from "./models";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* API endpoints for Grpc Configuration.
|
|
6
|
-
*/
|
|
7
|
-
export class CfgAccountsGrpcConfiguration {
|
|
8
|
-
private client: any;
|
|
9
|
-
|
|
10
|
-
constructor(client: any) {
|
|
11
|
-
this.client = client;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Get gRPC configuration
|
|
16
|
-
*
|
|
17
|
-
* Returns current gRPC server configuration from Django settings.
|
|
18
|
-
*/
|
|
19
|
-
async grpcConfigConfigRetrieve(): Promise<Models.GRPCConfig> {
|
|
20
|
-
const response = await this.client.request('GET', "/cfg/grpc/config/config/");
|
|
21
|
-
return response;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Get server information
|
|
26
|
-
*
|
|
27
|
-
* Returns detailed information about gRPC server, services, and runtime
|
|
28
|
-
* statistics.
|
|
29
|
-
*/
|
|
30
|
-
async grpcConfigServerInfoRetrieve(): Promise<Models.GRPCServerInfo> {
|
|
31
|
-
const response = await this.client.request('GET', "/cfg/grpc/config/server-info/");
|
|
32
|
-
return response;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Complete gRPC configuration response.
|
|
3
|
-
*
|
|
4
|
-
* Response model (includes read-only fields).
|
|
5
|
-
*/
|
|
6
|
-
export interface GRPCConfig {
|
|
7
|
-
server: GRPCServerConfig;
|
|
8
|
-
framework: GRPCFrameworkConfig;
|
|
9
|
-
features: GRPCFeatures;
|
|
10
|
-
/** Number of registered services */
|
|
11
|
-
registered_services: number;
|
|
12
|
-
/** Total number of methods */
|
|
13
|
-
total_methods: number;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Complete gRPC server information response.
|
|
18
|
-
*
|
|
19
|
-
* Response model (includes read-only fields).
|
|
20
|
-
*/
|
|
21
|
-
export interface GRPCServerInfo {
|
|
22
|
-
/** Server status (running, stopped) */
|
|
23
|
-
server_status: string;
|
|
24
|
-
/** Server address (host:port) */
|
|
25
|
-
address: string;
|
|
26
|
-
/** Server start timestamp */
|
|
27
|
-
started_at?: string | null;
|
|
28
|
-
/** Server uptime in seconds */
|
|
29
|
-
uptime_seconds?: number | null;
|
|
30
|
-
/** Registered services */
|
|
31
|
-
services?: Array<GRPCServiceInfo>;
|
|
32
|
-
/** Active interceptors */
|
|
33
|
-
interceptors?: Array<GRPCInterceptorInfo>;
|
|
34
|
-
stats: GRPCStats;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* gRPC server configuration details.
|
|
39
|
-
*
|
|
40
|
-
* Response model (includes read-only fields).
|
|
41
|
-
*/
|
|
42
|
-
export interface GRPCServerConfig {
|
|
43
|
-
/** Server host address */
|
|
44
|
-
host: string;
|
|
45
|
-
/** Server port */
|
|
46
|
-
port: number;
|
|
47
|
-
/** Whether gRPC server is enabled */
|
|
48
|
-
enabled: boolean;
|
|
49
|
-
/** Maximum concurrent streams (async server) */
|
|
50
|
-
max_concurrent_streams?: number | null;
|
|
51
|
-
/** Maximum concurrent RPCs */
|
|
52
|
-
max_concurrent_rpcs?: number | null;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* gRPC framework configuration details.
|
|
57
|
-
*
|
|
58
|
-
* Response model (includes read-only fields).
|
|
59
|
-
*/
|
|
60
|
-
export interface GRPCFrameworkConfig {
|
|
61
|
-
/** Whether framework is enabled */
|
|
62
|
-
enabled: boolean;
|
|
63
|
-
/** Auto-discover services */
|
|
64
|
-
auto_discover: boolean;
|
|
65
|
-
/** Services discovery path pattern */
|
|
66
|
-
services_path: string;
|
|
67
|
-
/** Registered interceptors */
|
|
68
|
-
interceptors?: Array<string>;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* gRPC features configuration.
|
|
73
|
-
*
|
|
74
|
-
* Response model (includes read-only fields).
|
|
75
|
-
*/
|
|
76
|
-
export interface GRPCFeatures {
|
|
77
|
-
/** API key authentication enabled */
|
|
78
|
-
api_key_auth: boolean;
|
|
79
|
-
/** Request logging enabled */
|
|
80
|
-
request_logging: boolean;
|
|
81
|
-
/** Metrics collection enabled */
|
|
82
|
-
metrics: boolean;
|
|
83
|
-
/** gRPC reflection enabled */
|
|
84
|
-
reflection: boolean;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Information about a single gRPC service.
|
|
89
|
-
*
|
|
90
|
-
* Response model (includes read-only fields).
|
|
91
|
-
*/
|
|
92
|
-
export interface GRPCServiceInfo {
|
|
93
|
-
/** Service name */
|
|
94
|
-
name: string;
|
|
95
|
-
/** Service methods */
|
|
96
|
-
methods?: Array<string>;
|
|
97
|
-
/** Full service name with package */
|
|
98
|
-
full_name: string;
|
|
99
|
-
/** Service description */
|
|
100
|
-
description?: string;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Information about an interceptor.
|
|
105
|
-
*
|
|
106
|
-
* Response model (includes read-only fields).
|
|
107
|
-
*/
|
|
108
|
-
export interface GRPCInterceptorInfo {
|
|
109
|
-
/** Interceptor name */
|
|
110
|
-
name: string;
|
|
111
|
-
/** Whether interceptor is enabled */
|
|
112
|
-
enabled: boolean;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Runtime statistics summary.
|
|
117
|
-
*
|
|
118
|
-
* Response model (includes read-only fields).
|
|
119
|
-
*/
|
|
120
|
-
export interface GRPCStats {
|
|
121
|
-
/** Total number of requests */
|
|
122
|
-
total_requests: number;
|
|
123
|
-
/** Success rate percentage */
|
|
124
|
-
success_rate: number;
|
|
125
|
-
/** Average duration in milliseconds */
|
|
126
|
-
avg_duration_ms: number;
|
|
127
|
-
}
|
|
128
|
-
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import * as Models from "./models";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* API endpoints for Grpc Monitoring.
|
|
6
|
-
*/
|
|
7
|
-
export class CfgAccountsGrpcMonitoring {
|
|
8
|
-
private client: any;
|
|
9
|
-
|
|
10
|
-
constructor(client: any) {
|
|
11
|
-
this.client = client;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Get gRPC health status
|
|
16
|
-
*
|
|
17
|
-
* Returns the current health status of the gRPC server.
|
|
18
|
-
*/
|
|
19
|
-
async grpcMonitorHealthRetrieve(): Promise<Models.GRPCHealthCheck> {
|
|
20
|
-
const response = await this.client.request('GET', "/cfg/grpc/monitor/health/");
|
|
21
|
-
return response;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
async grpcMonitorMethodsRetrieve(hours?: number, service?: string): Promise<Models.MethodList[]>;
|
|
25
|
-
async grpcMonitorMethodsRetrieve(params?: { hours?: number; service?: string }): Promise<Models.MethodList[]>;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Get method statistics
|
|
29
|
-
*
|
|
30
|
-
* Returns statistics grouped by method.
|
|
31
|
-
*/
|
|
32
|
-
async grpcMonitorMethodsRetrieve(...args: any[]): Promise<Models.MethodList[]> {
|
|
33
|
-
const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
|
|
34
|
-
|
|
35
|
-
let params;
|
|
36
|
-
if (isParamsObject) {
|
|
37
|
-
params = args[0];
|
|
38
|
-
} else {
|
|
39
|
-
params = { hours: args[0], service: args[1] };
|
|
40
|
-
}
|
|
41
|
-
const response = await this.client.request('GET', "/cfg/grpc/monitor/methods/", { params });
|
|
42
|
-
return response;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
async grpcMonitorOverviewRetrieve(hours?: number): Promise<Models.GRPCOverviewStats>;
|
|
46
|
-
async grpcMonitorOverviewRetrieve(params?: { hours?: number }): Promise<Models.GRPCOverviewStats>;
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Get overview statistics
|
|
50
|
-
*
|
|
51
|
-
* Returns overview statistics for gRPC requests.
|
|
52
|
-
*/
|
|
53
|
-
async grpcMonitorOverviewRetrieve(...args: any[]): Promise<Models.GRPCOverviewStats> {
|
|
54
|
-
const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
|
|
55
|
-
|
|
56
|
-
let params;
|
|
57
|
-
if (isParamsObject) {
|
|
58
|
-
params = args[0];
|
|
59
|
-
} else {
|
|
60
|
-
params = { hours: args[0] };
|
|
61
|
-
}
|
|
62
|
-
const response = await this.client.request('GET', "/cfg/grpc/monitor/overview/", { params });
|
|
63
|
-
return response;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
async grpcMonitorRequestsList(method?: string, page?: number, page_size?: number, service?: string, status?: string): Promise<Models.PaginatedRecentRequestList>;
|
|
67
|
-
async grpcMonitorRequestsList(params?: { method?: string; page?: number; page_size?: number; service?: string; status?: string }): Promise<Models.PaginatedRecentRequestList>;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Get recent requests
|
|
71
|
-
*
|
|
72
|
-
* Returns a list of recent gRPC requests with their details. Uses standard
|
|
73
|
-
* DRF pagination.
|
|
74
|
-
*/
|
|
75
|
-
async grpcMonitorRequestsList(...args: any[]): Promise<Models.PaginatedRecentRequestList> {
|
|
76
|
-
const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
|
|
77
|
-
|
|
78
|
-
let params;
|
|
79
|
-
if (isParamsObject) {
|
|
80
|
-
params = args[0];
|
|
81
|
-
} else {
|
|
82
|
-
params = { method: args[0], page: args[1], page_size: args[2], service: args[3], status: args[4] };
|
|
83
|
-
}
|
|
84
|
-
const response = await this.client.request('GET', "/cfg/grpc/monitor/requests/", { params });
|
|
85
|
-
return response;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
async grpcMonitorTimelineRetrieve(hours?: number, interval?: string): Promise<any>;
|
|
89
|
-
async grpcMonitorTimelineRetrieve(params?: { hours?: number; interval?: string }): Promise<any>;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Get request timeline
|
|
93
|
-
*
|
|
94
|
-
* Returns hourly or daily breakdown of request counts for charts.
|
|
95
|
-
*/
|
|
96
|
-
async grpcMonitorTimelineRetrieve(...args: any[]): Promise<any> {
|
|
97
|
-
const isParamsObject = args.length === 1 && typeof args[0] === 'object' && args[0] !== null && !Array.isArray(args[0]);
|
|
98
|
-
|
|
99
|
-
let params;
|
|
100
|
-
if (isParamsObject) {
|
|
101
|
-
params = args[0];
|
|
102
|
-
} else {
|
|
103
|
-
params = { hours: args[0], interval: args[1] };
|
|
104
|
-
}
|
|
105
|
-
const response = await this.client.request('GET', "/cfg/grpc/monitor/timeline/", { params });
|
|
106
|
-
return response;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
}
|