@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.
Files changed (367) hide show
  1. package/dist/auth.cjs +3007 -4015
  2. package/dist/auth.cjs.map +1 -1
  3. package/dist/auth.mjs +3007 -4015
  4. package/dist/auth.mjs.map +1 -1
  5. package/dist/clients.cjs +4983 -0
  6. package/dist/clients.cjs.map +1 -0
  7. package/dist/clients.d.cts +4135 -0
  8. package/dist/clients.d.ts +4135 -0
  9. package/dist/clients.mjs +4957 -0
  10. package/dist/clients.mjs.map +1 -0
  11. package/dist/hooks.cjs +1083 -0
  12. package/dist/hooks.cjs.map +1 -1
  13. package/dist/hooks.d.cts +1122 -1
  14. package/dist/hooks.d.ts +1122 -1
  15. package/dist/hooks.mjs +1053 -0
  16. package/dist/hooks.mjs.map +1 -1
  17. package/dist/index.cjs +2888 -7848
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +1867 -9643
  20. package/dist/index.d.ts +1867 -9643
  21. package/dist/index.mjs +2891 -7851
  22. package/dist/index.mjs.map +1 -1
  23. package/package.json +8 -3
  24. package/src/auth/hooks/useGithubAuth.ts +3 -3
  25. package/src/clients.ts +57 -0
  26. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts.ts → accounts.ts} +10 -2
  27. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
  28. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +13 -5
  29. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +14 -6
  30. package/src/generated/cfg_accounts/_utils/fetchers/index.ts +12 -29
  31. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts.ts → accounts.ts} +9 -1
  32. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
  33. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +9 -1
  34. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +9 -1
  35. package/src/generated/cfg_accounts/_utils/hooks/index.ts +12 -29
  36. package/src/generated/cfg_accounts/_utils/schemas/index.ts +8 -134
  37. package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/client.ts +1 -1
  38. package/src/generated/cfg_accounts/accounts/index.ts +10 -0
  39. package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/models.ts +8 -0
  40. package/src/generated/cfg_accounts/{cfg_accounts__accounts__auth → accounts__auth}/client.ts +1 -1
  41. package/src/generated/cfg_accounts/accounts__auth/index.ts +10 -0
  42. package/src/generated/cfg_accounts/accounts__auth/models.ts +25 -0
  43. package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/client.ts +1 -1
  44. package/src/generated/cfg_accounts/accounts__oauth/index.ts +10 -0
  45. package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/models.ts +8 -0
  46. package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/client.ts +1 -1
  47. package/src/generated/cfg_accounts/accounts__user_profile/index.ts +10 -0
  48. package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/models.ts +8 -0
  49. package/src/generated/cfg_accounts/api-instance.ts +8 -0
  50. package/src/generated/cfg_accounts/client.ts +12 -87
  51. package/src/generated/cfg_accounts/enums.ts +8 -96
  52. package/src/generated/cfg_accounts/errors.ts +8 -0
  53. package/src/generated/cfg_accounts/http.ts +8 -0
  54. package/src/generated/cfg_accounts/index.ts +28 -195
  55. package/src/generated/cfg_accounts/logger.ts +8 -0
  56. package/src/generated/cfg_accounts/retry.ts +8 -0
  57. package/src/generated/cfg_accounts/schema.json +246 -10265
  58. package/src/generated/cfg_accounts/storage.ts +8 -0
  59. package/src/generated/cfg_accounts/validation-events.ts +8 -0
  60. 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
  61. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_auth.ts} +9 -1
  62. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_monitoring.ts} +13 -5
  63. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_testing.ts} +11 -3
  64. package/src/generated/cfg_centrifugo/_utils/fetchers/index.ts +39 -0
  65. 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
  66. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_auth.ts} +9 -1
  67. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_monitoring.ts} +9 -1
  68. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_testing.ts} +9 -1
  69. package/src/generated/cfg_centrifugo/_utils/hooks/index.ts +39 -0
  70. package/src/generated/cfg_centrifugo/_utils/schemas/index.ts +61 -0
  71. package/src/generated/cfg_centrifugo/api-instance.ts +139 -0
  72. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/client.ts +1 -1
  73. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_admin_api/index.ts +10 -0
  74. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/models.ts +8 -0
  75. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/client.ts +1 -1
  76. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_auth/index.ts +10 -0
  77. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/models.ts +8 -0
  78. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/client.ts +1 -1
  79. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_monitoring/index.ts +10 -0
  80. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/models.ts +8 -0
  81. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/client.ts +1 -1
  82. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_testing/index.ts +10 -0
  83. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/models.ts +8 -0
  84. package/src/generated/cfg_centrifugo/client.ts +310 -0
  85. package/src/generated/cfg_centrifugo/errors.ts +124 -0
  86. package/src/generated/cfg_centrifugo/http.ts +111 -0
  87. package/src/generated/cfg_centrifugo/index.ts +301 -0
  88. package/src/generated/cfg_centrifugo/logger.ts +267 -0
  89. package/src/generated/cfg_centrifugo/retry.ts +183 -0
  90. package/src/generated/cfg_centrifugo/schema.json +2123 -0
  91. package/src/generated/cfg_centrifugo/storage.ts +169 -0
  92. package/src/generated/cfg_centrifugo/validation-events.ts +141 -0
  93. package/src/generated/cfg_webpush/_utils/fetchers/index.ts +36 -0
  94. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_api_keys.ts → cfg_webpush/_utils/fetchers/webpush__web_push.ts} +45 -35
  95. package/src/generated/cfg_webpush/_utils/hooks/index.ts +36 -0
  96. package/src/generated/cfg_webpush/_utils/hooks/webpush__web_push.ts +86 -0
  97. package/src/generated/cfg_webpush/_utils/schemas/SendPushRequestRequest.schema.ts +22 -0
  98. package/src/generated/cfg_webpush/_utils/schemas/SendPushResponse.schema.ts +20 -0
  99. package/src/generated/cfg_webpush/_utils/schemas/SubscribeRequestRequest.schema.ts +20 -0
  100. package/src/generated/cfg_webpush/_utils/schemas/SubscribeResponse.schema.ts +21 -0
  101. package/src/generated/cfg_webpush/_utils/schemas/VapidPublicKeyResponse.schema.ts +19 -0
  102. package/src/generated/cfg_webpush/_utils/schemas/index.ts +31 -0
  103. package/src/generated/cfg_webpush/api-instance.ts +139 -0
  104. package/src/generated/cfg_webpush/client.ts +301 -0
  105. package/src/generated/cfg_webpush/errors.ts +124 -0
  106. package/src/generated/cfg_webpush/http.ts +111 -0
  107. package/src/generated/cfg_webpush/index.ts +280 -0
  108. package/src/generated/cfg_webpush/logger.ts +267 -0
  109. package/src/generated/cfg_webpush/retry.ts +183 -0
  110. package/src/generated/cfg_webpush/schema.json +302 -0
  111. package/src/generated/cfg_webpush/storage.ts +169 -0
  112. package/src/generated/cfg_webpush/validation-events.ts +141 -0
  113. package/src/generated/cfg_webpush/webpush__web_push/client.ts +45 -0
  114. package/src/generated/cfg_webpush/webpush__web_push/index.ts +10 -0
  115. package/src/generated/cfg_webpush/webpush__web_push/models.ts +72 -0
  116. package/src/hooks/accounts.ts +8 -0
  117. package/src/hooks/index.ts +10 -0
  118. package/src/hooks/webpush.ts +12 -0
  119. package/src/index.ts +11 -0
  120. package/src/server.ts +5 -8
  121. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_activity.ts +0 -62
  122. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -106
  123. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_charts.ts +0 -177
  124. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_commands.ts +0 -179
  125. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_config.ts +0 -92
  126. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_overview.ts +0 -92
  127. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_statistics.ts +0 -120
  128. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_system.ts +0 -150
  129. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__endpoints.ts +0 -164
  130. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_configuration.ts +0 -150
  131. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_monitoring.ts +0 -280
  132. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_services.ts +0 -208
  133. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__health.ts +0 -150
  134. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_jobs.ts +0 -323
  135. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_monitoring.ts +0 -164
  136. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_queues.ts +0 -134
  137. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_registries.ts +0 -436
  138. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_schedules.ts +0 -266
  139. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_testing.ts +0 -293
  140. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_workers.ts +0 -106
  141. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_activity.ts +0 -50
  142. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -51
  143. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_charts.ts +0 -79
  144. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_commands.ts +0 -86
  145. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_config.ts +0 -37
  146. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_overview.ts +0 -37
  147. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_statistics.ts +0 -65
  148. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_system.ts +0 -52
  149. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__endpoints.ts +0 -66
  150. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_api_keys.ts +0 -67
  151. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_configuration.ts +0 -52
  152. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_monitoring.ts +0 -96
  153. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_services.ts +0 -67
  154. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__health.ts +0 -52
  155. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_jobs.ts +0 -110
  156. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_monitoring.ts +0 -66
  157. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_queues.ts +0 -84
  158. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_registries.ts +0 -136
  159. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_schedules.ts +0 -92
  160. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_testing.ts +0 -126
  161. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_workers.ts +0 -51
  162. package/src/generated/cfg_accounts/_utils/schemas/APIZone.schema.ts +0 -29
  163. package/src/generated/cfg_accounts/_utils/schemas/APIZonesSummary.schema.ts +0 -22
  164. package/src/generated/cfg_accounts/_utils/schemas/ActivityEntry.schema.ts +0 -25
  165. package/src/generated/cfg_accounts/_utils/schemas/ActivityTrackerDay.schema.ts +0 -23
  166. package/src/generated/cfg_accounts/_utils/schemas/ApiKey.schema.ts +0 -30
  167. package/src/generated/cfg_accounts/_utils/schemas/ApiKeyStats.schema.ts +0 -22
  168. package/src/generated/cfg_accounts/_utils/schemas/AppStatistics.schema.ts +0 -21
  169. package/src/generated/cfg_accounts/_utils/schemas/AppStatisticsData.schema.ts +0 -23
  170. package/src/generated/cfg_accounts/_utils/schemas/AxesConfig.schema.ts +0 -35
  171. package/src/generated/cfg_accounts/_utils/schemas/CentrifugoConfig.schema.ts +0 -35
  172. package/src/generated/cfg_accounts/_utils/schemas/ChartData.schema.ts +0 -21
  173. package/src/generated/cfg_accounts/_utils/schemas/ChartDataset.schema.ts +0 -24
  174. package/src/generated/cfg_accounts/_utils/schemas/Command.schema.ts +0 -38
  175. package/src/generated/cfg_accounts/_utils/schemas/CommandCategory.schema.ts +0 -21
  176. package/src/generated/cfg_accounts/_utils/schemas/CommandExecuteRequestRequest.schema.ts +0 -21
  177. package/src/generated/cfg_accounts/_utils/schemas/CommandHelpResponse.schema.ts +0 -25
  178. package/src/generated/cfg_accounts/_utils/schemas/CommandsSummary.schema.ts +0 -26
  179. package/src/generated/cfg_accounts/_utils/schemas/ConfigData.schema.ts +0 -27
  180. package/src/generated/cfg_accounts/_utils/schemas/ConfigMeta.schema.ts +0 -20
  181. package/src/generated/cfg_accounts/_utils/schemas/ConfigValidation.schema.ts +0 -24
  182. package/src/generated/cfg_accounts/_utils/schemas/ConstanceConfig.schema.ts +0 -24
  183. package/src/generated/cfg_accounts/_utils/schemas/DRFConfig.schema.ts +0 -20
  184. package/src/generated/cfg_accounts/_utils/schemas/DRFHealthCheck.schema.ts +0 -25
  185. package/src/generated/cfg_accounts/_utils/schemas/DashboardOverview.schema.ts +0 -35
  186. package/src/generated/cfg_accounts/_utils/schemas/DatabaseConfig.schema.ts +0 -31
  187. package/src/generated/cfg_accounts/_utils/schemas/DjangoConfig.schema.ts +0 -93
  188. package/src/generated/cfg_accounts/_utils/schemas/DjangoRQConfig.schema.ts +0 -27
  189. package/src/generated/cfg_accounts/_utils/schemas/EmailConfig.schema.ts +0 -28
  190. package/src/generated/cfg_accounts/_utils/schemas/Endpoint.schema.ts +0 -35
  191. package/src/generated/cfg_accounts/_utils/schemas/EndpointsStatus.schema.ts +0 -28
  192. package/src/generated/cfg_accounts/_utils/schemas/GRPCConfig.schema.ts +0 -26
  193. package/src/generated/cfg_accounts/_utils/schemas/GRPCConfigDashboard.schema.ts +0 -33
  194. package/src/generated/cfg_accounts/_utils/schemas/GRPCFeatures.schema.ts +0 -22
  195. package/src/generated/cfg_accounts/_utils/schemas/GRPCFrameworkConfig.schema.ts +0 -22
  196. package/src/generated/cfg_accounts/_utils/schemas/GRPCHealthCheck.schema.ts +0 -23
  197. package/src/generated/cfg_accounts/_utils/schemas/GRPCInterceptorInfo.schema.ts +0 -20
  198. package/src/generated/cfg_accounts/_utils/schemas/GRPCOverviewStats.schema.ts +0 -29
  199. package/src/generated/cfg_accounts/_utils/schemas/GRPCRegisteredService.schema.ts +0 -24
  200. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerConfig.schema.ts +0 -23
  201. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerInfo.schema.ts +0 -28
  202. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerStatus.schema.ts +0 -30
  203. package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceInfo.schema.ts +0 -22
  204. package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceRegistryMethodStats.schema.ts +0 -26
  205. package/src/generated/cfg_accounts/_utils/schemas/GRPCStats.schema.ts +0 -21
  206. package/src/generated/cfg_accounts/_utils/schemas/GitHubOAuthConfig.schema.ts +0 -30
  207. package/src/generated/cfg_accounts/_utils/schemas/JWTConfig.schema.ts +0 -21
  208. package/src/generated/cfg_accounts/_utils/schemas/JobActionResponse.schema.ts +0 -26
  209. package/src/generated/cfg_accounts/_utils/schemas/JobDetail.schema.ts +0 -40
  210. package/src/generated/cfg_accounts/_utils/schemas/JobList.schema.ts +0 -28
  211. package/src/generated/cfg_accounts/_utils/schemas/JobListRequest.schema.ts +0 -28
  212. package/src/generated/cfg_accounts/_utils/schemas/MethodInfo.schema.ts +0 -24
  213. package/src/generated/cfg_accounts/_utils/schemas/MethodList.schema.ts +0 -21
  214. package/src/generated/cfg_accounts/_utils/schemas/MethodSummary.schema.ts +0 -25
  215. package/src/generated/cfg_accounts/_utils/schemas/ModelStatistics.schema.ts +0 -23
  216. package/src/generated/cfg_accounts/_utils/schemas/NextJSAdminConfig.schema.ts +0 -21
  217. package/src/generated/cfg_accounts/_utils/schemas/NgrokConfig.schema.ts +0 -22
  218. package/src/generated/cfg_accounts/_utils/schemas/OpenAPIClientConfig.schema.ts +0 -26
  219. package/src/generated/cfg_accounts/_utils/schemas/PaginatedApiKeyList.schema.ts +0 -24
  220. package/src/generated/cfg_accounts/_utils/schemas/PaginatedJobListList.schema.ts +0 -24
  221. package/src/generated/cfg_accounts/_utils/schemas/PaginatedRecentRequestList.schema.ts +0 -24
  222. package/src/generated/cfg_accounts/_utils/schemas/PaginatedScheduledJobList.schema.ts +0 -24
  223. package/src/generated/cfg_accounts/_utils/schemas/PaginatedServiceSummaryList.schema.ts +0 -24
  224. package/src/generated/cfg_accounts/_utils/schemas/PaymentsConfig.schema.ts +0 -21
  225. package/src/generated/cfg_accounts/_utils/schemas/PaymentsNowPayments.schema.ts +0 -22
  226. package/src/generated/cfg_accounts/_utils/schemas/QueueDetail.schema.ts +0 -34
  227. package/src/generated/cfg_accounts/_utils/schemas/QueueStats.schema.ts +0 -31
  228. package/src/generated/cfg_accounts/_utils/schemas/QuickAction.schema.ts +0 -29
  229. package/src/generated/cfg_accounts/_utils/schemas/QuickHealth.schema.ts +0 -21
  230. package/src/generated/cfg_accounts/_utils/schemas/RQConfig.schema.ts +0 -30
  231. package/src/generated/cfg_accounts/_utils/schemas/RQHealthCheck.schema.ts +0 -31
  232. package/src/generated/cfg_accounts/_utils/schemas/RQSchedule.schema.ts +0 -26
  233. package/src/generated/cfg_accounts/_utils/schemas/RecentError.schema.ts +0 -22
  234. package/src/generated/cfg_accounts/_utils/schemas/RecentRequest.schema.ts +0 -33
  235. package/src/generated/cfg_accounts/_utils/schemas/RecentUser.schema.ts +0 -26
  236. package/src/generated/cfg_accounts/_utils/schemas/RedisQueueConfig.schema.ts +0 -29
  237. package/src/generated/cfg_accounts/_utils/schemas/RunDemoRequestRequest.schema.ts +0 -24
  238. package/src/generated/cfg_accounts/_utils/schemas/ScheduleActionResponse.schema.ts +0 -22
  239. package/src/generated/cfg_accounts/_utils/schemas/ScheduleCreateRequest.schema.ts +0 -39
  240. package/src/generated/cfg_accounts/_utils/schemas/ScheduleInfo.schema.ts +0 -27
  241. package/src/generated/cfg_accounts/_utils/schemas/ScheduledJob.schema.ts +0 -32
  242. package/src/generated/cfg_accounts/_utils/schemas/ServiceDetail.schema.ts +0 -31
  243. package/src/generated/cfg_accounts/_utils/schemas/ServiceMethods.schema.ts +0 -22
  244. package/src/generated/cfg_accounts/_utils/schemas/ServiceStats.schema.ts +0 -24
  245. package/src/generated/cfg_accounts/_utils/schemas/ServiceSummary.schema.ts +0 -26
  246. package/src/generated/cfg_accounts/_utils/schemas/SpectacularConfig.schema.ts +0 -21
  247. package/src/generated/cfg_accounts/_utils/schemas/StatCard.schema.ts +0 -30
  248. package/src/generated/cfg_accounts/_utils/schemas/StressTestRequestRequest.schema.ts +0 -23
  249. package/src/generated/cfg_accounts/_utils/schemas/SystemHealth.schema.ts +0 -24
  250. package/src/generated/cfg_accounts/_utils/schemas/SystemHealthItem.schema.ts +0 -28
  251. package/src/generated/cfg_accounts/_utils/schemas/SystemMetrics.schema.ts +0 -25
  252. package/src/generated/cfg_accounts/_utils/schemas/TelegramConfig.schema.ts +0 -28
  253. package/src/generated/cfg_accounts/_utils/schemas/TestScenario.schema.ts +0 -25
  254. package/src/generated/cfg_accounts/_utils/schemas/TestingActionResponse.schema.ts +0 -23
  255. package/src/generated/cfg_accounts/_utils/schemas/URLPattern.schema.ts +0 -26
  256. package/src/generated/cfg_accounts/_utils/schemas/URLsList.schema.ts +0 -25
  257. package/src/generated/cfg_accounts/_utils/schemas/UserStatistics.schema.ts +0 -22
  258. package/src/generated/cfg_accounts/_utils/schemas/Worker.schema.ts +0 -31
  259. package/src/generated/cfg_accounts/_utils/schemas/WorkerStats.schema.ts +0 -31
  260. package/src/generated/cfg_accounts/_utils/schemas/ZonesSummaryStats.schema.ts +0 -21
  261. package/src/generated/cfg_accounts/cfg_accounts__accounts/index.ts +0 -2
  262. package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/index.ts +0 -2
  263. package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/models.ts +0 -17
  264. package/src/generated/cfg_accounts/cfg_accounts__accounts__oauth/index.ts +0 -2
  265. package/src/generated/cfg_accounts/cfg_accounts__accounts__user_profile/index.ts +0 -2
  266. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api/index.ts +0 -2
  267. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth/index.ts +0 -2
  268. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring/index.ts +0 -2
  269. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing/index.ts +0 -2
  270. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/client.ts +0 -45
  271. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/index.ts +0 -2
  272. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/models.ts +0 -0
  273. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/client.ts +0 -34
  274. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/index.ts +0 -2
  275. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/models.ts +0 -40
  276. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/client.ts +0 -98
  277. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/index.ts +0 -2
  278. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/models.ts +0 -24
  279. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/client.ts +0 -55
  280. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/index.ts +0 -2
  281. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/models.ts +0 -80
  282. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/client.ts +0 -25
  283. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/index.ts +0 -2
  284. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/models.ts +0 -412
  285. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/client.ts +0 -25
  286. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/index.ts +0 -2
  287. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/models.ts +0 -228
  288. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/client.ts +0 -44
  289. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/index.ts +0 -2
  290. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/models.ts +0 -16
  291. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/client.ts +0 -34
  292. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/index.ts +0 -2
  293. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/models.ts +0 -69
  294. package/src/generated/cfg_accounts/cfg_accounts__endpoints/client.ts +0 -42
  295. package/src/generated/cfg_accounts/cfg_accounts__endpoints/index.ts +0 -2
  296. package/src/generated/cfg_accounts/cfg_accounts__endpoints/models.ts +0 -112
  297. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/client.ts +0 -56
  298. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/index.ts +0 -2
  299. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/models.ts +0 -73
  300. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/client.ts +0 -35
  301. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/index.ts +0 -2
  302. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/models.ts +0 -128
  303. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/client.ts +0 -109
  304. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/index.ts +0 -2
  305. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/models.ts +0 -213
  306. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/client.ts +0 -56
  307. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/index.ts +0 -2
  308. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/models.ts +0 -189
  309. package/src/generated/cfg_accounts/cfg_accounts__health/client.ts +0 -30
  310. package/src/generated/cfg_accounts/cfg_accounts__health/index.ts +0 -2
  311. package/src/generated/cfg_accounts/cfg_accounts__health/models.ts +0 -36
  312. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/client.ts +0 -76
  313. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/index.ts +0 -2
  314. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/models.ts +0 -127
  315. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/client.ts +0 -45
  316. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/index.ts +0 -2
  317. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/models.ts +0 -66
  318. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/client.ts +0 -78
  319. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/index.ts +0 -2
  320. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/models.ts +0 -33
  321. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/client.ts +0 -164
  322. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/index.ts +0 -2
  323. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/models.ts +0 -82
  324. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/client.ts +0 -91
  325. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/index.ts +0 -2
  326. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/models.ts +0 -109
  327. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/client.ts +0 -96
  328. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/index.ts +0 -2
  329. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/models.ts +0 -68
  330. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/client.ts +0 -46
  331. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/index.ts +0 -2
  332. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/models.ts +0 -52
  333. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelInfo.schema.ts +0 -0
  334. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsRequestRequest.schema.ts +0 -0
  335. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResponse.schema.ts +0 -0
  336. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResult.schema.ts +0 -0
  337. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoClientInfo.schema.ts +0 -0
  338. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoError.schema.ts +0 -0
  339. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHealthCheck.schema.ts +0 -0
  340. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts +0 -0
  341. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResponse.schema.ts +0 -0
  342. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResult.schema.ts +0 -0
  343. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResponse.schema.ts +0 -0
  344. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResult.schema.ts +0 -0
  345. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoMetrics.schema.ts +0 -0
  346. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoNodeInfo.schema.ts +0 -0
  347. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoOverviewStats.schema.ts +0 -0
  348. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceRequestRequest.schema.ts +0 -0
  349. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResponse.schema.ts +0 -0
  350. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResult.schema.ts +0 -0
  351. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts +0 -0
  352. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts +0 -0
  353. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts +0 -0
  354. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoProcess.schema.ts +0 -0
  355. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPublication.schema.ts +0 -0
  356. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoStreamPosition.schema.ts +0 -0
  357. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelList.schema.ts +0 -0
  358. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelStats.schema.ts +0 -0
  359. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ConnectionTokenResponse.schema.ts +0 -0
  360. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckRequestRequest.schema.ts +0 -0
  361. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckResponse.schema.ts +0 -0
  362. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PaginatedPublishList.schema.ts +0 -0
  363. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/Publish.schema.ts +0 -0
  364. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestRequestRequest.schema.ts +0 -0
  365. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestResponse.schema.ts +0 -0
  366. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineItem.schema.ts +0 -0
  367. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineResponse.schema.ts +0 -0
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Storage adapters for cross-platform token storage.
3
11
  *
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Zod Validation Events - Browser CustomEvent integration
3
11
  *
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Typed fetchers for Centrifugo Admin API
3
11
  *
