@djangocfg/api 1.2.6 → 1.2.8

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 (84) hide show
  1. package/dist/index.cjs +3023 -1755
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +2542 -908
  4. package/dist/index.d.ts +2542 -908
  5. package/dist/index.mjs +2959 -1707
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +2 -2
  8. package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +2 -3
  9. package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +1 -2
  10. package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +6 -7
  11. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +2 -3
  12. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +12 -13
  13. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +8 -9
  14. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +8 -9
  15. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_activity.ts +61 -0
  16. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_api_zones.ts +62 -0
  17. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_charts.ts +90 -0
  18. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_commands.ts +92 -0
  19. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_overview.ts +48 -0
  20. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_statistics.ts +76 -0
  21. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_system.ts +63 -0
  22. package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +3 -4
  23. package/src/cfg/generated/_utils/fetchers/cfg__health.ts +2 -3
  24. package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +57 -58
  25. package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +6 -7
  26. package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +1 -2
  27. package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +3 -4
  28. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +1 -2
  29. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +6 -7
  30. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +1 -2
  31. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +2 -3
  32. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +3 -4
  33. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +1 -2
  34. package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +8 -9
  35. package/src/cfg/generated/_utils/fetchers/cfg__support.ts +12 -13
  36. package/src/cfg/generated/_utils/fetchers/cfg__tasks.ts +10 -11
  37. package/src/cfg/generated/_utils/fetchers/index.ts +7 -1
  38. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_activity.ts +49 -0
  39. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_api_zones.ts +50 -0
  40. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_charts.ts +78 -0
  41. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_commands.ts +84 -0
  42. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_overview.ts +36 -0
  43. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_statistics.ts +64 -0
  44. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_system.ts +51 -0
  45. package/src/cfg/generated/_utils/hooks/index.ts +7 -1
  46. package/src/cfg/generated/_utils/schemas/APIZone.schema.ts +27 -0
  47. package/src/cfg/generated/_utils/schemas/APIZonesSummary.schema.ts +21 -0
  48. package/src/cfg/generated/_utils/schemas/ActivityTrackerDay.schema.ts +23 -0
  49. package/src/cfg/generated/_utils/schemas/ChartData.schema.ts +21 -0
  50. package/src/cfg/generated/_utils/schemas/ChartDataset.schema.ts +24 -0
  51. package/src/cfg/generated/_utils/schemas/Command.schema.ts +25 -0
  52. package/src/cfg/generated/_utils/schemas/CommandExecuteRequestRequest.schema.ts +21 -0
  53. package/src/cfg/generated/_utils/schemas/CommandHelpResponse.schema.ts +25 -0
  54. package/src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts +25 -0
  55. package/src/cfg/generated/_utils/schemas/RecentUser.schema.ts +26 -0
  56. package/src/cfg/generated/_utils/schemas/index.ts +10 -0
  57. package/src/cfg/generated/cfg__dashboard__dashboard_activity/client.ts +45 -0
  58. package/src/cfg/generated/cfg__dashboard__dashboard_activity/models.ts +0 -0
  59. package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/client.ts +34 -0
  60. package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/index.ts +2 -0
  61. package/src/cfg/generated/cfg__dashboard__dashboard_api_zones/models.ts +27 -0
  62. package/src/cfg/generated/cfg__dashboard__dashboard_charts/client.ts +98 -0
  63. package/src/cfg/generated/cfg__dashboard__dashboard_charts/index.ts +2 -0
  64. package/src/cfg/generated/cfg__dashboard__dashboard_charts/models.ts +24 -0
  65. package/src/cfg/generated/cfg__dashboard__dashboard_commands/client.ts +55 -0
  66. package/src/cfg/generated/cfg__dashboard__dashboard_commands/index.ts +2 -0
  67. package/src/cfg/generated/cfg__dashboard__dashboard_commands/models.ts +58 -0
  68. package/src/cfg/generated/cfg__dashboard__dashboard_overview/client.ts +25 -0
  69. package/src/cfg/generated/cfg__dashboard__dashboard_overview/index.ts +2 -0
  70. package/src/cfg/generated/cfg__dashboard__dashboard_overview/models.ts +23 -0
  71. package/src/cfg/generated/cfg__dashboard__dashboard_statistics/client.ts +44 -0
  72. package/src/cfg/generated/cfg__dashboard__dashboard_statistics/index.ts +2 -0
  73. package/src/cfg/generated/cfg__dashboard__dashboard_statistics/models.ts +16 -0
  74. package/src/cfg/generated/cfg__dashboard__dashboard_system/client.ts +34 -0
  75. package/src/cfg/generated/cfg__dashboard__dashboard_system/index.ts +2 -0
  76. package/src/cfg/generated/{cfg__dashboard → cfg__dashboard__dashboard_system}/models.ts +0 -39
  77. package/src/cfg/generated/client.ts +32 -12
  78. package/src/cfg/generated/http.ts +8 -3
  79. package/src/cfg/generated/index.ts +35 -5
  80. package/src/cfg/generated/schema.ts +776 -22
  81. package/src/cfg/generated/_utils/fetchers/cfg__dashboard.ts +0 -150
  82. package/src/cfg/generated/_utils/hooks/cfg__dashboard.ts +0 -137
  83. package/src/cfg/generated/cfg__dashboard/client.ts +0 -106
  84. /package/src/cfg/generated/{cfg__dashboard → cfg__dashboard__dashboard_activity}/index.ts +0 -0
