@djangocfg/api 2.1.36 → 2.1.38

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.
Files changed (373) hide show
  1. package/README.md +94 -56
  2. package/dist/auth.cjs +3020 -4081
  3. package/dist/auth.cjs.map +1 -1
  4. package/dist/auth.d.cts +5 -7
  5. package/dist/auth.d.ts +5 -7
  6. package/dist/auth.mjs +3019 -4080
  7. package/dist/auth.mjs.map +1 -1
  8. package/dist/clients.cjs +4983 -0
  9. package/dist/clients.cjs.map +1 -0
  10. package/dist/clients.d.cts +4135 -0
  11. package/dist/clients.d.ts +4135 -0
  12. package/dist/clients.mjs +4957 -0
  13. package/dist/clients.mjs.map +1 -0
  14. package/dist/hooks.cjs +1083 -0
  15. package/dist/hooks.cjs.map +1 -1
  16. package/dist/hooks.d.cts +1122 -1
  17. package/dist/hooks.d.ts +1122 -1
  18. package/dist/hooks.mjs +1053 -0
  19. package/dist/hooks.mjs.map +1 -1
  20. package/dist/index.cjs +2888 -7848
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +1867 -9643
  23. package/dist/index.d.ts +1867 -9643
  24. package/dist/index.mjs +2891 -7851
  25. package/dist/index.mjs.map +1 -1
  26. package/package.json +8 -3
  27. package/src/auth/context/AuthContext.tsx +8 -71
  28. package/src/auth/context/types.ts +1 -9
  29. package/src/auth/hooks/useAuthForm.ts +11 -7
  30. package/src/auth/hooks/useGithubAuth.ts +3 -3
  31. package/src/clients.ts +57 -0
  32. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts.ts → accounts.ts} +10 -2
  33. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
  34. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +13 -5
  35. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +14 -6
  36. package/src/generated/cfg_accounts/_utils/fetchers/index.ts +12 -29
  37. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts.ts → accounts.ts} +9 -1
  38. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
  39. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +9 -1
  40. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +9 -1
  41. package/src/generated/cfg_accounts/_utils/hooks/index.ts +12 -29
  42. package/src/generated/cfg_accounts/_utils/schemas/index.ts +8 -134
  43. package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/client.ts +1 -1
  44. package/src/generated/cfg_accounts/accounts/index.ts +10 -0
  45. package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/models.ts +8 -0
  46. package/src/generated/cfg_accounts/{cfg_accounts__accounts__auth → accounts__auth}/client.ts +1 -1
  47. package/src/generated/cfg_accounts/accounts__auth/index.ts +10 -0
  48. package/src/generated/cfg_accounts/accounts__auth/models.ts +25 -0
  49. package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/client.ts +1 -1
  50. package/src/generated/cfg_accounts/accounts__oauth/index.ts +10 -0
  51. package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/models.ts +8 -0
  52. package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/client.ts +1 -1
  53. package/src/generated/cfg_accounts/accounts__user_profile/index.ts +10 -0
  54. package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/models.ts +8 -0
  55. package/src/generated/cfg_accounts/api-instance.ts +8 -0
  56. package/src/generated/cfg_accounts/client.ts +12 -87
  57. package/src/generated/cfg_accounts/enums.ts +8 -96
  58. package/src/generated/cfg_accounts/errors.ts +8 -0
  59. package/src/generated/cfg_accounts/http.ts +8 -0
  60. package/src/generated/cfg_accounts/index.ts +28 -195
  61. package/src/generated/cfg_accounts/logger.ts +8 -0
  62. package/src/generated/cfg_accounts/retry.ts +8 -0
  63. package/src/generated/cfg_accounts/schema.json +246 -10265
  64. package/src/generated/cfg_accounts/storage.ts +8 -0
  65. package/src/generated/cfg_accounts/validation-events.ts +8 -0
  66. 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
  67. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_auth.ts} +9 -1
  68. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_monitoring.ts} +13 -5
  69. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_testing.ts} +11 -3
  70. package/src/generated/cfg_centrifugo/_utils/fetchers/index.ts +39 -0
  71. 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
  72. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_auth.ts} +9 -1
  73. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_monitoring.ts} +9 -1
  74. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_testing.ts} +9 -1
  75. package/src/generated/cfg_centrifugo/_utils/hooks/index.ts +39 -0
  76. package/src/generated/cfg_centrifugo/_utils/schemas/index.ts +61 -0
  77. package/src/generated/cfg_centrifugo/api-instance.ts +139 -0
  78. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/client.ts +1 -1
  79. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_admin_api/index.ts +10 -0
  80. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/models.ts +8 -0
  81. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/client.ts +1 -1
  82. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_auth/index.ts +10 -0
  83. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/models.ts +8 -0
  84. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/client.ts +1 -1
  85. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_monitoring/index.ts +10 -0
  86. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/models.ts +8 -0
  87. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/client.ts +1 -1
  88. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_testing/index.ts +10 -0
  89. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/models.ts +8 -0
  90. package/src/generated/cfg_centrifugo/client.ts +310 -0
  91. package/src/generated/cfg_centrifugo/errors.ts +124 -0
  92. package/src/generated/cfg_centrifugo/http.ts +111 -0
  93. package/src/generated/cfg_centrifugo/index.ts +301 -0
  94. package/src/generated/cfg_centrifugo/logger.ts +267 -0
  95. package/src/generated/cfg_centrifugo/retry.ts +183 -0
  96. package/src/generated/cfg_centrifugo/schema.json +2123 -0
  97. package/src/generated/cfg_centrifugo/storage.ts +169 -0
  98. package/src/generated/cfg_centrifugo/validation-events.ts +141 -0
  99. package/src/generated/cfg_webpush/_utils/fetchers/index.ts +36 -0
  100. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_api_keys.ts → cfg_webpush/_utils/fetchers/webpush__web_push.ts} +45 -35
  101. package/src/generated/cfg_webpush/_utils/hooks/index.ts +36 -0
  102. package/src/generated/cfg_webpush/_utils/hooks/webpush__web_push.ts +86 -0
  103. package/src/generated/cfg_webpush/_utils/schemas/SendPushRequestRequest.schema.ts +22 -0
  104. package/src/generated/cfg_webpush/_utils/schemas/SendPushResponse.schema.ts +20 -0
  105. package/src/generated/cfg_webpush/_utils/schemas/SubscribeRequestRequest.schema.ts +20 -0
  106. package/src/generated/cfg_webpush/_utils/schemas/SubscribeResponse.schema.ts +21 -0
  107. package/src/generated/cfg_webpush/_utils/schemas/VapidPublicKeyResponse.schema.ts +19 -0
  108. package/src/generated/cfg_webpush/_utils/schemas/index.ts +31 -0
  109. package/src/generated/cfg_webpush/api-instance.ts +139 -0
  110. package/src/generated/cfg_webpush/client.ts +301 -0
  111. package/src/generated/cfg_webpush/errors.ts +124 -0
  112. package/src/generated/cfg_webpush/http.ts +111 -0
  113. package/src/generated/cfg_webpush/index.ts +280 -0
  114. package/src/generated/cfg_webpush/logger.ts +267 -0
  115. package/src/generated/cfg_webpush/retry.ts +183 -0
  116. package/src/generated/cfg_webpush/schema.json +302 -0
  117. package/src/generated/cfg_webpush/storage.ts +169 -0
  118. package/src/generated/cfg_webpush/validation-events.ts +141 -0
  119. package/src/generated/cfg_webpush/webpush__web_push/client.ts +45 -0
  120. package/src/generated/cfg_webpush/webpush__web_push/index.ts +10 -0
  121. package/src/generated/cfg_webpush/webpush__web_push/models.ts +72 -0
  122. package/src/hooks/accounts.ts +8 -0
  123. package/src/hooks/index.ts +10 -0
  124. package/src/hooks/webpush.ts +12 -0
  125. package/src/index.ts +11 -0
  126. package/src/server.ts +5 -8
  127. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_activity.ts +0 -62
  128. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -106
  129. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_charts.ts +0 -177
  130. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_commands.ts +0 -179
  131. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_config.ts +0 -92
  132. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_overview.ts +0 -92
  133. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_statistics.ts +0 -120
  134. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_system.ts +0 -150
  135. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__endpoints.ts +0 -164
  136. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_configuration.ts +0 -150
  137. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_monitoring.ts +0 -280
  138. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_services.ts +0 -208
  139. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__health.ts +0 -150
  140. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_jobs.ts +0 -323
  141. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_monitoring.ts +0 -164
  142. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_queues.ts +0 -134
  143. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_registries.ts +0 -436
  144. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_schedules.ts +0 -266
  145. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_testing.ts +0 -293
  146. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_workers.ts +0 -106
  147. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_activity.ts +0 -50
  148. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -51
  149. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_charts.ts +0 -79
  150. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_commands.ts +0 -86
  151. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_config.ts +0 -37
  152. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_overview.ts +0 -37
  153. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_statistics.ts +0 -65
  154. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_system.ts +0 -52
  155. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__endpoints.ts +0 -66
  156. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_api_keys.ts +0 -67
  157. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_configuration.ts +0 -52
  158. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_monitoring.ts +0 -96
  159. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_services.ts +0 -67
  160. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__health.ts +0 -52
  161. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_jobs.ts +0 -110
  162. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_monitoring.ts +0 -66
  163. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_queues.ts +0 -84
  164. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_registries.ts +0 -136
  165. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_schedules.ts +0 -92
  166. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_testing.ts +0 -126
  167. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_workers.ts +0 -51
  168. package/src/generated/cfg_accounts/_utils/schemas/APIZone.schema.ts +0 -29
  169. package/src/generated/cfg_accounts/_utils/schemas/APIZonesSummary.schema.ts +0 -22
  170. package/src/generated/cfg_accounts/_utils/schemas/ActivityEntry.schema.ts +0 -25
  171. package/src/generated/cfg_accounts/_utils/schemas/ActivityTrackerDay.schema.ts +0 -23
  172. package/src/generated/cfg_accounts/_utils/schemas/ApiKey.schema.ts +0 -30
  173. package/src/generated/cfg_accounts/_utils/schemas/ApiKeyStats.schema.ts +0 -22
  174. package/src/generated/cfg_accounts/_utils/schemas/AppStatistics.schema.ts +0 -21
  175. package/src/generated/cfg_accounts/_utils/schemas/AppStatisticsData.schema.ts +0 -23
  176. package/src/generated/cfg_accounts/_utils/schemas/AxesConfig.schema.ts +0 -35
  177. package/src/generated/cfg_accounts/_utils/schemas/CentrifugoConfig.schema.ts +0 -35
  178. package/src/generated/cfg_accounts/_utils/schemas/ChartData.schema.ts +0 -21
  179. package/src/generated/cfg_accounts/_utils/schemas/ChartDataset.schema.ts +0 -24
  180. package/src/generated/cfg_accounts/_utils/schemas/Command.schema.ts +0 -38
  181. package/src/generated/cfg_accounts/_utils/schemas/CommandCategory.schema.ts +0 -21
  182. package/src/generated/cfg_accounts/_utils/schemas/CommandExecuteRequestRequest.schema.ts +0 -21
  183. package/src/generated/cfg_accounts/_utils/schemas/CommandHelpResponse.schema.ts +0 -25
  184. package/src/generated/cfg_accounts/_utils/schemas/CommandsSummary.schema.ts +0 -26
  185. package/src/generated/cfg_accounts/_utils/schemas/ConfigData.schema.ts +0 -27
  186. package/src/generated/cfg_accounts/_utils/schemas/ConfigMeta.schema.ts +0 -20
  187. package/src/generated/cfg_accounts/_utils/schemas/ConfigValidation.schema.ts +0 -24
  188. package/src/generated/cfg_accounts/_utils/schemas/ConstanceConfig.schema.ts +0 -24
  189. package/src/generated/cfg_accounts/_utils/schemas/DRFConfig.schema.ts +0 -20
  190. package/src/generated/cfg_accounts/_utils/schemas/DRFHealthCheck.schema.ts +0 -25
  191. package/src/generated/cfg_accounts/_utils/schemas/DashboardOverview.schema.ts +0 -35
  192. package/src/generated/cfg_accounts/_utils/schemas/DatabaseConfig.schema.ts +0 -31
  193. package/src/generated/cfg_accounts/_utils/schemas/DjangoConfig.schema.ts +0 -93
  194. package/src/generated/cfg_accounts/_utils/schemas/DjangoRQConfig.schema.ts +0 -27
  195. package/src/generated/cfg_accounts/_utils/schemas/EmailConfig.schema.ts +0 -28
  196. package/src/generated/cfg_accounts/_utils/schemas/Endpoint.schema.ts +0 -35
  197. package/src/generated/cfg_accounts/_utils/schemas/EndpointsStatus.schema.ts +0 -28
  198. package/src/generated/cfg_accounts/_utils/schemas/GRPCConfig.schema.ts +0 -26
  199. package/src/generated/cfg_accounts/_utils/schemas/GRPCConfigDashboard.schema.ts +0 -33
  200. package/src/generated/cfg_accounts/_utils/schemas/GRPCFeatures.schema.ts +0 -22
  201. package/src/generated/cfg_accounts/_utils/schemas/GRPCFrameworkConfig.schema.ts +0 -22
  202. package/src/generated/cfg_accounts/_utils/schemas/GRPCHealthCheck.schema.ts +0 -23
  203. package/src/generated/cfg_accounts/_utils/schemas/GRPCInterceptorInfo.schema.ts +0 -20
  204. package/src/generated/cfg_accounts/_utils/schemas/GRPCOverviewStats.schema.ts +0 -29
  205. package/src/generated/cfg_accounts/_utils/schemas/GRPCRegisteredService.schema.ts +0 -24
  206. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerConfig.schema.ts +0 -23
  207. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerInfo.schema.ts +0 -28
  208. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerStatus.schema.ts +0 -30
  209. package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceInfo.schema.ts +0 -22
  210. package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceRegistryMethodStats.schema.ts +0 -26
  211. package/src/generated/cfg_accounts/_utils/schemas/GRPCStats.schema.ts +0 -21
  212. package/src/generated/cfg_accounts/_utils/schemas/GitHubOAuthConfig.schema.ts +0 -30
  213. package/src/generated/cfg_accounts/_utils/schemas/JWTConfig.schema.ts +0 -21
  214. package/src/generated/cfg_accounts/_utils/schemas/JobActionResponse.schema.ts +0 -26
  215. package/src/generated/cfg_accounts/_utils/schemas/JobDetail.schema.ts +0 -40
  216. package/src/generated/cfg_accounts/_utils/schemas/JobList.schema.ts +0 -28
  217. package/src/generated/cfg_accounts/_utils/schemas/JobListRequest.schema.ts +0 -28
  218. package/src/generated/cfg_accounts/_utils/schemas/MethodInfo.schema.ts +0 -24
  219. package/src/generated/cfg_accounts/_utils/schemas/MethodList.schema.ts +0 -21
  220. package/src/generated/cfg_accounts/_utils/schemas/MethodSummary.schema.ts +0 -25
  221. package/src/generated/cfg_accounts/_utils/schemas/ModelStatistics.schema.ts +0 -23
  222. package/src/generated/cfg_accounts/_utils/schemas/NextJSAdminConfig.schema.ts +0 -21
  223. package/src/generated/cfg_accounts/_utils/schemas/NgrokConfig.schema.ts +0 -22
  224. package/src/generated/cfg_accounts/_utils/schemas/OpenAPIClientConfig.schema.ts +0 -26
  225. package/src/generated/cfg_accounts/_utils/schemas/PaginatedApiKeyList.schema.ts +0 -24
  226. package/src/generated/cfg_accounts/_utils/schemas/PaginatedJobListList.schema.ts +0 -24
  227. package/src/generated/cfg_accounts/_utils/schemas/PaginatedRecentRequestList.schema.ts +0 -24
  228. package/src/generated/cfg_accounts/_utils/schemas/PaginatedScheduledJobList.schema.ts +0 -24
  229. package/src/generated/cfg_accounts/_utils/schemas/PaginatedServiceSummaryList.schema.ts +0 -24
  230. package/src/generated/cfg_accounts/_utils/schemas/PaymentsConfig.schema.ts +0 -21
  231. package/src/generated/cfg_accounts/_utils/schemas/PaymentsNowPayments.schema.ts +0 -22
  232. package/src/generated/cfg_accounts/_utils/schemas/QueueDetail.schema.ts +0 -34
  233. package/src/generated/cfg_accounts/_utils/schemas/QueueStats.schema.ts +0 -31
  234. package/src/generated/cfg_accounts/_utils/schemas/QuickAction.schema.ts +0 -29
  235. package/src/generated/cfg_accounts/_utils/schemas/QuickHealth.schema.ts +0 -21
  236. package/src/generated/cfg_accounts/_utils/schemas/RQConfig.schema.ts +0 -30
  237. package/src/generated/cfg_accounts/_utils/schemas/RQHealthCheck.schema.ts +0 -31
  238. package/src/generated/cfg_accounts/_utils/schemas/RQSchedule.schema.ts +0 -26
  239. package/src/generated/cfg_accounts/_utils/schemas/RecentError.schema.ts +0 -22
  240. package/src/generated/cfg_accounts/_utils/schemas/RecentRequest.schema.ts +0 -33
  241. package/src/generated/cfg_accounts/_utils/schemas/RecentUser.schema.ts +0 -26
  242. package/src/generated/cfg_accounts/_utils/schemas/RedisQueueConfig.schema.ts +0 -29
  243. package/src/generated/cfg_accounts/_utils/schemas/RunDemoRequestRequest.schema.ts +0 -24
  244. package/src/generated/cfg_accounts/_utils/schemas/ScheduleActionResponse.schema.ts +0 -22
  245. package/src/generated/cfg_accounts/_utils/schemas/ScheduleCreateRequest.schema.ts +0 -39
  246. package/src/generated/cfg_accounts/_utils/schemas/ScheduleInfo.schema.ts +0 -27
  247. package/src/generated/cfg_accounts/_utils/schemas/ScheduledJob.schema.ts +0 -32
  248. package/src/generated/cfg_accounts/_utils/schemas/ServiceDetail.schema.ts +0 -31
  249. package/src/generated/cfg_accounts/_utils/schemas/ServiceMethods.schema.ts +0 -22
  250. package/src/generated/cfg_accounts/_utils/schemas/ServiceStats.schema.ts +0 -24
  251. package/src/generated/cfg_accounts/_utils/schemas/ServiceSummary.schema.ts +0 -26
  252. package/src/generated/cfg_accounts/_utils/schemas/SpectacularConfig.schema.ts +0 -21
  253. package/src/generated/cfg_accounts/_utils/schemas/StatCard.schema.ts +0 -30
  254. package/src/generated/cfg_accounts/_utils/schemas/StressTestRequestRequest.schema.ts +0 -23
  255. package/src/generated/cfg_accounts/_utils/schemas/SystemHealth.schema.ts +0 -24
  256. package/src/generated/cfg_accounts/_utils/schemas/SystemHealthItem.schema.ts +0 -28
  257. package/src/generated/cfg_accounts/_utils/schemas/SystemMetrics.schema.ts +0 -25
  258. package/src/generated/cfg_accounts/_utils/schemas/TelegramConfig.schema.ts +0 -28
  259. package/src/generated/cfg_accounts/_utils/schemas/TestScenario.schema.ts +0 -25
  260. package/src/generated/cfg_accounts/_utils/schemas/TestingActionResponse.schema.ts +0 -23
  261. package/src/generated/cfg_accounts/_utils/schemas/URLPattern.schema.ts +0 -26
  262. package/src/generated/cfg_accounts/_utils/schemas/URLsList.schema.ts +0 -25
  263. package/src/generated/cfg_accounts/_utils/schemas/UserStatistics.schema.ts +0 -22
  264. package/src/generated/cfg_accounts/_utils/schemas/Worker.schema.ts +0 -31
  265. package/src/generated/cfg_accounts/_utils/schemas/WorkerStats.schema.ts +0 -31
  266. package/src/generated/cfg_accounts/_utils/schemas/ZonesSummaryStats.schema.ts +0 -21
  267. package/src/generated/cfg_accounts/cfg_accounts__accounts/index.ts +0 -2
  268. package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/index.ts +0 -2
  269. package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/models.ts +0 -17
  270. package/src/generated/cfg_accounts/cfg_accounts__accounts__oauth/index.ts +0 -2
  271. package/src/generated/cfg_accounts/cfg_accounts__accounts__user_profile/index.ts +0 -2
  272. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api/index.ts +0 -2
  273. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth/index.ts +0 -2
  274. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring/index.ts +0 -2
  275. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing/index.ts +0 -2
  276. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/client.ts +0 -45
  277. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/index.ts +0 -2
  278. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/models.ts +0 -0
  279. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/client.ts +0 -34
  280. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/index.ts +0 -2
  281. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/models.ts +0 -40
  282. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/client.ts +0 -98
  283. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/index.ts +0 -2
  284. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/models.ts +0 -24
  285. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/client.ts +0 -55
  286. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/index.ts +0 -2
  287. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/models.ts +0 -80
  288. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/client.ts +0 -25
  289. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/index.ts +0 -2
  290. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/models.ts +0 -412
  291. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/client.ts +0 -25
  292. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/index.ts +0 -2
  293. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/models.ts +0 -228
  294. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/client.ts +0 -44
  295. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/index.ts +0 -2
  296. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/models.ts +0 -16
  297. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/client.ts +0 -34
  298. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/index.ts +0 -2
  299. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/models.ts +0 -69
  300. package/src/generated/cfg_accounts/cfg_accounts__endpoints/client.ts +0 -42
  301. package/src/generated/cfg_accounts/cfg_accounts__endpoints/index.ts +0 -2
  302. package/src/generated/cfg_accounts/cfg_accounts__endpoints/models.ts +0 -112
  303. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/client.ts +0 -56
  304. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/index.ts +0 -2
  305. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/models.ts +0 -73
  306. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/client.ts +0 -35
  307. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/index.ts +0 -2
  308. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/models.ts +0 -128
  309. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/client.ts +0 -109
  310. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/index.ts +0 -2
  311. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/models.ts +0 -213
  312. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/client.ts +0 -56
  313. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/index.ts +0 -2
  314. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/models.ts +0 -189
  315. package/src/generated/cfg_accounts/cfg_accounts__health/client.ts +0 -30
  316. package/src/generated/cfg_accounts/cfg_accounts__health/index.ts +0 -2
  317. package/src/generated/cfg_accounts/cfg_accounts__health/models.ts +0 -36
  318. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/client.ts +0 -76
  319. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/index.ts +0 -2
  320. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/models.ts +0 -127
  321. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/client.ts +0 -45
  322. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/index.ts +0 -2
  323. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/models.ts +0 -66
  324. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/client.ts +0 -78
  325. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/index.ts +0 -2
  326. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/models.ts +0 -33
  327. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/client.ts +0 -164
  328. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/index.ts +0 -2
  329. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/models.ts +0 -82
  330. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/client.ts +0 -91
  331. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/index.ts +0 -2
  332. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/models.ts +0 -109
  333. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/client.ts +0 -96
  334. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/index.ts +0 -2
  335. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/models.ts +0 -68
  336. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/client.ts +0 -46
  337. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/index.ts +0 -2
  338. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/models.ts +0 -52
  339. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelInfo.schema.ts +0 -0
  340. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsRequestRequest.schema.ts +0 -0
  341. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResponse.schema.ts +0 -0
  342. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResult.schema.ts +0 -0
  343. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoClientInfo.schema.ts +0 -0
  344. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoError.schema.ts +0 -0
  345. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHealthCheck.schema.ts +0 -0
  346. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts +0 -0
  347. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResponse.schema.ts +0 -0
  348. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResult.schema.ts +0 -0
  349. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResponse.schema.ts +0 -0
  350. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResult.schema.ts +0 -0
  351. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoMetrics.schema.ts +0 -0
  352. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoNodeInfo.schema.ts +0 -0
  353. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoOverviewStats.schema.ts +0 -0
  354. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceRequestRequest.schema.ts +0 -0
  355. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResponse.schema.ts +0 -0
  356. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResult.schema.ts +0 -0
  357. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts +0 -0
  358. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts +0 -0
  359. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts +0 -0
  360. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoProcess.schema.ts +0 -0
  361. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPublication.schema.ts +0 -0
  362. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoStreamPosition.schema.ts +0 -0
  363. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelList.schema.ts +0 -0
  364. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelStats.schema.ts +0 -0
  365. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ConnectionTokenResponse.schema.ts +0 -0
  366. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckRequestRequest.schema.ts +0 -0
  367. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckResponse.schema.ts +0 -0
  368. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PaginatedPublishList.schema.ts +0 -0
  369. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/Publish.schema.ts +0 -0
  370. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestRequestRequest.schema.ts +0 -0
  371. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestResponse.schema.ts +0 -0
  372. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineItem.schema.ts +0 -0
  373. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineResponse.schema.ts +0 -0
@@ -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
-
@@ -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
-
@@ -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
-
@@ -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
-