@@ -50,7 +58,7 @@ import { getAPIInstance } from '../../api-instance'
50
58
  export async function createCentrifugoServerAuthTokenCreate( client?: any
51
59
  ): Promise<any> {
52
60
  const api = client || getAPIInstance()
53
- const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerAuthTokenCreate()
61
+ const response = await api.centrifugo_admin_api.centrifugoServerAuthTokenCreate()
54
62
  return response
55
63
  }
56
64
 
@@ -64,7 +72,7 @@ export async function createCentrifugoServerAuthTokenCreate( client?: any
64
72
  export async function createCentrifugoServerChannelsCreate( data: CentrifugoChannelsRequestRequest, client?: any
65
73
  ): Promise<CentrifugoChannelsResponse> {
66
74
  const api = client || getAPIInstance()
67
- const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerChannelsCreate(data)
75
+ const response = await api.centrifugo_admin_api.centrifugoServerChannelsCreate(data)
68
76
  try {
69
77
  return CentrifugoChannelsResponseSchema.parse(response)
70
78
  } catch (error) {
@@ -121,7 +129,7 @@ export async function createCentrifugoServerChannelsCreate( data: CentrifugoCha
121
129
  export async function createCentrifugoServerHistoryCreate( data: CentrifugoHistoryRequestRequest, client?: any
122
130
  ): Promise<CentrifugoHistoryResponse> {
123
131
  const api = client || getAPIInstance()
124
- const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerHistoryCreate(data)
132
+ const response = await api.centrifugo_admin_api.centrifugoServerHistoryCreate(data)
125
133
  try {
126
134
  return CentrifugoHistoryResponseSchema.parse(response)
127
135
  } catch (error) {
@@ -178,7 +186,7 @@ export async function createCentrifugoServerHistoryCreate( data: CentrifugoHist
178
186
  export async function createCentrifugoServerInfoCreate( client?: any
179
187
  ): Promise<CentrifugoInfoResponse> {
180
188
  const api = client || getAPIInstance()
181
- const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerInfoCreate()
189
+ const response = await api.centrifugo_admin_api.centrifugoServerInfoCreate()
182
190
  try {
183
191
  return CentrifugoInfoResponseSchema.parse(response)
184
192
  } catch (error) {
@@ -235,7 +243,7 @@ export async function createCentrifugoServerInfoCreate( client?: any
235
243
  export async function createCentrifugoServerPresenceCreate( data: CentrifugoPresenceRequestRequest, client?: any
236
244
  ): Promise<CentrifugoPresenceResponse> {
237
245
  const api = client || getAPIInstance()
238
- const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerPresenceCreate(data)
246
+ const response = await api.centrifugo_admin_api.centrifugoServerPresenceCreate(data)
239
247
  try {
240
248
  return CentrifugoPresenceResponseSchema.parse(response)
241
249
  } catch (error) {
@@ -292,7 +300,7 @@ export async function createCentrifugoServerPresenceCreate( data: CentrifugoPre
292
300
  export async function createCentrifugoServerPresenceStatsCreate( data: CentrifugoPresenceStatsRequestRequest, client?: any
293
301
  ): Promise<CentrifugoPresenceStatsResponse> {
294
302
  const api = client || getAPIInstance()
295
- const response = await api.cfg_accounts_centrifugo_admin_api.centrifugoServerPresenceStatsCreate(data)
303
+ const response = await api.centrifugo_admin_api.centrifugoServerPresenceStatsCreate(data)
296
304
  try {
297
305
  return CentrifugoPresenceStatsResponseSchema.parse(response)
298
306
  } catch (error) {
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Typed fetchers for Centrifugo Auth
3
11
  *
@@ -42,7 +50,7 @@ import { getAPIInstance } from '../../api-instance'
42
50
  export async function getCentrifugoAuthTokenRetrieve( client?: any
43
51
  ): Promise<ConnectionTokenResponse> {
44
52
  const api = client || getAPIInstance()
45
- const response = await api.cfg_accounts_centrifugo_auth.tokenRetrieve()
53
+ const response = await api.centrifugo_auth.tokenRetrieve()
46
54
  try {
47
55
  return ConnectionTokenResponseSchema.parse(response)
48
56
  } catch (error) {
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Typed fetchers for Centrifugo Monitoring
3
11
  *
@@ -46,7 +54,7 @@ import { getAPIInstance } from '../../api-instance'
46
54
  export async function getCentrifugoMonitorChannelsRetrieve( params?: { hours?: number }, client?: any
47
55
  ): Promise<ChannelList> {
48
56
  const api = client || getAPIInstance()
49
- const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorChannelsRetrieve(params?.hours)
57
+ const response = await api.centrifugo_monitoring.centrifugoMonitorChannelsRetrieve(params?.hours)
50
58
  try {
51
59
  return ChannelListSchema.parse(response)
52
60
  } catch (error) {
@@ -103,7 +111,7 @@ export async function getCentrifugoMonitorChannelsRetrieve( params?: { hours?:
103
111
  export async function getCentrifugoMonitorHealthRetrieve( client?: any
104
112
  ): Promise<CentrifugoHealthCheck> {
105
113
  const api = client || getAPIInstance()
106
- const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorHealthRetrieve()
114
+ const response = await api.centrifugo_monitoring.centrifugoMonitorHealthRetrieve()
107
115
  try {
108
116
  return CentrifugoHealthCheckSchema.parse(response)
109
117
  } catch (error) {
@@ -160,7 +168,7 @@ export async function getCentrifugoMonitorHealthRetrieve( client?: any
160
168
  export async function getCentrifugoMonitorOverviewRetrieve( params?: { hours?: number }, client?: any
161
169
  ): Promise<CentrifugoOverviewStats> {
162
170
  const api = client || getAPIInstance()
163
- const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorOverviewRetrieve(params?.hours)
171
+ const response = await api.centrifugo_monitoring.centrifugoMonitorOverviewRetrieve(params?.hours)
164
172
  try {
165
173
  return CentrifugoOverviewStatsSchema.parse(response)
166
174
  } catch (error) {
@@ -217,7 +225,7 @@ export async function getCentrifugoMonitorOverviewRetrieve( params?: { hours?:
217
225
  export async function getCentrifugoMonitorPublishesList( params?: { channel?: string; page?: number; page_size?: number; status?: string }, client?: any
218
226
  ): Promise<PaginatedPublishList> {
219
227
  const api = client || getAPIInstance()
220
- const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorPublishesList(params?.channel, params?.page, params?.page_size, params?.status)
228
+ const response = await api.centrifugo_monitoring.centrifugoMonitorPublishesList(params?.channel, params?.page, params?.page_size, params?.status)
221
229
  try {
222
230
  return PaginatedPublishListSchema.parse(response)
223
231
  } catch (error) {
@@ -274,7 +282,7 @@ export async function getCentrifugoMonitorPublishesList( params?: { channel?: s
274
282
  export async function getCentrifugoMonitorTimelineRetrieve( params?: { hours?: number; interval?: string }, client?: any
275
283
  ): Promise<TimelineResponse> {
276
284
  const api = client || getAPIInstance()
277
- const response = await api.cfg_accounts_centrifugo_monitoring.centrifugoMonitorTimelineRetrieve(params?.hours, params?.interval)
285
+ const response = await api.centrifugo_monitoring.centrifugoMonitorTimelineRetrieve(params?.hours, params?.interval)
278
286
  try {
279
287
  return TimelineResponseSchema.parse(response)
280
288
  } catch (error) {
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Typed fetchers for Centrifugo Testing
3
11
  *
@@ -45,7 +53,7 @@ import { getAPIInstance } from '../../api-instance'
45
53
  export async function createCentrifugoTestingPublishTestCreate( data: PublishTestRequestRequest, client?: any
46
54
  ): Promise<PublishTestResponse> {
47
55
  const api = client || getAPIInstance()
48
- const response = await api.cfg_accounts_centrifugo_testing.publishTestCreate(data)
56
+ const response = await api.centrifugo_testing.publishTestCreate(data)
49
57
  try {
50
58
  return PublishTestResponseSchema.parse(response)
51
59
  } catch (error) {
@@ -102,7 +110,7 @@ export async function createCentrifugoTestingPublishTestCreate( data: PublishTe
102
110
  export async function createCentrifugoTestingPublishWithLoggingCreate( data: PublishTestRequestRequest, client?: any
103
111
  ): Promise<PublishTestResponse> {
104
112
  const api = client || getAPIInstance()
105
- const response = await api.cfg_accounts_centrifugo_testing.publishWithLoggingCreate(data)
113
+ const response = await api.centrifugo_testing.publishWithLoggingCreate(data)
106
114
  try {
107
115
  return PublishTestResponseSchema.parse(response)
108
116
  } catch (error) {
@@ -159,7 +167,7 @@ export async function createCentrifugoTestingPublishWithLoggingCreate( data: Pu
159
167
  export async function createCentrifugoTestingSendAckCreate( data: ManualAckRequestRequest, client?: any
160
168
  ): Promise<ManualAckResponse> {
161
169
  const api = client || getAPIInstance()
162
- const response = await api.cfg_accounts_centrifugo_testing.sendAckCreate(data)
170
+ const response = await api.centrifugo_testing.sendAckCreate(data)
163
171
  try {
164
172
  return ManualAckResponseSchema.parse(response)
165
173
  } catch (error) {
@@ -0,0 +1,39 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
9
+ /**
10
+ * Typed Fetchers - Universal API functions
11
+ *
12
+ * Auto-generated from OpenAPI specification.
13
+ * These functions work in any JavaScript environment.
14
+ *
15
+ * Features:
16
+ * - Runtime validation with Zod
17
+ * - Type-safe parameters and responses
18
+ * - Works with any data-fetching library (SWR, React Query, etc)
19
+ * - Server Component compatible
20
+ *
21
+ * Usage:
22
+ * ```typescript
23
+ * import * as fetchers from './fetchers'
24
+ *
25
+ * // Direct usage
26
+ * const user = await fetchers.getUser(1)
27
+ *
28
+ * // With SWR
29
+ * const { data } = useSWR('user-1', () => fetchers.getUser(1))
30
+ *
31
+ * // With React Query
32
+ * const { data } = useQuery(['user', 1], () => fetchers.getUser(1))
33
+ * ```
34
+ */
35
+
36
+ export * from './centrifugo__centrifugo_admin_api'
37
+ export * from './centrifugo__centrifugo_auth'
38
+ export * from './centrifugo__centrifugo_monitoring'
39
+ export * from './centrifugo__centrifugo_testing'
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  'use client';
2
10
 
3
11
  /**
@@ -17,7 +25,7 @@
17
25
  * ```
18
26
  */
19
27
  import { useSWRConfig } from 'swr'
20
- import * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_admin_api'
28
+ import * as Fetchers from '../fetchers/centrifugo__centrifugo_admin_api'
21
29
  import type { API } from '../../index'
22
30
  import type { CentrifugoChannelsRequestRequest } from '../schemas/CentrifugoChannelsRequestRequest.schema'
23
31
  import type { CentrifugoChannelsResponse } from '../schemas/CentrifugoChannelsResponse.schema'
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  'use client';
2
10
 
3
11
  /**
@@ -17,7 +25,7 @@
17
25
  * ```
18
26
  */
19
27
  import useSWR from 'swr'
20
- import * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_auth'
28
+ import * as Fetchers from '../fetchers/centrifugo__centrifugo_auth'
21
29
  import type { API } from '../../index'
22
30
  import type { ConnectionTokenResponse } from '../schemas/ConnectionTokenResponse.schema'
23
31
 
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  'use client';
2
10
 
3
11
  /**
@@ -17,7 +25,7 @@
17
25
  * ```
18
26
  */
19
27
  import useSWR from 'swr'
20
- import * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_monitoring'
28
+ import * as Fetchers from '../fetchers/centrifugo__centrifugo_monitoring'
21
29
  import type { API } from '../../index'
22
30
  import type { CentrifugoHealthCheck } from '../schemas/CentrifugoHealthCheck.schema'
23
31
  import type { CentrifugoOverviewStats } from '../schemas/CentrifugoOverviewStats.schema'
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  'use client';
2
10
 
3
11
  /**
@@ -17,7 +25,7 @@
17
25
  * ```
18
26
  */
19
27
  import { useSWRConfig } from 'swr'
20
- import * as Fetchers from '../fetchers/cfg_accounts__centrifugo__centrifugo_testing'
28
+ import * as Fetchers from '../fetchers/centrifugo__centrifugo_testing'
21
29
  import type { API } from '../../index'
22
30
  import type { ManualAckRequestRequest } from '../schemas/ManualAckRequestRequest.schema'
23
31
  import type { ManualAckResponse } from '../schemas/ManualAckResponse.schema'
@@ -0,0 +1,39 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
9
+ 'use client';
10
+
11
+ /**
12
+ * SWR Hooks - React data fetching hooks
13
+ *
14
+ * Auto-generated from OpenAPI specification.
15
+ * Powered by SWR for automatic caching and revalidation.
16
+ *
17
+ * Features:
18
+ * - Automatic caching and deduplication
19
+ * - Revalidation on focus/reconnect
20
+ * - Optimistic updates
21
+ * - Type-safe parameters and responses
22
+ *
23
+ * Usage:
24
+ * ```typescript
25
+ * import * as hooks from './hooks'
26
+ *
27
+ * // Query hooks (GET)
28
+ * const { data, error, isLoading } = hooks.useUsers({ page: 1 })
29
+ *
30
+ * // Mutation hooks (POST/PUT/PATCH/DELETE)
31
+ * const createUser = hooks.useCreateUser()
32
+ * await createUser({ name: 'John' })
33
+ * ```
34
+ */
35
+
36
+ export * from './centrifugo__centrifugo_admin_api'
37
+ export * from './centrifugo__centrifugo_auth'
38
+ export * from './centrifugo__centrifugo_monitoring'
39
+ export * from './centrifugo__centrifugo_testing'
@@ -0,0 +1,61 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
9
+ /**
10
+ * Zod Schemas - Runtime validation and type inference
11
+ *
12
+ * Auto-generated from OpenAPI specification.
13
+ * Provides runtime validation for API requests and responses.
14
+ *
15
+ * Usage:
16
+ * ```typescript
17
+ * import { UserSchema } from './schemas'
18
+ *
19
+ * // Validate data
20
+ * const user = UserSchema.parse(data)
21
+ *
22
+ * // Type inference
23
+ * type User = z.infer<typeof UserSchema>
24
+ * ```
25
+ */
26
+
27
+ export * from './CentrifugoChannelInfo.schema'
28
+ export * from './CentrifugoChannelsRequestRequest.schema'
29
+ export * from './CentrifugoChannelsResponse.schema'
30
+ export * from './CentrifugoChannelsResult.schema'
31
+ export * from './CentrifugoClientInfo.schema'
32
+ export * from './CentrifugoError.schema'
33
+ export * from './CentrifugoHealthCheck.schema'
34
+ export * from './CentrifugoHistoryRequestRequest.schema'
35
+ export * from './CentrifugoHistoryResponse.schema'
36
+ export * from './CentrifugoHistoryResult.schema'
37
+ export * from './CentrifugoInfoResponse.schema'
38
+ export * from './CentrifugoInfoResult.schema'
39
+ export * from './CentrifugoMetrics.schema'
40
+ export * from './CentrifugoNodeInfo.schema'
41
+ export * from './CentrifugoOverviewStats.schema'
42
+ export * from './CentrifugoPresenceRequestRequest.schema'
43
+ export * from './CentrifugoPresenceResponse.schema'
44
+ export * from './CentrifugoPresenceResult.schema'
45
+ export * from './CentrifugoPresenceStatsRequestRequest.schema'
46
+ export * from './CentrifugoPresenceStatsResponse.schema'
47
+ export * from './CentrifugoPresenceStatsResult.schema'
48
+ export * from './CentrifugoProcess.schema'
49
+ export * from './CentrifugoPublication.schema'
50
+ export * from './CentrifugoStreamPosition.schema'
51
+ export * from './ChannelList.schema'
52
+ export * from './ChannelStats.schema'
53
+ export * from './ConnectionTokenResponse.schema'
54
+ export * from './ManualAckRequestRequest.schema'
55
+ export * from './ManualAckResponse.schema'
56
+ export * from './PaginatedPublishList.schema'
57
+ export * from './Publish.schema'
58
+ export * from './PublishTestRequestRequest.schema'
59
+ export * from './PublishTestResponse.schema'
60
+ export * from './TimelineItem.schema'
61
+ export * from './TimelineResponse.schema'
@@ -0,0 +1,139 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
9
+ /**
10
+ * Global API Instance - Singleton configuration
11
+ *
12
+ * This module provides a global API instance that can be configured once
13
+ * and used throughout your application.
14
+ *
15
+ * Usage:
16
+ * ```typescript
17
+ * // Configure once (e.g., in your app entry point)
18
+ * import { configureAPI } from './api-instance'
19
+ *
20
+ * configureAPI({
21
+ * baseUrl: 'https://api.example.com',
22
+ * token: 'your-jwt-token'
23
+ * })
24
+ *
25
+ * // Then use fetchers and hooks anywhere without configuration
26
+ * import { getUsers } from './fetchers'
27
+ * const users = await getUsers({ page: 1 })
28
+ * ```
29
+ *
30
+ * For SSR or multiple instances:
31
+ * ```typescript
32
+ * import { API } from './index'
33
+ * import { getUsers } from './fetchers'
34
+ *
35
+ * const api = new API('https://api.example.com')
36
+ * const users = await getUsers({ page: 1 }, api)
37
+ * ```
38
+ */
39
+
40
+ import { API, type APIOptions } from './index'
41
+
42
+ let globalAPI: API | null = null
43
+
44
+ /**
45
+ * Get the global API instance
46
+ * @throws Error if API is not configured
47
+ */
48
+ export function getAPIInstance(): API {
49
+ if (!globalAPI) {
50
+ throw new Error(
51
+ 'API not configured. Call configureAPI() with your base URL before using fetchers or hooks.\n\n' +
52
+ 'Example:\n' +
53
+ ' import { configureAPI } from "./api-instance"\n' +
54
+ ' configureAPI({ baseUrl: "https://api.example.com" })'
55
+ )
56
+ }
57
+ return globalAPI
58
+ }
59
+
60
+ /**
61
+ * Check if API is configured
62
+ */
63
+ export function isAPIConfigured(): boolean {
64
+ return globalAPI !== null
65
+ }
66
+
67
+ /**
68
+ * Configure the global API instance
69
+ *
70
+ * @param baseUrl - Base URL for the API
71
+ * @param options - Optional configuration (storage, retry, logger)
72
+ *
73
+ * @example
74
+ * ```typescript
75
+ * configureAPI({
76
+ * baseUrl: 'https://api.example.com',
77
+ * token: 'jwt-token',
78
+ * options: {
79
+ * retryConfig: { maxRetries: 3 },
80
+ * loggerConfig: { enabled: true }
81
+ * }
82
+ * })
83
+ * ```
84
+ */
85
+ export function configureAPI(config: {
86
+ baseUrl: string
87
+ token?: string
88
+ refreshToken?: string
89
+ options?: APIOptions
90
+ }): API {
91
+ globalAPI = new API(config.baseUrl, config.options)
92
+
93
+ if (config.token) {
94
+ globalAPI.setToken(config.token, config.refreshToken)
95
+ }
96
+
97
+ return globalAPI
98
+ }
99
+
100
+ /**
101
+ * Reconfigure the global API instance with new settings
102
+ * Useful for updating tokens or base URL
103
+ */
104
+ export function reconfigureAPI(updates: {
105
+ baseUrl?: string
106
+ token?: string
107
+ refreshToken?: string
108
+ }): API {
109
+ const instance = getAPIInstance()
110
+
111
+ if (updates.baseUrl) {
112
+ instance.setBaseUrl(updates.baseUrl)
113
+ }
114
+
115
+ if (updates.token) {
116
+ instance.setToken(updates.token, updates.refreshToken)
117
+ }
118
+
119
+ return instance
120
+ }
121
+
122
+ /**
123
+ * Clear tokens from the global API instance
124
+ */
125
+ export function clearAPITokens(): void {
126
+ const instance = getAPIInstance()
127
+ instance.clearTokens()
128
+ }
129
+
130
+ /**
131
+ * Reset the global API instance
132
+ * Useful for testing or logout scenarios
133
+ */
134
+ export function resetAPI(): void {
135
+ if (globalAPI) {
136
+ globalAPI.clearTokens()
137
+ }
138
+ globalAPI = null
139
+ }
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Centrifugo Admin API.
6
6
  */
7
- export class CfgAccountsCentrifugoAdminApi {
7
+ export class CentrifugoAdminApi {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -0,0 +1,10 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
9
+ export * from "./client";
10
+ export * as Models from "./models";
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Request to list active channels.
3
11
  *
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Centrifugo Auth.
6
6
  */
7
- export class CfgAccountsCentrifugoAuth {
7
+ export class CentrifugoAuth {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -0,0 +1,10 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
9
+ export * from "./client";
10
+ export * as Models from "./models";
@@ -1,3 +1,11 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
1
9
  /**
2
10
  * Response model for Centrifugo connection token.
3
11
  *
@@ -4,7 +4,7 @@ import * as Models from "./models";
4
4
  /**
5
5
  * API endpoints for Centrifugo Monitoring.
6
6
  */
7
- export class CfgAccountsCentrifugoMonitoring {
7
+ export class CentrifugoMonitoring {
8
8
  private client: any;
9
9
 
10
10
  constructor(client: any) {
@@ -0,0 +1,10 @@
1
+ /**
2
+ * AUTO-GENERATED FILE - DO NOT EDIT
3
+ *
4
+ * This file is automatically generated by DjangoCFG.
5
+ * Any manual changes will be lost when the code is regenerated.
6
+ *
7
+ * @see https://djangocfg.com/docs/features/modules/django-client/overview/
8
+ */
9
+ export * from "./client";
10
+ export * as Models from "./models";