@@ -61,6 +61,73 @@ export const OPENAPI_SCHEMA = {
61
61
  ],
62
62
  "type": "object"
63
63
  },
64
+ "APIZone": {
65
+ "description": "OpenAPI zone/group serializer.",
66
+ "properties": {
67
+ "api_url": {
68
+ "type": "string"
69
+ },
70
+ "app_count": {
71
+ "type": "integer"
72
+ },
73
+ "apps": {
74
+ "items": {
75
+ "type": "string"
76
+ },
77
+ "type": "array"
78
+ },
79
+ "description": {
80
+ "type": "string"
81
+ },
82
+ "endpoint_count": {
83
+ "type": "integer"
84
+ },
85
+ "name": {
86
+ "type": "string"
87
+ },
88
+ "schema_url": {
89
+ "type": "string"
90
+ },
91
+ "status": {
92
+ "type": "string"
93
+ },
94
+ "title": {
95
+ "type": "string"
96
+ }
97
+ },
98
+ "required": [
99
+ "api_url",
100
+ "app_count",
101
+ "apps",
102
+ "description",
103
+ "endpoint_count",
104
+ "name",
105
+ "schema_url",
106
+ "status",
107
+ "title"
108
+ ],
109
+ "type": "object"
110
+ },
111
+ "APIZonesSummary": {
112
+ "description": "API zones summary serializer.",
113
+ "properties": {
114
+ "summary": {
115
+ "additionalProperties": {},
116
+ "type": "object"
117
+ },
118
+ "zones": {
119
+ "items": {
120
+ "$ref": "#/components/schemas/APIZone"
121
+ },
122
+ "type": "array"
123
+ }
124
+ },
125
+ "required": [
126
+ "summary",
127
+ "zones"
128
+ ],
129
+ "type": "object"
130
+ },
64
131
  "ActivityEntry": {
65
132
  "description": "Serializer for recent activity entries.",
66
133
  "properties": {
@@ -104,6 +171,35 @@ export const OPENAPI_SCHEMA = {
104
171
  ],
105
172
  "type": "object"
106
173
  },
174
+ "ActivityTrackerDay": {
175
+ "description": "Activity tracker single day serializer.",
176
+ "properties": {
177
+ "color": {
178
+ "type": "string"
179
+ },
180
+ "count": {
181
+ "type": "integer"
182
+ },
183
+ "date": {
184
+ "format": "date",
185
+ "type": "string"
186
+ },
187
+ "level": {
188
+ "type": "integer"
189
+ },
190
+ "tooltip": {
191
+ "type": "string"
192
+ }
193
+ },
194
+ "required": [
195
+ "color",
196
+ "count",
197
+ "date",
198
+ "level",
199
+ "tooltip"
200
+ ],
201
+ "type": "object"
202
+ },
107
203
  "AppStatistics": {
108
204
  "description": "Serializer for application-specific statistics.",
109
205
  "properties": {
@@ -1648,6 +1744,63 @@ export const OPENAPI_SCHEMA = {
1648
1744
  "title": "ChannelStatsSerializer",
1649
1745
  "type": "object"
1650
1746
  },
1747
+ "ChartData": {
1748
+ "description": "Chart.js data structure serializer.",
1749
+ "properties": {
1750
+ "datasets": {
1751
+ "items": {
1752
+ "$ref": "#/components/schemas/ChartDataset"
1753
+ },
1754
+ "type": "array"
1755
+ },
1756
+ "labels": {
1757
+ "items": {
1758
+ "type": "string"
1759
+ },
1760
+ "type": "array"
1761
+ }
1762
+ },
1763
+ "required": [
1764
+ "datasets",
1765
+ "labels"
1766
+ ],
1767
+ "type": "object"
1768
+ },
1769
+ "ChartDataset": {
1770
+ "description": "Chart.js dataset serializer.",
1771
+ "properties": {
1772
+ "backgroundColor": {
1773
+ "type": "string"
1774
+ },
1775
+ "borderColor": {
1776
+ "type": "string"
1777
+ },
1778
+ "data": {
1779
+ "items": {
1780
+ "type": "integer"
1781
+ },
1782
+ "type": "array"
1783
+ },
1784
+ "fill": {
1785
+ "type": "boolean"
1786
+ },
1787
+ "label": {
1788
+ "type": "string"
1789
+ },
1790
+ "tension": {
1791
+ "format": "double",
1792
+ "type": "number"
1793
+ }
1794
+ },
1795
+ "required": [
1796
+ "backgroundColor",
1797
+ "borderColor",
1798
+ "data",
1799
+ "label",
1800
+ "tension"
1801
+ ],
1802
+ "type": "object"
1803
+ },
1651
1804
  "ChatHistory": {
1652
1805
  "description": "Chat history response serializer.",
1653
1806
  "properties": {
@@ -2056,6 +2209,137 @@ export const OPENAPI_SCHEMA = {
2056
2209
  ],
2057
2210
  "type": "object"
2058
2211
  },
2212
+ "Command": {
2213
+ "description": "Django management command serializer.",
2214
+ "properties": {
2215
+ "app": {
2216
+ "type": "string"
2217
+ },
2218
+ "help": {
2219
+ "type": "string"
2220
+ },
2221
+ "is_allowed": {
2222
+ "type": "boolean"
2223
+ },
2224
+ "is_core": {
2225
+ "type": "boolean"
2226
+ },
2227
+ "is_custom": {
2228
+ "type": "boolean"
2229
+ },
2230
+ "name": {
2231
+ "type": "string"
2232
+ },
2233
+ "risk_level": {
2234
+ "type": "string"
2235
+ }
2236
+ },
2237
+ "required": [
2238
+ "app",
2239
+ "help",
2240
+ "is_core",
2241
+ "is_custom",
2242
+ "name"
2243
+ ],
2244
+ "type": "object"
2245
+ },
2246
+ "CommandExecuteRequestRequest": {
2247
+ "description": "Request serializer for command execution.",
2248
+ "properties": {
2249
+ "args": {
2250
+ "description": "Positional arguments for the command",
2251
+ "items": {
2252
+ "minLength": 1,
2253
+ "type": "string"
2254
+ },
2255
+ "type": "array"
2256
+ },
2257
+ "command": {
2258
+ "description": "Name of the Django management command",
2259
+ "minLength": 1,
2260
+ "type": "string"
2261
+ },
2262
+ "options": {
2263
+ "additionalProperties": {},
2264
+ "description": "Named options for the command (e.g., {\u0027verbosity\u0027: \u00272\u0027})",
2265
+ "type": "object"
2266
+ }
2267
+ },
2268
+ "required": [
2269
+ "command"
2270
+ ],
2271
+ "type": "object"
2272
+ },
2273
+ "CommandHelpResponse": {
2274
+ "description": "Response serializer for command help.",
2275
+ "properties": {
2276
+ "app": {
2277
+ "type": "string"
2278
+ },
2279
+ "command": {
2280
+ "type": "string"
2281
+ },
2282
+ "error": {
2283
+ "type": "string"
2284
+ },
2285
+ "help_text": {
2286
+ "type": "string"
2287
+ },
2288
+ "is_allowed": {
2289
+ "type": "boolean"
2290
+ },
2291
+ "risk_level": {
2292
+ "type": "string"
2293
+ },
2294
+ "status": {
2295
+ "type": "string"
2296
+ }
2297
+ },
2298
+ "required": [
2299
+ "command",
2300
+ "status"
2301
+ ],
2302
+ "type": "object"
2303
+ },
2304
+ "CommandsSummary": {
2305
+ "description": "Commands summary serializer.",
2306
+ "properties": {
2307
+ "categories": {
2308
+ "items": {
2309
+ "type": "string"
2310
+ },
2311
+ "type": "array"
2312
+ },
2313
+ "categorized": {
2314
+ "additionalProperties": {},
2315
+ "type": "object"
2316
+ },
2317
+ "commands": {
2318
+ "items": {
2319
+ "$ref": "#/components/schemas/Command"
2320
+ },
2321
+ "type": "array"
2322
+ },
2323
+ "core_commands": {
2324
+ "type": "integer"
2325
+ },
2326
+ "custom_commands": {
2327
+ "type": "integer"
2328
+ },
2329
+ "total_commands": {
2330
+ "type": "integer"
2331
+ }
2332
+ },
2333
+ "required": [
2334
+ "categories",
2335
+ "categorized",
2336
+ "commands",
2337
+ "core_commands",
2338
+ "custom_commands",
2339
+ "total_commands"
2340
+ ],
2341
+ "type": "object"
2342
+ },
2059
2343
  "ConnectionTokenRequestRequest": {
2060
2344
  "description": "Request model for connection token generation.",
2061
2345
  "properties": {
@@ -6105,6 +6389,48 @@ export const OPENAPI_SCHEMA = {
6105
6389
  "title": "RecentPublishesSerializer",
6106
6390
  "type": "object"
6107
6391
  },
6392
+ "RecentUser": {
6393
+ "description": "Recent user serializer.",
6394
+ "properties": {
6395
+ "date_joined": {
6396
+ "type": "string"
6397
+ },
6398
+ "email": {
6399
+ "format": "email",
6400
+ "type": "string"
6401
+ },
6402
+ "id": {
6403
+ "type": "integer"
6404
+ },
6405
+ "is_active": {
6406
+ "type": "boolean"
6407
+ },
6408
+ "is_staff": {
6409
+ "type": "boolean"
6410
+ },
6411
+ "is_superuser": {
6412
+ "type": "boolean"
6413
+ },
6414
+ "last_login": {
6415
+ "nullable": true,
6416
+ "type": "string"
6417
+ },
6418
+ "username": {
6419
+ "type": "string"
6420
+ }
6421
+ },
6422
+ "required": [
6423
+ "date_joined",
6424
+ "email",
6425
+ "id",
6426
+ "is_active",
6427
+ "is_staff",
6428
+ "is_superuser",
6429
+ "last_login",
6430
+ "username"
6431
+ ],
6432
+ "type": "object"
6433
+ },
6108
6434
  "SendCampaignRequest": {
6109
6435
  "description": "Simple serializer for sending campaign.",
6110
6436
  "properties": {
@@ -9427,7 +9753,7 @@ export const OPENAPI_SCHEMA = {
9427
9753
  ],
9428
9754
  "summary": "Get quick actions",
9429
9755
  "tags": [
9430
- "dashboard"
9756
+ "Dashboard - Activity"
9431
9757
  ],
9432
9758
  "x-async-capable": false
9433
9759
  }
@@ -9472,21 +9798,32 @@ export const OPENAPI_SCHEMA = {
9472
9798
  ],
9473
9799
  "summary": "Get recent activity",
9474
9800
  "tags": [
9475
- "dashboard"
9801
+ "Dashboard - Activity"
9476
9802
  ],
9477
9803
  "x-async-capable": false
9478
9804
  }
9479
9805
  },
9480
- "/cfg/dashboard/api/overview/overview/": {
9806
+ "/cfg/dashboard/api/charts/activity/": {
9481
9807
  "get": {
9482
- "description": "Retrieve complete dashboard data including stats, health, actions, and metrics",
9483
- "operationId": "cfg_dashboard_api_overview_overview_retrieve",
9808
+ "description": "Retrieve user activity data for chart visualization",
9809
+ "operationId": "cfg_dashboard_api_charts_activity_retrieve",
9810
+ "parameters": [
9811
+ {
9812
+ "description": "Number of days to include",
9813
+ "in": "query",
9814
+ "name": "days",
9815
+ "schema": {
9816
+ "default": 7,
9817
+ "type": "integer"
9818
+ }
9819
+ }
9820
+ ],
9484
9821
  "responses": {
9485
9822
  "200": {
9486
9823
  "content": {
9487
9824
  "application/json": {
9488
9825
  "schema": {
9489
- "$ref": "#/components/schemas/DashboardOverview"
9826
+ "$ref": "#/components/schemas/ChartData"
9490
9827
  }
9491
9828
  }
9492
9829
  },
@@ -9501,23 +9838,375 @@ export const OPENAPI_SCHEMA = {
9501
9838
  "basicAuth": []
9502
9839
  }
9503
9840
  ],
9504
- "summary": "Get dashboard overview",
9841
+ "summary": "Get user activity chart",
9505
9842
  "tags": [
9506
- "dashboard"
9843
+ "Dashboard - Charts"
9507
9844
  ],
9508
9845
  "x-async-capable": false
9509
9846
  }
9510
9847
  },
9511
- "/cfg/dashboard/api/statistics/apps/": {
9848
+ "/cfg/dashboard/api/charts/recent-users/": {
9512
9849
  "get": {
9513
- "description": "Retrieve statistics for all enabled django-cfg applications",
9514
- "operationId": "cfg_dashboard_api_statistics_apps_list",
9515
- "responses": {
9516
- "200": {
9517
- "content": {
9518
- "application/json": {
9519
- "schema": {
9520
- "items": {
9850
+ "description": "Retrieve list of recently registered users",
9851
+ "operationId": "cfg_dashboard_api_charts_recent_users_list",
9852
+ "parameters": [
9853
+ {
9854
+ "description": "Maximum number of users to return",
9855
+ "in": "query",
9856
+ "name": "limit",
9857
+ "schema": {
9858
+ "default": 10,
9859
+ "type": "integer"
9860
+ }
9861
+ }
9862
+ ],
9863
+ "responses": {
9864
+ "200": {
9865
+ "content": {
9866
+ "application/json": {
9867
+ "schema": {
9868
+ "items": {
9869
+ "$ref": "#/components/schemas/RecentUser"
9870
+ },
9871
+ "type": "array"
9872
+ }
9873
+ }
9874
+ },
9875
+ "description": ""
9876
+ }
9877
+ },
9878
+ "security": [
9879
+ {
9880
+ "cookieAuth": []
9881
+ },
9882
+ {
9883
+ "basicAuth": []
9884
+ }
9885
+ ],
9886
+ "summary": "Get recent users",
9887
+ "tags": [
9888
+ "Dashboard - Charts"
9889
+ ],
9890
+ "x-async-capable": false
9891
+ }
9892
+ },
9893
+ "/cfg/dashboard/api/charts/registrations/": {
9894
+ "get": {
9895
+ "description": "Retrieve user registration data for chart visualization",
9896
+ "operationId": "cfg_dashboard_api_charts_registrations_retrieve",
9897
+ "parameters": [
9898
+ {
9899
+ "description": "Number of days to include",
9900
+ "in": "query",
9901
+ "name": "days",
9902
+ "schema": {
9903
+ "default": 7,
9904
+ "type": "integer"
9905
+ }
9906
+ }
9907
+ ],
9908
+ "responses": {
9909
+ "200": {
9910
+ "content": {
9911
+ "application/json": {
9912
+ "schema": {
9913
+ "$ref": "#/components/schemas/ChartData"
9914
+ }
9915
+ }
9916
+ },
9917
+ "description": ""
9918
+ }
9919
+ },
9920
+ "security": [
9921
+ {
9922
+ "cookieAuth": []
9923
+ },
9924
+ {
9925
+ "basicAuth": []
9926
+ }
9927
+ ],
9928
+ "summary": "Get user registration chart",
9929
+ "tags": [
9930
+ "Dashboard - Charts"
9931
+ ],
9932
+ "x-async-capable": false
9933
+ }
9934
+ },
9935
+ "/cfg/dashboard/api/charts/tracker/": {
9936
+ "get": {
9937
+ "description": "Retrieve activity tracker data (GitHub-style contribution graph)",
9938
+ "operationId": "cfg_dashboard_api_charts_tracker_list",
9939
+ "parameters": [
9940
+ {
9941
+ "description": "Number of weeks to include",
9942
+ "in": "query",
9943
+ "name": "weeks",
9944
+ "schema": {
9945
+ "default": 52,
9946
+ "type": "integer"
9947
+ }
9948
+ }
9949
+ ],
9950
+ "responses": {
9951
+ "200": {
9952
+ "content": {
9953
+ "application/json": {
9954
+ "schema": {
9955
+ "items": {
9956
+ "$ref": "#/components/schemas/ActivityTrackerDay"
9957
+ },
9958
+ "type": "array"
9959
+ }
9960
+ }
9961
+ },
9962
+ "description": ""
9963
+ }
9964
+ },
9965
+ "security": [
9966
+ {
9967
+ "cookieAuth": []
9968
+ },
9969
+ {
9970
+ "basicAuth": []
9971
+ }
9972
+ ],
9973
+ "summary": "Get activity tracker",
9974
+ "tags": [
9975
+ "Dashboard - Charts"
9976
+ ],
9977
+ "x-async-capable": false
9978
+ }
9979
+ },
9980
+ "/cfg/dashboard/api/commands/": {
9981
+ "get": {
9982
+ "description": "Retrieve all available Django management commands",
9983
+ "operationId": "cfg_dashboard_api_commands_list",
9984
+ "responses": {
9985
+ "200": {
9986
+ "content": {
9987
+ "application/json": {
9988
+ "schema": {
9989
+ "items": {
9990
+ "$ref": "#/components/schemas/Command"
9991
+ },
9992
+ "type": "array"
9993
+ }
9994
+ }
9995
+ },
9996
+ "description": ""
9997
+ }
9998
+ },
9999
+ "security": [
10000
+ {
10001
+ "jwtAuth": []
10002
+ },
10003
+ {
10004
+ "cookieAuth": []
10005
+ },
10006
+ {
10007
+ "basicAuth": []
10008
+ }
10009
+ ],
10010
+ "summary": "Get all commands",
10011
+ "tags": [
10012
+ "Dashboard - Commands"
10013
+ ],
10014
+ "x-async-capable": false
10015
+ }
10016
+ },
10017
+ "/cfg/dashboard/api/commands/execute/": {
10018
+ "post": {
10019
+ "description": "Execute a Django management command and stream output in Server-Sent Events format",
10020
+ "operationId": "cfg_dashboard_api_commands_execute_create",
10021
+ "requestBody": {
10022
+ "content": {
10023
+ "application/json": {
10024
+ "schema": {
10025
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
10026
+ }
10027
+ },
10028
+ "application/x-www-form-urlencoded": {
10029
+ "schema": {
10030
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
10031
+ }
10032
+ },
10033
+ "multipart/form-data": {
10034
+ "schema": {
10035
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
10036
+ }
10037
+ }
10038
+ },
10039
+ "required": true
10040
+ },
10041
+ "responses": {
10042
+ "200": {
10043
+ "content": {
10044
+ "application/json": {
10045
+ "schema": {
10046
+ "description": "Command execution started (SSE stream)"
10047
+ }
10048
+ }
10049
+ },
10050
+ "description": ""
10051
+ },
10052
+ "400": {
10053
+ "content": {
10054
+ "application/json": {
10055
+ "schema": {
10056
+ "description": "Invalid request"
10057
+ }
10058
+ }
10059
+ },
10060
+ "description": ""
10061
+ },
10062
+ "403": {
10063
+ "content": {
10064
+ "application/json": {
10065
+ "schema": {
10066
+ "description": "Command not allowed"
10067
+ }
10068
+ }
10069
+ },
10070
+ "description": ""
10071
+ }
10072
+ },
10073
+ "security": [
10074
+ {
10075
+ "jwtAuth": []
10076
+ },
10077
+ {
10078
+ "cookieAuth": []
10079
+ },
10080
+ {
10081
+ "basicAuth": []
10082
+ }
10083
+ ],
10084
+ "summary": "Execute command",
10085
+ "tags": [
10086
+ "Dashboard - Commands"
10087
+ ],
10088
+ "x-async-capable": false
10089
+ }
10090
+ },
10091
+ "/cfg/dashboard/api/commands/summary/": {
10092
+ "get": {
10093
+ "description": "Retrieve commands summary with statistics and categorization",
10094
+ "operationId": "cfg_dashboard_api_commands_summary_retrieve",
10095
+ "responses": {
10096
+ "200": {
10097
+ "content": {
10098
+ "application/json": {
10099
+ "schema": {
10100
+ "$ref": "#/components/schemas/CommandsSummary"
10101
+ }
10102
+ }
10103
+ },
10104
+ "description": ""
10105
+ }
10106
+ },
10107
+ "security": [
10108
+ {
10109
+ "jwtAuth": []
10110
+ },
10111
+ {
10112
+ "cookieAuth": []
10113
+ },
10114
+ {
10115
+ "basicAuth": []
10116
+ }
10117
+ ],
10118
+ "summary": "Get commands summary",
10119
+ "tags": [
10120
+ "Dashboard - Commands"
10121
+ ],
10122
+ "x-async-capable": false
10123
+ }
10124
+ },
10125
+ "/cfg/dashboard/api/commands/{id}/help/": {
10126
+ "get": {
10127
+ "description": "Get detailed help text for a specific Django management command",
10128
+ "operationId": "cfg_dashboard_api_commands_help_retrieve",
10129
+ "parameters": [
10130
+ {
10131
+ "in": "path",
10132
+ "name": "id",
10133
+ "required": true,
10134
+ "schema": {
10135
+ "type": "string"
10136
+ }
10137
+ }
10138
+ ],
10139
+ "responses": {
10140
+ "200": {
10141
+ "content": {
10142
+ "application/json": {
10143
+ "schema": {
10144
+ "$ref": "#/components/schemas/CommandHelpResponse"
10145
+ }
10146
+ }
10147
+ },
10148
+ "description": ""
10149
+ }
10150
+ },
10151
+ "security": [
10152
+ {
10153
+ "jwtAuth": []
10154
+ },
10155
+ {
10156
+ "cookieAuth": []
10157
+ },
10158
+ {
10159
+ "basicAuth": []
10160
+ }
10161
+ ],
10162
+ "summary": "Get command help",
10163
+ "tags": [
10164
+ "Dashboard - Commands"
10165
+ ],
10166
+ "x-async-capable": false
10167
+ }
10168
+ },
10169
+ "/cfg/dashboard/api/overview/overview/": {
10170
+ "get": {
10171
+ "description": "Retrieve complete dashboard data including stats, health, actions, and metrics",
10172
+ "operationId": "cfg_dashboard_api_overview_overview_retrieve",
10173
+ "responses": {
10174
+ "200": {
10175
+ "content": {
10176
+ "application/json": {
10177
+ "schema": {
10178
+ "$ref": "#/components/schemas/DashboardOverview"
10179
+ }
10180
+ }
10181
+ },
10182
+ "description": ""
10183
+ }
10184
+ },
10185
+ "security": [
10186
+ {
10187
+ "cookieAuth": []
10188
+ },
10189
+ {
10190
+ "basicAuth": []
10191
+ }
10192
+ ],
10193
+ "summary": "Get dashboard overview",
10194
+ "tags": [
10195
+ "Dashboard - Overview"
10196
+ ],
10197
+ "x-async-capable": false
10198
+ }
10199
+ },
10200
+ "/cfg/dashboard/api/statistics/apps/": {
10201
+ "get": {
10202
+ "description": "Retrieve statistics for all enabled django-cfg applications",
10203
+ "operationId": "cfg_dashboard_api_statistics_apps_list",
10204
+ "responses": {
10205
+ "200": {
10206
+ "content": {
10207
+ "application/json": {
10208
+ "schema": {
10209
+ "items": {
9521
10210
  "$ref": "#/components/schemas/AppStatistics"
9522
10211
  },
9523
10212
  "type": "array"
@@ -9537,7 +10226,7 @@ export const OPENAPI_SCHEMA = {
9537
10226
  ],
9538
10227
  "summary": "Get application statistics",
9539
10228
  "tags": [
9540
- "dashboard"
10229
+ "Dashboard - Statistics"
9541
10230
  ],
9542
10231
  "x-async-capable": false
9543
10232
  }
@@ -9571,7 +10260,7 @@ export const OPENAPI_SCHEMA = {
9571
10260
  ],
9572
10261
  "summary": "Get statistics cards",
9573
10262
  "tags": [
9574
- "dashboard"
10263
+ "Dashboard - Statistics"
9575
10264
  ],
9576
10265
  "x-async-capable": false
9577
10266
  }
@@ -9602,7 +10291,7 @@ export const OPENAPI_SCHEMA = {
9602
10291
  ],
9603
10292
  "summary": "Get user statistics",
9604
10293
  "tags": [
9605
- "dashboard"
10294
+ "Dashboard - Statistics"
9606
10295
  ],
9607
10296
  "x-async-capable": false
9608
10297
  }
@@ -9633,7 +10322,7 @@ export const OPENAPI_SCHEMA = {
9633
10322
  ],
9634
10323
  "summary": "Get system health status",
9635
10324
  "tags": [
9636
- "dashboard"
10325
+ "Dashboard - System"
9637
10326
  ],
9638
10327
  "x-async-capable": false
9639
10328
  }
@@ -9664,7 +10353,72 @@ export const OPENAPI_SCHEMA = {
9664
10353
  ],
9665
10354
  "summary": "Get system metrics",
9666
10355
  "tags": [
9667
- "dashboard"
10356
+ "Dashboard - System"
10357
+ ],
10358
+ "x-async-capable": false
10359
+ }
10360
+ },
10361
+ "/cfg/dashboard/api/zones/": {
10362
+ "get": {
10363
+ "description": "Retrieve all OpenAPI zones/groups with their configuration",
10364
+ "operationId": "cfg_dashboard_api_zones_list",
10365
+ "responses": {
10366
+ "200": {
10367
+ "content": {
10368
+ "application/json": {
10369
+ "schema": {
10370
+ "items": {
10371
+ "$ref": "#/components/schemas/APIZone"
10372
+ },
10373
+ "type": "array"
10374
+ }
10375
+ }
10376
+ },
10377
+ "description": ""
10378
+ }
10379
+ },
10380
+ "security": [
10381
+ {
10382
+ "cookieAuth": []
10383
+ },
10384
+ {
10385
+ "basicAuth": []
10386
+ }
10387
+ ],
10388
+ "summary": "Get all API zones",
10389
+ "tags": [
10390
+ "Dashboard - API Zones"
10391
+ ],
10392
+ "x-async-capable": false
10393
+ }
10394
+ },
10395
+ "/cfg/dashboard/api/zones/summary/": {
10396
+ "get": {
10397
+ "description": "Retrieve zones summary with statistics",
10398
+ "operationId": "cfg_dashboard_api_zones_summary_retrieve",
10399
+ "responses": {
10400
+ "200": {
10401
+ "content": {
10402
+ "application/json": {
10403
+ "schema": {
10404
+ "$ref": "#/components/schemas/APIZonesSummary"
10405
+ }
10406
+ }
10407
+ },
10408
+ "description": ""
10409
+ }
10410
+ },
10411
+ "security": [
10412
+ {
10413
+ "cookieAuth": []
10414
+ },
10415
+ {
10416
+ "basicAuth": []
10417
+ }
10418
+ ],
10419
+ "summary": "Get zones summary",
10420
+ "tags": [
10421
+ "Dashboard - API Zones"
9668
10422
  ],
9669
10423
  "x-async-capable": false
9670
10424
  }