@djangocfg/api 1.2.7 → 1.2.9

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 (28) hide show
  1. package/dist/index.cjs +1274 -2252
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +321 -1099
  4. package/dist/index.d.ts +321 -1099
  5. package/dist/index.mjs +1197 -2162
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +2 -2
  8. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +0 -14
  9. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +0 -84
  10. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +0 -56
  11. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +0 -56
  12. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_commands.ts +30 -0
  13. package/src/cfg/generated/_utils/hooks/cfg__centrifugo.ts +0 -14
  14. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts +0 -108
  15. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts +0 -56
  16. package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts +0 -72
  17. package/src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_commands.ts +34 -0
  18. package/src/cfg/generated/_utils/schemas/Command.schema.ts +2 -0
  19. package/src/cfg/generated/_utils/schemas/CommandExecuteRequestRequest.schema.ts +21 -0
  20. package/src/cfg/generated/_utils/schemas/CommandHelpResponse.schema.ts +25 -0
  21. package/src/cfg/generated/_utils/schemas/index.ts +2 -0
  22. package/src/cfg/generated/cfg__centrifugo/client.ts +0 -8
  23. package/src/cfg/generated/cfg__centrifugo__centrifugo_admin_api/client.ts +0 -61
  24. package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/client.ts +0 -73
  25. package/src/cfg/generated/cfg__centrifugo__centrifugo_testing/client.ts +0 -43
  26. package/src/cfg/generated/cfg__dashboard__dashboard_commands/client.ts +21 -0
  27. package/src/cfg/generated/cfg__dashboard__dashboard_commands/models.ts +31 -0
  28. package/src/cfg/generated/schema.ts +256 -907
package/dist/index.mjs CHANGED
@@ -116,61 +116,6 @@ var CfgCentrifugoAdminApi = class {
116
116
  constructor(client) {
117
117
  this.client = client;
118
118
  }
119
- /**
120
- * Get connection token for dashboard
121
- *
122
- * Returns JWT token and config for WebSocket connection to Centrifugo.
123
- */
124
- async serverAuthTokenCreate() {
125
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/auth/token/");
126
- return response;
127
- }
128
- /**
129
- * List active channels
130
- *
131
- * Returns list of active channels with optional pattern filter.
132
- */
133
- async serverChannelsCreate(data) {
134
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/channels/", { body: data });
135
- return response;
136
- }
137
- /**
138
- * Get channel history
139
- *
140
- * Returns message history for a channel.
141
- */
142
- async serverHistoryCreate(data) {
143
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/history/", { body: data });
144
- return response;
145
- }
146
- /**
147
- * Get Centrifugo server info
148
- *
149
- * Returns server information including node count, version, and uptime.
150
- */
151
- async serverInfoCreate() {
152
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/info/");
153
- return response;
154
- }
155
- /**
156
- * Get channel presence
157
- *
158
- * Returns list of clients currently subscribed to a channel.
159
- */
160
- async serverPresenceCreate(data) {
161
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/presence/", { body: data });
162
- return response;
163
- }
164
- /**
165
- * Get channel presence statistics
166
- *
167
- * Returns quick statistics about channel presence (num_clients,
168
- * num_users).
169
- */
170
- async serverPresenceStatsCreate(data) {
171
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/presence-stats/", { body: data });
172
- return response;
173
- }
174
119
  /**
175
120
  * Get connection token for dashboard
176
121
  *
@@ -236,63 +181,6 @@ var CfgCentrifugoMonitoring = class {
236
181
  constructor(client) {
237
182
  this.client = client;
238
183
  }
239
- /**
240
- * Get Centrifugo health status
241
- *
242
- * Returns the current health status of the Centrifugo client.
243
- */
244
- async centrifugoAdminApiMonitorHealthRetrieve() {
245
- const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/health/");
246
- return response;
247
- }
248
- /**
249
- * Get overview statistics
250
- *
251
- * Returns overview statistics for Centrifugo publishes.
252
- */
253
- async centrifugoAdminApiMonitorOverviewRetrieve(...args) {
254
- const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
255
- let params;
256
- if (isParamsObject) {
257
- params = args[0];
258
- } else {
259
- params = { hours: args[0] };
260
- }
261
- const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/overview/", { params });
262
- return response;
263
- }
264
- /**
265
- * Get recent publishes
266
- *
267
- * Returns a list of recent Centrifugo publishes with their details.
268
- */
269
- async centrifugoAdminApiMonitorPublishesRetrieve(...args) {
270
- const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
271
- let params;
272
- if (isParamsObject) {
273
- params = args[0];
274
- } else {
275
- params = { channel: args[0], count: args[1], offset: args[2], status: args[3] };
276
- }
277
- const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/publishes/", { params });
278
- return response;
279
- }
280
- /**
281
- * Get channel statistics
282
- *
283
- * Returns statistics grouped by channel.
284
- */
285
- async centrifugoAdminApiMonitorTimelineRetrieve(...args) {
286
- const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
287
- let params;
288
- if (isParamsObject) {
289
- params = args[0];
290
- } else {
291
- params = { hours: args[0], interval: args[1] };
292
- }
293
- const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/timeline/", { params });
294
- return response.results || [];
295
- }
296
184
  /**
297
185
  * Get Centrifugo health status
298
186
  *
@@ -360,45 +248,6 @@ var CfgCentrifugoTesting = class {
360
248
  constructor(client) {
361
249
  this.client = client;
362
250
  }
363
- /**
364
- * Generate connection token
365
- *
366
- * Generate JWT token for WebSocket connection to Centrifugo.
367
- */
368
- async centrifugoAdminApiTestingConnectionTokenCreate(data) {
369
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/connection-token/", { body: data });
370
- return response;
371
- }
372
- /**
373
- * Publish test message
374
- *
375
- * Publish test message to Centrifugo via wrapper with optional ACK
376
- * tracking.
377
- */
378
- async centrifugoAdminApiTestingPublishTestCreate(data) {
379
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/publish-test/", { body: data });
380
- return response;
381
- }
382
- /**
383
- * Publish with database logging
384
- *
385
- * Publish message using CentrifugoClient with database logging. This will
386
- * create CentrifugoLog records.
387
- */
388
- async centrifugoAdminApiTestingPublishWithLoggingCreate(data) {
389
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/publish-with-logging/", { body: data });
390
- return response;
391
- }
392
- /**
393
- * Send manual ACK
394
- *
395
- * Manually send ACK for a message to the wrapper. Pass message_id in
396
- * request body.
397
- */
398
- async centrifugoAdminApiTestingSendAckCreate(data) {
399
- const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/send-ack/", { body: data });
400
- return response;
401
- }
402
251
  /**
403
252
  * Generate connection token
404
253
  *
@@ -594,6 +443,25 @@ var CfgDashboardCommands = class {
594
443
  const response = await this.client.request("GET", "/cfg/dashboard/api/commands/");
595
444
  return response;
596
445
  }
446
+ /**
447
+ * Get command help
448
+ *
449
+ * Get detailed help text for a specific Django management command
450
+ */
451
+ async dashboardApiCommandsHelpRetrieve(id) {
452
+ const response = await this.client.request("GET", `/cfg/dashboard/api/commands/${id}/help/`);
453
+ return response;
454
+ }
455
+ /**
456
+ * Execute command
457
+ *
458
+ * Execute a Django management command and stream output in Server-Sent
459
+ * Events format
460
+ */
461
+ async dashboardApiCommandsExecuteCreate(data) {
462
+ const response = await this.client.request("POST", "/cfg/dashboard/api/commands/execute/", { body: data });
463
+ return response;
464
+ }
597
465
  /**
598
466
  * Get commands summary
599
467
  *
@@ -933,13 +801,6 @@ var CfgCentrifugo = class {
933
801
  constructor(client) {
934
802
  this.client = client;
935
803
  }
936
- /**
937
- * Get statistics per channel.
938
- */
939
- async adminApiMonitorChannelsRetrieve() {
940
- const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/channels/");
941
- return response;
942
- }
943
804
  /**
944
805
  * Get statistics per channel.
945
806
  */
@@ -4691,6 +4552,9 @@ var OPENAPI_SCHEMA = {
4691
4552
  "help": {
4692
4553
  "type": "string"
4693
4554
  },
4555
+ "is_allowed": {
4556
+ "type": "boolean"
4557
+ },
4694
4558
  "is_core": {
4695
4559
  "type": "boolean"
4696
4560
  },
@@ -4699,6 +4563,9 @@ var OPENAPI_SCHEMA = {
4699
4563
  },
4700
4564
  "name": {
4701
4565
  "type": "string"
4566
+ },
4567
+ "risk_level": {
4568
+ "type": "string"
4702
4569
  }
4703
4570
  },
4704
4571
  "required": [
@@ -4710,6 +4577,64 @@ var OPENAPI_SCHEMA = {
4710
4577
  ],
4711
4578
  "type": "object"
4712
4579
  },
4580
+ "CommandExecuteRequestRequest": {
4581
+ "description": "Request serializer for command execution.",
4582
+ "properties": {
4583
+ "args": {
4584
+ "description": "Positional arguments for the command",
4585
+ "items": {
4586
+ "minLength": 1,
4587
+ "type": "string"
4588
+ },
4589
+ "type": "array"
4590
+ },
4591
+ "command": {
4592
+ "description": "Name of the Django management command",
4593
+ "minLength": 1,
4594
+ "type": "string"
4595
+ },
4596
+ "options": {
4597
+ "additionalProperties": {},
4598
+ "description": "Named options for the command (e.g., {'verbosity': '2'})",
4599
+ "type": "object"
4600
+ }
4601
+ },
4602
+ "required": [
4603
+ "command"
4604
+ ],
4605
+ "type": "object"
4606
+ },
4607
+ "CommandHelpResponse": {
4608
+ "description": "Response serializer for command help.",
4609
+ "properties": {
4610
+ "app": {
4611
+ "type": "string"
4612
+ },
4613
+ "command": {
4614
+ "type": "string"
4615
+ },
4616
+ "error": {
4617
+ "type": "string"
4618
+ },
4619
+ "help_text": {
4620
+ "type": "string"
4621
+ },
4622
+ "is_allowed": {
4623
+ "type": "boolean"
4624
+ },
4625
+ "risk_level": {
4626
+ "type": "string"
4627
+ },
4628
+ "status": {
4629
+ "type": "string"
4630
+ }
4631
+ },
4632
+ "required": [
4633
+ "command",
4634
+ "status"
4635
+ ],
4636
+ "type": "object"
4637
+ },
4713
4638
  "CommandsSummary": {
4714
4639
  "description": "Commands summary serializer.",
4715
4640
  "properties": {
@@ -10455,10 +10380,10 @@ var OPENAPI_SCHEMA = {
10455
10380
  "x-async-capable": false
10456
10381
  }
10457
10382
  },
10458
- "/cfg/centrifugo/admin/api/monitor/channels/": {
10383
+ "/cfg/centrifugo/monitor/channels/": {
10459
10384
  "get": {
10460
10385
  "description": "Get statistics per channel.",
10461
- "operationId": "cfg_centrifugo_admin_api_monitor_channels_retrieve",
10386
+ "operationId": "cfg_centrifugo_monitor_channels_retrieve",
10462
10387
  "responses": {
10463
10388
  "200": {
10464
10389
  "description": "No response body"
@@ -10475,10 +10400,10 @@ var OPENAPI_SCHEMA = {
10475
10400
  "x-async-capable": false
10476
10401
  }
10477
10402
  },
10478
- "/cfg/centrifugo/admin/api/monitor/health/": {
10403
+ "/cfg/centrifugo/monitor/health/": {
10479
10404
  "get": {
10480
10405
  "description": "Returns the current health status of the Centrifugo client.",
10481
- "operationId": "cfg_centrifugo_admin_api_monitor_health_retrieve",
10406
+ "operationId": "cfg_centrifugo_monitor_health_retrieve",
10482
10407
  "responses": {
10483
10408
  "200": {
10484
10409
  "content": {
@@ -10513,10 +10438,10 @@ var OPENAPI_SCHEMA = {
10513
10438
  "x-async-capable": false
10514
10439
  }
10515
10440
  },
10516
- "/cfg/centrifugo/admin/api/monitor/overview/": {
10441
+ "/cfg/centrifugo/monitor/overview/": {
10517
10442
  "get": {
10518
10443
  "description": "Returns overview statistics for Centrifugo publishes.",
10519
- "operationId": "cfg_centrifugo_admin_api_monitor_overview_retrieve",
10444
+ "operationId": "cfg_centrifugo_monitor_overview_retrieve",
10520
10445
  "parameters": [
10521
10446
  {
10522
10447
  "description": "Statistics period in hours (default: 24)",
@@ -10561,10 +10486,10 @@ var OPENAPI_SCHEMA = {
10561
10486
  "x-async-capable": false
10562
10487
  }
10563
10488
  },
10564
- "/cfg/centrifugo/admin/api/monitor/publishes/": {
10489
+ "/cfg/centrifugo/monitor/publishes/": {
10565
10490
  "get": {
10566
10491
  "description": "Returns a list of recent Centrifugo publishes with their details.",
10567
- "operationId": "cfg_centrifugo_admin_api_monitor_publishes_retrieve",
10492
+ "operationId": "cfg_centrifugo_monitor_publishes_retrieve",
10568
10493
  "parameters": [
10569
10494
  {
10570
10495
  "description": "Filter by channel name",
@@ -10633,10 +10558,10 @@ var OPENAPI_SCHEMA = {
10633
10558
  "x-async-capable": false
10634
10559
  }
10635
10560
  },
10636
- "/cfg/centrifugo/admin/api/monitor/timeline/": {
10561
+ "/cfg/centrifugo/monitor/timeline/": {
10637
10562
  "get": {
10638
10563
  "description": "Returns statistics grouped by channel.",
10639
- "operationId": "cfg_centrifugo_admin_api_monitor_timeline_retrieve",
10564
+ "operationId": "cfg_centrifugo_monitor_timeline_retrieve",
10640
10565
  "parameters": [
10641
10566
  {
10642
10567
  "description": "Statistics period in hours (default: 24)",
@@ -10689,10 +10614,10 @@ var OPENAPI_SCHEMA = {
10689
10614
  "x-async-capable": false
10690
10615
  }
10691
10616
  },
10692
- "/cfg/centrifugo/admin/api/server/auth/token/": {
10617
+ "/cfg/centrifugo/server/auth/token/": {
10693
10618
  "post": {
10694
10619
  "description": "Returns JWT token and config for WebSocket connection to Centrifugo.",
10695
- "operationId": "cfg_centrifugo_admin_api_server_auth_token_create",
10620
+ "operationId": "cfg_centrifugo_server_auth_token_create",
10696
10621
  "responses": {
10697
10622
  "200": {
10698
10623
  "content": {
@@ -10753,10 +10678,10 @@ var OPENAPI_SCHEMA = {
10753
10678
  "x-async-capable": false
10754
10679
  }
10755
10680
  },
10756
- "/cfg/centrifugo/admin/api/server/channels/": {
10681
+ "/cfg/centrifugo/server/channels/": {
10757
10682
  "post": {
10758
10683
  "description": "Returns list of active channels with optional pattern filter.",
10759
- "operationId": "cfg_centrifugo_admin_api_server_channels_create",
10684
+ "operationId": "cfg_centrifugo_server_channels_create",
10760
10685
  "requestBody": {
10761
10686
  "content": {
10762
10687
  "application/json": {
@@ -10810,10 +10735,10 @@ var OPENAPI_SCHEMA = {
10810
10735
  "x-async-capable": false
10811
10736
  }
10812
10737
  },
10813
- "/cfg/centrifugo/admin/api/server/history/": {
10738
+ "/cfg/centrifugo/server/history/": {
10814
10739
  "post": {
10815
10740
  "description": "Returns message history for a channel.",
10816
- "operationId": "cfg_centrifugo_admin_api_server_history_create",
10741
+ "operationId": "cfg_centrifugo_server_history_create",
10817
10742
  "requestBody": {
10818
10743
  "content": {
10819
10744
  "application/json": {
@@ -10868,10 +10793,10 @@ var OPENAPI_SCHEMA = {
10868
10793
  "x-async-capable": false
10869
10794
  }
10870
10795
  },
10871
- "/cfg/centrifugo/admin/api/server/info/": {
10796
+ "/cfg/centrifugo/server/info/": {
10872
10797
  "post": {
10873
10798
  "description": "Returns server information including node count, version, and uptime.",
10874
- "operationId": "cfg_centrifugo_admin_api_server_info_create",
10799
+ "operationId": "cfg_centrifugo_server_info_create",
10875
10800
  "responses": {
10876
10801
  "200": {
10877
10802
  "content": {
@@ -10906,10 +10831,10 @@ var OPENAPI_SCHEMA = {
10906
10831
  "x-async-capable": false
10907
10832
  }
10908
10833
  },
10909
- "/cfg/centrifugo/admin/api/server/presence-stats/": {
10834
+ "/cfg/centrifugo/server/presence-stats/": {
10910
10835
  "post": {
10911
10836
  "description": "Returns quick statistics about channel presence (num_clients, num_users).",
10912
- "operationId": "cfg_centrifugo_admin_api_server_presence_stats_create",
10837
+ "operationId": "cfg_centrifugo_server_presence_stats_create",
10913
10838
  "requestBody": {
10914
10839
  "content": {
10915
10840
  "application/json": {
@@ -10964,10 +10889,10 @@ var OPENAPI_SCHEMA = {
10964
10889
  "x-async-capable": false
10965
10890
  }
10966
10891
  },
10967
- "/cfg/centrifugo/admin/api/server/presence/": {
10892
+ "/cfg/centrifugo/server/presence/": {
10968
10893
  "post": {
10969
10894
  "description": "Returns list of clients currently subscribed to a channel.",
10970
- "operationId": "cfg_centrifugo_admin_api_server_presence_create",
10895
+ "operationId": "cfg_centrifugo_server_presence_create",
10971
10896
  "requestBody": {
10972
10897
  "content": {
10973
10898
  "application/json": {
@@ -11022,10 +10947,10 @@ var OPENAPI_SCHEMA = {
11022
10947
  "x-async-capable": false
11023
10948
  }
11024
10949
  },
11025
- "/cfg/centrifugo/admin/api/testing/connection-token/": {
10950
+ "/cfg/centrifugo/testing/connection-token/": {
11026
10951
  "post": {
11027
10952
  "description": "Generate JWT token for WebSocket connection to Centrifugo.",
11028
- "operationId": "cfg_centrifugo_admin_api_testing_connection_token_create",
10953
+ "operationId": "cfg_centrifugo_testing_connection_token_create",
11029
10954
  "requestBody": {
11030
10955
  "content": {
11031
10956
  "application/json": {
@@ -11090,10 +11015,10 @@ var OPENAPI_SCHEMA = {
11090
11015
  "x-async-capable": false
11091
11016
  }
11092
11017
  },
11093
- "/cfg/centrifugo/admin/api/testing/publish-test/": {
11018
+ "/cfg/centrifugo/testing/publish-test/": {
11094
11019
  "post": {
11095
11020
  "description": "Publish test message to Centrifugo via wrapper with optional ACK tracking.",
11096
- "operationId": "cfg_centrifugo_admin_api_testing_publish_test_create",
11021
+ "operationId": "cfg_centrifugo_testing_publish_test_create",
11097
11022
  "requestBody": {
11098
11023
  "content": {
11099
11024
  "application/json": {
@@ -11158,10 +11083,10 @@ var OPENAPI_SCHEMA = {
11158
11083
  "x-async-capable": false
11159
11084
  }
11160
11085
  },
11161
- "/cfg/centrifugo/admin/api/testing/publish-with-logging/": {
11086
+ "/cfg/centrifugo/testing/publish-with-logging/": {
11162
11087
  "post": {
11163
11088
  "description": "Publish message using CentrifugoClient with database logging. This will create CentrifugoLog records.",
11164
- "operationId": "cfg_centrifugo_admin_api_testing_publish_with_logging_create",
11089
+ "operationId": "cfg_centrifugo_testing_publish_with_logging_create",
11165
11090
  "requestBody": {
11166
11091
  "content": {
11167
11092
  "application/json": {
@@ -11226,10 +11151,10 @@ var OPENAPI_SCHEMA = {
11226
11151
  "x-async-capable": false
11227
11152
  }
11228
11153
  },
11229
- "/cfg/centrifugo/admin/api/testing/send-ack/": {
11154
+ "/cfg/centrifugo/testing/send-ack/": {
11230
11155
  "post": {
11231
11156
  "description": "Manually send ACK for a message to the wrapper. Pass message_id in request body.",
11232
- "operationId": "cfg_centrifugo_admin_api_testing_send_ack_create",
11157
+ "operationId": "cfg_centrifugo_testing_send_ack_create",
11233
11158
  "requestBody": {
11234
11159
  "content": {
11235
11160
  "application/json": {
@@ -11294,880 +11219,41 @@ var OPENAPI_SCHEMA = {
11294
11219
  "x-async-capable": false
11295
11220
  }
11296
11221
  },
11297
- "/cfg/centrifugo/monitor/channels/": {
11222
+ "/cfg/dashboard/api/activity/actions/": {
11298
11223
  "get": {
11299
- "description": "Get statistics per channel.",
11300
- "operationId": "cfg_centrifugo_monitor_channels_retrieve",
11224
+ "description": "Retrieve quick action buttons for dashboard",
11225
+ "operationId": "cfg_dashboard_api_activity_actions_list",
11301
11226
  "responses": {
11302
11227
  "200": {
11303
- "description": "No response body"
11228
+ "content": {
11229
+ "application/json": {
11230
+ "schema": {
11231
+ "items": {
11232
+ "$ref": "#/components/schemas/QuickAction"
11233
+ },
11234
+ "type": "array"
11235
+ }
11236
+ }
11237
+ },
11238
+ "description": ""
11304
11239
  }
11305
11240
  },
11306
11241
  "security": [
11307
11242
  {
11308
- "jwtAuth": []
11243
+ "cookieAuth": []
11244
+ },
11245
+ {
11246
+ "basicAuth": []
11309
11247
  }
11310
11248
  ],
11249
+ "summary": "Get quick actions",
11311
11250
  "tags": [
11312
- "centrifugo"
11251
+ "Dashboard - Activity"
11313
11252
  ],
11314
11253
  "x-async-capable": false
11315
11254
  }
11316
11255
  },
11317
- "/cfg/centrifugo/monitor/health/": {
11318
- "get": {
11319
- "description": "Returns the current health status of the Centrifugo client.",
11320
- "operationId": "cfg_centrifugo_monitor_health_retrieve",
11321
- "responses": {
11322
- "200": {
11323
- "content": {
11324
- "application/json": {
11325
- "schema": {
11326
- "$ref": "#/components/schemas/HealthCheck"
11327
- }
11328
- }
11329
- },
11330
- "description": ""
11331
- },
11332
- "503": {
11333
- "content": {
11334
- "application/json": {
11335
- "schema": {
11336
- "description": "Service unavailable"
11337
- }
11338
- }
11339
- },
11340
- "description": ""
11341
- }
11342
- },
11343
- "security": [
11344
- {
11345
- "jwtAuth": []
11346
- }
11347
- ],
11348
- "summary": "Get Centrifugo health status",
11349
- "tags": [
11350
- "Centrifugo Monitoring"
11351
- ],
11352
- "x-async-capable": false
11353
- }
11354
- },
11355
- "/cfg/centrifugo/monitor/overview/": {
11356
- "get": {
11357
- "description": "Returns overview statistics for Centrifugo publishes.",
11358
- "operationId": "cfg_centrifugo_monitor_overview_retrieve",
11359
- "parameters": [
11360
- {
11361
- "description": "Statistics period in hours (default: 24)",
11362
- "in": "query",
11363
- "name": "hours",
11364
- "schema": {
11365
- "type": "integer"
11366
- }
11367
- }
11368
- ],
11369
- "responses": {
11370
- "200": {
11371
- "content": {
11372
- "application/json": {
11373
- "schema": {
11374
- "$ref": "#/components/schemas/OverviewStats"
11375
- }
11376
- }
11377
- },
11378
- "description": ""
11379
- },
11380
- "400": {
11381
- "content": {
11382
- "application/json": {
11383
- "schema": {
11384
- "description": "Invalid parameters"
11385
- }
11386
- }
11387
- },
11388
- "description": ""
11389
- }
11390
- },
11391
- "security": [
11392
- {
11393
- "jwtAuth": []
11394
- }
11395
- ],
11396
- "summary": "Get overview statistics",
11397
- "tags": [
11398
- "Centrifugo Monitoring"
11399
- ],
11400
- "x-async-capable": false
11401
- }
11402
- },
11403
- "/cfg/centrifugo/monitor/publishes/": {
11404
- "get": {
11405
- "description": "Returns a list of recent Centrifugo publishes with their details.",
11406
- "operationId": "cfg_centrifugo_monitor_publishes_retrieve",
11407
- "parameters": [
11408
- {
11409
- "description": "Filter by channel name",
11410
- "in": "query",
11411
- "name": "channel",
11412
- "schema": {
11413
- "type": "string"
11414
- }
11415
- },
11416
- {
11417
- "description": "Number of publishes to return (default: 50, max: 200)",
11418
- "in": "query",
11419
- "name": "count",
11420
- "schema": {
11421
- "type": "integer"
11422
- }
11423
- },
11424
- {
11425
- "description": "Offset for pagination (default: 0)",
11426
- "in": "query",
11427
- "name": "offset",
11428
- "schema": {
11429
- "type": "integer"
11430
- }
11431
- },
11432
- {
11433
- "description": "Filter by status (success, failed, timeout, pending, partial)",
11434
- "in": "query",
11435
- "name": "status",
11436
- "schema": {
11437
- "type": "string"
11438
- }
11439
- }
11440
- ],
11441
- "responses": {
11442
- "200": {
11443
- "content": {
11444
- "application/json": {
11445
- "schema": {
11446
- "$ref": "#/components/schemas/RecentPublishes"
11447
- }
11448
- }
11449
- },
11450
- "description": ""
11451
- },
11452
- "400": {
11453
- "content": {
11454
- "application/json": {
11455
- "schema": {
11456
- "description": "Invalid parameters"
11457
- }
11458
- }
11459
- },
11460
- "description": ""
11461
- }
11462
- },
11463
- "security": [
11464
- {
11465
- "jwtAuth": []
11466
- }
11467
- ],
11468
- "summary": "Get recent publishes",
11469
- "tags": [
11470
- "Centrifugo Monitoring"
11471
- ],
11472
- "x-async-capable": false
11473
- }
11474
- },
11475
- "/cfg/centrifugo/monitor/timeline/": {
11476
- "get": {
11477
- "description": "Returns statistics grouped by channel.",
11478
- "operationId": "cfg_centrifugo_monitor_timeline_retrieve",
11479
- "parameters": [
11480
- {
11481
- "description": "Statistics period in hours (default: 24)",
11482
- "in": "query",
11483
- "name": "hours",
11484
- "schema": {
11485
- "type": "integer"
11486
- }
11487
- },
11488
- {
11489
- "description": "Time interval: 'hour' or 'day' (default: hour)",
11490
- "in": "query",
11491
- "name": "interval",
11492
- "schema": {
11493
- "type": "string"
11494
- }
11495
- }
11496
- ],
11497
- "responses": {
11498
- "200": {
11499
- "content": {
11500
- "application/json": {
11501
- "schema": {
11502
- "$ref": "#/components/schemas/ChannelList"
11503
- }
11504
- }
11505
- },
11506
- "description": ""
11507
- },
11508
- "400": {
11509
- "content": {
11510
- "application/json": {
11511
- "schema": {
11512
- "description": "Invalid parameters"
11513
- }
11514
- }
11515
- },
11516
- "description": ""
11517
- }
11518
- },
11519
- "security": [
11520
- {
11521
- "jwtAuth": []
11522
- }
11523
- ],
11524
- "summary": "Get channel statistics",
11525
- "tags": [
11526
- "Centrifugo Monitoring"
11527
- ],
11528
- "x-async-capable": false
11529
- }
11530
- },
11531
- "/cfg/centrifugo/server/auth/token/": {
11532
- "post": {
11533
- "description": "Returns JWT token and config for WebSocket connection to Centrifugo.",
11534
- "operationId": "cfg_centrifugo_server_auth_token_create",
11535
- "responses": {
11536
- "200": {
11537
- "content": {
11538
- "application/json": {
11539
- "schema": {
11540
- "properties": {
11541
- "config": {
11542
- "properties": {
11543
- "centrifugo_url": {
11544
- "type": "string"
11545
- },
11546
- "expires_at": {
11547
- "type": "string"
11548
- }
11549
- },
11550
- "type": "object"
11551
- },
11552
- "token": {
11553
- "type": "string"
11554
- }
11555
- },
11556
- "type": "object"
11557
- }
11558
- }
11559
- },
11560
- "description": ""
11561
- },
11562
- "400": {
11563
- "content": {
11564
- "application/json": {
11565
- "schema": {
11566
- "description": "Centrifugo not configured"
11567
- }
11568
- }
11569
- },
11570
- "description": ""
11571
- },
11572
- "500": {
11573
- "content": {
11574
- "application/json": {
11575
- "schema": {
11576
- "description": "Server error"
11577
- }
11578
- }
11579
- },
11580
- "description": ""
11581
- }
11582
- },
11583
- "security": [
11584
- {
11585
- "jwtAuth": []
11586
- }
11587
- ],
11588
- "summary": "Get connection token for dashboard",
11589
- "tags": [
11590
- "Centrifugo Admin API"
11591
- ],
11592
- "x-async-capable": false
11593
- }
11594
- },
11595
- "/cfg/centrifugo/server/channels/": {
11596
- "post": {
11597
- "description": "Returns list of active channels with optional pattern filter.",
11598
- "operationId": "cfg_centrifugo_server_channels_create",
11599
- "requestBody": {
11600
- "content": {
11601
- "application/json": {
11602
- "schema": {
11603
- "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
11604
- }
11605
- },
11606
- "application/x-www-form-urlencoded": {
11607
- "schema": {
11608
- "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
11609
- }
11610
- },
11611
- "multipart/form-data": {
11612
- "schema": {
11613
- "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
11614
- }
11615
- }
11616
- }
11617
- },
11618
- "responses": {
11619
- "200": {
11620
- "content": {
11621
- "application/json": {
11622
- "schema": {
11623
- "$ref": "#/components/schemas/CentrifugoChannelsResponse"
11624
- }
11625
- }
11626
- },
11627
- "description": ""
11628
- },
11629
- "500": {
11630
- "content": {
11631
- "application/json": {
11632
- "schema": {
11633
- "description": "Server error"
11634
- }
11635
- }
11636
- },
11637
- "description": ""
11638
- }
11639
- },
11640
- "security": [
11641
- {
11642
- "jwtAuth": []
11643
- }
11644
- ],
11645
- "summary": "List active channels",
11646
- "tags": [
11647
- "Centrifugo Admin API"
11648
- ],
11649
- "x-async-capable": false
11650
- }
11651
- },
11652
- "/cfg/centrifugo/server/history/": {
11653
- "post": {
11654
- "description": "Returns message history for a channel.",
11655
- "operationId": "cfg_centrifugo_server_history_create",
11656
- "requestBody": {
11657
- "content": {
11658
- "application/json": {
11659
- "schema": {
11660
- "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
11661
- }
11662
- },
11663
- "application/x-www-form-urlencoded": {
11664
- "schema": {
11665
- "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
11666
- }
11667
- },
11668
- "multipart/form-data": {
11669
- "schema": {
11670
- "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
11671
- }
11672
- }
11673
- },
11674
- "required": true
11675
- },
11676
- "responses": {
11677
- "200": {
11678
- "content": {
11679
- "application/json": {
11680
- "schema": {
11681
- "$ref": "#/components/schemas/CentrifugoHistoryResponse"
11682
- }
11683
- }
11684
- },
11685
- "description": ""
11686
- },
11687
- "500": {
11688
- "content": {
11689
- "application/json": {
11690
- "schema": {
11691
- "description": "Server error"
11692
- }
11693
- }
11694
- },
11695
- "description": ""
11696
- }
11697
- },
11698
- "security": [
11699
- {
11700
- "jwtAuth": []
11701
- }
11702
- ],
11703
- "summary": "Get channel history",
11704
- "tags": [
11705
- "Centrifugo Admin API"
11706
- ],
11707
- "x-async-capable": false
11708
- }
11709
- },
11710
- "/cfg/centrifugo/server/info/": {
11711
- "post": {
11712
- "description": "Returns server information including node count, version, and uptime.",
11713
- "operationId": "cfg_centrifugo_server_info_create",
11714
- "responses": {
11715
- "200": {
11716
- "content": {
11717
- "application/json": {
11718
- "schema": {
11719
- "$ref": "#/components/schemas/CentrifugoInfoResponse"
11720
- }
11721
- }
11722
- },
11723
- "description": ""
11724
- },
11725
- "500": {
11726
- "content": {
11727
- "application/json": {
11728
- "schema": {
11729
- "description": "Server error"
11730
- }
11731
- }
11732
- },
11733
- "description": ""
11734
- }
11735
- },
11736
- "security": [
11737
- {
11738
- "jwtAuth": []
11739
- }
11740
- ],
11741
- "summary": "Get Centrifugo server info",
11742
- "tags": [
11743
- "Centrifugo Admin API"
11744
- ],
11745
- "x-async-capable": false
11746
- }
11747
- },
11748
- "/cfg/centrifugo/server/presence-stats/": {
11749
- "post": {
11750
- "description": "Returns quick statistics about channel presence (num_clients, num_users).",
11751
- "operationId": "cfg_centrifugo_server_presence_stats_create",
11752
- "requestBody": {
11753
- "content": {
11754
- "application/json": {
11755
- "schema": {
11756
- "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
11757
- }
11758
- },
11759
- "application/x-www-form-urlencoded": {
11760
- "schema": {
11761
- "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
11762
- }
11763
- },
11764
- "multipart/form-data": {
11765
- "schema": {
11766
- "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
11767
- }
11768
- }
11769
- },
11770
- "required": true
11771
- },
11772
- "responses": {
11773
- "200": {
11774
- "content": {
11775
- "application/json": {
11776
- "schema": {
11777
- "$ref": "#/components/schemas/CentrifugoPresenceStatsResponse"
11778
- }
11779
- }
11780
- },
11781
- "description": ""
11782
- },
11783
- "500": {
11784
- "content": {
11785
- "application/json": {
11786
- "schema": {
11787
- "description": "Server error"
11788
- }
11789
- }
11790
- },
11791
- "description": ""
11792
- }
11793
- },
11794
- "security": [
11795
- {
11796
- "jwtAuth": []
11797
- }
11798
- ],
11799
- "summary": "Get channel presence statistics",
11800
- "tags": [
11801
- "Centrifugo Admin API"
11802
- ],
11803
- "x-async-capable": false
11804
- }
11805
- },
11806
- "/cfg/centrifugo/server/presence/": {
11807
- "post": {
11808
- "description": "Returns list of clients currently subscribed to a channel.",
11809
- "operationId": "cfg_centrifugo_server_presence_create",
11810
- "requestBody": {
11811
- "content": {
11812
- "application/json": {
11813
- "schema": {
11814
- "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
11815
- }
11816
- },
11817
- "application/x-www-form-urlencoded": {
11818
- "schema": {
11819
- "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
11820
- }
11821
- },
11822
- "multipart/form-data": {
11823
- "schema": {
11824
- "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
11825
- }
11826
- }
11827
- },
11828
- "required": true
11829
- },
11830
- "responses": {
11831
- "200": {
11832
- "content": {
11833
- "application/json": {
11834
- "schema": {
11835
- "$ref": "#/components/schemas/CentrifugoPresenceResponse"
11836
- }
11837
- }
11838
- },
11839
- "description": ""
11840
- },
11841
- "500": {
11842
- "content": {
11843
- "application/json": {
11844
- "schema": {
11845
- "description": "Server error"
11846
- }
11847
- }
11848
- },
11849
- "description": ""
11850
- }
11851
- },
11852
- "security": [
11853
- {
11854
- "jwtAuth": []
11855
- }
11856
- ],
11857
- "summary": "Get channel presence",
11858
- "tags": [
11859
- "Centrifugo Admin API"
11860
- ],
11861
- "x-async-capable": false
11862
- }
11863
- },
11864
- "/cfg/centrifugo/testing/connection-token/": {
11865
- "post": {
11866
- "description": "Generate JWT token for WebSocket connection to Centrifugo.",
11867
- "operationId": "cfg_centrifugo_testing_connection_token_create",
11868
- "requestBody": {
11869
- "content": {
11870
- "application/json": {
11871
- "schema": {
11872
- "$ref": "#/components/schemas/ConnectionTokenRequestRequest"
11873
- }
11874
- },
11875
- "application/x-www-form-urlencoded": {
11876
- "schema": {
11877
- "$ref": "#/components/schemas/ConnectionTokenRequestRequest"
11878
- }
11879
- },
11880
- "multipart/form-data": {
11881
- "schema": {
11882
- "$ref": "#/components/schemas/ConnectionTokenRequestRequest"
11883
- }
11884
- }
11885
- },
11886
- "required": true
11887
- },
11888
- "responses": {
11889
- "200": {
11890
- "content": {
11891
- "application/json": {
11892
- "schema": {
11893
- "$ref": "#/components/schemas/ConnectionTokenResponse"
11894
- }
11895
- }
11896
- },
11897
- "description": ""
11898
- },
11899
- "400": {
11900
- "content": {
11901
- "application/json": {
11902
- "schema": {
11903
- "description": "Invalid request"
11904
- }
11905
- }
11906
- },
11907
- "description": ""
11908
- },
11909
- "500": {
11910
- "content": {
11911
- "application/json": {
11912
- "schema": {
11913
- "description": "Server error"
11914
- }
11915
- }
11916
- },
11917
- "description": ""
11918
- }
11919
- },
11920
- "security": [
11921
- {
11922
- "jwtAuth": []
11923
- }
11924
- ],
11925
- "summary": "Generate connection token",
11926
- "tags": [
11927
- "Centrifugo Testing"
11928
- ],
11929
- "x-async-capable": false
11930
- }
11931
- },
11932
- "/cfg/centrifugo/testing/publish-test/": {
11933
- "post": {
11934
- "description": "Publish test message to Centrifugo via wrapper with optional ACK tracking.",
11935
- "operationId": "cfg_centrifugo_testing_publish_test_create",
11936
- "requestBody": {
11937
- "content": {
11938
- "application/json": {
11939
- "schema": {
11940
- "$ref": "#/components/schemas/PublishTestRequestRequest"
11941
- }
11942
- },
11943
- "application/x-www-form-urlencoded": {
11944
- "schema": {
11945
- "$ref": "#/components/schemas/PublishTestRequestRequest"
11946
- }
11947
- },
11948
- "multipart/form-data": {
11949
- "schema": {
11950
- "$ref": "#/components/schemas/PublishTestRequestRequest"
11951
- }
11952
- }
11953
- },
11954
- "required": true
11955
- },
11956
- "responses": {
11957
- "200": {
11958
- "content": {
11959
- "application/json": {
11960
- "schema": {
11961
- "$ref": "#/components/schemas/PublishTestResponse"
11962
- }
11963
- }
11964
- },
11965
- "description": ""
11966
- },
11967
- "400": {
11968
- "content": {
11969
- "application/json": {
11970
- "schema": {
11971
- "description": "Invalid request"
11972
- }
11973
- }
11974
- },
11975
- "description": ""
11976
- },
11977
- "500": {
11978
- "content": {
11979
- "application/json": {
11980
- "schema": {
11981
- "description": "Server error"
11982
- }
11983
- }
11984
- },
11985
- "description": ""
11986
- }
11987
- },
11988
- "security": [
11989
- {
11990
- "jwtAuth": []
11991
- }
11992
- ],
11993
- "summary": "Publish test message",
11994
- "tags": [
11995
- "Centrifugo Testing"
11996
- ],
11997
- "x-async-capable": false
11998
- }
11999
- },
12000
- "/cfg/centrifugo/testing/publish-with-logging/": {
12001
- "post": {
12002
- "description": "Publish message using CentrifugoClient with database logging. This will create CentrifugoLog records.",
12003
- "operationId": "cfg_centrifugo_testing_publish_with_logging_create",
12004
- "requestBody": {
12005
- "content": {
12006
- "application/json": {
12007
- "schema": {
12008
- "$ref": "#/components/schemas/PublishTestRequestRequest"
12009
- }
12010
- },
12011
- "application/x-www-form-urlencoded": {
12012
- "schema": {
12013
- "$ref": "#/components/schemas/PublishTestRequestRequest"
12014
- }
12015
- },
12016
- "multipart/form-data": {
12017
- "schema": {
12018
- "$ref": "#/components/schemas/PublishTestRequestRequest"
12019
- }
12020
- }
12021
- },
12022
- "required": true
12023
- },
12024
- "responses": {
12025
- "200": {
12026
- "content": {
12027
- "application/json": {
12028
- "schema": {
12029
- "$ref": "#/components/schemas/PublishTestResponse"
12030
- }
12031
- }
12032
- },
12033
- "description": ""
12034
- },
12035
- "400": {
12036
- "content": {
12037
- "application/json": {
12038
- "schema": {
12039
- "description": "Invalid request"
12040
- }
12041
- }
12042
- },
12043
- "description": ""
12044
- },
12045
- "500": {
12046
- "content": {
12047
- "application/json": {
12048
- "schema": {
12049
- "description": "Server error"
12050
- }
12051
- }
12052
- },
12053
- "description": ""
12054
- }
12055
- },
12056
- "security": [
12057
- {
12058
- "jwtAuth": []
12059
- }
12060
- ],
12061
- "summary": "Publish with database logging",
12062
- "tags": [
12063
- "Centrifugo Testing"
12064
- ],
12065
- "x-async-capable": false
12066
- }
12067
- },
12068
- "/cfg/centrifugo/testing/send-ack/": {
12069
- "post": {
12070
- "description": "Manually send ACK for a message to the wrapper. Pass message_id in request body.",
12071
- "operationId": "cfg_centrifugo_testing_send_ack_create",
12072
- "requestBody": {
12073
- "content": {
12074
- "application/json": {
12075
- "schema": {
12076
- "$ref": "#/components/schemas/ManualAckRequestRequest"
12077
- }
12078
- },
12079
- "application/x-www-form-urlencoded": {
12080
- "schema": {
12081
- "$ref": "#/components/schemas/ManualAckRequestRequest"
12082
- }
12083
- },
12084
- "multipart/form-data": {
12085
- "schema": {
12086
- "$ref": "#/components/schemas/ManualAckRequestRequest"
12087
- }
12088
- }
12089
- },
12090
- "required": true
12091
- },
12092
- "responses": {
12093
- "200": {
12094
- "content": {
12095
- "application/json": {
12096
- "schema": {
12097
- "$ref": "#/components/schemas/ManualAckResponse"
12098
- }
12099
- }
12100
- },
12101
- "description": ""
12102
- },
12103
- "400": {
12104
- "content": {
12105
- "application/json": {
12106
- "schema": {
12107
- "description": "Invalid request"
12108
- }
12109
- }
12110
- },
12111
- "description": ""
12112
- },
12113
- "500": {
12114
- "content": {
12115
- "application/json": {
12116
- "schema": {
12117
- "description": "Server error"
12118
- }
12119
- }
12120
- },
12121
- "description": ""
12122
- }
12123
- },
12124
- "security": [
12125
- {
12126
- "jwtAuth": []
12127
- }
12128
- ],
12129
- "summary": "Send manual ACK",
12130
- "tags": [
12131
- "Centrifugo Testing"
12132
- ],
12133
- "x-async-capable": false
12134
- }
12135
- },
12136
- "/cfg/dashboard/api/activity/actions/": {
12137
- "get": {
12138
- "description": "Retrieve quick action buttons for dashboard",
12139
- "operationId": "cfg_dashboard_api_activity_actions_list",
12140
- "responses": {
12141
- "200": {
12142
- "content": {
12143
- "application/json": {
12144
- "schema": {
12145
- "items": {
12146
- "$ref": "#/components/schemas/QuickAction"
12147
- },
12148
- "type": "array"
12149
- }
12150
- }
12151
- },
12152
- "description": ""
12153
- }
12154
- },
12155
- "security": [
12156
- {
12157
- "cookieAuth": []
12158
- },
12159
- {
12160
- "basicAuth": []
12161
- }
12162
- ],
12163
- "summary": "Get quick actions",
12164
- "tags": [
12165
- "Dashboard - Activity"
12166
- ],
12167
- "x-async-capable": false
12168
- }
12169
- },
12170
- "/cfg/dashboard/api/activity/recent/": {
11256
+ "/cfg/dashboard/api/activity/recent/": {
12171
11257
  "get": {
12172
11258
  "description": "Retrieve recent system activity entries",
12173
11259
  "operationId": "cfg_dashboard_api_activity_recent_list",
@@ -12406,6 +11492,9 @@ var OPENAPI_SCHEMA = {
12406
11492
  }
12407
11493
  },
12408
11494
  "security": [
11495
+ {
11496
+ "jwtAuth": []
11497
+ },
12409
11498
  {
12410
11499
  "cookieAuth": []
12411
11500
  },
@@ -12420,6 +11509,80 @@ var OPENAPI_SCHEMA = {
12420
11509
  "x-async-capable": false
12421
11510
  }
12422
11511
  },
11512
+ "/cfg/dashboard/api/commands/execute/": {
11513
+ "post": {
11514
+ "description": "Execute a Django management command and stream output in Server-Sent Events format",
11515
+ "operationId": "cfg_dashboard_api_commands_execute_create",
11516
+ "requestBody": {
11517
+ "content": {
11518
+ "application/json": {
11519
+ "schema": {
11520
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
11521
+ }
11522
+ },
11523
+ "application/x-www-form-urlencoded": {
11524
+ "schema": {
11525
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
11526
+ }
11527
+ },
11528
+ "multipart/form-data": {
11529
+ "schema": {
11530
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
11531
+ }
11532
+ }
11533
+ },
11534
+ "required": true
11535
+ },
11536
+ "responses": {
11537
+ "200": {
11538
+ "content": {
11539
+ "application/json": {
11540
+ "schema": {
11541
+ "description": "Command execution started (SSE stream)"
11542
+ }
11543
+ }
11544
+ },
11545
+ "description": ""
11546
+ },
11547
+ "400": {
11548
+ "content": {
11549
+ "application/json": {
11550
+ "schema": {
11551
+ "description": "Invalid request"
11552
+ }
11553
+ }
11554
+ },
11555
+ "description": ""
11556
+ },
11557
+ "403": {
11558
+ "content": {
11559
+ "application/json": {
11560
+ "schema": {
11561
+ "description": "Command not allowed"
11562
+ }
11563
+ }
11564
+ },
11565
+ "description": ""
11566
+ }
11567
+ },
11568
+ "security": [
11569
+ {
11570
+ "jwtAuth": []
11571
+ },
11572
+ {
11573
+ "cookieAuth": []
11574
+ },
11575
+ {
11576
+ "basicAuth": []
11577
+ }
11578
+ ],
11579
+ "summary": "Execute command",
11580
+ "tags": [
11581
+ "Dashboard - Commands"
11582
+ ],
11583
+ "x-async-capable": false
11584
+ }
11585
+ },
12423
11586
  "/cfg/dashboard/api/commands/summary/": {
12424
11587
  "get": {
12425
11588
  "description": "Retrieve commands summary with statistics and categorization",
@@ -12437,6 +11600,9 @@ var OPENAPI_SCHEMA = {
12437
11600
  }
12438
11601
  },
12439
11602
  "security": [
11603
+ {
11604
+ "jwtAuth": []
11605
+ },
12440
11606
  {
12441
11607
  "cookieAuth": []
12442
11608
  },
@@ -12451,6 +11617,50 @@ var OPENAPI_SCHEMA = {
12451
11617
  "x-async-capable": false
12452
11618
  }
12453
11619
  },
11620
+ "/cfg/dashboard/api/commands/{id}/help/": {
11621
+ "get": {
11622
+ "description": "Get detailed help text for a specific Django management command",
11623
+ "operationId": "cfg_dashboard_api_commands_help_retrieve",
11624
+ "parameters": [
11625
+ {
11626
+ "in": "path",
11627
+ "name": "id",
11628
+ "required": true,
11629
+ "schema": {
11630
+ "type": "string"
11631
+ }
11632
+ }
11633
+ ],
11634
+ "responses": {
11635
+ "200": {
11636
+ "content": {
11637
+ "application/json": {
11638
+ "schema": {
11639
+ "$ref": "#/components/schemas/CommandHelpResponse"
11640
+ }
11641
+ }
11642
+ },
11643
+ "description": ""
11644
+ }
11645
+ },
11646
+ "security": [
11647
+ {
11648
+ "jwtAuth": []
11649
+ },
11650
+ {
11651
+ "cookieAuth": []
11652
+ },
11653
+ {
11654
+ "basicAuth": []
11655
+ }
11656
+ ],
11657
+ "summary": "Get command help",
11658
+ "tags": [
11659
+ "Dashboard - Commands"
11660
+ ],
11661
+ "x-async-capable": false
11662
+ }
11663
+ },
12454
11664
  "/cfg/dashboard/api/overview/overview/": {
12455
11665
  "get": {
12456
11666
  "description": "Retrieve complete dashboard data including stats, health, actions, and metrics",
@@ -18607,6 +17817,8 @@ __export(schemas_exports, {
18607
17817
  ChatSourceRequestSchema: () => ChatSourceRequestSchema,
18608
17818
  ChatSourceSchema: () => ChatSourceSchema,
18609
17819
  ChunkRevectorizationRequestRequestSchema: () => ChunkRevectorizationRequestRequestSchema,
17820
+ CommandExecuteRequestRequestSchema: () => CommandExecuteRequestRequestSchema,
17821
+ CommandHelpResponseSchema: () => CommandHelpResponseSchema,
18610
17822
  CommandSchema: () => CommandSchema,
18611
17823
  CommandsSummarySchema: () => CommandsSummarySchema,
18612
17824
  ConnectionTokenRequestRequestSchema: () => ConnectionTokenRequestRequestSchema,
@@ -19309,566 +18521,560 @@ var CommandSchema = z58.object({
19309
18521
  app: z58.string(),
19310
18522
  help: z58.string(),
19311
18523
  is_core: z58.boolean(),
19312
- is_custom: z58.boolean()
18524
+ is_custom: z58.boolean(),
18525
+ is_allowed: z58.boolean().optional(),
18526
+ risk_level: z58.string().optional()
19313
18527
  });
19314
18528
 
19315
- // src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts
18529
+ // src/cfg/generated/_utils/schemas/CommandExecuteRequestRequest.schema.ts
19316
18530
  import { z as z59 } from "zod";
19317
- var CommandsSummarySchema = z59.object({
19318
- total_commands: z59.int(),
19319
- core_commands: z59.int(),
19320
- custom_commands: z59.int(),
19321
- categories: z59.array(z59.string()),
19322
- commands: z59.array(CommandSchema),
19323
- categorized: z59.record(z59.string(), z59.any())
18531
+ var CommandExecuteRequestRequestSchema = z59.object({
18532
+ command: z59.string().min(1),
18533
+ args: z59.array(z59.string().min(1)).optional(),
18534
+ options: z59.record(z59.string(), z59.any()).optional()
19324
18535
  });
19325
18536
 
19326
- // src/cfg/generated/_utils/schemas/ConnectionTokenRequestRequest.schema.ts
18537
+ // src/cfg/generated/_utils/schemas/CommandHelpResponse.schema.ts
19327
18538
  import { z as z60 } from "zod";
19328
- var ConnectionTokenRequestRequestSchema = z60.object({
19329
- user_id: z60.string(),
19330
- channels: z60.array(z60.string()).optional()
18539
+ var CommandHelpResponseSchema = z60.object({
18540
+ status: z60.string(),
18541
+ command: z60.string(),
18542
+ app: z60.string().optional(),
18543
+ help_text: z60.string().optional(),
18544
+ is_allowed: z60.boolean().optional(),
18545
+ risk_level: z60.string().optional(),
18546
+ error: z60.string().optional()
19331
18547
  });
19332
18548
 
19333
- // src/cfg/generated/_utils/schemas/ConnectionTokenResponse.schema.ts
18549
+ // src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts
19334
18550
  import { z as z61 } from "zod";
19335
- var ConnectionTokenResponseSchema = z61.object({
19336
- token: z61.string(),
19337
- centrifugo_url: z61.string(),
19338
- expires_at: z61.string()
18551
+ var CommandsSummarySchema = z61.object({
18552
+ total_commands: z61.int(),
18553
+ core_commands: z61.int(),
18554
+ custom_commands: z61.int(),
18555
+ categories: z61.array(z61.string()),
18556
+ commands: z61.array(CommandSchema),
18557
+ categorized: z61.record(z61.string(), z61.any())
19339
18558
  });
19340
18559
 
19341
- // src/cfg/generated/_utils/schemas/Currency.schema.ts
18560
+ // src/cfg/generated/_utils/schemas/ConnectionTokenRequestRequest.schema.ts
19342
18561
  import { z as z62 } from "zod";
19343
- var CurrencySchema = z62.object({
19344
- code: z62.string(),
19345
- name: z62.string(),
19346
- token: z62.string(),
19347
- network: z62.string().nullable(),
19348
- display_name: z62.string(),
19349
- symbol: z62.string(),
19350
- decimal_places: z62.int(),
19351
- is_active: z62.boolean(),
19352
- min_amount_usd: z62.string(),
19353
- sort_order: z62.int()
18562
+ var ConnectionTokenRequestRequestSchema = z62.object({
18563
+ user_id: z62.string(),
18564
+ channels: z62.array(z62.string()).optional()
19354
18565
  });
19355
18566
 
19356
- // src/cfg/generated/_utils/schemas/DashboardOverview.schema.ts
18567
+ // src/cfg/generated/_utils/schemas/ConnectionTokenResponse.schema.ts
19357
18568
  import { z as z63 } from "zod";
19358
- var DashboardOverviewSchema = z63.object({
19359
- stat_cards: z63.array(z63.record(z63.string(), z63.any())),
19360
- system_health: z63.array(z63.record(z63.string(), z63.any())),
19361
- quick_actions: z63.array(z63.record(z63.string(), z63.any())),
19362
- recent_activity: z63.array(z63.record(z63.string(), z63.any())),
19363
- system_metrics: z63.record(z63.string(), z63.any()),
19364
- user_statistics: z63.record(z63.string(), z63.any()),
19365
- timestamp: z63.string()
18569
+ var ConnectionTokenResponseSchema = z63.object({
18570
+ token: z63.string(),
18571
+ centrifugo_url: z63.string(),
18572
+ expires_at: z63.string()
19366
18573
  });
19367
18574
 
19368
- // src/cfg/generated/_utils/schemas/Document.schema.ts
18575
+ // src/cfg/generated/_utils/schemas/Currency.schema.ts
19369
18576
  import { z as z64 } from "zod";
19370
- var DocumentSchema = z64.object({
19371
- id: z64.uuid(),
19372
- title: z64.string().max(512),
19373
- file_type: z64.string().max(100).optional(),
19374
- file_size: z64.int().min(0).max(2147483647).optional(),
19375
- processing_status: z64.string(),
19376
- chunks_count: z64.int(),
19377
- total_tokens: z64.int(),
19378
- total_cost_usd: z64.number(),
19379
- created_at: z64.iso.datetime(),
19380
- updated_at: z64.iso.datetime(),
19381
- processing_started_at: z64.iso.datetime(),
19382
- processing_completed_at: z64.iso.datetime(),
19383
- processing_error: z64.string(),
19384
- metadata: z64.string().nullable().optional()
18577
+ var CurrencySchema = z64.object({
18578
+ code: z64.string(),
18579
+ name: z64.string(),
18580
+ token: z64.string(),
18581
+ network: z64.string().nullable(),
18582
+ display_name: z64.string(),
18583
+ symbol: z64.string(),
18584
+ decimal_places: z64.int(),
18585
+ is_active: z64.boolean(),
18586
+ min_amount_usd: z64.string(),
18587
+ sort_order: z64.int()
19385
18588
  });
19386
18589
 
19387
- // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
19388
- import { z as z66 } from "zod";
19389
-
19390
- // src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
18590
+ // src/cfg/generated/_utils/schemas/DashboardOverview.schema.ts
19391
18591
  import { z as z65 } from "zod";
19392
- var DocumentCategorySchema = z65.object({
19393
- id: z65.uuid(),
19394
- name: z65.string().max(255),
19395
- description: z65.string().optional(),
19396
- is_public: z65.boolean().optional(),
19397
- created_at: z65.iso.datetime()
18592
+ var DashboardOverviewSchema = z65.object({
18593
+ stat_cards: z65.array(z65.record(z65.string(), z65.any())),
18594
+ system_health: z65.array(z65.record(z65.string(), z65.any())),
18595
+ quick_actions: z65.array(z65.record(z65.string(), z65.any())),
18596
+ recent_activity: z65.array(z65.record(z65.string(), z65.any())),
18597
+ system_metrics: z65.record(z65.string(), z65.any()),
18598
+ user_statistics: z65.record(z65.string(), z65.any()),
18599
+ timestamp: z65.string()
19398
18600
  });
19399
18601
 
19400
- // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
19401
- var DocumentArchiveSchema = z66.object({
18602
+ // src/cfg/generated/_utils/schemas/Document.schema.ts
18603
+ import { z as z66 } from "zod";
18604
+ var DocumentSchema = z66.object({
19402
18605
  id: z66.uuid(),
19403
18606
  title: z66.string().max(512),
19404
- description: z66.string().optional(),
19405
- categories: z66.array(DocumentCategorySchema),
19406
- is_public: z66.boolean().optional(),
19407
- archive_file: z66.url(),
19408
- original_filename: z66.string(),
19409
- file_size: z66.int(),
19410
- archive_type: z66.nativeEnum(DocumentArchiveArchiveType),
19411
- processing_status: z66.nativeEnum(DocumentArchiveProcessingStatus),
19412
- processed_at: z66.iso.datetime().nullable(),
19413
- processing_duration_ms: z66.int(),
19414
- processing_error: z66.string(),
19415
- total_items: z66.int(),
19416
- processed_items: z66.int(),
19417
- total_chunks: z66.int(),
19418
- vectorized_chunks: z66.int(),
18607
+ file_type: z66.string().max(100).optional(),
18608
+ file_size: z66.int().min(0).max(2147483647).optional(),
18609
+ processing_status: z66.string(),
18610
+ chunks_count: z66.int(),
19419
18611
  total_tokens: z66.int(),
19420
18612
  total_cost_usd: z66.number(),
19421
- processing_progress: z66.number(),
19422
- vectorization_progress: z66.number(),
19423
- is_processed: z66.boolean(),
19424
18613
  created_at: z66.iso.datetime(),
19425
- updated_at: z66.iso.datetime()
18614
+ updated_at: z66.iso.datetime(),
18615
+ processing_started_at: z66.iso.datetime(),
18616
+ processing_completed_at: z66.iso.datetime(),
18617
+ processing_error: z66.string(),
18618
+ metadata: z66.string().nullable().optional()
19426
18619
  });
19427
18620
 
19428
- // src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts
18621
+ // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
18622
+ import { z as z68 } from "zod";
18623
+
18624
+ // src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
19429
18625
  import { z as z67 } from "zod";
19430
- var DocumentArchiveDetailSchema = z67.object({
18626
+ var DocumentCategorySchema = z67.object({
19431
18627
  id: z67.uuid(),
19432
- title: z67.string().max(512),
18628
+ name: z67.string().max(255),
19433
18629
  description: z67.string().optional(),
19434
- categories: z67.array(DocumentCategorySchema),
19435
18630
  is_public: z67.boolean().optional(),
19436
- archive_file: z67.url(),
19437
- original_filename: z67.string(),
19438
- file_size: z67.int(),
19439
- archive_type: z67.nativeEnum(DocumentArchiveDetailArchiveType),
19440
- processing_status: z67.nativeEnum(DocumentArchiveDetailProcessingStatus),
19441
- processed_at: z67.iso.datetime().nullable(),
19442
- processing_duration_ms: z67.int(),
19443
- processing_error: z67.string(),
19444
- total_items: z67.int(),
19445
- processed_items: z67.int(),
19446
- total_chunks: z67.int(),
19447
- vectorized_chunks: z67.int(),
19448
- total_tokens: z67.int(),
19449
- total_cost_usd: z67.number(),
19450
- processing_progress: z67.number(),
19451
- vectorization_progress: z67.number(),
19452
- is_processed: z67.boolean(),
19453
- created_at: z67.iso.datetime(),
19454
- updated_at: z67.iso.datetime(),
19455
- items: z67.array(ArchiveItemSchema),
19456
- file_tree: z67.record(z67.string(), z67.any()),
19457
- metadata: z67.string().nullable().optional()
18631
+ created_at: z67.iso.datetime()
19458
18632
  });
19459
18633
 
19460
- // src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts
19461
- import { z as z68 } from "zod";
19462
- var DocumentArchiveListSchema = z68.object({
18634
+ // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
18635
+ var DocumentArchiveSchema = z68.object({
19463
18636
  id: z68.uuid(),
19464
- title: z68.string(),
19465
- description: z68.string(),
18637
+ title: z68.string().max(512),
18638
+ description: z68.string().optional(),
19466
18639
  categories: z68.array(DocumentCategorySchema),
19467
- is_public: z68.boolean(),
18640
+ is_public: z68.boolean().optional(),
18641
+ archive_file: z68.url(),
19468
18642
  original_filename: z68.string(),
19469
18643
  file_size: z68.int(),
19470
- archive_type: z68.nativeEnum(DocumentArchiveListArchiveType),
19471
- processing_status: z68.nativeEnum(DocumentArchiveListProcessingStatus),
18644
+ archive_type: z68.nativeEnum(DocumentArchiveArchiveType),
18645
+ processing_status: z68.nativeEnum(DocumentArchiveProcessingStatus),
19472
18646
  processed_at: z68.iso.datetime().nullable(),
18647
+ processing_duration_ms: z68.int(),
18648
+ processing_error: z68.string(),
19473
18649
  total_items: z68.int(),
18650
+ processed_items: z68.int(),
19474
18651
  total_chunks: z68.int(),
18652
+ vectorized_chunks: z68.int(),
18653
+ total_tokens: z68.int(),
19475
18654
  total_cost_usd: z68.number(),
19476
18655
  processing_progress: z68.number(),
19477
- created_at: z68.iso.datetime()
18656
+ vectorization_progress: z68.number(),
18657
+ is_processed: z68.boolean(),
18658
+ created_at: z68.iso.datetime(),
18659
+ updated_at: z68.iso.datetime()
19478
18660
  });
19479
18661
 
19480
- // src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts
18662
+ // src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts
19481
18663
  import { z as z69 } from "zod";
19482
- var DocumentArchiveRequestSchema = z69.object({
19483
- title: z69.string().min(1).max(512),
18664
+ var DocumentArchiveDetailSchema = z69.object({
18665
+ id: z69.uuid(),
18666
+ title: z69.string().max(512),
19484
18667
  description: z69.string().optional(),
19485
- is_public: z69.boolean().optional()
18668
+ categories: z69.array(DocumentCategorySchema),
18669
+ is_public: z69.boolean().optional(),
18670
+ archive_file: z69.url(),
18671
+ original_filename: z69.string(),
18672
+ file_size: z69.int(),
18673
+ archive_type: z69.nativeEnum(DocumentArchiveDetailArchiveType),
18674
+ processing_status: z69.nativeEnum(DocumentArchiveDetailProcessingStatus),
18675
+ processed_at: z69.iso.datetime().nullable(),
18676
+ processing_duration_ms: z69.int(),
18677
+ processing_error: z69.string(),
18678
+ total_items: z69.int(),
18679
+ processed_items: z69.int(),
18680
+ total_chunks: z69.int(),
18681
+ vectorized_chunks: z69.int(),
18682
+ total_tokens: z69.int(),
18683
+ total_cost_usd: z69.number(),
18684
+ processing_progress: z69.number(),
18685
+ vectorization_progress: z69.number(),
18686
+ is_processed: z69.boolean(),
18687
+ created_at: z69.iso.datetime(),
18688
+ updated_at: z69.iso.datetime(),
18689
+ items: z69.array(ArchiveItemSchema),
18690
+ file_tree: z69.record(z69.string(), z69.any()),
18691
+ metadata: z69.string().nullable().optional()
19486
18692
  });
19487
18693
 
19488
- // src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts
18694
+ // src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts
19489
18695
  import { z as z70 } from "zod";
19490
- var DocumentCategoryRequestSchema = z70.object({
19491
- name: z70.string().min(1).max(255),
19492
- description: z70.string().optional(),
19493
- is_public: z70.boolean().optional()
18696
+ var DocumentArchiveListSchema = z70.object({
18697
+ id: z70.uuid(),
18698
+ title: z70.string(),
18699
+ description: z70.string(),
18700
+ categories: z70.array(DocumentCategorySchema),
18701
+ is_public: z70.boolean(),
18702
+ original_filename: z70.string(),
18703
+ file_size: z70.int(),
18704
+ archive_type: z70.nativeEnum(DocumentArchiveListArchiveType),
18705
+ processing_status: z70.nativeEnum(DocumentArchiveListProcessingStatus),
18706
+ processed_at: z70.iso.datetime().nullable(),
18707
+ total_items: z70.int(),
18708
+ total_chunks: z70.int(),
18709
+ total_cost_usd: z70.number(),
18710
+ processing_progress: z70.number(),
18711
+ created_at: z70.iso.datetime()
19494
18712
  });
19495
18713
 
19496
- // src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts
18714
+ // src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts
19497
18715
  import { z as z71 } from "zod";
19498
- var DocumentCreateRequestSchema = z71.object({
18716
+ var DocumentArchiveRequestSchema = z71.object({
19499
18717
  title: z71.string().min(1).max(512),
19500
- content: z71.string().min(10).max(1e6),
19501
- file_type: z71.string().min(1).optional(),
19502
- metadata: z71.string().optional()
18718
+ description: z71.string().optional(),
18719
+ is_public: z71.boolean().optional()
19503
18720
  });
19504
18721
 
19505
- // src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts
18722
+ // src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts
19506
18723
  import { z as z72 } from "zod";
19507
- var DocumentProcessingStatusSchema = z72.object({
19508
- id: z72.uuid(),
19509
- status: z72.string(),
19510
- progress: z72.string(),
19511
- error: z72.string().nullable().optional(),
19512
- processing_time_seconds: z72.number().nullable().optional()
18724
+ var DocumentCategoryRequestSchema = z72.object({
18725
+ name: z72.string().min(1).max(255),
18726
+ description: z72.string().optional(),
18727
+ is_public: z72.boolean().optional()
19513
18728
  });
19514
18729
 
19515
- // src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts
18730
+ // src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts
19516
18731
  import { z as z73 } from "zod";
19517
- var DocumentRequestSchema = z73.object({
18732
+ var DocumentCreateRequestSchema = z73.object({
19518
18733
  title: z73.string().min(1).max(512),
19519
- file_type: z73.string().min(1).max(100).optional(),
19520
- file_size: z73.int().min(0).max(2147483647).optional(),
19521
- metadata: z73.string().nullable().optional()
18734
+ content: z73.string().min(10).max(1e6),
18735
+ file_type: z73.string().min(1).optional(),
18736
+ metadata: z73.string().optional()
19522
18737
  });
19523
18738
 
19524
- // src/cfg/generated/_utils/schemas/DocumentStats.schema.ts
18739
+ // src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts
19525
18740
  import { z as z74 } from "zod";
19526
- var DocumentStatsSchema = z74.object({
19527
- total_documents: z74.int(),
19528
- completed_documents: z74.int(),
19529
- processing_success_rate: z74.number(),
19530
- total_chunks: z74.int(),
19531
- total_tokens: z74.int(),
19532
- total_cost_usd: z74.number(),
19533
- avg_processing_time_seconds: z74.number()
18741
+ var DocumentProcessingStatusSchema = z74.object({
18742
+ id: z74.uuid(),
18743
+ status: z74.string(),
18744
+ progress: z74.string(),
18745
+ error: z74.string().nullable().optional(),
18746
+ processing_time_seconds: z74.number().nullable().optional()
19534
18747
  });
19535
18748
 
19536
- // src/cfg/generated/_utils/schemas/EmailLog.schema.ts
18749
+ // src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts
19537
18750
  import { z as z75 } from "zod";
19538
- var EmailLogSchema = z75.object({
19539
- id: z75.uuid(),
19540
- user: z75.int().nullable(),
19541
- user_email: z75.string(),
19542
- newsletter: z75.int().nullable(),
19543
- newsletter_title: z75.string(),
19544
- recipient: z75.string(),
19545
- subject: z75.string(),
19546
- body: z75.string(),
19547
- status: z75.nativeEnum(EmailLogStatus),
19548
- created_at: z75.iso.datetime(),
19549
- sent_at: z75.iso.datetime().nullable(),
19550
- error_message: z75.string().nullable()
18751
+ var DocumentRequestSchema = z75.object({
18752
+ title: z75.string().min(1).max(512),
18753
+ file_type: z75.string().min(1).max(100).optional(),
18754
+ file_size: z75.int().min(0).max(2147483647).optional(),
18755
+ metadata: z75.string().nullable().optional()
19551
18756
  });
19552
18757
 
19553
- // src/cfg/generated/_utils/schemas/Endpoint.schema.ts
18758
+ // src/cfg/generated/_utils/schemas/DocumentStats.schema.ts
19554
18759
  import { z as z76 } from "zod";
19555
- var EndpointSchema = z76.object({
19556
- url: z76.string(),
19557
- url_pattern: z76.string().nullable().optional(),
19558
- url_name: z76.string().nullable().optional(),
19559
- namespace: z76.string().optional(),
19560
- group: z76.string(),
19561
- view: z76.string().optional(),
19562
- status: z76.string(),
19563
- status_code: z76.int().nullable().optional(),
19564
- response_time_ms: z76.number().nullable().optional(),
19565
- is_healthy: z76.boolean().nullable().optional(),
19566
- error: z76.string().optional(),
19567
- error_type: z76.string().optional(),
19568
- reason: z76.string().optional(),
19569
- last_checked: z76.iso.datetime().nullable().optional(),
19570
- has_parameters: z76.boolean().optional(),
19571
- required_auth: z76.boolean().optional(),
19572
- rate_limited: z76.boolean().optional()
18760
+ var DocumentStatsSchema = z76.object({
18761
+ total_documents: z76.int(),
18762
+ completed_documents: z76.int(),
18763
+ processing_success_rate: z76.number(),
18764
+ total_chunks: z76.int(),
18765
+ total_tokens: z76.int(),
18766
+ total_cost_usd: z76.number(),
18767
+ avg_processing_time_seconds: z76.number()
19573
18768
  });
19574
18769
 
19575
- // src/cfg/generated/_utils/schemas/EndpointsStatus.schema.ts
18770
+ // src/cfg/generated/_utils/schemas/EmailLog.schema.ts
19576
18771
  import { z as z77 } from "zod";
19577
- var EndpointsStatusSchema = z77.object({
19578
- status: z77.string(),
19579
- timestamp: z77.iso.datetime(),
19580
- total_endpoints: z77.int(),
19581
- healthy: z77.int(),
19582
- unhealthy: z77.int(),
19583
- warnings: z77.int(),
19584
- errors: z77.int(),
19585
- skipped: z77.int(),
19586
- endpoints: z77.array(EndpointSchema)
18772
+ var EmailLogSchema = z77.object({
18773
+ id: z77.uuid(),
18774
+ user: z77.int().nullable(),
18775
+ user_email: z77.string(),
18776
+ newsletter: z77.int().nullable(),
18777
+ newsletter_title: z77.string(),
18778
+ recipient: z77.string(),
18779
+ subject: z77.string(),
18780
+ body: z77.string(),
18781
+ status: z77.nativeEnum(EmailLogStatus),
18782
+ created_at: z77.iso.datetime(),
18783
+ sent_at: z77.iso.datetime().nullable(),
18784
+ error_message: z77.string().nullable()
19587
18785
  });
19588
18786
 
19589
- // src/cfg/generated/_utils/schemas/ErrorResponse.schema.ts
18787
+ // src/cfg/generated/_utils/schemas/Endpoint.schema.ts
19590
18788
  import { z as z78 } from "zod";
19591
- var ErrorResponseSchema = z78.object({
19592
- success: z78.boolean().optional(),
19593
- message: z78.string()
18789
+ var EndpointSchema = z78.object({
18790
+ url: z78.string(),
18791
+ url_pattern: z78.string().nullable().optional(),
18792
+ url_name: z78.string().nullable().optional(),
18793
+ namespace: z78.string().optional(),
18794
+ group: z78.string(),
18795
+ view: z78.string().optional(),
18796
+ status: z78.string(),
18797
+ status_code: z78.int().nullable().optional(),
18798
+ response_time_ms: z78.number().nullable().optional(),
18799
+ is_healthy: z78.boolean().nullable().optional(),
18800
+ error: z78.string().optional(),
18801
+ error_type: z78.string().optional(),
18802
+ reason: z78.string().optional(),
18803
+ last_checked: z78.iso.datetime().nullable().optional(),
18804
+ has_parameters: z78.boolean().optional(),
18805
+ required_auth: z78.boolean().optional(),
18806
+ rate_limited: z78.boolean().optional()
19594
18807
  });
19595
18808
 
19596
- // src/cfg/generated/_utils/schemas/HealthCheck.schema.ts
18809
+ // src/cfg/generated/_utils/schemas/EndpointsStatus.schema.ts
19597
18810
  import { z as z79 } from "zod";
19598
- var HealthCheckSchema = z79.object({
18811
+ var EndpointsStatusSchema = z79.object({
19599
18812
  status: z79.string(),
19600
- wrapper_url: z79.string(),
19601
- has_api_key: z79.boolean(),
19602
- timestamp: z79.string()
18813
+ timestamp: z79.iso.datetime(),
18814
+ total_endpoints: z79.int(),
18815
+ healthy: z79.int(),
18816
+ unhealthy: z79.int(),
18817
+ warnings: z79.int(),
18818
+ errors: z79.int(),
18819
+ skipped: z79.int(),
18820
+ endpoints: z79.array(EndpointSchema)
19603
18821
  });
19604
18822
 
19605
- // src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts
18823
+ // src/cfg/generated/_utils/schemas/ErrorResponse.schema.ts
19606
18824
  import { z as z80 } from "zod";
19607
- var LeadSubmissionSchema = z80.object({
19608
- name: z80.string().max(200),
19609
- email: z80.email(),
19610
- company: z80.string().max(200).nullable().optional(),
19611
- company_site: z80.string().max(200).nullable().optional(),
19612
- contact_type: z80.nativeEnum(LeadSubmissionContactType).optional(),
19613
- contact_value: z80.string().max(200).nullable().optional(),
19614
- subject: z80.string().max(200).nullable().optional(),
19615
- message: z80.string(),
19616
- extra: z80.string().nullable().optional(),
19617
- site_url: z80.url()
18825
+ var ErrorResponseSchema = z80.object({
18826
+ success: z80.boolean().optional(),
18827
+ message: z80.string()
19618
18828
  });
19619
18829
 
19620
- // src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts
18830
+ // src/cfg/generated/_utils/schemas/HealthCheck.schema.ts
19621
18831
  import { z as z81 } from "zod";
19622
- var LeadSubmissionErrorSchema = z81.object({
19623
- success: z81.boolean(),
19624
- error: z81.string(),
19625
- details: z81.record(z81.string(), z81.any()).optional()
18832
+ var HealthCheckSchema = z81.object({
18833
+ status: z81.string(),
18834
+ wrapper_url: z81.string(),
18835
+ has_api_key: z81.boolean(),
18836
+ timestamp: z81.string()
19626
18837
  });
19627
18838
 
19628
- // src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts
18839
+ // src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts
19629
18840
  import { z as z82 } from "zod";
19630
- var LeadSubmissionRequestSchema = z82.object({
19631
- name: z82.string().min(1).max(200),
18841
+ var LeadSubmissionSchema = z82.object({
18842
+ name: z82.string().max(200),
19632
18843
  email: z82.email(),
19633
18844
  company: z82.string().max(200).nullable().optional(),
19634
18845
  company_site: z82.string().max(200).nullable().optional(),
19635
- contact_type: z82.nativeEnum(LeadSubmissionRequestContactType).optional(),
18846
+ contact_type: z82.nativeEnum(LeadSubmissionContactType).optional(),
19636
18847
  contact_value: z82.string().max(200).nullable().optional(),
19637
18848
  subject: z82.string().max(200).nullable().optional(),
19638
- message: z82.string().min(1),
18849
+ message: z82.string(),
19639
18850
  extra: z82.string().nullable().optional(),
19640
18851
  site_url: z82.url()
19641
18852
  });
19642
18853
 
19643
- // src/cfg/generated/_utils/schemas/LeadSubmissionResponse.schema.ts
18854
+ // src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts
19644
18855
  import { z as z83 } from "zod";
19645
- var LeadSubmissionResponseSchema = z83.object({
18856
+ var LeadSubmissionErrorSchema = z83.object({
19646
18857
  success: z83.boolean(),
19647
- message: z83.string(),
19648
- lead_id: z83.int()
18858
+ error: z83.string(),
18859
+ details: z83.record(z83.string(), z83.any()).optional()
19649
18860
  });
19650
18861
 
19651
- // src/cfg/generated/_utils/schemas/ManualAckRequestRequest.schema.ts
18862
+ // src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts
19652
18863
  import { z as z84 } from "zod";
19653
- var ManualAckRequestRequestSchema = z84.object({
19654
- message_id: z84.string(),
19655
- client_id: z84.string()
18864
+ var LeadSubmissionRequestSchema = z84.object({
18865
+ name: z84.string().min(1).max(200),
18866
+ email: z84.email(),
18867
+ company: z84.string().max(200).nullable().optional(),
18868
+ company_site: z84.string().max(200).nullable().optional(),
18869
+ contact_type: z84.nativeEnum(LeadSubmissionRequestContactType).optional(),
18870
+ contact_value: z84.string().max(200).nullable().optional(),
18871
+ subject: z84.string().max(200).nullable().optional(),
18872
+ message: z84.string().min(1),
18873
+ extra: z84.string().nullable().optional(),
18874
+ site_url: z84.url()
19656
18875
  });
19657
18876
 
19658
- // src/cfg/generated/_utils/schemas/ManualAckResponse.schema.ts
18877
+ // src/cfg/generated/_utils/schemas/LeadSubmissionResponse.schema.ts
19659
18878
  import { z as z85 } from "zod";
19660
- var ManualAckResponseSchema = z85.object({
18879
+ var LeadSubmissionResponseSchema = z85.object({
19661
18880
  success: z85.boolean(),
19662
- message_id: z85.string(),
19663
- error: z85.string().nullable().optional()
18881
+ message: z85.string(),
18882
+ lead_id: z85.int()
19664
18883
  });
19665
18884
 
19666
- // src/cfg/generated/_utils/schemas/Message.schema.ts
19667
- import { z as z87 } from "zod";
19668
-
19669
- // src/cfg/generated/_utils/schemas/Sender.schema.ts
18885
+ // src/cfg/generated/_utils/schemas/ManualAckRequestRequest.schema.ts
19670
18886
  import { z as z86 } from "zod";
19671
- var SenderSchema = z86.object({
19672
- id: z86.int(),
19673
- display_username: z86.string(),
19674
- email: z86.email(),
19675
- avatar: z86.string().nullable(),
19676
- initials: z86.string(),
19677
- is_staff: z86.boolean(),
19678
- is_superuser: z86.boolean()
18887
+ var ManualAckRequestRequestSchema = z86.object({
18888
+ message_id: z86.string(),
18889
+ client_id: z86.string()
19679
18890
  });
19680
18891
 
19681
- // src/cfg/generated/_utils/schemas/Message.schema.ts
19682
- var MessageSchema = z87.object({
19683
- uuid: z87.uuid(),
19684
- ticket: z87.uuid(),
19685
- sender: SenderSchema,
19686
- is_from_author: z87.boolean(),
19687
- text: z87.string(),
19688
- created_at: z87.iso.datetime()
18892
+ // src/cfg/generated/_utils/schemas/ManualAckResponse.schema.ts
18893
+ import { z as z87 } from "zod";
18894
+ var ManualAckResponseSchema = z87.object({
18895
+ success: z87.boolean(),
18896
+ message_id: z87.string(),
18897
+ error: z87.string().nullable().optional()
19689
18898
  });
19690
18899
 
19691
- // src/cfg/generated/_utils/schemas/MessageCreate.schema.ts
18900
+ // src/cfg/generated/_utils/schemas/Message.schema.ts
18901
+ import { z as z89 } from "zod";
18902
+
18903
+ // src/cfg/generated/_utils/schemas/Sender.schema.ts
19692
18904
  import { z as z88 } from "zod";
19693
- var MessageCreateSchema = z88.object({
19694
- text: z88.string()
18905
+ var SenderSchema = z88.object({
18906
+ id: z88.int(),
18907
+ display_username: z88.string(),
18908
+ email: z88.email(),
18909
+ avatar: z88.string().nullable(),
18910
+ initials: z88.string(),
18911
+ is_staff: z88.boolean(),
18912
+ is_superuser: z88.boolean()
19695
18913
  });
19696
18914
 
19697
- // src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
19698
- import { z as z89 } from "zod";
19699
- var MessageCreateRequestSchema = z89.object({
19700
- text: z89.string().min(1)
18915
+ // src/cfg/generated/_utils/schemas/Message.schema.ts
18916
+ var MessageSchema = z89.object({
18917
+ uuid: z89.uuid(),
18918
+ ticket: z89.uuid(),
18919
+ sender: SenderSchema,
18920
+ is_from_author: z89.boolean(),
18921
+ text: z89.string(),
18922
+ created_at: z89.iso.datetime()
19701
18923
  });
19702
18924
 
19703
- // src/cfg/generated/_utils/schemas/MessageRequest.schema.ts
18925
+ // src/cfg/generated/_utils/schemas/MessageCreate.schema.ts
19704
18926
  import { z as z90 } from "zod";
19705
- var MessageRequestSchema = z90.object({
19706
- text: z90.string().min(1)
18927
+ var MessageCreateSchema = z90.object({
18928
+ text: z90.string()
19707
18929
  });
19708
18930
 
19709
- // src/cfg/generated/_utils/schemas/Newsletter.schema.ts
18931
+ // src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
19710
18932
  import { z as z91 } from "zod";
19711
- var NewsletterSchema = z91.object({
19712
- id: z91.int(),
19713
- title: z91.string().max(255),
19714
- description: z91.string().optional(),
19715
- is_active: z91.boolean().optional(),
19716
- auto_subscribe: z91.boolean().optional(),
19717
- created_at: z91.iso.datetime(),
19718
- updated_at: z91.iso.datetime(),
19719
- subscribers_count: z91.int()
18933
+ var MessageCreateRequestSchema = z91.object({
18934
+ text: z91.string().min(1)
19720
18935
  });
19721
18936
 
19722
- // src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
18937
+ // src/cfg/generated/_utils/schemas/MessageRequest.schema.ts
19723
18938
  import { z as z92 } from "zod";
19724
- var NewsletterCampaignSchema = z92.object({
19725
- id: z92.int(),
19726
- newsletter: z92.int(),
19727
- newsletter_title: z92.string(),
19728
- subject: z92.string().max(255),
19729
- email_title: z92.string().max(255),
19730
- main_text: z92.string(),
19731
- main_html_content: z92.string().optional(),
19732
- button_text: z92.string().max(100).optional(),
19733
- button_url: z92.url().optional(),
19734
- secondary_text: z92.string().optional(),
19735
- status: z92.nativeEnum(NewsletterCampaignStatus),
19736
- created_at: z92.iso.datetime(),
19737
- sent_at: z92.iso.datetime().nullable(),
19738
- recipient_count: z92.int()
18939
+ var MessageRequestSchema = z92.object({
18940
+ text: z92.string().min(1)
19739
18941
  });
19740
18942
 
19741
- // src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
18943
+ // src/cfg/generated/_utils/schemas/Newsletter.schema.ts
19742
18944
  import { z as z93 } from "zod";
19743
- var NewsletterCampaignRequestSchema = z93.object({
19744
- newsletter: z93.int(),
19745
- subject: z93.string().min(1).max(255),
19746
- email_title: z93.string().min(1).max(255),
19747
- main_text: z93.string().min(1),
19748
- main_html_content: z93.string().optional(),
19749
- button_text: z93.string().max(100).optional(),
19750
- button_url: z93.url().optional(),
19751
- secondary_text: z93.string().optional()
18945
+ var NewsletterSchema = z93.object({
18946
+ id: z93.int(),
18947
+ title: z93.string().max(255),
18948
+ description: z93.string().optional(),
18949
+ is_active: z93.boolean().optional(),
18950
+ auto_subscribe: z93.boolean().optional(),
18951
+ created_at: z93.iso.datetime(),
18952
+ updated_at: z93.iso.datetime(),
18953
+ subscribers_count: z93.int()
19752
18954
  });
19753
18955
 
19754
- // src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
18956
+ // src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
19755
18957
  import { z as z94 } from "zod";
19756
- var NewsletterSubscriptionSchema = z94.object({
18958
+ var NewsletterCampaignSchema = z94.object({
19757
18959
  id: z94.int(),
19758
18960
  newsletter: z94.int(),
19759
18961
  newsletter_title: z94.string(),
19760
- user: z94.int().nullable().optional(),
19761
- user_email: z94.string(),
19762
- email: z94.email(),
19763
- is_active: z94.boolean().optional(),
19764
- subscribed_at: z94.iso.datetime(),
19765
- unsubscribed_at: z94.iso.datetime().nullable()
18962
+ subject: z94.string().max(255),
18963
+ email_title: z94.string().max(255),
18964
+ main_text: z94.string(),
18965
+ main_html_content: z94.string().optional(),
18966
+ button_text: z94.string().max(100).optional(),
18967
+ button_url: z94.url().optional(),
18968
+ secondary_text: z94.string().optional(),
18969
+ status: z94.nativeEnum(NewsletterCampaignStatus),
18970
+ created_at: z94.iso.datetime(),
18971
+ sent_at: z94.iso.datetime().nullable(),
18972
+ recipient_count: z94.int()
19766
18973
  });
19767
18974
 
19768
- // src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
18975
+ // src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
19769
18976
  import { z as z95 } from "zod";
19770
- var OTPErrorResponseSchema = z95.object({
19771
- error: z95.string()
18977
+ var NewsletterCampaignRequestSchema = z95.object({
18978
+ newsletter: z95.int(),
18979
+ subject: z95.string().min(1).max(255),
18980
+ email_title: z95.string().min(1).max(255),
18981
+ main_text: z95.string().min(1),
18982
+ main_html_content: z95.string().optional(),
18983
+ button_text: z95.string().max(100).optional(),
18984
+ button_url: z95.url().optional(),
18985
+ secondary_text: z95.string().optional()
19772
18986
  });
19773
18987
 
19774
- // src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
18988
+ // src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
19775
18989
  import { z as z96 } from "zod";
19776
- var OTPRequestRequestSchema = z96.object({
19777
- identifier: z96.string().min(1),
19778
- channel: z96.nativeEnum(OTPRequestRequestChannel).optional(),
19779
- source_url: z96.url().optional()
18990
+ var NewsletterSubscriptionSchema = z96.object({
18991
+ id: z96.int(),
18992
+ newsletter: z96.int(),
18993
+ newsletter_title: z96.string(),
18994
+ user: z96.int().nullable().optional(),
18995
+ user_email: z96.string(),
18996
+ email: z96.email(),
18997
+ is_active: z96.boolean().optional(),
18998
+ subscribed_at: z96.iso.datetime(),
18999
+ unsubscribed_at: z96.iso.datetime().nullable()
19780
19000
  });
19781
19001
 
19782
- // src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
19002
+ // src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
19783
19003
  import { z as z97 } from "zod";
19784
- var OTPRequestResponseSchema = z97.object({
19785
- message: z97.string()
19004
+ var OTPErrorResponseSchema = z97.object({
19005
+ error: z97.string()
19786
19006
  });
19787
19007
 
19788
- // src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
19008
+ // src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
19789
19009
  import { z as z98 } from "zod";
19790
- var OTPVerifyRequestSchema = z98.object({
19010
+ var OTPRequestRequestSchema = z98.object({
19791
19011
  identifier: z98.string().min(1),
19792
- otp: z98.string().min(6).max(6),
19793
- channel: z98.nativeEnum(OTPVerifyRequestChannel).optional(),
19012
+ channel: z98.nativeEnum(OTPRequestRequestChannel).optional(),
19794
19013
  source_url: z98.url().optional()
19795
19014
  });
19796
19015
 
19797
- // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
19798
- import { z as z100 } from "zod";
19799
-
19800
- // src/cfg/generated/_utils/schemas/User.schema.ts
19016
+ // src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
19801
19017
  import { z as z99 } from "zod";
19802
- var UserSchema = z99.object({
19803
- id: z99.int(),
19804
- email: z99.email(),
19805
- first_name: z99.string().max(50).optional(),
19806
- last_name: z99.string().max(50).optional(),
19807
- full_name: z99.string(),
19808
- initials: z99.string(),
19809
- display_username: z99.string(),
19810
- company: z99.string().max(100).optional(),
19811
- phone: z99.string().max(20).optional(),
19812
- position: z99.string().max(100).optional(),
19813
- avatar: z99.url().nullable(),
19814
- is_staff: z99.boolean(),
19815
- is_superuser: z99.boolean(),
19816
- date_joined: z99.iso.datetime(),
19817
- last_login: z99.iso.datetime().nullable(),
19818
- unanswered_messages_count: z99.int()
19018
+ var OTPRequestResponseSchema = z99.object({
19019
+ message: z99.string()
19819
19020
  });
19820
19021
 
19821
- // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
19822
- var OTPVerifyResponseSchema = z100.object({
19823
- refresh: z100.string(),
19824
- access: z100.string(),
19825
- user: UserSchema
19022
+ // src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
19023
+ import { z as z100 } from "zod";
19024
+ var OTPVerifyRequestSchema = z100.object({
19025
+ identifier: z100.string().min(1),
19026
+ otp: z100.string().min(6).max(6),
19027
+ channel: z100.nativeEnum(OTPVerifyRequestChannel).optional(),
19028
+ source_url: z100.url().optional()
19826
19029
  });
19827
19030
 
19828
- // src/cfg/generated/_utils/schemas/OverviewStats.schema.ts
19031
+ // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
19032
+ import { z as z102 } from "zod";
19033
+
19034
+ // src/cfg/generated/_utils/schemas/User.schema.ts
19829
19035
  import { z as z101 } from "zod";
19830
- var OverviewStatsSchema = z101.object({
19831
- total: z101.int(),
19832
- successful: z101.int(),
19833
- failed: z101.int(),
19834
- timeout: z101.int(),
19835
- success_rate: z101.number(),
19836
- avg_duration_ms: z101.number(),
19837
- avg_acks_received: z101.number(),
19838
- period_hours: z101.int()
19036
+ var UserSchema = z101.object({
19037
+ id: z101.int(),
19038
+ email: z101.email(),
19039
+ first_name: z101.string().max(50).optional(),
19040
+ last_name: z101.string().max(50).optional(),
19041
+ full_name: z101.string(),
19042
+ initials: z101.string(),
19043
+ display_username: z101.string(),
19044
+ company: z101.string().max(100).optional(),
19045
+ phone: z101.string().max(20).optional(),
19046
+ position: z101.string().max(100).optional(),
19047
+ avatar: z101.url().nullable(),
19048
+ is_staff: z101.boolean(),
19049
+ is_superuser: z101.boolean(),
19050
+ date_joined: z101.iso.datetime(),
19051
+ last_login: z101.iso.datetime().nullable(),
19052
+ unanswered_messages_count: z101.int()
19839
19053
  });
19840
19054
 
19841
- // src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
19842
- import { z as z102 } from "zod";
19843
- var PaginatedArchiveItemChunkListSchema = z102.object({
19844
- count: z102.int(),
19845
- page: z102.int(),
19846
- pages: z102.int(),
19847
- page_size: z102.int(),
19848
- has_next: z102.boolean(),
19849
- has_previous: z102.boolean(),
19850
- next_page: z102.int().nullable().optional(),
19851
- previous_page: z102.int().nullable().optional(),
19852
- results: z102.array(ArchiveItemChunkSchema)
19055
+ // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
19056
+ var OTPVerifyResponseSchema = z102.object({
19057
+ refresh: z102.string(),
19058
+ access: z102.string(),
19059
+ user: UserSchema
19853
19060
  });
19854
19061
 
19855
- // src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
19062
+ // src/cfg/generated/_utils/schemas/OverviewStats.schema.ts
19856
19063
  import { z as z103 } from "zod";
19857
- var PaginatedArchiveItemListSchema = z103.object({
19858
- count: z103.int(),
19859
- page: z103.int(),
19860
- pages: z103.int(),
19861
- page_size: z103.int(),
19862
- has_next: z103.boolean(),
19863
- has_previous: z103.boolean(),
19864
- next_page: z103.int().nullable().optional(),
19865
- previous_page: z103.int().nullable().optional(),
19866
- results: z103.array(ArchiveItemSchema)
19064
+ var OverviewStatsSchema = z103.object({
19065
+ total: z103.int(),
19066
+ successful: z103.int(),
19067
+ failed: z103.int(),
19068
+ timeout: z103.int(),
19069
+ success_rate: z103.number(),
19070
+ avg_duration_ms: z103.number(),
19071
+ avg_acks_received: z103.number(),
19072
+ period_hours: z103.int()
19867
19073
  });
19868
19074
 
19869
- // src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
19075
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
19870
19076
  import { z as z104 } from "zod";
19871
- var PaginatedArchiveSearchResultListSchema = z104.object({
19077
+ var PaginatedArchiveItemChunkListSchema = z104.object({
19872
19078
  count: z104.int(),
19873
19079
  page: z104.int(),
19874
19080
  pages: z104.int(),
@@ -19877,12 +19083,12 @@ var PaginatedArchiveSearchResultListSchema = z104.object({
19877
19083
  has_previous: z104.boolean(),
19878
19084
  next_page: z104.int().nullable().optional(),
19879
19085
  previous_page: z104.int().nullable().optional(),
19880
- results: z104.array(ArchiveSearchResultSchema)
19086
+ results: z104.array(ArchiveItemChunkSchema)
19881
19087
  });
19882
19088
 
19883
- // src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
19089
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
19884
19090
  import { z as z105 } from "zod";
19885
- var PaginatedChatResponseListSchema = z105.object({
19091
+ var PaginatedArchiveItemListSchema = z105.object({
19886
19092
  count: z105.int(),
19887
19093
  page: z105.int(),
19888
19094
  pages: z105.int(),
@@ -19891,12 +19097,12 @@ var PaginatedChatResponseListSchema = z105.object({
19891
19097
  has_previous: z105.boolean(),
19892
19098
  next_page: z105.int().nullable().optional(),
19893
19099
  previous_page: z105.int().nullable().optional(),
19894
- results: z105.array(ChatResponseSchema)
19100
+ results: z105.array(ArchiveItemSchema)
19895
19101
  });
19896
19102
 
19897
- // src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
19103
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
19898
19104
  import { z as z106 } from "zod";
19899
- var PaginatedChatSessionListSchema = z106.object({
19105
+ var PaginatedArchiveSearchResultListSchema = z106.object({
19900
19106
  count: z106.int(),
19901
19107
  page: z106.int(),
19902
19108
  pages: z106.int(),
@@ -19905,12 +19111,12 @@ var PaginatedChatSessionListSchema = z106.object({
19905
19111
  has_previous: z106.boolean(),
19906
19112
  next_page: z106.int().nullable().optional(),
19907
19113
  previous_page: z106.int().nullable().optional(),
19908
- results: z106.array(ChatSessionSchema)
19114
+ results: z106.array(ArchiveSearchResultSchema)
19909
19115
  });
19910
19116
 
19911
- // src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
19117
+ // src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
19912
19118
  import { z as z107 } from "zod";
19913
- var PaginatedDocumentArchiveListListSchema = z107.object({
19119
+ var PaginatedChatResponseListSchema = z107.object({
19914
19120
  count: z107.int(),
19915
19121
  page: z107.int(),
19916
19122
  pages: z107.int(),
@@ -19919,12 +19125,12 @@ var PaginatedDocumentArchiveListListSchema = z107.object({
19919
19125
  has_previous: z107.boolean(),
19920
19126
  next_page: z107.int().nullable().optional(),
19921
19127
  previous_page: z107.int().nullable().optional(),
19922
- results: z107.array(DocumentArchiveListSchema)
19128
+ results: z107.array(ChatResponseSchema)
19923
19129
  });
19924
19130
 
19925
- // src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
19131
+ // src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
19926
19132
  import { z as z108 } from "zod";
19927
- var PaginatedDocumentListSchema = z108.object({
19133
+ var PaginatedChatSessionListSchema = z108.object({
19928
19134
  count: z108.int(),
19929
19135
  page: z108.int(),
19930
19136
  pages: z108.int(),
@@ -19933,12 +19139,12 @@ var PaginatedDocumentListSchema = z108.object({
19933
19139
  has_previous: z108.boolean(),
19934
19140
  next_page: z108.int().nullable().optional(),
19935
19141
  previous_page: z108.int().nullable().optional(),
19936
- results: z108.array(DocumentSchema)
19142
+ results: z108.array(ChatSessionSchema)
19937
19143
  });
19938
19144
 
19939
- // src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
19145
+ // src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
19940
19146
  import { z as z109 } from "zod";
19941
- var PaginatedEmailLogListSchema = z109.object({
19147
+ var PaginatedDocumentArchiveListListSchema = z109.object({
19942
19148
  count: z109.int(),
19943
19149
  page: z109.int(),
19944
19150
  pages: z109.int(),
@@ -19947,12 +19153,12 @@ var PaginatedEmailLogListSchema = z109.object({
19947
19153
  has_previous: z109.boolean(),
19948
19154
  next_page: z109.int().nullable().optional(),
19949
19155
  previous_page: z109.int().nullable().optional(),
19950
- results: z109.array(EmailLogSchema)
19156
+ results: z109.array(DocumentArchiveListSchema)
19951
19157
  });
19952
19158
 
19953
- // src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
19159
+ // src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
19954
19160
  import { z as z110 } from "zod";
19955
- var PaginatedLeadSubmissionListSchema = z110.object({
19161
+ var PaginatedDocumentListSchema = z110.object({
19956
19162
  count: z110.int(),
19957
19163
  page: z110.int(),
19958
19164
  pages: z110.int(),
@@ -19961,12 +19167,12 @@ var PaginatedLeadSubmissionListSchema = z110.object({
19961
19167
  has_previous: z110.boolean(),
19962
19168
  next_page: z110.int().nullable().optional(),
19963
19169
  previous_page: z110.int().nullable().optional(),
19964
- results: z110.array(LeadSubmissionSchema)
19170
+ results: z110.array(DocumentSchema)
19965
19171
  });
19966
19172
 
19967
- // src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
19173
+ // src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
19968
19174
  import { z as z111 } from "zod";
19969
- var PaginatedMessageListSchema = z111.object({
19175
+ var PaginatedEmailLogListSchema = z111.object({
19970
19176
  count: z111.int(),
19971
19177
  page: z111.int(),
19972
19178
  pages: z111.int(),
@@ -19975,12 +19181,12 @@ var PaginatedMessageListSchema = z111.object({
19975
19181
  has_previous: z111.boolean(),
19976
19182
  next_page: z111.int().nullable().optional(),
19977
19183
  previous_page: z111.int().nullable().optional(),
19978
- results: z111.array(MessageSchema)
19184
+ results: z111.array(EmailLogSchema)
19979
19185
  });
19980
19186
 
19981
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
19187
+ // src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
19982
19188
  import { z as z112 } from "zod";
19983
- var PaginatedNewsletterCampaignListSchema = z112.object({
19189
+ var PaginatedLeadSubmissionListSchema = z112.object({
19984
19190
  count: z112.int(),
19985
19191
  page: z112.int(),
19986
19192
  pages: z112.int(),
@@ -19989,12 +19195,12 @@ var PaginatedNewsletterCampaignListSchema = z112.object({
19989
19195
  has_previous: z112.boolean(),
19990
19196
  next_page: z112.int().nullable().optional(),
19991
19197
  previous_page: z112.int().nullable().optional(),
19992
- results: z112.array(NewsletterCampaignSchema)
19198
+ results: z112.array(LeadSubmissionSchema)
19993
19199
  });
19994
19200
 
19995
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
19201
+ // src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
19996
19202
  import { z as z113 } from "zod";
19997
- var PaginatedNewsletterListSchema = z113.object({
19203
+ var PaginatedMessageListSchema = z113.object({
19998
19204
  count: z113.int(),
19999
19205
  page: z113.int(),
20000
19206
  pages: z113.int(),
@@ -20003,12 +19209,12 @@ var PaginatedNewsletterListSchema = z113.object({
20003
19209
  has_previous: z113.boolean(),
20004
19210
  next_page: z113.int().nullable().optional(),
20005
19211
  previous_page: z113.int().nullable().optional(),
20006
- results: z113.array(NewsletterSchema)
19212
+ results: z113.array(MessageSchema)
20007
19213
  });
20008
19214
 
20009
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
19215
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
20010
19216
  import { z as z114 } from "zod";
20011
- var PaginatedNewsletterSubscriptionListSchema = z114.object({
19217
+ var PaginatedNewsletterCampaignListSchema = z114.object({
20012
19218
  count: z114.int(),
20013
19219
  page: z114.int(),
20014
19220
  pages: z114.int(),
@@ -20017,28 +19223,26 @@ var PaginatedNewsletterSubscriptionListSchema = z114.object({
20017
19223
  has_previous: z114.boolean(),
20018
19224
  next_page: z114.int().nullable().optional(),
20019
19225
  previous_page: z114.int().nullable().optional(),
20020
- results: z114.array(NewsletterSubscriptionSchema)
19226
+ results: z114.array(NewsletterCampaignSchema)
20021
19227
  });
20022
19228
 
20023
- // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20024
- import { z as z116 } from "zod";
20025
-
20026
- // src/cfg/generated/_utils/schemas/PaymentList.schema.ts
19229
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
20027
19230
  import { z as z115 } from "zod";
20028
- var PaymentListSchema = z115.object({
20029
- id: z115.uuid(),
20030
- internal_payment_id: z115.string(),
20031
- amount_usd: z115.string(),
20032
- currency_code: z115.string(),
20033
- currency_token: z115.string(),
20034
- status: z115.nativeEnum(PaymentListStatus),
20035
- status_display: z115.string(),
20036
- created_at: z115.iso.datetime(),
20037
- completed_at: z115.iso.datetime().nullable()
19231
+ var PaginatedNewsletterListSchema = z115.object({
19232
+ count: z115.int(),
19233
+ page: z115.int(),
19234
+ pages: z115.int(),
19235
+ page_size: z115.int(),
19236
+ has_next: z115.boolean(),
19237
+ has_previous: z115.boolean(),
19238
+ next_page: z115.int().nullable().optional(),
19239
+ previous_page: z115.int().nullable().optional(),
19240
+ results: z115.array(NewsletterSchema)
20038
19241
  });
20039
19242
 
20040
- // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20041
- var PaginatedPaymentListListSchema = z116.object({
19243
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
19244
+ import { z as z116 } from "zod";
19245
+ var PaginatedNewsletterSubscriptionListSchema = z116.object({
20042
19246
  count: z116.int(),
20043
19247
  page: z116.int(),
20044
19248
  pages: z116.int(),
@@ -20047,22 +19251,28 @@ var PaginatedPaymentListListSchema = z116.object({
20047
19251
  has_previous: z116.boolean(),
20048
19252
  next_page: z116.int().nullable().optional(),
20049
19253
  previous_page: z116.int().nullable().optional(),
20050
- results: z116.array(PaymentListSchema)
19254
+ results: z116.array(NewsletterSubscriptionSchema)
20051
19255
  });
20052
19256
 
20053
- // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
19257
+ // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20054
19258
  import { z as z118 } from "zod";
20055
19259
 
20056
- // src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
19260
+ // src/cfg/generated/_utils/schemas/PaymentList.schema.ts
20057
19261
  import { z as z117 } from "zod";
20058
- var PublicCategorySchema = z117.object({
19262
+ var PaymentListSchema = z117.object({
20059
19263
  id: z117.uuid(),
20060
- name: z117.string().max(255),
20061
- description: z117.string().optional()
19264
+ internal_payment_id: z117.string(),
19265
+ amount_usd: z117.string(),
19266
+ currency_code: z117.string(),
19267
+ currency_token: z117.string(),
19268
+ status: z117.nativeEnum(PaymentListStatus),
19269
+ status_display: z117.string(),
19270
+ created_at: z117.iso.datetime(),
19271
+ completed_at: z117.iso.datetime().nullable()
20062
19272
  });
20063
19273
 
20064
- // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20065
- var PaginatedPublicCategoryListSchema = z118.object({
19274
+ // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
19275
+ var PaginatedPaymentListListSchema = z118.object({
20066
19276
  count: z118.int(),
20067
19277
  page: z118.int(),
20068
19278
  pages: z118.int(),
@@ -20071,24 +19281,22 @@ var PaginatedPublicCategoryListSchema = z118.object({
20071
19281
  has_previous: z118.boolean(),
20072
19282
  next_page: z118.int().nullable().optional(),
20073
19283
  previous_page: z118.int().nullable().optional(),
20074
- results: z118.array(PublicCategorySchema)
19284
+ results: z118.array(PaymentListSchema)
20075
19285
  });
20076
19286
 
20077
- // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
19287
+ // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20078
19288
  import { z as z120 } from "zod";
20079
19289
 
20080
- // src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
19290
+ // src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
20081
19291
  import { z as z119 } from "zod";
20082
- var PublicDocumentListSchema = z119.object({
19292
+ var PublicCategorySchema = z119.object({
20083
19293
  id: z119.uuid(),
20084
- title: z119.string().max(512),
20085
- category: PublicCategorySchema,
20086
- created_at: z119.iso.datetime(),
20087
- updated_at: z119.iso.datetime()
19294
+ name: z119.string().max(255),
19295
+ description: z119.string().optional()
20088
19296
  });
20089
19297
 
20090
- // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20091
- var PaginatedPublicDocumentListListSchema = z120.object({
19298
+ // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
19299
+ var PaginatedPublicCategoryListSchema = z120.object({
20092
19300
  count: z120.int(),
20093
19301
  page: z120.int(),
20094
19302
  pages: z120.int(),
@@ -20097,25 +19305,24 @@ var PaginatedPublicDocumentListListSchema = z120.object({
20097
19305
  has_previous: z120.boolean(),
20098
19306
  next_page: z120.int().nullable().optional(),
20099
19307
  previous_page: z120.int().nullable().optional(),
20100
- results: z120.array(PublicDocumentListSchema)
19308
+ results: z120.array(PublicCategorySchema)
20101
19309
  });
20102
19310
 
20103
- // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
19311
+ // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20104
19312
  import { z as z122 } from "zod";
20105
19313
 
20106
- // src/cfg/generated/_utils/schemas/Ticket.schema.ts
19314
+ // src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
20107
19315
  import { z as z121 } from "zod";
20108
- var TicketSchema = z121.object({
20109
- uuid: z121.uuid(),
20110
- user: z121.int(),
20111
- subject: z121.string().max(255),
20112
- status: z121.nativeEnum(TicketStatus).optional(),
19316
+ var PublicDocumentListSchema = z121.object({
19317
+ id: z121.uuid(),
19318
+ title: z121.string().max(512),
19319
+ category: PublicCategorySchema,
20113
19320
  created_at: z121.iso.datetime(),
20114
- unanswered_messages_count: z121.int()
19321
+ updated_at: z121.iso.datetime()
20115
19322
  });
20116
19323
 
20117
- // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
20118
- var PaginatedTicketListSchema = z122.object({
19324
+ // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
19325
+ var PaginatedPublicDocumentListListSchema = z122.object({
20119
19326
  count: z122.int(),
20120
19327
  page: z122.int(),
20121
19328
  pages: z122.int(),
@@ -20124,479 +19331,506 @@ var PaginatedTicketListSchema = z122.object({
20124
19331
  has_previous: z122.boolean(),
20125
19332
  next_page: z122.int().nullable().optional(),
20126
19333
  previous_page: z122.int().nullable().optional(),
20127
- results: z122.array(TicketSchema)
19334
+ results: z122.array(PublicDocumentListSchema)
20128
19335
  });
20129
19336
 
20130
- // src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
19337
+ // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
19338
+ import { z as z124 } from "zod";
19339
+
19340
+ // src/cfg/generated/_utils/schemas/Ticket.schema.ts
20131
19341
  import { z as z123 } from "zod";
20132
- var PatchedArchiveItemChunkRequestSchema = z123.object({
20133
- content: z123.string().min(1).optional(),
20134
- chunk_index: z123.int().min(0).max(2147483647).optional(),
20135
- chunk_type: z123.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
19342
+ var TicketSchema = z123.object({
19343
+ uuid: z123.uuid(),
19344
+ user: z123.int(),
19345
+ subject: z123.string().max(255),
19346
+ status: z123.nativeEnum(TicketStatus).optional(),
19347
+ created_at: z123.iso.datetime(),
19348
+ unanswered_messages_count: z123.int()
20136
19349
  });
20137
19350
 
20138
- // src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
20139
- import { z as z124 } from "zod";
20140
- var PatchedArchiveItemRequestSchema = z124.object({
20141
- relative_path: z124.string().min(1).max(1024).optional(),
20142
- item_name: z124.string().min(1).max(255).optional(),
20143
- item_type: z124.string().min(1).max(100).optional(),
20144
- file_size: z124.int().min(0).max(2147483647).optional()
19351
+ // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
19352
+ var PaginatedTicketListSchema = z124.object({
19353
+ count: z124.int(),
19354
+ page: z124.int(),
19355
+ pages: z124.int(),
19356
+ page_size: z124.int(),
19357
+ has_next: z124.boolean(),
19358
+ has_previous: z124.boolean(),
19359
+ next_page: z124.int().nullable().optional(),
19360
+ previous_page: z124.int().nullable().optional(),
19361
+ results: z124.array(TicketSchema)
20145
19362
  });
20146
19363
 
20147
- // src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
19364
+ // src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
20148
19365
  import { z as z125 } from "zod";
20149
- var PatchedChatResponseRequestSchema = z125.object({
20150
- message_id: z125.uuid().optional(),
19366
+ var PatchedArchiveItemChunkRequestSchema = z125.object({
20151
19367
  content: z125.string().min(1).optional(),
20152
- tokens_used: z125.int().optional(),
20153
- cost_usd: z125.number().optional(),
20154
- processing_time_ms: z125.int().optional(),
20155
- model_used: z125.string().min(1).optional(),
20156
- sources: z125.array(ChatSourceRequestSchema).nullable().optional()
19368
+ chunk_index: z125.int().min(0).max(2147483647).optional(),
19369
+ chunk_type: z125.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
20157
19370
  });
20158
19371
 
20159
- // src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
19372
+ // src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
20160
19373
  import { z as z126 } from "zod";
20161
- var PatchedChatSessionRequestSchema = z126.object({
20162
- title: z126.string().max(255).optional(),
20163
- is_active: z126.boolean().optional(),
20164
- messages_count: z126.int().min(0).max(2147483647).optional(),
20165
- total_tokens_used: z126.int().min(0).max(2147483647).optional(),
20166
- model_name: z126.string().min(1).max(100).optional(),
20167
- temperature: z126.number().optional(),
20168
- max_context_chunks: z126.int().min(0).max(2147483647).optional()
19374
+ var PatchedArchiveItemRequestSchema = z126.object({
19375
+ relative_path: z126.string().min(1).max(1024).optional(),
19376
+ item_name: z126.string().min(1).max(255).optional(),
19377
+ item_type: z126.string().min(1).max(100).optional(),
19378
+ file_size: z126.int().min(0).max(2147483647).optional()
20169
19379
  });
20170
19380
 
20171
- // src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
19381
+ // src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
20172
19382
  import { z as z127 } from "zod";
20173
- var PatchedDocumentArchiveRequestSchema = z127.object({
20174
- title: z127.string().min(1).max(512).optional(),
20175
- description: z127.string().optional(),
20176
- is_public: z127.boolean().optional()
19383
+ var PatchedChatResponseRequestSchema = z127.object({
19384
+ message_id: z127.uuid().optional(),
19385
+ content: z127.string().min(1).optional(),
19386
+ tokens_used: z127.int().optional(),
19387
+ cost_usd: z127.number().optional(),
19388
+ processing_time_ms: z127.int().optional(),
19389
+ model_used: z127.string().min(1).optional(),
19390
+ sources: z127.array(ChatSourceRequestSchema).nullable().optional()
20177
19391
  });
20178
19392
 
20179
- // src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
19393
+ // src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
20180
19394
  import { z as z128 } from "zod";
20181
- var PatchedDocumentRequestSchema = z128.object({
20182
- title: z128.string().min(1).max(512).optional(),
20183
- file_type: z128.string().min(1).max(100).optional(),
20184
- file_size: z128.int().min(0).max(2147483647).optional(),
20185
- metadata: z128.string().nullable().optional()
19395
+ var PatchedChatSessionRequestSchema = z128.object({
19396
+ title: z128.string().max(255).optional(),
19397
+ is_active: z128.boolean().optional(),
19398
+ messages_count: z128.int().min(0).max(2147483647).optional(),
19399
+ total_tokens_used: z128.int().min(0).max(2147483647).optional(),
19400
+ model_name: z128.string().min(1).max(100).optional(),
19401
+ temperature: z128.number().optional(),
19402
+ max_context_chunks: z128.int().min(0).max(2147483647).optional()
20186
19403
  });
20187
19404
 
20188
- // src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
19405
+ // src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
20189
19406
  import { z as z129 } from "zod";
20190
- var PatchedLeadSubmissionRequestSchema = z129.object({
20191
- name: z129.string().min(1).max(200).optional(),
20192
- email: z129.email().optional(),
20193
- company: z129.string().max(200).nullable().optional(),
20194
- company_site: z129.string().max(200).nullable().optional(),
20195
- contact_type: z129.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
20196
- contact_value: z129.string().max(200).nullable().optional(),
20197
- subject: z129.string().max(200).nullable().optional(),
20198
- message: z129.string().min(1).optional(),
20199
- extra: z129.string().nullable().optional(),
20200
- site_url: z129.url().optional()
19407
+ var PatchedDocumentArchiveRequestSchema = z129.object({
19408
+ title: z129.string().min(1).max(512).optional(),
19409
+ description: z129.string().optional(),
19410
+ is_public: z129.boolean().optional()
20201
19411
  });
20202
19412
 
20203
- // src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
19413
+ // src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
20204
19414
  import { z as z130 } from "zod";
20205
- var PatchedMessageRequestSchema = z130.object({
20206
- text: z130.string().min(1).optional()
19415
+ var PatchedDocumentRequestSchema = z130.object({
19416
+ title: z130.string().min(1).max(512).optional(),
19417
+ file_type: z130.string().min(1).max(100).optional(),
19418
+ file_size: z130.int().min(0).max(2147483647).optional(),
19419
+ metadata: z130.string().nullable().optional()
20207
19420
  });
20208
19421
 
20209
- // src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
19422
+ // src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
20210
19423
  import { z as z131 } from "zod";
20211
- var PatchedNewsletterCampaignRequestSchema = z131.object({
20212
- newsletter: z131.int().optional(),
20213
- subject: z131.string().min(1).max(255).optional(),
20214
- email_title: z131.string().min(1).max(255).optional(),
20215
- main_text: z131.string().min(1).optional(),
20216
- main_html_content: z131.string().optional(),
20217
- button_text: z131.string().max(100).optional(),
20218
- button_url: z131.url().optional(),
20219
- secondary_text: z131.string().optional()
19424
+ var PatchedLeadSubmissionRequestSchema = z131.object({
19425
+ name: z131.string().min(1).max(200).optional(),
19426
+ email: z131.email().optional(),
19427
+ company: z131.string().max(200).nullable().optional(),
19428
+ company_site: z131.string().max(200).nullable().optional(),
19429
+ contact_type: z131.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
19430
+ contact_value: z131.string().max(200).nullable().optional(),
19431
+ subject: z131.string().max(200).nullable().optional(),
19432
+ message: z131.string().min(1).optional(),
19433
+ extra: z131.string().nullable().optional(),
19434
+ site_url: z131.url().optional()
20220
19435
  });
20221
19436
 
20222
- // src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
19437
+ // src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
20223
19438
  import { z as z132 } from "zod";
20224
- var PatchedTicketRequestSchema = z132.object({
20225
- user: z132.int().optional(),
20226
- subject: z132.string().min(1).max(255).optional(),
20227
- status: z132.nativeEnum(PatchedTicketRequestStatus).optional()
19439
+ var PatchedMessageRequestSchema = z132.object({
19440
+ text: z132.string().min(1).optional()
20228
19441
  });
20229
19442
 
20230
- // src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
19443
+ // src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
20231
19444
  import { z as z133 } from "zod";
20232
- var PatchedUnsubscribeRequestSchema = z133.object({
20233
- subscription_id: z133.int().optional()
19445
+ var PatchedNewsletterCampaignRequestSchema = z133.object({
19446
+ newsletter: z133.int().optional(),
19447
+ subject: z133.string().min(1).max(255).optional(),
19448
+ email_title: z133.string().min(1).max(255).optional(),
19449
+ main_text: z133.string().min(1).optional(),
19450
+ main_html_content: z133.string().optional(),
19451
+ button_text: z133.string().max(100).optional(),
19452
+ button_url: z133.url().optional(),
19453
+ secondary_text: z133.string().optional()
20234
19454
  });
20235
19455
 
20236
- // src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
19456
+ // src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
20237
19457
  import { z as z134 } from "zod";
20238
- var PatchedUserProfileUpdateRequestSchema = z134.object({
20239
- first_name: z134.string().max(50).optional(),
20240
- last_name: z134.string().max(50).optional(),
20241
- company: z134.string().max(100).optional(),
20242
- phone: z134.string().max(20).optional(),
20243
- position: z134.string().max(100).optional()
19458
+ var PatchedTicketRequestSchema = z134.object({
19459
+ user: z134.int().optional(),
19460
+ subject: z134.string().min(1).max(255).optional(),
19461
+ status: z134.nativeEnum(PatchedTicketRequestStatus).optional()
20244
19462
  });
20245
19463
 
20246
- // src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts
19464
+ // src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
20247
19465
  import { z as z135 } from "zod";
20248
- var PaymentDetailSchema = z135.object({
20249
- id: z135.uuid(),
20250
- internal_payment_id: z135.string(),
20251
- amount_usd: z135.string(),
20252
- currency_code: z135.string(),
20253
- currency_name: z135.string(),
20254
- currency_token: z135.string(),
20255
- currency_network: z135.string(),
20256
- pay_amount: z135.string().nullable(),
20257
- actual_amount: z135.string().nullable(),
20258
- actual_amount_usd: z135.string().nullable(),
20259
- status: z135.nativeEnum(PaymentDetailStatus),
20260
- status_display: z135.string(),
20261
- pay_address: z135.string().nullable(),
20262
- qr_code_url: z135.string().nullable(),
20263
- payment_url: z135.url().nullable(),
20264
- transaction_hash: z135.string().nullable(),
20265
- explorer_link: z135.string().nullable(),
20266
- confirmations_count: z135.int(),
20267
- expires_at: z135.iso.datetime().nullable(),
20268
- completed_at: z135.iso.datetime().nullable(),
20269
- created_at: z135.iso.datetime(),
20270
- is_completed: z135.boolean(),
20271
- is_failed: z135.boolean(),
20272
- is_expired: z135.boolean(),
20273
- description: z135.string()
19466
+ var PatchedUnsubscribeRequestSchema = z135.object({
19467
+ subscription_id: z135.int().optional()
20274
19468
  });
20275
19469
 
20276
- // src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
19470
+ // src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
20277
19471
  import { z as z136 } from "zod";
20278
- var PublicDocumentSchema = z136.object({
20279
- id: z136.uuid(),
20280
- title: z136.string().max(512),
20281
- content: z136.string(),
20282
- category: PublicCategorySchema,
20283
- created_at: z136.iso.datetime(),
20284
- updated_at: z136.iso.datetime()
19472
+ var PatchedUserProfileUpdateRequestSchema = z136.object({
19473
+ first_name: z136.string().max(50).optional(),
19474
+ last_name: z136.string().max(50).optional(),
19475
+ company: z136.string().max(100).optional(),
19476
+ phone: z136.string().max(20).optional(),
19477
+ position: z136.string().max(100).optional()
20285
19478
  });
20286
19479
 
20287
- // src/cfg/generated/_utils/schemas/PublishTestRequestRequest.schema.ts
19480
+ // src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts
20288
19481
  import { z as z137 } from "zod";
20289
- var PublishTestRequestRequestSchema = z137.object({
20290
- channel: z137.string(),
20291
- data: z137.record(z137.string(), z137.any()),
20292
- wait_for_ack: z137.boolean().optional(),
20293
- ack_timeout: z137.int().min(1).max(60).optional()
19482
+ var PaymentDetailSchema = z137.object({
19483
+ id: z137.uuid(),
19484
+ internal_payment_id: z137.string(),
19485
+ amount_usd: z137.string(),
19486
+ currency_code: z137.string(),
19487
+ currency_name: z137.string(),
19488
+ currency_token: z137.string(),
19489
+ currency_network: z137.string(),
19490
+ pay_amount: z137.string().nullable(),
19491
+ actual_amount: z137.string().nullable(),
19492
+ actual_amount_usd: z137.string().nullable(),
19493
+ status: z137.nativeEnum(PaymentDetailStatus),
19494
+ status_display: z137.string(),
19495
+ pay_address: z137.string().nullable(),
19496
+ qr_code_url: z137.string().nullable(),
19497
+ payment_url: z137.url().nullable(),
19498
+ transaction_hash: z137.string().nullable(),
19499
+ explorer_link: z137.string().nullable(),
19500
+ confirmations_count: z137.int(),
19501
+ expires_at: z137.iso.datetime().nullable(),
19502
+ completed_at: z137.iso.datetime().nullable(),
19503
+ created_at: z137.iso.datetime(),
19504
+ is_completed: z137.boolean(),
19505
+ is_failed: z137.boolean(),
19506
+ is_expired: z137.boolean(),
19507
+ description: z137.string()
20294
19508
  });
20295
19509
 
20296
- // src/cfg/generated/_utils/schemas/PublishTestResponse.schema.ts
19510
+ // src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
20297
19511
  import { z as z138 } from "zod";
20298
- var PublishTestResponseSchema = z138.object({
20299
- success: z138.boolean(),
20300
- message_id: z138.string(),
20301
- channel: z138.string(),
20302
- acks_received: z138.int().optional(),
20303
- delivered: z138.boolean().optional(),
20304
- error: z138.string().nullable().optional()
19512
+ var PublicDocumentSchema = z138.object({
19513
+ id: z138.uuid(),
19514
+ title: z138.string().max(512),
19515
+ content: z138.string(),
19516
+ category: PublicCategorySchema,
19517
+ created_at: z138.iso.datetime(),
19518
+ updated_at: z138.iso.datetime()
20305
19519
  });
20306
19520
 
20307
- // src/cfg/generated/_utils/schemas/QueueAction.schema.ts
19521
+ // src/cfg/generated/_utils/schemas/PublishTestRequestRequest.schema.ts
20308
19522
  import { z as z139 } from "zod";
20309
- var QueueActionSchema = z139.object({
20310
- action: z139.nativeEnum(QueueActionAction),
20311
- queue_names: z139.array(z139.string()).optional()
19523
+ var PublishTestRequestRequestSchema = z139.object({
19524
+ channel: z139.string(),
19525
+ data: z139.record(z139.string(), z139.any()),
19526
+ wait_for_ack: z139.boolean().optional(),
19527
+ ack_timeout: z139.int().min(1).max(60).optional()
20312
19528
  });
20313
19529
 
20314
- // src/cfg/generated/_utils/schemas/QueueActionRequest.schema.ts
19530
+ // src/cfg/generated/_utils/schemas/PublishTestResponse.schema.ts
20315
19531
  import { z as z140 } from "zod";
20316
- var QueueActionRequestSchema = z140.object({
20317
- action: z140.nativeEnum(QueueActionRequestAction),
20318
- queue_names: z140.array(z140.string().min(1)).optional()
19532
+ var PublishTestResponseSchema = z140.object({
19533
+ success: z140.boolean(),
19534
+ message_id: z140.string(),
19535
+ channel: z140.string(),
19536
+ acks_received: z140.int().optional(),
19537
+ delivered: z140.boolean().optional(),
19538
+ error: z140.string().nullable().optional()
20319
19539
  });
20320
19540
 
20321
- // src/cfg/generated/_utils/schemas/QueueStatus.schema.ts
19541
+ // src/cfg/generated/_utils/schemas/QueueAction.schema.ts
20322
19542
  import { z as z141 } from "zod";
20323
- var QueueStatusSchema = z141.object({
20324
- queues: z141.record(z141.string(), z141.any()),
20325
- workers: z141.int(),
20326
- redis_connected: z141.boolean(),
20327
- timestamp: z141.string(),
20328
- error: z141.string().optional()
19543
+ var QueueActionSchema = z141.object({
19544
+ action: z141.nativeEnum(QueueActionAction),
19545
+ queue_names: z141.array(z141.string()).optional()
20329
19546
  });
20330
19547
 
20331
- // src/cfg/generated/_utils/schemas/QuickAction.schema.ts
19548
+ // src/cfg/generated/_utils/schemas/QueueActionRequest.schema.ts
20332
19549
  import { z as z142 } from "zod";
20333
- var QuickActionSchema = z142.object({
20334
- title: z142.string(),
20335
- description: z142.string(),
20336
- icon: z142.string(),
20337
- link: z142.string(),
20338
- color: z142.nativeEnum(QuickActionColor).optional(),
20339
- category: z142.string().optional()
19550
+ var QueueActionRequestSchema = z142.object({
19551
+ action: z142.nativeEnum(QueueActionRequestAction),
19552
+ queue_names: z142.array(z142.string().min(1)).optional()
20340
19553
  });
20341
19554
 
20342
- // src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
19555
+ // src/cfg/generated/_utils/schemas/QueueStatus.schema.ts
20343
19556
  import { z as z143 } from "zod";
20344
- var QuickHealthSchema = z143.object({
20345
- status: z143.string(),
20346
- timestamp: z143.iso.datetime(),
19557
+ var QueueStatusSchema = z143.object({
19558
+ queues: z143.record(z143.string(), z143.any()),
19559
+ workers: z143.int(),
19560
+ redis_connected: z143.boolean(),
19561
+ timestamp: z143.string(),
20347
19562
  error: z143.string().optional()
20348
19563
  });
20349
19564
 
20350
- // src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts
19565
+ // src/cfg/generated/_utils/schemas/QuickAction.schema.ts
20351
19566
  import { z as z144 } from "zod";
20352
- var RecentPublishesSchema = z144.object({
20353
- publishes: z144.array(z144.record(z144.string(), z144.any())),
20354
- count: z144.int(),
20355
- total_available: z144.int(),
20356
- offset: z144.int().optional(),
20357
- has_more: z144.boolean().optional()
19567
+ var QuickActionSchema = z144.object({
19568
+ title: z144.string(),
19569
+ description: z144.string(),
19570
+ icon: z144.string(),
19571
+ link: z144.string(),
19572
+ color: z144.nativeEnum(QuickActionColor).optional(),
19573
+ category: z144.string().optional()
20358
19574
  });
20359
19575
 
20360
- // src/cfg/generated/_utils/schemas/RecentUser.schema.ts
19576
+ // src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
20361
19577
  import { z as z145 } from "zod";
20362
- var RecentUserSchema = z145.object({
20363
- id: z145.int(),
20364
- username: z145.string(),
20365
- email: z145.email(),
20366
- date_joined: z145.string(),
20367
- is_active: z145.boolean(),
20368
- is_staff: z145.boolean(),
20369
- is_superuser: z145.boolean(),
20370
- last_login: z145.string().nullable()
19578
+ var QuickHealthSchema = z145.object({
19579
+ status: z145.string(),
19580
+ timestamp: z145.iso.datetime(),
19581
+ error: z145.string().optional()
20371
19582
  });
20372
19583
 
20373
- // src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
19584
+ // src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts
20374
19585
  import { z as z146 } from "zod";
20375
- var SendCampaignRequestSchema = z146.object({
20376
- campaign_id: z146.int()
19586
+ var RecentPublishesSchema = z146.object({
19587
+ publishes: z146.array(z146.record(z146.string(), z146.any())),
19588
+ count: z146.int(),
19589
+ total_available: z146.int(),
19590
+ offset: z146.int().optional(),
19591
+ has_more: z146.boolean().optional()
20377
19592
  });
20378
19593
 
20379
- // src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
19594
+ // src/cfg/generated/_utils/schemas/RecentUser.schema.ts
20380
19595
  import { z as z147 } from "zod";
20381
- var SendCampaignResponseSchema = z147.object({
20382
- success: z147.boolean(),
20383
- message: z147.string().optional(),
20384
- sent_count: z147.int().optional(),
20385
- error: z147.string().optional()
19596
+ var RecentUserSchema = z147.object({
19597
+ id: z147.int(),
19598
+ username: z147.string(),
19599
+ email: z147.email(),
19600
+ date_joined: z147.string(),
19601
+ is_active: z147.boolean(),
19602
+ is_staff: z147.boolean(),
19603
+ is_superuser: z147.boolean(),
19604
+ last_login: z147.string().nullable()
20386
19605
  });
20387
19606
 
20388
- // src/cfg/generated/_utils/schemas/StatCard.schema.ts
19607
+ // src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
20389
19608
  import { z as z148 } from "zod";
20390
- var StatCardSchema = z148.object({
20391
- title: z148.string(),
20392
- value: z148.string(),
20393
- icon: z148.string(),
20394
- change: z148.string().nullable().optional(),
20395
- change_type: z148.nativeEnum(StatCardChangeType).optional(),
20396
- description: z148.string().nullable().optional(),
20397
- color: z148.string().optional()
19609
+ var SendCampaignRequestSchema = z148.object({
19610
+ campaign_id: z148.int()
20398
19611
  });
20399
19612
 
20400
- // src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
19613
+ // src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
20401
19614
  import { z as z149 } from "zod";
20402
- var SubscribeRequestSchema = z149.object({
20403
- newsletter_id: z149.int(),
20404
- email: z149.email()
19615
+ var SendCampaignResponseSchema = z149.object({
19616
+ success: z149.boolean(),
19617
+ message: z149.string().optional(),
19618
+ sent_count: z149.int().optional(),
19619
+ error: z149.string().optional()
20405
19620
  });
20406
19621
 
20407
- // src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
19622
+ // src/cfg/generated/_utils/schemas/StatCard.schema.ts
20408
19623
  import { z as z150 } from "zod";
20409
- var SubscribeResponseSchema = z150.object({
20410
- success: z150.boolean(),
20411
- message: z150.string(),
20412
- subscription_id: z150.int().optional()
19624
+ var StatCardSchema = z150.object({
19625
+ title: z150.string(),
19626
+ value: z150.string(),
19627
+ icon: z150.string(),
19628
+ change: z150.string().nullable().optional(),
19629
+ change_type: z150.nativeEnum(StatCardChangeType).optional(),
19630
+ description: z150.string().nullable().optional(),
19631
+ color: z150.string().optional()
20413
19632
  });
20414
19633
 
20415
- // src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
19634
+ // src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
20416
19635
  import { z as z151 } from "zod";
20417
- var SuccessResponseSchema = z151.object({
20418
- success: z151.boolean(),
20419
- message: z151.string()
19636
+ var SubscribeRequestSchema = z151.object({
19637
+ newsletter_id: z151.int(),
19638
+ email: z151.email()
20420
19639
  });
20421
19640
 
20422
- // src/cfg/generated/_utils/schemas/SystemHealth.schema.ts
19641
+ // src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
19642
+ import { z as z152 } from "zod";
19643
+ var SubscribeResponseSchema = z152.object({
19644
+ success: z152.boolean(),
19645
+ message: z152.string(),
19646
+ subscription_id: z152.int().optional()
19647
+ });
19648
+
19649
+ // src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
20423
19650
  import { z as z153 } from "zod";
19651
+ var SuccessResponseSchema = z153.object({
19652
+ success: z153.boolean(),
19653
+ message: z153.string()
19654
+ });
19655
+
19656
+ // src/cfg/generated/_utils/schemas/SystemHealth.schema.ts
19657
+ import { z as z155 } from "zod";
20424
19658
 
20425
19659
  // src/cfg/generated/_utils/schemas/SystemHealthItem.schema.ts
20426
- import { z as z152 } from "zod";
20427
- var SystemHealthItemSchema = z152.object({
20428
- component: z152.string(),
20429
- status: z152.nativeEnum(SystemHealthItemStatus),
20430
- description: z152.string(),
20431
- last_check: z152.string(),
20432
- health_percentage: z152.int().min(0).max(100).nullable().optional()
19660
+ import { z as z154 } from "zod";
19661
+ var SystemHealthItemSchema = z154.object({
19662
+ component: z154.string(),
19663
+ status: z154.nativeEnum(SystemHealthItemStatus),
19664
+ description: z154.string(),
19665
+ last_check: z154.string(),
19666
+ health_percentage: z154.int().min(0).max(100).nullable().optional()
20433
19667
  });
20434
19668
 
20435
19669
  // src/cfg/generated/_utils/schemas/SystemHealth.schema.ts
20436
- var SystemHealthSchema = z153.object({
20437
- overall_status: z153.nativeEnum(SystemHealthOverallStatus),
20438
- overall_health_percentage: z153.int().min(0).max(100),
20439
- components: z153.array(SystemHealthItemSchema),
20440
- timestamp: z153.string()
19670
+ var SystemHealthSchema = z155.object({
19671
+ overall_status: z155.nativeEnum(SystemHealthOverallStatus),
19672
+ overall_health_percentage: z155.int().min(0).max(100),
19673
+ components: z155.array(SystemHealthItemSchema),
19674
+ timestamp: z155.string()
20441
19675
  });
20442
19676
 
20443
19677
  // src/cfg/generated/_utils/schemas/SystemMetrics.schema.ts
20444
- import { z as z154 } from "zod";
20445
- var SystemMetricsSchema = z154.object({
20446
- cpu_usage: z154.number(),
20447
- memory_usage: z154.number(),
20448
- disk_usage: z154.number(),
20449
- network_in: z154.string(),
20450
- network_out: z154.string(),
20451
- response_time: z154.string(),
20452
- uptime: z154.string()
19678
+ import { z as z156 } from "zod";
19679
+ var SystemMetricsSchema = z156.object({
19680
+ cpu_usage: z156.number(),
19681
+ memory_usage: z156.number(),
19682
+ disk_usage: z156.number(),
19683
+ network_in: z156.string(),
19684
+ network_out: z156.string(),
19685
+ response_time: z156.string(),
19686
+ uptime: z156.string()
20453
19687
  });
20454
19688
 
20455
19689
  // src/cfg/generated/_utils/schemas/TaskStatistics.schema.ts
20456
- import { z as z155 } from "zod";
20457
- var TaskStatisticsSchema = z155.object({
20458
- statistics: z155.record(z155.string(), z155.any()),
20459
- recent_tasks: z155.array(z155.record(z155.string(), z155.any())),
20460
- timestamp: z155.string(),
20461
- error: z155.string().optional()
19690
+ import { z as z157 } from "zod";
19691
+ var TaskStatisticsSchema = z157.object({
19692
+ statistics: z157.record(z157.string(), z157.any()),
19693
+ recent_tasks: z157.array(z157.record(z157.string(), z157.any())),
19694
+ timestamp: z157.string(),
19695
+ error: z157.string().optional()
20462
19696
  });
20463
19697
 
20464
19698
  // src/cfg/generated/_utils/schemas/TestEmailRequest.schema.ts
20465
- import { z as z156 } from "zod";
20466
- var TestEmailRequestSchema = z156.object({
20467
- email: z156.email(),
20468
- subject: z156.string().min(1).max(255).optional(),
20469
- message: z156.string().min(1).optional()
19699
+ import { z as z158 } from "zod";
19700
+ var TestEmailRequestSchema = z158.object({
19701
+ email: z158.email(),
19702
+ subject: z158.string().min(1).max(255).optional(),
19703
+ message: z158.string().min(1).optional()
20470
19704
  });
20471
19705
 
20472
19706
  // src/cfg/generated/_utils/schemas/TicketRequest.schema.ts
20473
- import { z as z157 } from "zod";
20474
- var TicketRequestSchema = z157.object({
20475
- user: z157.int(),
20476
- subject: z157.string().min(1).max(255),
20477
- status: z157.nativeEnum(TicketRequestStatus).optional()
19707
+ import { z as z159 } from "zod";
19708
+ var TicketRequestSchema = z159.object({
19709
+ user: z159.int(),
19710
+ subject: z159.string().min(1).max(255),
19711
+ status: z159.nativeEnum(TicketRequestStatus).optional()
20478
19712
  });
20479
19713
 
20480
19714
  // src/cfg/generated/_utils/schemas/TokenRefresh.schema.ts
20481
- import { z as z158 } from "zod";
20482
- var TokenRefreshSchema = z158.object({
20483
- access: z158.string(),
20484
- refresh: z158.string()
19715
+ import { z as z160 } from "zod";
19716
+ var TokenRefreshSchema = z160.object({
19717
+ access: z160.string(),
19718
+ refresh: z160.string()
20485
19719
  });
20486
19720
 
20487
19721
  // src/cfg/generated/_utils/schemas/TokenRefreshRequest.schema.ts
20488
- import { z as z159 } from "zod";
20489
- var TokenRefreshRequestSchema = z159.object({
20490
- refresh: z159.string().min(1)
19722
+ import { z as z161 } from "zod";
19723
+ var TokenRefreshRequestSchema = z161.object({
19724
+ refresh: z161.string().min(1)
20491
19725
  });
20492
19726
 
20493
19727
  // src/cfg/generated/_utils/schemas/Transaction.schema.ts
20494
- import { z as z160 } from "zod";
20495
- var TransactionSchema = z160.object({
20496
- id: z160.uuid(),
20497
- transaction_type: z160.nativeEnum(TransactionTransactionType),
20498
- type_display: z160.string(),
20499
- amount_usd: z160.string(),
20500
- amount_display: z160.string(),
20501
- balance_after: z160.string(),
20502
- payment_id: z160.string().nullable(),
20503
- description: z160.string(),
20504
- created_at: z160.iso.datetime()
19728
+ import { z as z162 } from "zod";
19729
+ var TransactionSchema = z162.object({
19730
+ id: z162.uuid(),
19731
+ transaction_type: z162.nativeEnum(TransactionTransactionType),
19732
+ type_display: z162.string(),
19733
+ amount_usd: z162.string(),
19734
+ amount_display: z162.string(),
19735
+ balance_after: z162.string(),
19736
+ payment_id: z162.string().nullable(),
19737
+ description: z162.string(),
19738
+ created_at: z162.iso.datetime()
20505
19739
  });
20506
19740
 
20507
19741
  // src/cfg/generated/_utils/schemas/URLPattern.schema.ts
20508
- import { z as z161 } from "zod";
20509
- var URLPatternSchema = z161.object({
20510
- pattern: z161.string(),
20511
- name: z161.string().nullable().optional(),
20512
- full_name: z161.string().nullable().optional(),
20513
- namespace: z161.string().nullable().optional(),
20514
- view: z161.string().nullable().optional(),
20515
- view_class: z161.string().nullable().optional(),
20516
- methods: z161.array(z161.string()).optional(),
20517
- module: z161.string().nullable().optional()
19742
+ import { z as z163 } from "zod";
19743
+ var URLPatternSchema = z163.object({
19744
+ pattern: z163.string(),
19745
+ name: z163.string().nullable().optional(),
19746
+ full_name: z163.string().nullable().optional(),
19747
+ namespace: z163.string().nullable().optional(),
19748
+ view: z163.string().nullable().optional(),
19749
+ view_class: z163.string().nullable().optional(),
19750
+ methods: z163.array(z163.string()).optional(),
19751
+ module: z163.string().nullable().optional()
20518
19752
  });
20519
19753
 
20520
19754
  // src/cfg/generated/_utils/schemas/URLsList.schema.ts
20521
- import { z as z162 } from "zod";
20522
- var URLsListSchema = z162.object({
20523
- status: z162.string(),
20524
- service: z162.string(),
20525
- version: z162.string(),
20526
- base_url: z162.string(),
20527
- total_urls: z162.int(),
20528
- urls: z162.array(URLPatternSchema)
19755
+ import { z as z164 } from "zod";
19756
+ var URLsListSchema = z164.object({
19757
+ status: z164.string(),
19758
+ service: z164.string(),
19759
+ version: z164.string(),
19760
+ base_url: z164.string(),
19761
+ total_urls: z164.int(),
19762
+ urls: z164.array(URLPatternSchema)
20529
19763
  });
20530
19764
 
20531
19765
  // src/cfg/generated/_utils/schemas/Unsubscribe.schema.ts
20532
- import { z as z163 } from "zod";
20533
- var UnsubscribeSchema = z163.object({
20534
- subscription_id: z163.int()
19766
+ import { z as z165 } from "zod";
19767
+ var UnsubscribeSchema = z165.object({
19768
+ subscription_id: z165.int()
20535
19769
  });
20536
19770
 
20537
19771
  // src/cfg/generated/_utils/schemas/UnsubscribeRequest.schema.ts
20538
- import { z as z164 } from "zod";
20539
- var UnsubscribeRequestSchema = z164.object({
20540
- subscription_id: z164.int()
19772
+ import { z as z166 } from "zod";
19773
+ var UnsubscribeRequestSchema = z166.object({
19774
+ subscription_id: z166.int()
20541
19775
  });
20542
19776
 
20543
19777
  // src/cfg/generated/_utils/schemas/UserProfileUpdateRequest.schema.ts
20544
- import { z as z165 } from "zod";
20545
- var UserProfileUpdateRequestSchema = z165.object({
20546
- first_name: z165.string().max(50).optional(),
20547
- last_name: z165.string().max(50).optional(),
20548
- company: z165.string().max(100).optional(),
20549
- phone: z165.string().max(20).optional(),
20550
- position: z165.string().max(100).optional()
19778
+ import { z as z167 } from "zod";
19779
+ var UserProfileUpdateRequestSchema = z167.object({
19780
+ first_name: z167.string().max(50).optional(),
19781
+ last_name: z167.string().max(50).optional(),
19782
+ company: z167.string().max(100).optional(),
19783
+ phone: z167.string().max(20).optional(),
19784
+ position: z167.string().max(100).optional()
20551
19785
  });
20552
19786
 
20553
19787
  // src/cfg/generated/_utils/schemas/UserStatistics.schema.ts
20554
- import { z as z166 } from "zod";
20555
- var UserStatisticsSchema = z166.object({
20556
- total_users: z166.int(),
20557
- active_users: z166.int(),
20558
- new_users: z166.int(),
20559
- superusers: z166.int()
19788
+ import { z as z168 } from "zod";
19789
+ var UserStatisticsSchema = z168.object({
19790
+ total_users: z168.int(),
19791
+ active_users: z168.int(),
19792
+ new_users: z168.int(),
19793
+ superusers: z168.int()
20560
19794
  });
20561
19795
 
20562
19796
  // src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts
20563
- import { z as z167 } from "zod";
20564
- var VectorizationResultSchema = z167.object({
20565
- vectorized_count: z167.int(),
20566
- failed_count: z167.int(),
20567
- total_tokens: z167.int(),
20568
- total_cost: z167.number(),
20569
- success_rate: z167.number(),
20570
- errors: z167.array(z167.string())
19797
+ import { z as z169 } from "zod";
19798
+ var VectorizationResultSchema = z169.object({
19799
+ vectorized_count: z169.int(),
19800
+ failed_count: z169.int(),
19801
+ total_tokens: z169.int(),
19802
+ total_cost: z169.number(),
19803
+ success_rate: z169.number(),
19804
+ errors: z169.array(z169.string())
20571
19805
  });
20572
19806
 
20573
19807
  // src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts
20574
- import { z as z168 } from "zod";
20575
- var VectorizationStatisticsSchema = z168.object({
20576
- total_chunks: z168.int(),
20577
- vectorized_chunks: z168.int(),
20578
- pending_chunks: z168.int(),
20579
- vectorization_rate: z168.number(),
20580
- total_tokens: z168.int(),
20581
- total_cost: z168.number(),
20582
- avg_tokens_per_chunk: z168.number(),
20583
- avg_cost_per_chunk: z168.number()
19808
+ import { z as z170 } from "zod";
19809
+ var VectorizationStatisticsSchema = z170.object({
19810
+ total_chunks: z170.int(),
19811
+ vectorized_chunks: z170.int(),
19812
+ pending_chunks: z170.int(),
19813
+ vectorization_rate: z170.number(),
19814
+ total_tokens: z170.int(),
19815
+ total_cost: z170.number(),
19816
+ avg_tokens_per_chunk: z170.number(),
19817
+ avg_cost_per_chunk: z170.number()
20584
19818
  });
20585
19819
 
20586
19820
  // src/cfg/generated/_utils/schemas/WorkerAction.schema.ts
20587
- import { z as z169 } from "zod";
20588
- var WorkerActionSchema = z169.object({
20589
- action: z169.nativeEnum(WorkerActionAction),
20590
- processes: z169.int().min(1).max(10).optional(),
20591
- threads: z169.int().min(1).max(20).optional()
19821
+ import { z as z171 } from "zod";
19822
+ var WorkerActionSchema = z171.object({
19823
+ action: z171.nativeEnum(WorkerActionAction),
19824
+ processes: z171.int().min(1).max(10).optional(),
19825
+ threads: z171.int().min(1).max(20).optional()
20592
19826
  });
20593
19827
 
20594
19828
  // src/cfg/generated/_utils/schemas/WorkerActionRequest.schema.ts
20595
- import { z as z170 } from "zod";
20596
- var WorkerActionRequestSchema = z170.object({
20597
- action: z170.nativeEnum(WorkerActionRequestAction),
20598
- processes: z170.int().min(1).max(10).optional(),
20599
- threads: z170.int().min(1).max(20).optional()
19829
+ import { z as z172 } from "zod";
19830
+ var WorkerActionRequestSchema = z172.object({
19831
+ action: z172.nativeEnum(WorkerActionRequestAction),
19832
+ processes: z172.int().min(1).max(10).optional(),
19833
+ threads: z172.int().min(1).max(20).optional()
20600
19834
  });
20601
19835
 
20602
19836
  // src/cfg/generated/_utils/fetchers/index.ts
@@ -20606,16 +19840,6 @@ __export(fetchers_exports, {
20606
19840
  createAccountsOtpVerifyCreate: () => createAccountsOtpVerifyCreate,
20607
19841
  createAccountsProfileAvatarCreate: () => createAccountsProfileAvatarCreate,
20608
19842
  createAccountsTokenRefreshCreate: () => createAccountsTokenRefreshCreate,
20609
- createCentrifugoAdminApiServerAuthTokenCreate: () => createCentrifugoAdminApiServerAuthTokenCreate,
20610
- createCentrifugoAdminApiServerChannelsCreate: () => createCentrifugoAdminApiServerChannelsCreate,
20611
- createCentrifugoAdminApiServerHistoryCreate: () => createCentrifugoAdminApiServerHistoryCreate,
20612
- createCentrifugoAdminApiServerInfoCreate: () => createCentrifugoAdminApiServerInfoCreate,
20613
- createCentrifugoAdminApiServerPresenceCreate: () => createCentrifugoAdminApiServerPresenceCreate,
20614
- createCentrifugoAdminApiServerPresenceStatsCreate: () => createCentrifugoAdminApiServerPresenceStatsCreate,
20615
- createCentrifugoAdminApiTestingConnectionTokenCreate: () => createCentrifugoAdminApiTestingConnectionTokenCreate,
20616
- createCentrifugoAdminApiTestingPublishTestCreate: () => createCentrifugoAdminApiTestingPublishTestCreate,
20617
- createCentrifugoAdminApiTestingPublishWithLoggingCreate: () => createCentrifugoAdminApiTestingPublishWithLoggingCreate,
20618
- createCentrifugoAdminApiTestingSendAckCreate: () => createCentrifugoAdminApiTestingSendAckCreate,
20619
19843
  createCentrifugoServerAuthTokenCreate: () => createCentrifugoServerAuthTokenCreate,
20620
19844
  createCentrifugoServerChannelsCreate: () => createCentrifugoServerChannelsCreate,
20621
19845
  createCentrifugoServerHistoryCreate: () => createCentrifugoServerHistoryCreate,
@@ -20626,6 +19850,7 @@ __export(fetchers_exports, {
20626
19850
  createCentrifugoTestingPublishTestCreate: () => createCentrifugoTestingPublishTestCreate,
20627
19851
  createCentrifugoTestingPublishWithLoggingCreate: () => createCentrifugoTestingPublishWithLoggingCreate,
20628
19852
  createCentrifugoTestingSendAckCreate: () => createCentrifugoTestingSendAckCreate,
19853
+ createDashboardApiCommandsExecuteCreate: () => createDashboardApiCommandsExecuteCreate,
20629
19854
  createKnowbaseAdminChatCreate: () => createKnowbaseAdminChatCreate,
20630
19855
  createKnowbaseAdminChatQueryCreate: () => createKnowbaseAdminChatQueryCreate,
20631
19856
  createKnowbaseAdminDocumentsCreate: () => createKnowbaseAdminDocumentsCreate,
@@ -20668,11 +19893,6 @@ __export(fetchers_exports, {
20668
19893
  deleteSupportTicketsDestroy: () => deleteSupportTicketsDestroy,
20669
19894
  deleteSupportTicketsMessagesDestroy: () => deleteSupportTicketsMessagesDestroy,
20670
19895
  getAccountsProfileRetrieve: () => getAccountsProfileRetrieve,
20671
- getCentrifugoAdminApiMonitorChannelsRetrieve: () => getCentrifugoAdminApiMonitorChannelsRetrieve,
20672
- getCentrifugoAdminApiMonitorHealthRetrieve: () => getCentrifugoAdminApiMonitorHealthRetrieve,
20673
- getCentrifugoAdminApiMonitorOverviewRetrieve: () => getCentrifugoAdminApiMonitorOverviewRetrieve,
20674
- getCentrifugoAdminApiMonitorPublishesRetrieve: () => getCentrifugoAdminApiMonitorPublishesRetrieve,
20675
- getCentrifugoAdminApiMonitorTimelineRetrieve: () => getCentrifugoAdminApiMonitorTimelineRetrieve,
20676
19896
  getCentrifugoMonitorChannelsRetrieve: () => getCentrifugoMonitorChannelsRetrieve,
20677
19897
  getCentrifugoMonitorHealthRetrieve: () => getCentrifugoMonitorHealthRetrieve,
20678
19898
  getCentrifugoMonitorOverviewRetrieve: () => getCentrifugoMonitorOverviewRetrieve,
@@ -20684,6 +19904,7 @@ __export(fetchers_exports, {
20684
19904
  getDashboardApiChartsRecentUsersList: () => getDashboardApiChartsRecentUsersList,
20685
19905
  getDashboardApiChartsRegistrationsRetrieve: () => getDashboardApiChartsRegistrationsRetrieve,
20686
19906
  getDashboardApiChartsTrackerList: () => getDashboardApiChartsTrackerList,
19907
+ getDashboardApiCommandsHelpRetrieve: () => getDashboardApiCommandsHelpRetrieve,
20687
19908
  getDashboardApiCommandsList: () => getDashboardApiCommandsList,
20688
19909
  getDashboardApiCommandsSummaryRetrieve: () => getDashboardApiCommandsSummaryRetrieve,
20689
19910
  getDashboardApiOverviewOverviewRetrieve: () => getDashboardApiOverviewOverviewRetrieve,
@@ -20868,11 +20089,6 @@ async function partialUpdateAccountsProfileUpdatePartialUpdate(data, client) {
20868
20089
  }
20869
20090
 
20870
20091
  // src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts
20871
- async function getCentrifugoAdminApiMonitorChannelsRetrieve(client) {
20872
- const api2 = client || getAPIInstance();
20873
- const response = await api2.cfg_centrifugo.adminApiMonitorChannelsRetrieve();
20874
- return response;
20875
- }
20876
20092
  async function getCentrifugoMonitorChannelsRetrieve(client) {
20877
20093
  const api2 = client || getAPIInstance();
20878
20094
  const response = await api2.cfg_centrifugo.monitorChannelsRetrieve();
@@ -20880,36 +20096,6 @@ async function getCentrifugoMonitorChannelsRetrieve(client) {
20880
20096
  }
20881
20097
 
20882
20098
  // src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts
20883
- async function createCentrifugoAdminApiServerAuthTokenCreate(client) {
20884
- const api2 = client || getAPIInstance();
20885
- const response = await api2.cfg_centrifugo_admin_api.serverAuthTokenCreate();
20886
- return response;
20887
- }
20888
- async function createCentrifugoAdminApiServerChannelsCreate(data, client) {
20889
- const api2 = client || getAPIInstance();
20890
- const response = await api2.cfg_centrifugo_admin_api.serverChannelsCreate(data);
20891
- return CentrifugoChannelsResponseSchema.parse(response);
20892
- }
20893
- async function createCentrifugoAdminApiServerHistoryCreate(data, client) {
20894
- const api2 = client || getAPIInstance();
20895
- const response = await api2.cfg_centrifugo_admin_api.serverHistoryCreate(data);
20896
- return CentrifugoHistoryResponseSchema.parse(response);
20897
- }
20898
- async function createCentrifugoAdminApiServerInfoCreate(client) {
20899
- const api2 = client || getAPIInstance();
20900
- const response = await api2.cfg_centrifugo_admin_api.serverInfoCreate();
20901
- return CentrifugoInfoResponseSchema.parse(response);
20902
- }
20903
- async function createCentrifugoAdminApiServerPresenceCreate(data, client) {
20904
- const api2 = client || getAPIInstance();
20905
- const response = await api2.cfg_centrifugo_admin_api.serverPresenceCreate(data);
20906
- return CentrifugoPresenceResponseSchema.parse(response);
20907
- }
20908
- async function createCentrifugoAdminApiServerPresenceStatsCreate(data, client) {
20909
- const api2 = client || getAPIInstance();
20910
- const response = await api2.cfg_centrifugo_admin_api.serverPresenceStatsCreate(data);
20911
- return CentrifugoPresenceStatsResponseSchema.parse(response);
20912
- }
20913
20099
  async function createCentrifugoServerAuthTokenCreate(client) {
20914
20100
  const api2 = client || getAPIInstance();
20915
20101
  const response = await api2.cfg_centrifugo_admin_api.centrifugoServerAuthTokenCreate();
@@ -20932,36 +20118,16 @@ async function createCentrifugoServerInfoCreate(client) {
20932
20118
  }
20933
20119
  async function createCentrifugoServerPresenceCreate(data, client) {
20934
20120
  const api2 = client || getAPIInstance();
20935
- const response = await api2.cfg_centrifugo_admin_api.centrifugoServerPresenceCreate(data);
20936
- return CentrifugoPresenceResponseSchema.parse(response);
20937
- }
20938
- async function createCentrifugoServerPresenceStatsCreate(data, client) {
20939
- const api2 = client || getAPIInstance();
20940
- const response = await api2.cfg_centrifugo_admin_api.centrifugoServerPresenceStatsCreate(data);
20941
- return CentrifugoPresenceStatsResponseSchema.parse(response);
20942
- }
20943
-
20944
- // src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts
20945
- async function getCentrifugoAdminApiMonitorHealthRetrieve(client) {
20946
- const api2 = client || getAPIInstance();
20947
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorHealthRetrieve();
20948
- return HealthCheckSchema.parse(response);
20949
- }
20950
- async function getCentrifugoAdminApiMonitorOverviewRetrieve(params, client) {
20951
- const api2 = client || getAPIInstance();
20952
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorOverviewRetrieve(params?.hours);
20953
- return OverviewStatsSchema.parse(response);
20954
- }
20955
- async function getCentrifugoAdminApiMonitorPublishesRetrieve(params, client) {
20956
- const api2 = client || getAPIInstance();
20957
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorPublishesRetrieve(params?.channel, params?.count, params?.offset, params?.status);
20958
- return RecentPublishesSchema.parse(response);
20121
+ const response = await api2.cfg_centrifugo_admin_api.centrifugoServerPresenceCreate(data);
20122
+ return CentrifugoPresenceResponseSchema.parse(response);
20959
20123
  }
20960
- async function getCentrifugoAdminApiMonitorTimelineRetrieve(params, client) {
20124
+ async function createCentrifugoServerPresenceStatsCreate(data, client) {
20961
20125
  const api2 = client || getAPIInstance();
20962
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorTimelineRetrieve(params?.hours, params?.interval);
20963
- return ChannelListSchema.parse(response);
20126
+ const response = await api2.cfg_centrifugo_admin_api.centrifugoServerPresenceStatsCreate(data);
20127
+ return CentrifugoPresenceStatsResponseSchema.parse(response);
20964
20128
  }
20129
+
20130
+ // src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts
20965
20131
  async function getCentrifugoMonitorHealthRetrieve(client) {
20966
20132
  const api2 = client || getAPIInstance();
20967
20133
  const response = await api2.cfg_centrifugo_monitoring.centrifugoMonitorHealthRetrieve();
@@ -20984,26 +20150,6 @@ async function getCentrifugoMonitorTimelineRetrieve(params, client) {
20984
20150
  }
20985
20151
 
20986
20152
  // src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts
20987
- async function createCentrifugoAdminApiTestingConnectionTokenCreate(data, client) {
20988
- const api2 = client || getAPIInstance();
20989
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingConnectionTokenCreate(data);
20990
- return ConnectionTokenResponseSchema.parse(response);
20991
- }
20992
- async function createCentrifugoAdminApiTestingPublishTestCreate(data, client) {
20993
- const api2 = client || getAPIInstance();
20994
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishTestCreate(data);
20995
- return PublishTestResponseSchema.parse(response);
20996
- }
20997
- async function createCentrifugoAdminApiTestingPublishWithLoggingCreate(data, client) {
20998
- const api2 = client || getAPIInstance();
20999
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishWithLoggingCreate(data);
21000
- return PublishTestResponseSchema.parse(response);
21001
- }
21002
- async function createCentrifugoAdminApiTestingSendAckCreate(data, client) {
21003
- const api2 = client || getAPIInstance();
21004
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingSendAckCreate(data);
21005
- return ManualAckResponseSchema.parse(response);
21006
- }
21007
20153
  async function createCentrifugoTestingConnectionTokenCreate(data, client) {
21008
20154
  const api2 = client || getAPIInstance();
21009
20155
  const response = await api2.cfg_centrifugo_testing.connectionTokenCreate(data);
@@ -21077,6 +20223,16 @@ async function getDashboardApiCommandsList(client) {
21077
20223
  const response = await api2.cfg_dashboard_commands.dashboardApiCommandsList();
21078
20224
  return response;
21079
20225
  }
20226
+ async function getDashboardApiCommandsHelpRetrieve(id, client) {
20227
+ const api2 = client || getAPIInstance();
20228
+ const response = await api2.cfg_dashboard_commands.dashboardApiCommandsHelpRetrieve(id);
20229
+ return CommandHelpResponseSchema.parse(response);
20230
+ }
20231
+ async function createDashboardApiCommandsExecuteCreate(data, client) {
20232
+ const api2 = client || getAPIInstance();
20233
+ const response = await api2.cfg_dashboard_commands.dashboardApiCommandsExecuteCreate(data);
20234
+ return response;
20235
+ }
21080
20236
  async function getDashboardApiCommandsSummaryRetrieve(client) {
21081
20237
  const api2 = client || getAPIInstance();
21082
20238
  const response = await api2.cfg_dashboard_commands.dashboardApiCommandsSummaryRetrieve();
@@ -21733,11 +20889,6 @@ async function createTasksApiWorkersManageCreate(data, client) {
21733
20889
  var hooks_exports = {};
21734
20890
  __export(hooks_exports, {
21735
20891
  useAccountsProfileRetrieve: () => useAccountsProfileRetrieve,
21736
- useCentrifugoAdminApiMonitorChannelsRetrieve: () => useCentrifugoAdminApiMonitorChannelsRetrieve,
21737
- useCentrifugoAdminApiMonitorHealthRetrieve: () => useCentrifugoAdminApiMonitorHealthRetrieve,
21738
- useCentrifugoAdminApiMonitorOverviewRetrieve: () => useCentrifugoAdminApiMonitorOverviewRetrieve,
21739
- useCentrifugoAdminApiMonitorPublishesRetrieve: () => useCentrifugoAdminApiMonitorPublishesRetrieve,
21740
- useCentrifugoAdminApiMonitorTimelineRetrieve: () => useCentrifugoAdminApiMonitorTimelineRetrieve,
21741
20892
  useCentrifugoMonitorChannelsRetrieve: () => useCentrifugoMonitorChannelsRetrieve,
21742
20893
  useCentrifugoMonitorHealthRetrieve: () => useCentrifugoMonitorHealthRetrieve,
21743
20894
  useCentrifugoMonitorOverviewRetrieve: () => useCentrifugoMonitorOverviewRetrieve,
@@ -21747,16 +20898,6 @@ __export(hooks_exports, {
21747
20898
  useCreateAccountsOtpVerifyCreate: () => useCreateAccountsOtpVerifyCreate,
21748
20899
  useCreateAccountsProfileAvatarCreate: () => useCreateAccountsProfileAvatarCreate,
21749
20900
  useCreateAccountsTokenRefreshCreate: () => useCreateAccountsTokenRefreshCreate,
21750
- useCreateCentrifugoAdminApiServerAuthTokenCreate: () => useCreateCentrifugoAdminApiServerAuthTokenCreate,
21751
- useCreateCentrifugoAdminApiServerChannelsCreate: () => useCreateCentrifugoAdminApiServerChannelsCreate,
21752
- useCreateCentrifugoAdminApiServerHistoryCreate: () => useCreateCentrifugoAdminApiServerHistoryCreate,
21753
- useCreateCentrifugoAdminApiServerInfoCreate: () => useCreateCentrifugoAdminApiServerInfoCreate,
21754
- useCreateCentrifugoAdminApiServerPresenceCreate: () => useCreateCentrifugoAdminApiServerPresenceCreate,
21755
- useCreateCentrifugoAdminApiServerPresenceStatsCreate: () => useCreateCentrifugoAdminApiServerPresenceStatsCreate,
21756
- useCreateCentrifugoAdminApiTestingConnectionTokenCreate: () => useCreateCentrifugoAdminApiTestingConnectionTokenCreate,
21757
- useCreateCentrifugoAdminApiTestingPublishTestCreate: () => useCreateCentrifugoAdminApiTestingPublishTestCreate,
21758
- useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate: () => useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate,
21759
- useCreateCentrifugoAdminApiTestingSendAckCreate: () => useCreateCentrifugoAdminApiTestingSendAckCreate,
21760
20901
  useCreateCentrifugoServerAuthTokenCreate: () => useCreateCentrifugoServerAuthTokenCreate,
21761
20902
  useCreateCentrifugoServerChannelsCreate: () => useCreateCentrifugoServerChannelsCreate,
21762
20903
  useCreateCentrifugoServerHistoryCreate: () => useCreateCentrifugoServerHistoryCreate,
@@ -21767,6 +20908,7 @@ __export(hooks_exports, {
21767
20908
  useCreateCentrifugoTestingPublishTestCreate: () => useCreateCentrifugoTestingPublishTestCreate,
21768
20909
  useCreateCentrifugoTestingPublishWithLoggingCreate: () => useCreateCentrifugoTestingPublishWithLoggingCreate,
21769
20910
  useCreateCentrifugoTestingSendAckCreate: () => useCreateCentrifugoTestingSendAckCreate,
20911
+ useCreateDashboardApiCommandsExecuteCreate: () => useCreateDashboardApiCommandsExecuteCreate,
21770
20912
  useCreateKnowbaseAdminChatCreate: () => useCreateKnowbaseAdminChatCreate,
21771
20913
  useCreateKnowbaseAdminChatQueryCreate: () => useCreateKnowbaseAdminChatQueryCreate,
21772
20914
  useCreateKnowbaseAdminDocumentsCreate: () => useCreateKnowbaseAdminDocumentsCreate,
@@ -21804,6 +20946,7 @@ __export(hooks_exports, {
21804
20946
  useDashboardApiChartsRecentUsersList: () => useDashboardApiChartsRecentUsersList,
21805
20947
  useDashboardApiChartsRegistrationsRetrieve: () => useDashboardApiChartsRegistrationsRetrieve,
21806
20948
  useDashboardApiChartsTrackerList: () => useDashboardApiChartsTrackerList,
20949
+ useDashboardApiCommandsHelpRetrieve: () => useDashboardApiCommandsHelpRetrieve,
21807
20950
  useDashboardApiCommandsList: () => useDashboardApiCommandsList,
21808
20951
  useDashboardApiCommandsSummaryRetrieve: () => useDashboardApiCommandsSummaryRetrieve,
21809
20952
  useDashboardApiOverviewOverviewRetrieve: () => useDashboardApiOverviewOverviewRetrieve,
@@ -21979,54 +21122,6 @@ function useCreateNewsletterCampaignsSendCreate() {
21979
21122
 
21980
21123
  // src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts
21981
21124
  import { useSWRConfig as useSWRConfig4 } from "swr";
21982
- function useCreateCentrifugoAdminApiServerAuthTokenCreate() {
21983
- const { mutate } = useSWRConfig4();
21984
- return async (client) => {
21985
- const result = await createCentrifugoAdminApiServerAuthTokenCreate(client);
21986
- mutate("cfg-centrifugo-admin-api-server-auth-token");
21987
- return result;
21988
- };
21989
- }
21990
- function useCreateCentrifugoAdminApiServerChannelsCreate() {
21991
- const { mutate } = useSWRConfig4();
21992
- return async (data, client) => {
21993
- const result = await createCentrifugoAdminApiServerChannelsCreate(data, client);
21994
- mutate("cfg-centrifugo-admin-api-server-channels");
21995
- return result;
21996
- };
21997
- }
21998
- function useCreateCentrifugoAdminApiServerHistoryCreate() {
21999
- const { mutate } = useSWRConfig4();
22000
- return async (data, client) => {
22001
- const result = await createCentrifugoAdminApiServerHistoryCreate(data, client);
22002
- mutate("cfg-centrifugo-admin-api-server-history");
22003
- return result;
22004
- };
22005
- }
22006
- function useCreateCentrifugoAdminApiServerInfoCreate() {
22007
- const { mutate } = useSWRConfig4();
22008
- return async (client) => {
22009
- const result = await createCentrifugoAdminApiServerInfoCreate(client);
22010
- mutate("cfg-centrifugo-admin-api-server-info");
22011
- return result;
22012
- };
22013
- }
22014
- function useCreateCentrifugoAdminApiServerPresenceCreate() {
22015
- const { mutate } = useSWRConfig4();
22016
- return async (data, client) => {
22017
- const result = await createCentrifugoAdminApiServerPresenceCreate(data, client);
22018
- mutate("cfg-centrifugo-admin-api-server-presence");
22019
- return result;
22020
- };
22021
- }
22022
- function useCreateCentrifugoAdminApiServerPresenceStatsCreate() {
22023
- const { mutate } = useSWRConfig4();
22024
- return async (data, client) => {
22025
- const result = await createCentrifugoAdminApiServerPresenceStatsCreate(data, client);
22026
- mutate("cfg-centrifugo-admin-api-server-presence-stats");
22027
- return result;
22028
- };
22029
- }
22030
21125
  function useCreateCentrifugoServerAuthTokenCreate() {
22031
21126
  const { mutate } = useSWRConfig4();
22032
21127
  return async (client) => {
@@ -22078,30 +21173,6 @@ function useCreateCentrifugoServerPresenceStatsCreate() {
22078
21173
 
22079
21174
  // src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts
22080
21175
  import useSWR2 from "swr";
22081
- function useCentrifugoAdminApiMonitorHealthRetrieve(client) {
22082
- return useSWR2(
22083
- "cfg-centrifugo-admin-api-monitor-health",
22084
- () => getCentrifugoAdminApiMonitorHealthRetrieve(client)
22085
- );
22086
- }
22087
- function useCentrifugoAdminApiMonitorOverviewRetrieve(params, client) {
22088
- return useSWR2(
22089
- params ? ["cfg-centrifugo-admin-api-monitor-overview", params] : "cfg-centrifugo-admin-api-monitor-overview",
22090
- () => getCentrifugoAdminApiMonitorOverviewRetrieve(params, client)
22091
- );
22092
- }
22093
- function useCentrifugoAdminApiMonitorPublishesRetrieve(params, client) {
22094
- return useSWR2(
22095
- params ? ["cfg-centrifugo-admin-api-monitor-publishe", params] : "cfg-centrifugo-admin-api-monitor-publishe",
22096
- () => getCentrifugoAdminApiMonitorPublishesRetrieve(params, client)
22097
- );
22098
- }
22099
- function useCentrifugoAdminApiMonitorTimelineRetrieve(params, client) {
22100
- return useSWR2(
22101
- params ? ["cfg-centrifugo-admin-api-monitor-timeline", params] : "cfg-centrifugo-admin-api-monitor-timeline",
22102
- () => getCentrifugoAdminApiMonitorTimelineRetrieve(params, client)
22103
- );
22104
- }
22105
21176
  function useCentrifugoMonitorHealthRetrieve(client) {
22106
21177
  return useSWR2(
22107
21178
  "cfg-centrifugo-monitor-health",
@@ -22129,38 +21200,6 @@ function useCentrifugoMonitorTimelineRetrieve(params, client) {
22129
21200
 
22130
21201
  // src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts
22131
21202
  import { useSWRConfig as useSWRConfig5 } from "swr";
22132
- function useCreateCentrifugoAdminApiTestingConnectionTokenCreate() {
22133
- const { mutate } = useSWRConfig5();
22134
- return async (data, client) => {
22135
- const result = await createCentrifugoAdminApiTestingConnectionTokenCreate(data, client);
22136
- mutate("cfg-centrifugo-admin-api-testing-connection-token");
22137
- return result;
22138
- };
22139
- }
22140
- function useCreateCentrifugoAdminApiTestingPublishTestCreate() {
22141
- const { mutate } = useSWRConfig5();
22142
- return async (data, client) => {
22143
- const result = await createCentrifugoAdminApiTestingPublishTestCreate(data, client);
22144
- mutate("cfg-centrifugo-admin-api-testing-publish-test");
22145
- return result;
22146
- };
22147
- }
22148
- function useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate() {
22149
- const { mutate } = useSWRConfig5();
22150
- return async (data, client) => {
22151
- const result = await createCentrifugoAdminApiTestingPublishWithLoggingCreate(data, client);
22152
- mutate("cfg-centrifugo-admin-api-testing-publish-with-logging");
22153
- return result;
22154
- };
22155
- }
22156
- function useCreateCentrifugoAdminApiTestingSendAckCreate() {
22157
- const { mutate } = useSWRConfig5();
22158
- return async (data, client) => {
22159
- const result = await createCentrifugoAdminApiTestingSendAckCreate(data, client);
22160
- mutate("cfg-centrifugo-admin-api-testing-send-ack");
22161
- return result;
22162
- };
22163
- }
22164
21203
  function useCreateCentrifugoTestingConnectionTokenCreate() {
22165
21204
  const { mutate } = useSWRConfig5();
22166
21205
  return async (data, client) => {
@@ -22253,12 +21292,27 @@ function useDashboardApiChartsTrackerList(params, client) {
22253
21292
 
22254
21293
  // src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_commands.ts
22255
21294
  import useSWR6 from "swr";
21295
+ import { useSWRConfig as useSWRConfig6 } from "swr";
22256
21296
  function useDashboardApiCommandsList(client) {
22257
21297
  return useSWR6(
22258
21298
  "cfg-dashboard-api-commands",
22259
21299
  () => getDashboardApiCommandsList(client)
22260
21300
  );
22261
21301
  }
21302
+ function useDashboardApiCommandsHelpRetrieve(id, client) {
21303
+ return useSWR6(
21304
+ ["cfg-dashboard-api-commands-help", id],
21305
+ () => getDashboardApiCommandsHelpRetrieve(id, client)
21306
+ );
21307
+ }
21308
+ function useCreateDashboardApiCommandsExecuteCreate() {
21309
+ const { mutate } = useSWRConfig6();
21310
+ return async (data, client) => {
21311
+ const result = await createDashboardApiCommandsExecuteCreate(data, client);
21312
+ mutate("cfg-dashboard-api-commands-execute");
21313
+ return result;
21314
+ };
21315
+ }
22262
21316
  function useDashboardApiCommandsSummaryRetrieve(client) {
22263
21317
  return useSWR6(
22264
21318
  "cfg-dashboard-api-commands-summary",
@@ -22312,9 +21366,9 @@ function useDashboardApiSystemMetricsRetrieve(client) {
22312
21366
  }
22313
21367
 
22314
21368
  // src/cfg/generated/_utils/hooks/cfg__leads__lead_submission.ts
22315
- import { useSWRConfig as useSWRConfig6 } from "swr";
21369
+ import { useSWRConfig as useSWRConfig7 } from "swr";
22316
21370
  function useCreateLeadsSubmitCreate() {
22317
- const { mutate } = useSWRConfig6();
21371
+ const { mutate } = useSWRConfig7();
22318
21372
  return async (data, client) => {
22319
21373
  const result = await createLeadsSubmitCreate(data, client);
22320
21374
  mutate("cfg-leads-submit");
@@ -22348,9 +21402,9 @@ function useNewsletterNewslettersRetrieve(id, client) {
22348
21402
 
22349
21403
  // src/cfg/generated/_utils/hooks/cfg__newsletter__subscriptions.ts
22350
21404
  import useSWR12 from "swr";
22351
- import { useSWRConfig as useSWRConfig7 } from "swr";
21405
+ import { useSWRConfig as useSWRConfig8 } from "swr";
22352
21406
  function useCreateNewsletterSubscribeCreate() {
22353
- const { mutate } = useSWRConfig7();
21407
+ const { mutate } = useSWRConfig8();
22354
21408
  return async (data, client) => {
22355
21409
  const result = await createNewsletterSubscribeCreate(data, client);
22356
21410
  mutate("cfg-newsletter-subscribe");
@@ -22364,7 +21418,7 @@ function useNewsletterSubscriptionsList(params, client) {
22364
21418
  );
22365
21419
  }
22366
21420
  function useCreateNewsletterUnsubscribeCreate() {
22367
- const { mutate } = useSWRConfig7();
21421
+ const { mutate } = useSWRConfig8();
22368
21422
  return async (data, client) => {
22369
21423
  const result = await createNewsletterUnsubscribeCreate(data, client);
22370
21424
  mutate("cfg-newsletter-unsubscribe");
@@ -22373,9 +21427,9 @@ function useCreateNewsletterUnsubscribeCreate() {
22373
21427
  }
22374
21428
 
22375
21429
  // src/cfg/generated/_utils/hooks/cfg__newsletter__testing.ts
22376
- import { useSWRConfig as useSWRConfig8 } from "swr";
21430
+ import { useSWRConfig as useSWRConfig9 } from "swr";
22377
21431
  function useCreateNewsletterTestCreate() {
22378
- const { mutate } = useSWRConfig8();
21432
+ const { mutate } = useSWRConfig9();
22379
21433
  return async (data, client) => {
22380
21434
  const result = await createNewsletterTestCreate(data, client);
22381
21435
  mutate("cfg-newsletter-test");
@@ -22385,7 +21439,7 @@ function useCreateNewsletterTestCreate() {
22385
21439
 
22386
21440
  // src/cfg/generated/_utils/hooks/cfg__accounts__user_profile.ts
22387
21441
  import useSWR13 from "swr";
22388
- import { useSWRConfig as useSWRConfig9 } from "swr";
21442
+ import { useSWRConfig as useSWRConfig10 } from "swr";
22389
21443
  function useAccountsProfileRetrieve(client) {
22390
21444
  return useSWR13(
22391
21445
  "cfg-accounts-profile",
@@ -22393,7 +21447,7 @@ function useAccountsProfileRetrieve(client) {
22393
21447
  );
22394
21448
  }
22395
21449
  function useCreateAccountsProfileAvatarCreate() {
22396
- const { mutate } = useSWRConfig9();
21450
+ const { mutate } = useSWRConfig10();
22397
21451
  return async (data, client) => {
22398
21452
  const result = await createAccountsProfileAvatarCreate(data, client);
22399
21453
  mutate("cfg-accounts-profile-avatar");
@@ -22401,7 +21455,7 @@ function useCreateAccountsProfileAvatarCreate() {
22401
21455
  };
22402
21456
  }
22403
21457
  function usePartialUpdateAccountsProfilePartialUpdate() {
22404
- const { mutate } = useSWRConfig9();
21458
+ const { mutate } = useSWRConfig10();
22405
21459
  return async (data, client) => {
22406
21460
  const result = await partialUpdateAccountsProfilePartialUpdate(data, client);
22407
21461
  mutate("cfg-accounts-profile-partial");
@@ -22409,7 +21463,7 @@ function usePartialUpdateAccountsProfilePartialUpdate() {
22409
21463
  };
22410
21464
  }
22411
21465
  function usePartialUpdateAccountsProfilePartialPartialUpdate() {
22412
- const { mutate } = useSWRConfig9();
21466
+ const { mutate } = useSWRConfig10();
22413
21467
  return async (data, client) => {
22414
21468
  const result = await partialUpdateAccountsProfilePartialPartialUpdate(data, client);
22415
21469
  mutate("cfg-accounts-profile-partial-partial");
@@ -22417,7 +21471,7 @@ function usePartialUpdateAccountsProfilePartialPartialUpdate() {
22417
21471
  };
22418
21472
  }
22419
21473
  function useUpdateAccountsProfileUpdateUpdate() {
22420
- const { mutate } = useSWRConfig9();
21474
+ const { mutate } = useSWRConfig10();
22421
21475
  return async (data, client) => {
22422
21476
  const result = await updateAccountsProfileUpdateUpdate(data, client);
22423
21477
  mutate("cfg-accounts-profile");
@@ -22425,7 +21479,7 @@ function useUpdateAccountsProfileUpdateUpdate() {
22425
21479
  };
22426
21480
  }
22427
21481
  function usePartialUpdateAccountsProfileUpdatePartialUpdate() {
22428
- const { mutate } = useSWRConfig9();
21482
+ const { mutate } = useSWRConfig10();
22429
21483
  return async (data, client) => {
22430
21484
  const result = await partialUpdateAccountsProfileUpdatePartialUpdate(data, client);
22431
21485
  mutate("cfg-accounts-profile-partial");
@@ -22434,9 +21488,9 @@ function usePartialUpdateAccountsProfileUpdatePartialUpdate() {
22434
21488
  }
22435
21489
 
22436
21490
  // src/cfg/generated/_utils/hooks/cfg__accounts.ts
22437
- import { useSWRConfig as useSWRConfig10 } from "swr";
21491
+ import { useSWRConfig as useSWRConfig11 } from "swr";
22438
21492
  function useCreateAccountsOtpRequestCreate() {
22439
- const { mutate } = useSWRConfig10();
21493
+ const { mutate } = useSWRConfig11();
22440
21494
  return async (data, client) => {
22441
21495
  const result = await createAccountsOtpRequestCreate(data, client);
22442
21496
  mutate("cfg-accounts-otp-request");
@@ -22444,7 +21498,7 @@ function useCreateAccountsOtpRequestCreate() {
22444
21498
  };
22445
21499
  }
22446
21500
  function useCreateAccountsOtpVerifyCreate() {
22447
- const { mutate } = useSWRConfig10();
21501
+ const { mutate } = useSWRConfig11();
22448
21502
  return async (data, client) => {
22449
21503
  const result = await createAccountsOtpVerifyCreate(data, client);
22450
21504
  mutate("cfg-accounts-otp-verify");
@@ -22454,12 +21508,6 @@ function useCreateAccountsOtpVerifyCreate() {
22454
21508
 
22455
21509
  // src/cfg/generated/_utils/hooks/cfg__centrifugo.ts
22456
21510
  import useSWR14 from "swr";
22457
- function useCentrifugoAdminApiMonitorChannelsRetrieve(client) {
22458
- return useSWR14(
22459
- "cfg-centrifugo-admin-api-monitor-channel",
22460
- () => getCentrifugoAdminApiMonitorChannelsRetrieve(client)
22461
- );
22462
- }
22463
21511
  function useCentrifugoMonitorChannelsRetrieve(client) {
22464
21512
  return useSWR14(
22465
21513
  "cfg-centrifugo-monitor-channel",
@@ -22505,7 +21553,7 @@ function useHealthDrfQuickRetrieve(client) {
22505
21553
 
22506
21554
  // src/cfg/generated/_utils/hooks/cfg__knowbase.ts
22507
21555
  import useSWR17 from "swr";
22508
- import { useSWRConfig as useSWRConfig11 } from "swr";
21556
+ import { useSWRConfig as useSWRConfig12 } from "swr";
22509
21557
  function useKnowbaseAdminChatList(params, client) {
22510
21558
  return useSWR17(
22511
21559
  params ? ["cfg-knowbase-admin-chat", params] : "cfg-knowbase-admin-chat",
@@ -22513,7 +21561,7 @@ function useKnowbaseAdminChatList(params, client) {
22513
21561
  );
22514
21562
  }
22515
21563
  function useCreateKnowbaseAdminChatCreate() {
22516
- const { mutate } = useSWRConfig11();
21564
+ const { mutate } = useSWRConfig12();
22517
21565
  return async (data, client) => {
22518
21566
  const result = await createKnowbaseAdminChatCreate(data, client);
22519
21567
  mutate("cfg-knowbase-admin-chat");
@@ -22527,7 +21575,7 @@ function useKnowbaseAdminChatRetrieve(id, client) {
22527
21575
  );
22528
21576
  }
22529
21577
  function useUpdateKnowbaseAdminChatUpdate() {
22530
- const { mutate } = useSWRConfig11();
21578
+ const { mutate } = useSWRConfig12();
22531
21579
  return async (id, data, client) => {
22532
21580
  const result = await updateKnowbaseAdminChatUpdate(id, data, client);
22533
21581
  mutate("cfg-knowbase-admin-chat");
@@ -22535,7 +21583,7 @@ function useUpdateKnowbaseAdminChatUpdate() {
22535
21583
  };
22536
21584
  }
22537
21585
  function usePartialUpdateKnowbaseAdminChatPartialUpdate() {
22538
- const { mutate } = useSWRConfig11();
21586
+ const { mutate } = useSWRConfig12();
22539
21587
  return async (id, data, client) => {
22540
21588
  const result = await partialUpdateKnowbaseAdminChatPartialUpdate(id, data, client);
22541
21589
  mutate("cfg-knowbase-admin-chat-partial");
@@ -22543,7 +21591,7 @@ function usePartialUpdateKnowbaseAdminChatPartialUpdate() {
22543
21591
  };
22544
21592
  }
22545
21593
  function useDeleteKnowbaseAdminChatDestroy() {
22546
- const { mutate } = useSWRConfig11();
21594
+ const { mutate } = useSWRConfig12();
22547
21595
  return async (id, client) => {
22548
21596
  const result = await deleteKnowbaseAdminChatDestroy(id, client);
22549
21597
  mutate("cfg-knowbase-admin-chat");
@@ -22557,7 +21605,7 @@ function useKnowbaseAdminChatHistoryRetrieve(id, client) {
22557
21605
  );
22558
21606
  }
22559
21607
  function useCreateKnowbaseAdminChatQueryCreate() {
22560
- const { mutate } = useSWRConfig11();
21608
+ const { mutate } = useSWRConfig12();
22561
21609
  return async (data, client) => {
22562
21610
  const result = await createKnowbaseAdminChatQueryCreate(data, client);
22563
21611
  mutate("cfg-knowbase-admin-chat-query");
@@ -22571,7 +21619,7 @@ function useKnowbaseAdminDocumentsList(params, client) {
22571
21619
  );
22572
21620
  }
22573
21621
  function useCreateKnowbaseAdminDocumentsCreate() {
22574
- const { mutate } = useSWRConfig11();
21622
+ const { mutate } = useSWRConfig12();
22575
21623
  return async (data, client) => {
22576
21624
  const result = await createKnowbaseAdminDocumentsCreate(data, client);
22577
21625
  mutate("cfg-knowbase-admin-documents");
@@ -22585,7 +21633,7 @@ function useKnowbaseAdminDocumentsRetrieve(id, client) {
22585
21633
  );
22586
21634
  }
22587
21635
  function useUpdateKnowbaseAdminDocumentsUpdate() {
22588
- const { mutate } = useSWRConfig11();
21636
+ const { mutate } = useSWRConfig12();
22589
21637
  return async (id, data, client) => {
22590
21638
  const result = await updateKnowbaseAdminDocumentsUpdate(id, data, client);
22591
21639
  mutate("cfg-knowbase-admin-documents");
@@ -22594,7 +21642,7 @@ function useUpdateKnowbaseAdminDocumentsUpdate() {
22594
21642
  };
22595
21643
  }
22596
21644
  function usePartialUpdateKnowbaseAdminDocumentsPartialUpdate() {
22597
- const { mutate } = useSWRConfig11();
21645
+ const { mutate } = useSWRConfig12();
22598
21646
  return async (id, data, client) => {
22599
21647
  const result = await partialUpdateKnowbaseAdminDocumentsPartialUpdate(id, data, client);
22600
21648
  mutate("cfg-knowbase-admin-documents-partial");
@@ -22602,7 +21650,7 @@ function usePartialUpdateKnowbaseAdminDocumentsPartialUpdate() {
22602
21650
  };
22603
21651
  }
22604
21652
  function useDeleteKnowbaseAdminDocumentsDestroy() {
22605
- const { mutate } = useSWRConfig11();
21653
+ const { mutate } = useSWRConfig12();
22606
21654
  return async (id, client) => {
22607
21655
  const result = await deleteKnowbaseAdminDocumentsDestroy(id, client);
22608
21656
  mutate("cfg-knowbase-admin-documents");
@@ -22611,7 +21659,7 @@ function useDeleteKnowbaseAdminDocumentsDestroy() {
22611
21659
  };
22612
21660
  }
22613
21661
  function useCreateKnowbaseAdminDocumentsReprocessCreate() {
22614
- const { mutate } = useSWRConfig11();
21662
+ const { mutate } = useSWRConfig12();
22615
21663
  return async (id, data, client) => {
22616
21664
  const result = await createKnowbaseAdminDocumentsReprocessCreate(id, data, client);
22617
21665
  mutate("cfg-knowbase-admin-documents-reprocess");
@@ -22637,7 +21685,7 @@ function useKnowbaseAdminSessionsList(params, client) {
22637
21685
  );
22638
21686
  }
22639
21687
  function useCreateKnowbaseAdminSessionsCreate() {
22640
- const { mutate } = useSWRConfig11();
21688
+ const { mutate } = useSWRConfig12();
22641
21689
  return async (data, client) => {
22642
21690
  const result = await createKnowbaseAdminSessionsCreate(data, client);
22643
21691
  mutate("cfg-knowbase-admin-sessions");
@@ -22651,7 +21699,7 @@ function useKnowbaseAdminSessionsRetrieve(id, client) {
22651
21699
  );
22652
21700
  }
22653
21701
  function useUpdateKnowbaseAdminSessionsUpdate() {
22654
- const { mutate } = useSWRConfig11();
21702
+ const { mutate } = useSWRConfig12();
22655
21703
  return async (id, data, client) => {
22656
21704
  const result = await updateKnowbaseAdminSessionsUpdate(id, data, client);
22657
21705
  mutate("cfg-knowbase-admin-sessions");
@@ -22660,7 +21708,7 @@ function useUpdateKnowbaseAdminSessionsUpdate() {
22660
21708
  };
22661
21709
  }
22662
21710
  function usePartialUpdateKnowbaseAdminSessionsPartialUpdate() {
22663
- const { mutate } = useSWRConfig11();
21711
+ const { mutate } = useSWRConfig12();
22664
21712
  return async (id, data, client) => {
22665
21713
  const result = await partialUpdateKnowbaseAdminSessionsPartialUpdate(id, data, client);
22666
21714
  mutate("cfg-knowbase-admin-sessions-partial");
@@ -22668,7 +21716,7 @@ function usePartialUpdateKnowbaseAdminSessionsPartialUpdate() {
22668
21716
  };
22669
21717
  }
22670
21718
  function useDeleteKnowbaseAdminSessionsDestroy() {
22671
- const { mutate } = useSWRConfig11();
21719
+ const { mutate } = useSWRConfig12();
22672
21720
  return async (id, client) => {
22673
21721
  const result = await deleteKnowbaseAdminSessionsDestroy(id, client);
22674
21722
  mutate("cfg-knowbase-admin-sessions");
@@ -22677,7 +21725,7 @@ function useDeleteKnowbaseAdminSessionsDestroy() {
22677
21725
  };
22678
21726
  }
22679
21727
  function useCreateKnowbaseAdminSessionsActivateCreate() {
22680
- const { mutate } = useSWRConfig11();
21728
+ const { mutate } = useSWRConfig12();
22681
21729
  return async (id, data, client) => {
22682
21730
  const result = await createKnowbaseAdminSessionsActivateCreate(id, data, client);
22683
21731
  mutate("cfg-knowbase-admin-sessions-activate");
@@ -22685,7 +21733,7 @@ function useCreateKnowbaseAdminSessionsActivateCreate() {
22685
21733
  };
22686
21734
  }
22687
21735
  function useCreateKnowbaseAdminSessionsArchiveCreate() {
22688
- const { mutate } = useSWRConfig11();
21736
+ const { mutate } = useSWRConfig12();
22689
21737
  return async (id, data, client) => {
22690
21738
  const result = await createKnowbaseAdminSessionsArchiveCreate(id, data, client);
22691
21739
  mutate("cfg-knowbase-admin-sessions-archive");
@@ -22723,7 +21771,7 @@ function useKnowbaseSystemArchivesList(params, client) {
22723
21771
  );
22724
21772
  }
22725
21773
  function useCreateKnowbaseSystemArchivesCreate() {
22726
- const { mutate } = useSWRConfig11();
21774
+ const { mutate } = useSWRConfig12();
22727
21775
  return async (data, client) => {
22728
21776
  const result = await createKnowbaseSystemArchivesCreate(data, client);
22729
21777
  mutate("cfg-knowbase-system-archives");
@@ -22737,7 +21785,7 @@ function useKnowbaseSystemArchivesRetrieve(id, client) {
22737
21785
  );
22738
21786
  }
22739
21787
  function useUpdateKnowbaseSystemArchivesUpdate() {
22740
- const { mutate } = useSWRConfig11();
21788
+ const { mutate } = useSWRConfig12();
22741
21789
  return async (id, data, client) => {
22742
21790
  const result = await updateKnowbaseSystemArchivesUpdate(id, data, client);
22743
21791
  mutate("cfg-knowbase-system-archives");
@@ -22746,7 +21794,7 @@ function useUpdateKnowbaseSystemArchivesUpdate() {
22746
21794
  };
22747
21795
  }
22748
21796
  function usePartialUpdateKnowbaseSystemArchivesPartialUpdate() {
22749
- const { mutate } = useSWRConfig11();
21797
+ const { mutate } = useSWRConfig12();
22750
21798
  return async (id, data, client) => {
22751
21799
  const result = await partialUpdateKnowbaseSystemArchivesPartialUpdate(id, data, client);
22752
21800
  mutate("cfg-knowbase-system-archives-partial");
@@ -22754,7 +21802,7 @@ function usePartialUpdateKnowbaseSystemArchivesPartialUpdate() {
22754
21802
  };
22755
21803
  }
22756
21804
  function useDeleteKnowbaseSystemArchivesDestroy() {
22757
- const { mutate } = useSWRConfig11();
21805
+ const { mutate } = useSWRConfig12();
22758
21806
  return async (id, client) => {
22759
21807
  const result = await deleteKnowbaseSystemArchivesDestroy(id, client);
22760
21808
  mutate("cfg-knowbase-system-archives");
@@ -22775,7 +21823,7 @@ function useKnowbaseSystemArchivesItemsList(id, params, client) {
22775
21823
  );
22776
21824
  }
22777
21825
  function useCreateKnowbaseSystemArchivesSearchCreate() {
22778
- const { mutate } = useSWRConfig11();
21826
+ const { mutate } = useSWRConfig12();
22779
21827
  return async (id, data, params, client) => {
22780
21828
  const result = await createKnowbaseSystemArchivesSearchCreate(id, data, params, client);
22781
21829
  mutate("cfg-knowbase-system-archives-search");
@@ -22783,7 +21831,7 @@ function useCreateKnowbaseSystemArchivesSearchCreate() {
22783
21831
  };
22784
21832
  }
22785
21833
  function useCreateKnowbaseSystemArchivesRevectorizeCreate() {
22786
- const { mutate } = useSWRConfig11();
21834
+ const { mutate } = useSWRConfig12();
22787
21835
  return async (data, client) => {
22788
21836
  const result = await createKnowbaseSystemArchivesRevectorizeCreate(data, client);
22789
21837
  mutate("cfg-knowbase-system-archives-revectorize");
@@ -22809,7 +21857,7 @@ function useKnowbaseSystemChunksList(params, client) {
22809
21857
  );
22810
21858
  }
22811
21859
  function useCreateKnowbaseSystemChunksCreate() {
22812
- const { mutate } = useSWRConfig11();
21860
+ const { mutate } = useSWRConfig12();
22813
21861
  return async (data, client) => {
22814
21862
  const result = await createKnowbaseSystemChunksCreate(data, client);
22815
21863
  mutate("cfg-knowbase-system-chunks");
@@ -22823,7 +21871,7 @@ function useKnowbaseSystemChunksRetrieve(id, client) {
22823
21871
  );
22824
21872
  }
22825
21873
  function useUpdateKnowbaseSystemChunksUpdate() {
22826
- const { mutate } = useSWRConfig11();
21874
+ const { mutate } = useSWRConfig12();
22827
21875
  return async (id, data, client) => {
22828
21876
  const result = await updateKnowbaseSystemChunksUpdate(id, data, client);
22829
21877
  mutate("cfg-knowbase-system-chunks");
@@ -22832,7 +21880,7 @@ function useUpdateKnowbaseSystemChunksUpdate() {
22832
21880
  };
22833
21881
  }
22834
21882
  function usePartialUpdateKnowbaseSystemChunksPartialUpdate() {
22835
- const { mutate } = useSWRConfig11();
21883
+ const { mutate } = useSWRConfig12();
22836
21884
  return async (id, data, client) => {
22837
21885
  const result = await partialUpdateKnowbaseSystemChunksPartialUpdate(id, data, client);
22838
21886
  mutate("cfg-knowbase-system-chunks-partial");
@@ -22840,7 +21888,7 @@ function usePartialUpdateKnowbaseSystemChunksPartialUpdate() {
22840
21888
  };
22841
21889
  }
22842
21890
  function useDeleteKnowbaseSystemChunksDestroy() {
22843
- const { mutate } = useSWRConfig11();
21891
+ const { mutate } = useSWRConfig12();
22844
21892
  return async (id, client) => {
22845
21893
  const result = await deleteKnowbaseSystemChunksDestroy(id, client);
22846
21894
  mutate("cfg-knowbase-system-chunks");
@@ -22855,7 +21903,7 @@ function useKnowbaseSystemChunksContextRetrieve(id, client) {
22855
21903
  );
22856
21904
  }
22857
21905
  function useCreateKnowbaseSystemChunksVectorizeCreate() {
22858
- const { mutate } = useSWRConfig11();
21906
+ const { mutate } = useSWRConfig12();
22859
21907
  return async (id, data, client) => {
22860
21908
  const result = await createKnowbaseSystemChunksVectorizeCreate(id, data, client);
22861
21909
  mutate("cfg-knowbase-system-chunks-vectorize");
@@ -22869,7 +21917,7 @@ function useKnowbaseSystemItemsList(params, client) {
22869
21917
  );
22870
21918
  }
22871
21919
  function useCreateKnowbaseSystemItemsCreate() {
22872
- const { mutate } = useSWRConfig11();
21920
+ const { mutate } = useSWRConfig12();
22873
21921
  return async (data, client) => {
22874
21922
  const result = await createKnowbaseSystemItemsCreate(data, client);
22875
21923
  mutate("cfg-knowbase-system-items");
@@ -22883,7 +21931,7 @@ function useKnowbaseSystemItemsRetrieve(id, client) {
22883
21931
  );
22884
21932
  }
22885
21933
  function useUpdateKnowbaseSystemItemsUpdate() {
22886
- const { mutate } = useSWRConfig11();
21934
+ const { mutate } = useSWRConfig12();
22887
21935
  return async (id, data, client) => {
22888
21936
  const result = await updateKnowbaseSystemItemsUpdate(id, data, client);
22889
21937
  mutate("cfg-knowbase-system-items");
@@ -22892,7 +21940,7 @@ function useUpdateKnowbaseSystemItemsUpdate() {
22892
21940
  };
22893
21941
  }
22894
21942
  function usePartialUpdateKnowbaseSystemItemsPartialUpdate() {
22895
- const { mutate } = useSWRConfig11();
21943
+ const { mutate } = useSWRConfig12();
22896
21944
  return async (id, data, client) => {
22897
21945
  const result = await partialUpdateKnowbaseSystemItemsPartialUpdate(id, data, client);
22898
21946
  mutate("cfg-knowbase-system-items-partial");
@@ -22900,7 +21948,7 @@ function usePartialUpdateKnowbaseSystemItemsPartialUpdate() {
22900
21948
  };
22901
21949
  }
22902
21950
  function useDeleteKnowbaseSystemItemsDestroy() {
22903
- const { mutate } = useSWRConfig11();
21951
+ const { mutate } = useSWRConfig12();
22904
21952
  return async (id, client) => {
22905
21953
  const result = await deleteKnowbaseSystemItemsDestroy(id, client);
22906
21954
  mutate("cfg-knowbase-system-items");
@@ -22923,7 +21971,7 @@ function useKnowbaseSystemItemsContentRetrieve(id, client) {
22923
21971
 
22924
21972
  // src/cfg/generated/_utils/hooks/cfg__leads.ts
22925
21973
  import useSWR18 from "swr";
22926
- import { useSWRConfig as useSWRConfig12 } from "swr";
21974
+ import { useSWRConfig as useSWRConfig13 } from "swr";
22927
21975
  function useLeadsList(params, client) {
22928
21976
  return useSWR18(
22929
21977
  params ? ["cfg-leads", params] : "cfg-leads",
@@ -22931,7 +21979,7 @@ function useLeadsList(params, client) {
22931
21979
  );
22932
21980
  }
22933
21981
  function useCreateLeadsCreate() {
22934
- const { mutate } = useSWRConfig12();
21982
+ const { mutate } = useSWRConfig13();
22935
21983
  return async (data, client) => {
22936
21984
  const result = await createLeadsCreate(data, client);
22937
21985
  mutate("cfg-leads");
@@ -22945,7 +21993,7 @@ function useLeadsRetrieve(id, client) {
22945
21993
  );
22946
21994
  }
22947
21995
  function useUpdateLeadsUpdate() {
22948
- const { mutate } = useSWRConfig12();
21996
+ const { mutate } = useSWRConfig13();
22949
21997
  return async (id, data, client) => {
22950
21998
  const result = await updateLeadsUpdate(id, data, client);
22951
21999
  mutate("cfg-leads");
@@ -22954,7 +22002,7 @@ function useUpdateLeadsUpdate() {
22954
22002
  };
22955
22003
  }
22956
22004
  function usePartialUpdateLeadsPartialUpdate() {
22957
- const { mutate } = useSWRConfig12();
22005
+ const { mutate } = useSWRConfig13();
22958
22006
  return async (id, data, client) => {
22959
22007
  const result = await partialUpdateLeadsPartialUpdate(id, data, client);
22960
22008
  mutate("cfg-leads-partial");
@@ -22962,7 +22010,7 @@ function usePartialUpdateLeadsPartialUpdate() {
22962
22010
  };
22963
22011
  }
22964
22012
  function useDeleteLeadsDestroy() {
22965
- const { mutate } = useSWRConfig12();
22013
+ const { mutate } = useSWRConfig13();
22966
22014
  return async (id, client) => {
22967
22015
  const result = await deleteLeadsDestroy(id, client);
22968
22016
  mutate("cfg-leads");
@@ -22972,9 +22020,9 @@ function useDeleteLeadsDestroy() {
22972
22020
  }
22973
22021
 
22974
22022
  // src/cfg/generated/_utils/hooks/cfg__newsletter.ts
22975
- import { useSWRConfig as useSWRConfig13 } from "swr";
22023
+ import { useSWRConfig as useSWRConfig14 } from "swr";
22976
22024
  function usePartialUpdateNewsletterCampaignsPartialUpdate() {
22977
- const { mutate } = useSWRConfig13();
22025
+ const { mutate } = useSWRConfig14();
22978
22026
  return async (id, data, client) => {
22979
22027
  const result = await partialUpdateNewsletterCampaignsPartialUpdate(id, data, client);
22980
22028
  mutate("cfg-newsletter-campaigns-partial");
@@ -22982,7 +22030,7 @@ function usePartialUpdateNewsletterCampaignsPartialUpdate() {
22982
22030
  };
22983
22031
  }
22984
22032
  function useUpdateNewsletterUnsubscribeUpdate() {
22985
- const { mutate } = useSWRConfig13();
22033
+ const { mutate } = useSWRConfig14();
22986
22034
  return async (data, client) => {
22987
22035
  const result = await updateNewsletterUnsubscribeUpdate(data, client);
22988
22036
  mutate("cfg-newsletter-unsubscribe");
@@ -22990,7 +22038,7 @@ function useUpdateNewsletterUnsubscribeUpdate() {
22990
22038
  };
22991
22039
  }
22992
22040
  function usePartialUpdateNewsletterUnsubscribePartialUpdate() {
22993
- const { mutate } = useSWRConfig13();
22041
+ const { mutate } = useSWRConfig14();
22994
22042
  return async (data, client) => {
22995
22043
  const result = await partialUpdateNewsletterUnsubscribePartialUpdate(data, client);
22996
22044
  mutate("cfg-newsletter-unsubscribe-partial");
@@ -23000,7 +22048,7 @@ function usePartialUpdateNewsletterUnsubscribePartialUpdate() {
23000
22048
 
23001
22049
  // src/cfg/generated/_utils/hooks/cfg__payments.ts
23002
22050
  import useSWR19 from "swr";
23003
- import { useSWRConfig as useSWRConfig14 } from "swr";
22051
+ import { useSWRConfig as useSWRConfig15 } from "swr";
23004
22052
  function usePaymentsBalanceRetrieve(client) {
23005
22053
  return useSWR19(
23006
22054
  "cfg-payments-balance",
@@ -23026,7 +22074,7 @@ function usePaymentsPaymentsRetrieve(id, client) {
23026
22074
  );
23027
22075
  }
23028
22076
  function useCreatePaymentsPaymentsConfirmCreate() {
23029
- const { mutate } = useSWRConfig14();
22077
+ const { mutate } = useSWRConfig15();
23030
22078
  return async (id, client) => {
23031
22079
  const result = await createPaymentsPaymentsConfirmCreate(id, client);
23032
22080
  mutate("cfg-payments-payments-confirm");
@@ -23040,7 +22088,7 @@ function usePaymentsPaymentsStatusRetrieve(id, client) {
23040
22088
  );
23041
22089
  }
23042
22090
  function useCreatePaymentsPaymentsCreateCreate() {
23043
- const { mutate } = useSWRConfig14();
22091
+ const { mutate } = useSWRConfig15();
23044
22092
  return async (client) => {
23045
22093
  const result = await createPaymentsPaymentsCreateCreate(client);
23046
22094
  mutate("cfg-payments-payments");
@@ -23056,7 +22104,7 @@ function usePaymentsTransactionsList(params, client) {
23056
22104
 
23057
22105
  // src/cfg/generated/_utils/hooks/cfg__support.ts
23058
22106
  import useSWR20 from "swr";
23059
- import { useSWRConfig as useSWRConfig15 } from "swr";
22107
+ import { useSWRConfig as useSWRConfig16 } from "swr";
23060
22108
  function useSupportTicketsList(params, client) {
23061
22109
  return useSWR20(
23062
22110
  params ? ["cfg-support-tickets", params] : "cfg-support-tickets",
@@ -23064,7 +22112,7 @@ function useSupportTicketsList(params, client) {
23064
22112
  );
23065
22113
  }
23066
22114
  function useCreateSupportTicketsCreate() {
23067
- const { mutate } = useSWRConfig15();
22115
+ const { mutate } = useSWRConfig16();
23068
22116
  return async (data, client) => {
23069
22117
  const result = await createSupportTicketsCreate(data, client);
23070
22118
  mutate("cfg-support-tickets");
@@ -23078,7 +22126,7 @@ function useSupportTicketsMessagesList(ticket_uuid, params, client) {
23078
22126
  );
23079
22127
  }
23080
22128
  function useCreateSupportTicketsMessagesCreate() {
23081
- const { mutate } = useSWRConfig15();
22129
+ const { mutate } = useSWRConfig16();
23082
22130
  return async (ticket_uuid, data, client) => {
23083
22131
  const result = await createSupportTicketsMessagesCreate(ticket_uuid, data, client);
23084
22132
  mutate("cfg-support-tickets-messages");
@@ -23092,7 +22140,7 @@ function useSupportTicketsMessagesRetrieve(ticket_uuid, uuid, client) {
23092
22140
  );
23093
22141
  }
23094
22142
  function useUpdateSupportTicketsMessagesUpdate() {
23095
- const { mutate } = useSWRConfig15();
22143
+ const { mutate } = useSWRConfig16();
23096
22144
  return async (ticket_uuid, uuid, data, client) => {
23097
22145
  const result = await updateSupportTicketsMessagesUpdate(ticket_uuid, uuid, data, client);
23098
22146
  mutate("cfg-support-tickets-messages");
@@ -23101,7 +22149,7 @@ function useUpdateSupportTicketsMessagesUpdate() {
23101
22149
  };
23102
22150
  }
23103
22151
  function usePartialUpdateSupportTicketsMessagesPartialUpdate() {
23104
- const { mutate } = useSWRConfig15();
22152
+ const { mutate } = useSWRConfig16();
23105
22153
  return async (ticket_uuid, uuid, data, client) => {
23106
22154
  const result = await partialUpdateSupportTicketsMessagesPartialUpdate(ticket_uuid, uuid, data, client);
23107
22155
  mutate("cfg-support-tickets-messages-partial");
@@ -23109,7 +22157,7 @@ function usePartialUpdateSupportTicketsMessagesPartialUpdate() {
23109
22157
  };
23110
22158
  }
23111
22159
  function useDeleteSupportTicketsMessagesDestroy() {
23112
- const { mutate } = useSWRConfig15();
22160
+ const { mutate } = useSWRConfig16();
23113
22161
  return async (ticket_uuid, uuid, client) => {
23114
22162
  const result = await deleteSupportTicketsMessagesDestroy(ticket_uuid, uuid, client);
23115
22163
  mutate("cfg-support-tickets-messages");
@@ -23124,7 +22172,7 @@ function useSupportTicketsRetrieve(uuid, client) {
23124
22172
  );
23125
22173
  }
23126
22174
  function useUpdateSupportTicketsUpdate() {
23127
- const { mutate } = useSWRConfig15();
22175
+ const { mutate } = useSWRConfig16();
23128
22176
  return async (uuid, data, client) => {
23129
22177
  const result = await updateSupportTicketsUpdate(uuid, data, client);
23130
22178
  mutate("cfg-support-tickets");
@@ -23133,7 +22181,7 @@ function useUpdateSupportTicketsUpdate() {
23133
22181
  };
23134
22182
  }
23135
22183
  function usePartialUpdateSupportTicketsPartialUpdate() {
23136
- const { mutate } = useSWRConfig15();
22184
+ const { mutate } = useSWRConfig16();
23137
22185
  return async (uuid, data, client) => {
23138
22186
  const result = await partialUpdateSupportTicketsPartialUpdate(uuid, data, client);
23139
22187
  mutate("cfg-support-tickets-partial");
@@ -23141,7 +22189,7 @@ function usePartialUpdateSupportTicketsPartialUpdate() {
23141
22189
  };
23142
22190
  }
23143
22191
  function useDeleteSupportTicketsDestroy() {
23144
- const { mutate } = useSWRConfig15();
22192
+ const { mutate } = useSWRConfig16();
23145
22193
  return async (uuid, client) => {
23146
22194
  const result = await deleteSupportTicketsDestroy(uuid, client);
23147
22195
  mutate("cfg-support-tickets");
@@ -23152,9 +22200,9 @@ function useDeleteSupportTicketsDestroy() {
23152
22200
 
23153
22201
  // src/cfg/generated/_utils/hooks/cfg__tasks.ts
23154
22202
  import useSWR21 from "swr";
23155
- import { useSWRConfig as useSWRConfig16 } from "swr";
22203
+ import { useSWRConfig as useSWRConfig17 } from "swr";
23156
22204
  function useCreateTasksApiClearCreate() {
23157
- const { mutate } = useSWRConfig16();
22205
+ const { mutate } = useSWRConfig17();
23158
22206
  return async (data, client) => {
23159
22207
  const result = await createTasksApiClearCreate(data, client);
23160
22208
  mutate("cfg-tasks-api-clear");
@@ -23162,7 +22210,7 @@ function useCreateTasksApiClearCreate() {
23162
22210
  };
23163
22211
  }
23164
22212
  function useCreateTasksApiClearQueuesCreate() {
23165
- const { mutate } = useSWRConfig16();
22213
+ const { mutate } = useSWRConfig17();
23166
22214
  return async (data, client) => {
23167
22215
  const result = await createTasksApiClearQueuesCreate(data, client);
23168
22216
  mutate("cfg-tasks-api-clear-queues");
@@ -23170,7 +22218,7 @@ function useCreateTasksApiClearQueuesCreate() {
23170
22218
  };
23171
22219
  }
23172
22220
  function useCreateTasksApiPurgeFailedCreate() {
23173
- const { mutate } = useSWRConfig16();
22221
+ const { mutate } = useSWRConfig17();
23174
22222
  return async (data, client) => {
23175
22223
  const result = await createTasksApiPurgeFailedCreate(data, client);
23176
22224
  mutate("cfg-tasks-api-purge-failed");
@@ -23178,7 +22226,7 @@ function useCreateTasksApiPurgeFailedCreate() {
23178
22226
  };
23179
22227
  }
23180
22228
  function useCreateTasksApiQueuesManageCreate() {
23181
- const { mutate } = useSWRConfig16();
22229
+ const { mutate } = useSWRConfig17();
23182
22230
  return async (data, client) => {
23183
22231
  const result = await createTasksApiQueuesManageCreate(data, client);
23184
22232
  mutate("cfg-tasks-api-queues-manage");
@@ -23192,7 +22240,7 @@ function useTasksApiQueuesStatusRetrieve(client) {
23192
22240
  );
23193
22241
  }
23194
22242
  function useCreateTasksApiSimulateCreate() {
23195
- const { mutate } = useSWRConfig16();
22243
+ const { mutate } = useSWRConfig17();
23196
22244
  return async (data, client) => {
23197
22245
  const result = await createTasksApiSimulateCreate(data, client);
23198
22246
  mutate("cfg-tasks-api-simulate");
@@ -23218,7 +22266,7 @@ function useTasksApiWorkersListRetrieve(client) {
23218
22266
  );
23219
22267
  }
23220
22268
  function useCreateTasksApiWorkersManageCreate() {
23221
- const { mutate } = useSWRConfig16();
22269
+ const { mutate } = useSWRConfig17();
23222
22270
  return async (data, client) => {
23223
22271
  const result = await createTasksApiWorkersManageCreate(data, client);
23224
22272
  mutate("cfg-tasks-api-workers-manage");
@@ -24335,11 +23383,11 @@ var NewsletterService = class extends BaseClient {
24335
23383
 
24336
23384
  // src/cfg/contexts/AccountsContext.tsx
24337
23385
  import { createContext, useContext } from "react";
24338
- import { SWRConfig, useSWRConfig as useSWRConfig17 } from "swr";
23386
+ import { SWRConfig, useSWRConfig as useSWRConfig18 } from "swr";
24339
23387
  import { jsx } from "react/jsx-runtime";
24340
23388
  var AccountsContext = createContext(void 0);
24341
23389
  function AccountsProvider({ children }) {
24342
- const { mutate } = useSWRConfig17();
23390
+ const { mutate } = useSWRConfig18();
24343
23391
  const swrConfig = {
24344
23392
  revalidateOnFocus: false,
24345
23393
  revalidateOnReconnect: false,
@@ -24423,7 +23471,7 @@ function useAccountsContext() {
24423
23471
 
24424
23472
  // src/cfg/contexts/NewsletterContext.tsx
24425
23473
  import { createContext as createContext2, useContext as useContext2 } from "react";
24426
- import { SWRConfig as SWRConfig2, useSWRConfig as useSWRConfig18 } from "swr";
23474
+ import { SWRConfig as SWRConfig2, useSWRConfig as useSWRConfig19 } from "swr";
24427
23475
  import { jsx as jsx2 } from "react/jsx-runtime";
24428
23476
  var NewsletterContext = createContext2(void 0);
24429
23477
  function NewsletterProvider({
@@ -24431,7 +23479,7 @@ function NewsletterProvider({
24431
23479
  page = 1,
24432
23480
  pageSize = 100
24433
23481
  }) {
24434
- const { mutate } = useSWRConfig18();
23482
+ const { mutate } = useSWRConfig19();
24435
23483
  const swrConfig = {
24436
23484
  revalidateOnFocus: false,
24437
23485
  revalidateOnReconnect: false,
@@ -25259,7 +24307,7 @@ function useKnowbaseSessionsContext() {
25259
24307
 
25260
24308
  // src/cfg/contexts/TasksContext.tsx
25261
24309
  import { createContext as createContext14, useContext as useContext14 } from "react";
25262
- import { useSWRConfig as useSWRConfig19 } from "swr";
24310
+ import { useSWRConfig as useSWRConfig20 } from "swr";
25263
24311
  import { jsx as jsx14 } from "react/jsx-runtime";
25264
24312
  var TasksContext = createContext14(void 0);
25265
24313
  function TasksProvider({
@@ -25267,7 +24315,7 @@ function TasksProvider({
25267
24315
  autoRefresh = false,
25268
24316
  refreshInterval = 5e3
25269
24317
  }) {
25270
- const { mutate } = useSWRConfig19();
24318
+ const { mutate } = useSWRConfig20();
25271
24319
  const {
25272
24320
  data: stats,
25273
24321
  error: statsError,
@@ -25446,16 +24494,6 @@ export {
25446
24494
  createAccountsOtpVerifyCreate,
25447
24495
  createAccountsProfileAvatarCreate,
25448
24496
  createAccountsTokenRefreshCreate,
25449
- createCentrifugoAdminApiServerAuthTokenCreate,
25450
- createCentrifugoAdminApiServerChannelsCreate,
25451
- createCentrifugoAdminApiServerHistoryCreate,
25452
- createCentrifugoAdminApiServerInfoCreate,
25453
- createCentrifugoAdminApiServerPresenceCreate,
25454
- createCentrifugoAdminApiServerPresenceStatsCreate,
25455
- createCentrifugoAdminApiTestingConnectionTokenCreate,
25456
- createCentrifugoAdminApiTestingPublishTestCreate,
25457
- createCentrifugoAdminApiTestingPublishWithLoggingCreate,
25458
- createCentrifugoAdminApiTestingSendAckCreate,
25459
24497
  createCentrifugoServerAuthTokenCreate,
25460
24498
  createCentrifugoServerChannelsCreate,
25461
24499
  createCentrifugoServerHistoryCreate,
@@ -25466,6 +24504,7 @@ export {
25466
24504
  createCentrifugoTestingPublishTestCreate,
25467
24505
  createCentrifugoTestingPublishWithLoggingCreate,
25468
24506
  createCentrifugoTestingSendAckCreate,
24507
+ createDashboardApiCommandsExecuteCreate,
25469
24508
  createKnowbaseAdminChatCreate,
25470
24509
  createKnowbaseAdminChatQueryCreate,
25471
24510
  createKnowbaseAdminDocumentsCreate,
@@ -25510,11 +24549,6 @@ export {
25510
24549
  deleteSupportTicketsMessagesDestroy,
25511
24550
  getAPIInstance,
25512
24551
  getAccountsProfileRetrieve,
25513
- getCentrifugoAdminApiMonitorChannelsRetrieve,
25514
- getCentrifugoAdminApiMonitorHealthRetrieve,
25515
- getCentrifugoAdminApiMonitorOverviewRetrieve,
25516
- getCentrifugoAdminApiMonitorPublishesRetrieve,
25517
- getCentrifugoAdminApiMonitorTimelineRetrieve,
25518
24552
  getCentrifugoMonitorChannelsRetrieve,
25519
24553
  getCentrifugoMonitorHealthRetrieve,
25520
24554
  getCentrifugoMonitorOverviewRetrieve,
@@ -25526,6 +24560,7 @@ export {
25526
24560
  getDashboardApiChartsRecentUsersList,
25527
24561
  getDashboardApiChartsRegistrationsRetrieve,
25528
24562
  getDashboardApiChartsTrackerList,
24563
+ getDashboardApiCommandsHelpRetrieve,
25529
24564
  getDashboardApiCommandsList,
25530
24565
  getDashboardApiCommandsSummaryRetrieve,
25531
24566
  getDashboardApiOverviewOverviewRetrieve,