@djangocfg/api 1.2.8 → 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.
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
  *
@@ -952,13 +801,6 @@ var CfgCentrifugo = class {
952
801
  constructor(client) {
953
802
  this.client = client;
954
803
  }
955
- /**
956
- * Get statistics per channel.
957
- */
958
- async adminApiMonitorChannelsRetrieve() {
959
- const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/channels/");
960
- return response;
961
- }
962
804
  /**
963
805
  * Get statistics per channel.
964
806
  */
@@ -10275,866 +10117,33 @@ var OPENAPI_SCHEMA = {
10275
10117
  "company": "Tech Corp",
10276
10118
  "first_name": "John",
10277
10119
  "last_name": "Doe",
10278
- "phone": "+1 (555) 123-4567",
10279
- "position": "Software Engineer"
10280
- }
10281
- }
10282
- },
10283
- "schema": {
10284
- "$ref": "#/components/schemas/UserProfileUpdateRequest"
10285
- }
10286
- },
10287
- "application/x-www-form-urlencoded": {
10288
- "schema": {
10289
- "$ref": "#/components/schemas/UserProfileUpdateRequest"
10290
- }
10291
- },
10292
- "multipart/form-data": {
10293
- "schema": {
10294
- "$ref": "#/components/schemas/UserProfileUpdateRequest"
10295
- }
10296
- }
10297
- }
10298
- },
10299
- "responses": {
10300
- "200": {
10301
- "content": {
10302
- "application/json": {
10303
- "schema": {
10304
- "$ref": "#/components/schemas/User"
10305
- }
10306
- }
10307
- },
10308
- "description": ""
10309
- },
10310
- "400": {
10311
- "content": {
10312
- "application/json": {
10313
- "schema": {
10314
- "description": "Invalid data provided."
10315
- }
10316
- }
10317
- },
10318
- "description": ""
10319
- },
10320
- "401": {
10321
- "content": {
10322
- "application/json": {
10323
- "schema": {
10324
- "description": "Authentication credentials were not provided."
10325
- }
10326
- }
10327
- },
10328
- "description": ""
10329
- }
10330
- },
10331
- "security": [
10332
- {
10333
- "jwtAuth": []
10334
- }
10335
- ],
10336
- "summary": "Partial update user profile",
10337
- "tags": [
10338
- "User Profile"
10339
- ],
10340
- "x-async-capable": false
10341
- }
10342
- },
10343
- "/cfg/accounts/profile/update/": {
10344
- "patch": {
10345
- "description": "Update the current authenticated user's profile information.",
10346
- "operationId": "cfg_accounts_profile_update_partial_update",
10347
- "requestBody": {
10348
- "content": {
10349
- "application/json": {
10350
- "examples": {
10351
- "ValidProfileUpdate": {
10352
- "summary": "Valid Profile Update",
10353
- "value": {
10354
- "company": "Tech Corp",
10355
- "first_name": "John",
10356
- "last_name": "Doe",
10357
- "phone": "+1 (555) 123-4567",
10358
- "position": "Software Engineer"
10359
- }
10360
- }
10361
- },
10362
- "schema": {
10363
- "$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
10364
- }
10365
- },
10366
- "application/x-www-form-urlencoded": {
10367
- "schema": {
10368
- "$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
10369
- }
10370
- },
10371
- "multipart/form-data": {
10372
- "schema": {
10373
- "$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
10374
- }
10375
- }
10376
- }
10377
- },
10378
- "responses": {
10379
- "200": {
10380
- "content": {
10381
- "application/json": {
10382
- "schema": {
10383
- "$ref": "#/components/schemas/User"
10384
- }
10385
- }
10386
- },
10387
- "description": ""
10388
- },
10389
- "400": {
10390
- "content": {
10391
- "application/json": {
10392
- "schema": {
10393
- "description": "Invalid data provided."
10394
- }
10395
- }
10396
- },
10397
- "description": ""
10398
- },
10399
- "401": {
10400
- "content": {
10401
- "application/json": {
10402
- "schema": {
10403
- "description": "Authentication credentials were not provided."
10404
- }
10405
- }
10406
- },
10407
- "description": ""
10408
- }
10409
- },
10410
- "security": [
10411
- {
10412
- "jwtAuth": []
10413
- }
10414
- ],
10415
- "summary": "Update user profile",
10416
- "tags": [
10417
- "User Profile"
10418
- ],
10419
- "x-async-capable": false
10420
- },
10421
- "put": {
10422
- "description": "Update the current authenticated user's profile information.",
10423
- "operationId": "cfg_accounts_profile_update_update",
10424
- "requestBody": {
10425
- "content": {
10426
- "application/json": {
10427
- "examples": {
10428
- "ValidProfileUpdate": {
10429
- "summary": "Valid Profile Update",
10430
- "value": {
10431
- "company": "Tech Corp",
10432
- "first_name": "John",
10433
- "last_name": "Doe",
10434
- "phone": "+1 (555) 123-4567",
10435
- "position": "Software Engineer"
10436
- }
10437
- }
10438
- },
10439
- "schema": {
10440
- "$ref": "#/components/schemas/UserProfileUpdateRequest"
10441
- }
10442
- },
10443
- "application/x-www-form-urlencoded": {
10444
- "schema": {
10445
- "$ref": "#/components/schemas/UserProfileUpdateRequest"
10446
- }
10447
- },
10448
- "multipart/form-data": {
10449
- "schema": {
10450
- "$ref": "#/components/schemas/UserProfileUpdateRequest"
10451
- }
10452
- }
10453
- }
10454
- },
10455
- "responses": {
10456
- "200": {
10457
- "content": {
10458
- "application/json": {
10459
- "schema": {
10460
- "$ref": "#/components/schemas/User"
10461
- }
10462
- }
10463
- },
10464
- "description": ""
10465
- },
10466
- "400": {
10467
- "content": {
10468
- "application/json": {
10469
- "schema": {
10470
- "description": "Invalid data provided."
10471
- }
10472
- }
10473
- },
10474
- "description": ""
10475
- },
10476
- "401": {
10477
- "content": {
10478
- "application/json": {
10479
- "schema": {
10480
- "description": "Authentication credentials were not provided."
10481
- }
10482
- }
10483
- },
10484
- "description": ""
10485
- }
10486
- },
10487
- "security": [
10488
- {
10489
- "jwtAuth": []
10490
- }
10491
- ],
10492
- "summary": "Update user profile",
10493
- "tags": [
10494
- "User Profile"
10495
- ],
10496
- "x-async-capable": false
10497
- }
10498
- },
10499
- "/cfg/accounts/token/refresh/": {
10500
- "post": {
10501
- "description": "Refresh JWT token.",
10502
- "operationId": "cfg_accounts_token_refresh_create",
10503
- "requestBody": {
10504
- "content": {
10505
- "application/json": {
10506
- "schema": {
10507
- "$ref": "#/components/schemas/TokenRefreshRequest"
10508
- }
10509
- },
10510
- "application/x-www-form-urlencoded": {
10511
- "schema": {
10512
- "$ref": "#/components/schemas/TokenRefreshRequest"
10513
- }
10514
- },
10515
- "multipart/form-data": {
10516
- "schema": {
10517
- "$ref": "#/components/schemas/TokenRefreshRequest"
10518
- }
10519
- }
10520
- },
10521
- "required": true
10522
- },
10523
- "responses": {
10524
- "200": {
10525
- "content": {
10526
- "application/json": {
10527
- "schema": {
10528
- "$ref": "#/components/schemas/TokenRefresh"
10529
- }
10530
- }
10531
- },
10532
- "description": ""
10533
- }
10534
- },
10535
- "tags": [
10536
- "Auth"
10537
- ],
10538
- "x-async-capable": false
10539
- }
10540
- },
10541
- "/cfg/centrifugo/admin/api/monitor/channels/": {
10542
- "get": {
10543
- "description": "Get statistics per channel.",
10544
- "operationId": "cfg_centrifugo_admin_api_monitor_channels_retrieve",
10545
- "responses": {
10546
- "200": {
10547
- "description": "No response body"
10548
- }
10549
- },
10550
- "security": [
10551
- {
10552
- "jwtAuth": []
10553
- }
10554
- ],
10555
- "tags": [
10556
- "centrifugo"
10557
- ],
10558
- "x-async-capable": false
10559
- }
10560
- },
10561
- "/cfg/centrifugo/admin/api/monitor/health/": {
10562
- "get": {
10563
- "description": "Returns the current health status of the Centrifugo client.",
10564
- "operationId": "cfg_centrifugo_admin_api_monitor_health_retrieve",
10565
- "responses": {
10566
- "200": {
10567
- "content": {
10568
- "application/json": {
10569
- "schema": {
10570
- "$ref": "#/components/schemas/HealthCheck"
10571
- }
10572
- }
10573
- },
10574
- "description": ""
10575
- },
10576
- "503": {
10577
- "content": {
10578
- "application/json": {
10579
- "schema": {
10580
- "description": "Service unavailable"
10581
- }
10582
- }
10583
- },
10584
- "description": ""
10585
- }
10586
- },
10587
- "security": [
10588
- {
10589
- "jwtAuth": []
10590
- }
10591
- ],
10592
- "summary": "Get Centrifugo health status",
10593
- "tags": [
10594
- "Centrifugo Monitoring"
10595
- ],
10596
- "x-async-capable": false
10597
- }
10598
- },
10599
- "/cfg/centrifugo/admin/api/monitor/overview/": {
10600
- "get": {
10601
- "description": "Returns overview statistics for Centrifugo publishes.",
10602
- "operationId": "cfg_centrifugo_admin_api_monitor_overview_retrieve",
10603
- "parameters": [
10604
- {
10605
- "description": "Statistics period in hours (default: 24)",
10606
- "in": "query",
10607
- "name": "hours",
10608
- "schema": {
10609
- "type": "integer"
10610
- }
10611
- }
10612
- ],
10613
- "responses": {
10614
- "200": {
10615
- "content": {
10616
- "application/json": {
10617
- "schema": {
10618
- "$ref": "#/components/schemas/OverviewStats"
10619
- }
10620
- }
10621
- },
10622
- "description": ""
10623
- },
10624
- "400": {
10625
- "content": {
10626
- "application/json": {
10627
- "schema": {
10628
- "description": "Invalid parameters"
10629
- }
10630
- }
10631
- },
10632
- "description": ""
10633
- }
10634
- },
10635
- "security": [
10636
- {
10637
- "jwtAuth": []
10638
- }
10639
- ],
10640
- "summary": "Get overview statistics",
10641
- "tags": [
10642
- "Centrifugo Monitoring"
10643
- ],
10644
- "x-async-capable": false
10645
- }
10646
- },
10647
- "/cfg/centrifugo/admin/api/monitor/publishes/": {
10648
- "get": {
10649
- "description": "Returns a list of recent Centrifugo publishes with their details.",
10650
- "operationId": "cfg_centrifugo_admin_api_monitor_publishes_retrieve",
10651
- "parameters": [
10652
- {
10653
- "description": "Filter by channel name",
10654
- "in": "query",
10655
- "name": "channel",
10656
- "schema": {
10657
- "type": "string"
10658
- }
10659
- },
10660
- {
10661
- "description": "Number of publishes to return (default: 50, max: 200)",
10662
- "in": "query",
10663
- "name": "count",
10664
- "schema": {
10665
- "type": "integer"
10666
- }
10667
- },
10668
- {
10669
- "description": "Offset for pagination (default: 0)",
10670
- "in": "query",
10671
- "name": "offset",
10672
- "schema": {
10673
- "type": "integer"
10674
- }
10675
- },
10676
- {
10677
- "description": "Filter by status (success, failed, timeout, pending, partial)",
10678
- "in": "query",
10679
- "name": "status",
10680
- "schema": {
10681
- "type": "string"
10682
- }
10683
- }
10684
- ],
10685
- "responses": {
10686
- "200": {
10687
- "content": {
10688
- "application/json": {
10689
- "schema": {
10690
- "$ref": "#/components/schemas/RecentPublishes"
10691
- }
10692
- }
10693
- },
10694
- "description": ""
10695
- },
10696
- "400": {
10697
- "content": {
10698
- "application/json": {
10699
- "schema": {
10700
- "description": "Invalid parameters"
10701
- }
10702
- }
10703
- },
10704
- "description": ""
10705
- }
10706
- },
10707
- "security": [
10708
- {
10709
- "jwtAuth": []
10710
- }
10711
- ],
10712
- "summary": "Get recent publishes",
10713
- "tags": [
10714
- "Centrifugo Monitoring"
10715
- ],
10716
- "x-async-capable": false
10717
- }
10718
- },
10719
- "/cfg/centrifugo/admin/api/monitor/timeline/": {
10720
- "get": {
10721
- "description": "Returns statistics grouped by channel.",
10722
- "operationId": "cfg_centrifugo_admin_api_monitor_timeline_retrieve",
10723
- "parameters": [
10724
- {
10725
- "description": "Statistics period in hours (default: 24)",
10726
- "in": "query",
10727
- "name": "hours",
10728
- "schema": {
10729
- "type": "integer"
10730
- }
10731
- },
10732
- {
10733
- "description": "Time interval: 'hour' or 'day' (default: hour)",
10734
- "in": "query",
10735
- "name": "interval",
10736
- "schema": {
10737
- "type": "string"
10738
- }
10739
- }
10740
- ],
10741
- "responses": {
10742
- "200": {
10743
- "content": {
10744
- "application/json": {
10745
- "schema": {
10746
- "$ref": "#/components/schemas/ChannelList"
10747
- }
10748
- }
10749
- },
10750
- "description": ""
10751
- },
10752
- "400": {
10753
- "content": {
10754
- "application/json": {
10755
- "schema": {
10756
- "description": "Invalid parameters"
10757
- }
10758
- }
10759
- },
10760
- "description": ""
10761
- }
10762
- },
10763
- "security": [
10764
- {
10765
- "jwtAuth": []
10766
- }
10767
- ],
10768
- "summary": "Get channel statistics",
10769
- "tags": [
10770
- "Centrifugo Monitoring"
10771
- ],
10772
- "x-async-capable": false
10773
- }
10774
- },
10775
- "/cfg/centrifugo/admin/api/server/auth/token/": {
10776
- "post": {
10777
- "description": "Returns JWT token and config for WebSocket connection to Centrifugo.",
10778
- "operationId": "cfg_centrifugo_admin_api_server_auth_token_create",
10779
- "responses": {
10780
- "200": {
10781
- "content": {
10782
- "application/json": {
10783
- "schema": {
10784
- "properties": {
10785
- "config": {
10786
- "properties": {
10787
- "centrifugo_url": {
10788
- "type": "string"
10789
- },
10790
- "expires_at": {
10791
- "type": "string"
10792
- }
10793
- },
10794
- "type": "object"
10795
- },
10796
- "token": {
10797
- "type": "string"
10798
- }
10799
- },
10800
- "type": "object"
10801
- }
10802
- }
10803
- },
10804
- "description": ""
10805
- },
10806
- "400": {
10807
- "content": {
10808
- "application/json": {
10809
- "schema": {
10810
- "description": "Centrifugo not configured"
10811
- }
10812
- }
10813
- },
10814
- "description": ""
10815
- },
10816
- "500": {
10817
- "content": {
10818
- "application/json": {
10819
- "schema": {
10820
- "description": "Server error"
10821
- }
10822
- }
10823
- },
10824
- "description": ""
10825
- }
10826
- },
10827
- "security": [
10828
- {
10829
- "jwtAuth": []
10830
- }
10831
- ],
10832
- "summary": "Get connection token for dashboard",
10833
- "tags": [
10834
- "Centrifugo Admin API"
10835
- ],
10836
- "x-async-capable": false
10837
- }
10838
- },
10839
- "/cfg/centrifugo/admin/api/server/channels/": {
10840
- "post": {
10841
- "description": "Returns list of active channels with optional pattern filter.",
10842
- "operationId": "cfg_centrifugo_admin_api_server_channels_create",
10843
- "requestBody": {
10844
- "content": {
10845
- "application/json": {
10846
- "schema": {
10847
- "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
10848
- }
10849
- },
10850
- "application/x-www-form-urlencoded": {
10851
- "schema": {
10852
- "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
10853
- }
10854
- },
10855
- "multipart/form-data": {
10856
- "schema": {
10857
- "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
10858
- }
10859
- }
10860
- }
10861
- },
10862
- "responses": {
10863
- "200": {
10864
- "content": {
10865
- "application/json": {
10866
- "schema": {
10867
- "$ref": "#/components/schemas/CentrifugoChannelsResponse"
10868
- }
10869
- }
10870
- },
10871
- "description": ""
10872
- },
10873
- "500": {
10874
- "content": {
10875
- "application/json": {
10876
- "schema": {
10877
- "description": "Server error"
10878
- }
10879
- }
10880
- },
10881
- "description": ""
10882
- }
10883
- },
10884
- "security": [
10885
- {
10886
- "jwtAuth": []
10887
- }
10888
- ],
10889
- "summary": "List active channels",
10890
- "tags": [
10891
- "Centrifugo Admin API"
10892
- ],
10893
- "x-async-capable": false
10894
- }
10895
- },
10896
- "/cfg/centrifugo/admin/api/server/history/": {
10897
- "post": {
10898
- "description": "Returns message history for a channel.",
10899
- "operationId": "cfg_centrifugo_admin_api_server_history_create",
10900
- "requestBody": {
10901
- "content": {
10902
- "application/json": {
10903
- "schema": {
10904
- "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
10905
- }
10906
- },
10907
- "application/x-www-form-urlencoded": {
10908
- "schema": {
10909
- "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
10910
- }
10911
- },
10912
- "multipart/form-data": {
10913
- "schema": {
10914
- "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
10915
- }
10916
- }
10917
- },
10918
- "required": true
10919
- },
10920
- "responses": {
10921
- "200": {
10922
- "content": {
10923
- "application/json": {
10924
- "schema": {
10925
- "$ref": "#/components/schemas/CentrifugoHistoryResponse"
10926
- }
10927
- }
10928
- },
10929
- "description": ""
10930
- },
10931
- "500": {
10932
- "content": {
10933
- "application/json": {
10934
- "schema": {
10935
- "description": "Server error"
10936
- }
10937
- }
10938
- },
10939
- "description": ""
10940
- }
10941
- },
10942
- "security": [
10943
- {
10944
- "jwtAuth": []
10945
- }
10946
- ],
10947
- "summary": "Get channel history",
10948
- "tags": [
10949
- "Centrifugo Admin API"
10950
- ],
10951
- "x-async-capable": false
10952
- }
10953
- },
10954
- "/cfg/centrifugo/admin/api/server/info/": {
10955
- "post": {
10956
- "description": "Returns server information including node count, version, and uptime.",
10957
- "operationId": "cfg_centrifugo_admin_api_server_info_create",
10958
- "responses": {
10959
- "200": {
10960
- "content": {
10961
- "application/json": {
10962
- "schema": {
10963
- "$ref": "#/components/schemas/CentrifugoInfoResponse"
10964
- }
10965
- }
10966
- },
10967
- "description": ""
10968
- },
10969
- "500": {
10970
- "content": {
10971
- "application/json": {
10972
- "schema": {
10973
- "description": "Server error"
10974
- }
10975
- }
10976
- },
10977
- "description": ""
10978
- }
10979
- },
10980
- "security": [
10981
- {
10982
- "jwtAuth": []
10983
- }
10984
- ],
10985
- "summary": "Get Centrifugo server info",
10986
- "tags": [
10987
- "Centrifugo Admin API"
10988
- ],
10989
- "x-async-capable": false
10990
- }
10991
- },
10992
- "/cfg/centrifugo/admin/api/server/presence-stats/": {
10993
- "post": {
10994
- "description": "Returns quick statistics about channel presence (num_clients, num_users).",
10995
- "operationId": "cfg_centrifugo_admin_api_server_presence_stats_create",
10996
- "requestBody": {
10997
- "content": {
10998
- "application/json": {
10999
- "schema": {
11000
- "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
11001
- }
11002
- },
11003
- "application/x-www-form-urlencoded": {
11004
- "schema": {
11005
- "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
11006
- }
11007
- },
11008
- "multipart/form-data": {
11009
- "schema": {
11010
- "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
11011
- }
11012
- }
11013
- },
11014
- "required": true
11015
- },
11016
- "responses": {
11017
- "200": {
11018
- "content": {
11019
- "application/json": {
11020
- "schema": {
11021
- "$ref": "#/components/schemas/CentrifugoPresenceStatsResponse"
11022
- }
11023
- }
11024
- },
11025
- "description": ""
11026
- },
11027
- "500": {
11028
- "content": {
11029
- "application/json": {
11030
- "schema": {
11031
- "description": "Server error"
11032
- }
11033
- }
11034
- },
11035
- "description": ""
11036
- }
11037
- },
11038
- "security": [
11039
- {
11040
- "jwtAuth": []
11041
- }
11042
- ],
11043
- "summary": "Get channel presence statistics",
11044
- "tags": [
11045
- "Centrifugo Admin API"
11046
- ],
11047
- "x-async-capable": false
11048
- }
11049
- },
11050
- "/cfg/centrifugo/admin/api/server/presence/": {
11051
- "post": {
11052
- "description": "Returns list of clients currently subscribed to a channel.",
11053
- "operationId": "cfg_centrifugo_admin_api_server_presence_create",
11054
- "requestBody": {
11055
- "content": {
11056
- "application/json": {
11057
- "schema": {
11058
- "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
11059
- }
11060
- },
11061
- "application/x-www-form-urlencoded": {
11062
- "schema": {
11063
- "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
11064
- }
11065
- },
11066
- "multipart/form-data": {
11067
- "schema": {
11068
- "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
11069
- }
11070
- }
11071
- },
11072
- "required": true
11073
- },
11074
- "responses": {
11075
- "200": {
11076
- "content": {
11077
- "application/json": {
11078
- "schema": {
11079
- "$ref": "#/components/schemas/CentrifugoPresenceResponse"
11080
- }
11081
- }
11082
- },
11083
- "description": ""
11084
- },
11085
- "500": {
11086
- "content": {
11087
- "application/json": {
11088
- "schema": {
11089
- "description": "Server error"
11090
- }
11091
- }
11092
- },
11093
- "description": ""
11094
- }
11095
- },
11096
- "security": [
11097
- {
11098
- "jwtAuth": []
11099
- }
11100
- ],
11101
- "summary": "Get channel presence",
11102
- "tags": [
11103
- "Centrifugo Admin API"
11104
- ],
11105
- "x-async-capable": false
11106
- }
11107
- },
11108
- "/cfg/centrifugo/admin/api/testing/connection-token/": {
11109
- "post": {
11110
- "description": "Generate JWT token for WebSocket connection to Centrifugo.",
11111
- "operationId": "cfg_centrifugo_admin_api_testing_connection_token_create",
11112
- "requestBody": {
11113
- "content": {
11114
- "application/json": {
10120
+ "phone": "+1 (555) 123-4567",
10121
+ "position": "Software Engineer"
10122
+ }
10123
+ }
10124
+ },
11115
10125
  "schema": {
11116
- "$ref": "#/components/schemas/ConnectionTokenRequestRequest"
10126
+ "$ref": "#/components/schemas/UserProfileUpdateRequest"
11117
10127
  }
11118
10128
  },
11119
10129
  "application/x-www-form-urlencoded": {
11120
10130
  "schema": {
11121
- "$ref": "#/components/schemas/ConnectionTokenRequestRequest"
10131
+ "$ref": "#/components/schemas/UserProfileUpdateRequest"
11122
10132
  }
11123
10133
  },
11124
10134
  "multipart/form-data": {
11125
10135
  "schema": {
11126
- "$ref": "#/components/schemas/ConnectionTokenRequestRequest"
10136
+ "$ref": "#/components/schemas/UserProfileUpdateRequest"
11127
10137
  }
11128
10138
  }
11129
- },
11130
- "required": true
10139
+ }
11131
10140
  },
11132
10141
  "responses": {
11133
10142
  "200": {
11134
10143
  "content": {
11135
10144
  "application/json": {
11136
10145
  "schema": {
11137
- "$ref": "#/components/schemas/ConnectionTokenResponse"
10146
+ "$ref": "#/components/schemas/User"
11138
10147
  }
11139
10148
  }
11140
10149
  },
@@ -11144,17 +10153,17 @@ var OPENAPI_SCHEMA = {
11144
10153
  "content": {
11145
10154
  "application/json": {
11146
10155
  "schema": {
11147
- "description": "Invalid request"
10156
+ "description": "Invalid data provided."
11148
10157
  }
11149
10158
  }
11150
10159
  },
11151
10160
  "description": ""
11152
10161
  },
11153
- "500": {
10162
+ "401": {
11154
10163
  "content": {
11155
10164
  "application/json": {
11156
10165
  "schema": {
11157
- "description": "Server error"
10166
+ "description": "Authentication credentials were not provided."
11158
10167
  }
11159
10168
  }
11160
10169
  },
@@ -11166,43 +10175,54 @@ var OPENAPI_SCHEMA = {
11166
10175
  "jwtAuth": []
11167
10176
  }
11168
10177
  ],
11169
- "summary": "Generate connection token",
10178
+ "summary": "Partial update user profile",
11170
10179
  "tags": [
11171
- "Centrifugo Testing"
10180
+ "User Profile"
11172
10181
  ],
11173
10182
  "x-async-capable": false
11174
10183
  }
11175
10184
  },
11176
- "/cfg/centrifugo/admin/api/testing/publish-test/": {
11177
- "post": {
11178
- "description": "Publish test message to Centrifugo via wrapper with optional ACK tracking.",
11179
- "operationId": "cfg_centrifugo_admin_api_testing_publish_test_create",
10185
+ "/cfg/accounts/profile/update/": {
10186
+ "patch": {
10187
+ "description": "Update the current authenticated user's profile information.",
10188
+ "operationId": "cfg_accounts_profile_update_partial_update",
11180
10189
  "requestBody": {
11181
10190
  "content": {
11182
10191
  "application/json": {
10192
+ "examples": {
10193
+ "ValidProfileUpdate": {
10194
+ "summary": "Valid Profile Update",
10195
+ "value": {
10196
+ "company": "Tech Corp",
10197
+ "first_name": "John",
10198
+ "last_name": "Doe",
10199
+ "phone": "+1 (555) 123-4567",
10200
+ "position": "Software Engineer"
10201
+ }
10202
+ }
10203
+ },
11183
10204
  "schema": {
11184
- "$ref": "#/components/schemas/PublishTestRequestRequest"
10205
+ "$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
11185
10206
  }
11186
10207
  },
11187
10208
  "application/x-www-form-urlencoded": {
11188
10209
  "schema": {
11189
- "$ref": "#/components/schemas/PublishTestRequestRequest"
10210
+ "$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
11190
10211
  }
11191
10212
  },
11192
10213
  "multipart/form-data": {
11193
10214
  "schema": {
11194
- "$ref": "#/components/schemas/PublishTestRequestRequest"
10215
+ "$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
11195
10216
  }
11196
10217
  }
11197
- },
11198
- "required": true
10218
+ }
11199
10219
  },
11200
10220
  "responses": {
11201
10221
  "200": {
11202
10222
  "content": {
11203
10223
  "application/json": {
11204
10224
  "schema": {
11205
- "$ref": "#/components/schemas/PublishTestResponse"
10225
+ "$ref": "#/components/schemas/User"
11206
10226
  }
11207
10227
  }
11208
10228
  },
@@ -11212,17 +10232,17 @@ var OPENAPI_SCHEMA = {
11212
10232
  "content": {
11213
10233
  "application/json": {
11214
10234
  "schema": {
11215
- "description": "Invalid request"
10235
+ "description": "Invalid data provided."
11216
10236
  }
11217
10237
  }
11218
10238
  },
11219
10239
  "description": ""
11220
10240
  },
11221
- "500": {
10241
+ "401": {
11222
10242
  "content": {
11223
10243
  "application/json": {
11224
10244
  "schema": {
11225
- "description": "Server error"
10245
+ "description": "Authentication credentials were not provided."
11226
10246
  }
11227
10247
  }
11228
10248
  },
@@ -11234,43 +10254,52 @@ var OPENAPI_SCHEMA = {
11234
10254
  "jwtAuth": []
11235
10255
  }
11236
10256
  ],
11237
- "summary": "Publish test message",
10257
+ "summary": "Update user profile",
11238
10258
  "tags": [
11239
- "Centrifugo Testing"
10259
+ "User Profile"
11240
10260
  ],
11241
10261
  "x-async-capable": false
11242
- }
11243
- },
11244
- "/cfg/centrifugo/admin/api/testing/publish-with-logging/": {
11245
- "post": {
11246
- "description": "Publish message using CentrifugoClient with database logging. This will create CentrifugoLog records.",
11247
- "operationId": "cfg_centrifugo_admin_api_testing_publish_with_logging_create",
10262
+ },
10263
+ "put": {
10264
+ "description": "Update the current authenticated user's profile information.",
10265
+ "operationId": "cfg_accounts_profile_update_update",
11248
10266
  "requestBody": {
11249
10267
  "content": {
11250
10268
  "application/json": {
10269
+ "examples": {
10270
+ "ValidProfileUpdate": {
10271
+ "summary": "Valid Profile Update",
10272
+ "value": {
10273
+ "company": "Tech Corp",
10274
+ "first_name": "John",
10275
+ "last_name": "Doe",
10276
+ "phone": "+1 (555) 123-4567",
10277
+ "position": "Software Engineer"
10278
+ }
10279
+ }
10280
+ },
11251
10281
  "schema": {
11252
- "$ref": "#/components/schemas/PublishTestRequestRequest"
10282
+ "$ref": "#/components/schemas/UserProfileUpdateRequest"
11253
10283
  }
11254
10284
  },
11255
10285
  "application/x-www-form-urlencoded": {
11256
10286
  "schema": {
11257
- "$ref": "#/components/schemas/PublishTestRequestRequest"
10287
+ "$ref": "#/components/schemas/UserProfileUpdateRequest"
11258
10288
  }
11259
10289
  },
11260
10290
  "multipart/form-data": {
11261
10291
  "schema": {
11262
- "$ref": "#/components/schemas/PublishTestRequestRequest"
10292
+ "$ref": "#/components/schemas/UserProfileUpdateRequest"
11263
10293
  }
11264
10294
  }
11265
- },
11266
- "required": true
10295
+ }
11267
10296
  },
11268
10297
  "responses": {
11269
10298
  "200": {
11270
10299
  "content": {
11271
10300
  "application/json": {
11272
10301
  "schema": {
11273
- "$ref": "#/components/schemas/PublishTestResponse"
10302
+ "$ref": "#/components/schemas/User"
11274
10303
  }
11275
10304
  }
11276
10305
  },
@@ -11280,17 +10309,17 @@ var OPENAPI_SCHEMA = {
11280
10309
  "content": {
11281
10310
  "application/json": {
11282
10311
  "schema": {
11283
- "description": "Invalid request"
10312
+ "description": "Invalid data provided."
11284
10313
  }
11285
10314
  }
11286
10315
  },
11287
10316
  "description": ""
11288
10317
  },
11289
- "500": {
10318
+ "401": {
11290
10319
  "content": {
11291
10320
  "application/json": {
11292
10321
  "schema": {
11293
- "description": "Server error"
10322
+ "description": "Authentication credentials were not provided."
11294
10323
  }
11295
10324
  }
11296
10325
  },
@@ -11302,32 +10331,32 @@ var OPENAPI_SCHEMA = {
11302
10331
  "jwtAuth": []
11303
10332
  }
11304
10333
  ],
11305
- "summary": "Publish with database logging",
10334
+ "summary": "Update user profile",
11306
10335
  "tags": [
11307
- "Centrifugo Testing"
10336
+ "User Profile"
11308
10337
  ],
11309
10338
  "x-async-capable": false
11310
10339
  }
11311
10340
  },
11312
- "/cfg/centrifugo/admin/api/testing/send-ack/": {
10341
+ "/cfg/accounts/token/refresh/": {
11313
10342
  "post": {
11314
- "description": "Manually send ACK for a message to the wrapper. Pass message_id in request body.",
11315
- "operationId": "cfg_centrifugo_admin_api_testing_send_ack_create",
10343
+ "description": "Refresh JWT token.",
10344
+ "operationId": "cfg_accounts_token_refresh_create",
11316
10345
  "requestBody": {
11317
10346
  "content": {
11318
10347
  "application/json": {
11319
10348
  "schema": {
11320
- "$ref": "#/components/schemas/ManualAckRequestRequest"
10349
+ "$ref": "#/components/schemas/TokenRefreshRequest"
11321
10350
  }
11322
10351
  },
11323
10352
  "application/x-www-form-urlencoded": {
11324
10353
  "schema": {
11325
- "$ref": "#/components/schemas/ManualAckRequestRequest"
10354
+ "$ref": "#/components/schemas/TokenRefreshRequest"
11326
10355
  }
11327
10356
  },
11328
10357
  "multipart/form-data": {
11329
10358
  "schema": {
11330
- "$ref": "#/components/schemas/ManualAckRequestRequest"
10359
+ "$ref": "#/components/schemas/TokenRefreshRequest"
11331
10360
  }
11332
10361
  }
11333
10362
  },
@@ -11338,41 +10367,15 @@ var OPENAPI_SCHEMA = {
11338
10367
  "content": {
11339
10368
  "application/json": {
11340
10369
  "schema": {
11341
- "$ref": "#/components/schemas/ManualAckResponse"
11342
- }
11343
- }
11344
- },
11345
- "description": ""
11346
- },
11347
- "400": {
11348
- "content": {
11349
- "application/json": {
11350
- "schema": {
11351
- "description": "Invalid request"
11352
- }
11353
- }
11354
- },
11355
- "description": ""
11356
- },
11357
- "500": {
11358
- "content": {
11359
- "application/json": {
11360
- "schema": {
11361
- "description": "Server error"
10370
+ "$ref": "#/components/schemas/TokenRefresh"
11362
10371
  }
11363
10372
  }
11364
10373
  },
11365
10374
  "description": ""
11366
10375
  }
11367
10376
  },
11368
- "security": [
11369
- {
11370
- "jwtAuth": []
11371
- }
11372
- ],
11373
- "summary": "Send manual ACK",
11374
10377
  "tags": [
11375
- "Centrifugo Testing"
10378
+ "Auth"
11376
10379
  ],
11377
10380
  "x-async-capable": false
11378
10381
  }
@@ -20837,16 +19840,6 @@ __export(fetchers_exports, {
20837
19840
  createAccountsOtpVerifyCreate: () => createAccountsOtpVerifyCreate,
20838
19841
  createAccountsProfileAvatarCreate: () => createAccountsProfileAvatarCreate,
20839
19842
  createAccountsTokenRefreshCreate: () => createAccountsTokenRefreshCreate,
20840
- createCentrifugoAdminApiServerAuthTokenCreate: () => createCentrifugoAdminApiServerAuthTokenCreate,
20841
- createCentrifugoAdminApiServerChannelsCreate: () => createCentrifugoAdminApiServerChannelsCreate,
20842
- createCentrifugoAdminApiServerHistoryCreate: () => createCentrifugoAdminApiServerHistoryCreate,
20843
- createCentrifugoAdminApiServerInfoCreate: () => createCentrifugoAdminApiServerInfoCreate,
20844
- createCentrifugoAdminApiServerPresenceCreate: () => createCentrifugoAdminApiServerPresenceCreate,
20845
- createCentrifugoAdminApiServerPresenceStatsCreate: () => createCentrifugoAdminApiServerPresenceStatsCreate,
20846
- createCentrifugoAdminApiTestingConnectionTokenCreate: () => createCentrifugoAdminApiTestingConnectionTokenCreate,
20847
- createCentrifugoAdminApiTestingPublishTestCreate: () => createCentrifugoAdminApiTestingPublishTestCreate,
20848
- createCentrifugoAdminApiTestingPublishWithLoggingCreate: () => createCentrifugoAdminApiTestingPublishWithLoggingCreate,
20849
- createCentrifugoAdminApiTestingSendAckCreate: () => createCentrifugoAdminApiTestingSendAckCreate,
20850
19843
  createCentrifugoServerAuthTokenCreate: () => createCentrifugoServerAuthTokenCreate,
20851
19844
  createCentrifugoServerChannelsCreate: () => createCentrifugoServerChannelsCreate,
20852
19845
  createCentrifugoServerHistoryCreate: () => createCentrifugoServerHistoryCreate,
@@ -20900,11 +19893,6 @@ __export(fetchers_exports, {
20900
19893
  deleteSupportTicketsDestroy: () => deleteSupportTicketsDestroy,
20901
19894
  deleteSupportTicketsMessagesDestroy: () => deleteSupportTicketsMessagesDestroy,
20902
19895
  getAccountsProfileRetrieve: () => getAccountsProfileRetrieve,
20903
- getCentrifugoAdminApiMonitorChannelsRetrieve: () => getCentrifugoAdminApiMonitorChannelsRetrieve,
20904
- getCentrifugoAdminApiMonitorHealthRetrieve: () => getCentrifugoAdminApiMonitorHealthRetrieve,
20905
- getCentrifugoAdminApiMonitorOverviewRetrieve: () => getCentrifugoAdminApiMonitorOverviewRetrieve,
20906
- getCentrifugoAdminApiMonitorPublishesRetrieve: () => getCentrifugoAdminApiMonitorPublishesRetrieve,
20907
- getCentrifugoAdminApiMonitorTimelineRetrieve: () => getCentrifugoAdminApiMonitorTimelineRetrieve,
20908
19896
  getCentrifugoMonitorChannelsRetrieve: () => getCentrifugoMonitorChannelsRetrieve,
20909
19897
  getCentrifugoMonitorHealthRetrieve: () => getCentrifugoMonitorHealthRetrieve,
20910
19898
  getCentrifugoMonitorOverviewRetrieve: () => getCentrifugoMonitorOverviewRetrieve,
@@ -21101,11 +20089,6 @@ async function partialUpdateAccountsProfileUpdatePartialUpdate(data, client) {
21101
20089
  }
21102
20090
 
21103
20091
  // src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts
21104
- async function getCentrifugoAdminApiMonitorChannelsRetrieve(client) {
21105
- const api2 = client || getAPIInstance();
21106
- const response = await api2.cfg_centrifugo.adminApiMonitorChannelsRetrieve();
21107
- return response;
21108
- }
21109
20092
  async function getCentrifugoMonitorChannelsRetrieve(client) {
21110
20093
  const api2 = client || getAPIInstance();
21111
20094
  const response = await api2.cfg_centrifugo.monitorChannelsRetrieve();
@@ -21113,36 +20096,6 @@ async function getCentrifugoMonitorChannelsRetrieve(client) {
21113
20096
  }
21114
20097
 
21115
20098
  // src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts
21116
- async function createCentrifugoAdminApiServerAuthTokenCreate(client) {
21117
- const api2 = client || getAPIInstance();
21118
- const response = await api2.cfg_centrifugo_admin_api.serverAuthTokenCreate();
21119
- return response;
21120
- }
21121
- async function createCentrifugoAdminApiServerChannelsCreate(data, client) {
21122
- const api2 = client || getAPIInstance();
21123
- const response = await api2.cfg_centrifugo_admin_api.serverChannelsCreate(data);
21124
- return CentrifugoChannelsResponseSchema.parse(response);
21125
- }
21126
- async function createCentrifugoAdminApiServerHistoryCreate(data, client) {
21127
- const api2 = client || getAPIInstance();
21128
- const response = await api2.cfg_centrifugo_admin_api.serverHistoryCreate(data);
21129
- return CentrifugoHistoryResponseSchema.parse(response);
21130
- }
21131
- async function createCentrifugoAdminApiServerInfoCreate(client) {
21132
- const api2 = client || getAPIInstance();
21133
- const response = await api2.cfg_centrifugo_admin_api.serverInfoCreate();
21134
- return CentrifugoInfoResponseSchema.parse(response);
21135
- }
21136
- async function createCentrifugoAdminApiServerPresenceCreate(data, client) {
21137
- const api2 = client || getAPIInstance();
21138
- const response = await api2.cfg_centrifugo_admin_api.serverPresenceCreate(data);
21139
- return CentrifugoPresenceResponseSchema.parse(response);
21140
- }
21141
- async function createCentrifugoAdminApiServerPresenceStatsCreate(data, client) {
21142
- const api2 = client || getAPIInstance();
21143
- const response = await api2.cfg_centrifugo_admin_api.serverPresenceStatsCreate(data);
21144
- return CentrifugoPresenceStatsResponseSchema.parse(response);
21145
- }
21146
20099
  async function createCentrifugoServerAuthTokenCreate(client) {
21147
20100
  const api2 = client || getAPIInstance();
21148
20101
  const response = await api2.cfg_centrifugo_admin_api.centrifugoServerAuthTokenCreate();
@@ -21175,26 +20128,6 @@ async function createCentrifugoServerPresenceStatsCreate(data, client) {
21175
20128
  }
21176
20129
 
21177
20130
  // src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts
21178
- async function getCentrifugoAdminApiMonitorHealthRetrieve(client) {
21179
- const api2 = client || getAPIInstance();
21180
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorHealthRetrieve();
21181
- return HealthCheckSchema.parse(response);
21182
- }
21183
- async function getCentrifugoAdminApiMonitorOverviewRetrieve(params, client) {
21184
- const api2 = client || getAPIInstance();
21185
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorOverviewRetrieve(params?.hours);
21186
- return OverviewStatsSchema.parse(response);
21187
- }
21188
- async function getCentrifugoAdminApiMonitorPublishesRetrieve(params, client) {
21189
- const api2 = client || getAPIInstance();
21190
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorPublishesRetrieve(params?.channel, params?.count, params?.offset, params?.status);
21191
- return RecentPublishesSchema.parse(response);
21192
- }
21193
- async function getCentrifugoAdminApiMonitorTimelineRetrieve(params, client) {
21194
- const api2 = client || getAPIInstance();
21195
- const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorTimelineRetrieve(params?.hours, params?.interval);
21196
- return ChannelListSchema.parse(response);
21197
- }
21198
20131
  async function getCentrifugoMonitorHealthRetrieve(client) {
21199
20132
  const api2 = client || getAPIInstance();
21200
20133
  const response = await api2.cfg_centrifugo_monitoring.centrifugoMonitorHealthRetrieve();
@@ -21217,26 +20150,6 @@ async function getCentrifugoMonitorTimelineRetrieve(params, client) {
21217
20150
  }
21218
20151
 
21219
20152
  // src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts
21220
- async function createCentrifugoAdminApiTestingConnectionTokenCreate(data, client) {
21221
- const api2 = client || getAPIInstance();
21222
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingConnectionTokenCreate(data);
21223
- return ConnectionTokenResponseSchema.parse(response);
21224
- }
21225
- async function createCentrifugoAdminApiTestingPublishTestCreate(data, client) {
21226
- const api2 = client || getAPIInstance();
21227
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishTestCreate(data);
21228
- return PublishTestResponseSchema.parse(response);
21229
- }
21230
- async function createCentrifugoAdminApiTestingPublishWithLoggingCreate(data, client) {
21231
- const api2 = client || getAPIInstance();
21232
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishWithLoggingCreate(data);
21233
- return PublishTestResponseSchema.parse(response);
21234
- }
21235
- async function createCentrifugoAdminApiTestingSendAckCreate(data, client) {
21236
- const api2 = client || getAPIInstance();
21237
- const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingSendAckCreate(data);
21238
- return ManualAckResponseSchema.parse(response);
21239
- }
21240
20153
  async function createCentrifugoTestingConnectionTokenCreate(data, client) {
21241
20154
  const api2 = client || getAPIInstance();
21242
20155
  const response = await api2.cfg_centrifugo_testing.connectionTokenCreate(data);
@@ -21976,11 +20889,6 @@ async function createTasksApiWorkersManageCreate(data, client) {
21976
20889
  var hooks_exports = {};
21977
20890
  __export(hooks_exports, {
21978
20891
  useAccountsProfileRetrieve: () => useAccountsProfileRetrieve,
21979
- useCentrifugoAdminApiMonitorChannelsRetrieve: () => useCentrifugoAdminApiMonitorChannelsRetrieve,
21980
- useCentrifugoAdminApiMonitorHealthRetrieve: () => useCentrifugoAdminApiMonitorHealthRetrieve,
21981
- useCentrifugoAdminApiMonitorOverviewRetrieve: () => useCentrifugoAdminApiMonitorOverviewRetrieve,
21982
- useCentrifugoAdminApiMonitorPublishesRetrieve: () => useCentrifugoAdminApiMonitorPublishesRetrieve,
21983
- useCentrifugoAdminApiMonitorTimelineRetrieve: () => useCentrifugoAdminApiMonitorTimelineRetrieve,
21984
20892
  useCentrifugoMonitorChannelsRetrieve: () => useCentrifugoMonitorChannelsRetrieve,
21985
20893
  useCentrifugoMonitorHealthRetrieve: () => useCentrifugoMonitorHealthRetrieve,
21986
20894
  useCentrifugoMonitorOverviewRetrieve: () => useCentrifugoMonitorOverviewRetrieve,
@@ -21990,16 +20898,6 @@ __export(hooks_exports, {
21990
20898
  useCreateAccountsOtpVerifyCreate: () => useCreateAccountsOtpVerifyCreate,
21991
20899
  useCreateAccountsProfileAvatarCreate: () => useCreateAccountsProfileAvatarCreate,
21992
20900
  useCreateAccountsTokenRefreshCreate: () => useCreateAccountsTokenRefreshCreate,
21993
- useCreateCentrifugoAdminApiServerAuthTokenCreate: () => useCreateCentrifugoAdminApiServerAuthTokenCreate,
21994
- useCreateCentrifugoAdminApiServerChannelsCreate: () => useCreateCentrifugoAdminApiServerChannelsCreate,
21995
- useCreateCentrifugoAdminApiServerHistoryCreate: () => useCreateCentrifugoAdminApiServerHistoryCreate,
21996
- useCreateCentrifugoAdminApiServerInfoCreate: () => useCreateCentrifugoAdminApiServerInfoCreate,
21997
- useCreateCentrifugoAdminApiServerPresenceCreate: () => useCreateCentrifugoAdminApiServerPresenceCreate,
21998
- useCreateCentrifugoAdminApiServerPresenceStatsCreate: () => useCreateCentrifugoAdminApiServerPresenceStatsCreate,
21999
- useCreateCentrifugoAdminApiTestingConnectionTokenCreate: () => useCreateCentrifugoAdminApiTestingConnectionTokenCreate,
22000
- useCreateCentrifugoAdminApiTestingPublishTestCreate: () => useCreateCentrifugoAdminApiTestingPublishTestCreate,
22001
- useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate: () => useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate,
22002
- useCreateCentrifugoAdminApiTestingSendAckCreate: () => useCreateCentrifugoAdminApiTestingSendAckCreate,
22003
20901
  useCreateCentrifugoServerAuthTokenCreate: () => useCreateCentrifugoServerAuthTokenCreate,
22004
20902
  useCreateCentrifugoServerChannelsCreate: () => useCreateCentrifugoServerChannelsCreate,
22005
20903
  useCreateCentrifugoServerHistoryCreate: () => useCreateCentrifugoServerHistoryCreate,
@@ -22224,54 +21122,6 @@ function useCreateNewsletterCampaignsSendCreate() {
22224
21122
 
22225
21123
  // src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts
22226
21124
  import { useSWRConfig as useSWRConfig4 } from "swr";
22227
- function useCreateCentrifugoAdminApiServerAuthTokenCreate() {
22228
- const { mutate } = useSWRConfig4();
22229
- return async (client) => {
22230
- const result = await createCentrifugoAdminApiServerAuthTokenCreate(client);
22231
- mutate("cfg-centrifugo-admin-api-server-auth-token");
22232
- return result;
22233
- };
22234
- }
22235
- function useCreateCentrifugoAdminApiServerChannelsCreate() {
22236
- const { mutate } = useSWRConfig4();
22237
- return async (data, client) => {
22238
- const result = await createCentrifugoAdminApiServerChannelsCreate(data, client);
22239
- mutate("cfg-centrifugo-admin-api-server-channels");
22240
- return result;
22241
- };
22242
- }
22243
- function useCreateCentrifugoAdminApiServerHistoryCreate() {
22244
- const { mutate } = useSWRConfig4();
22245
- return async (data, client) => {
22246
- const result = await createCentrifugoAdminApiServerHistoryCreate(data, client);
22247
- mutate("cfg-centrifugo-admin-api-server-history");
22248
- return result;
22249
- };
22250
- }
22251
- function useCreateCentrifugoAdminApiServerInfoCreate() {
22252
- const { mutate } = useSWRConfig4();
22253
- return async (client) => {
22254
- const result = await createCentrifugoAdminApiServerInfoCreate(client);
22255
- mutate("cfg-centrifugo-admin-api-server-info");
22256
- return result;
22257
- };
22258
- }
22259
- function useCreateCentrifugoAdminApiServerPresenceCreate() {
22260
- const { mutate } = useSWRConfig4();
22261
- return async (data, client) => {
22262
- const result = await createCentrifugoAdminApiServerPresenceCreate(data, client);
22263
- mutate("cfg-centrifugo-admin-api-server-presence");
22264
- return result;
22265
- };
22266
- }
22267
- function useCreateCentrifugoAdminApiServerPresenceStatsCreate() {
22268
- const { mutate } = useSWRConfig4();
22269
- return async (data, client) => {
22270
- const result = await createCentrifugoAdminApiServerPresenceStatsCreate(data, client);
22271
- mutate("cfg-centrifugo-admin-api-server-presence-stats");
22272
- return result;
22273
- };
22274
- }
22275
21125
  function useCreateCentrifugoServerAuthTokenCreate() {
22276
21126
  const { mutate } = useSWRConfig4();
22277
21127
  return async (client) => {
@@ -22323,30 +21173,6 @@ function useCreateCentrifugoServerPresenceStatsCreate() {
22323
21173
 
22324
21174
  // src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts
22325
21175
  import useSWR2 from "swr";
22326
- function useCentrifugoAdminApiMonitorHealthRetrieve(client) {
22327
- return useSWR2(
22328
- "cfg-centrifugo-admin-api-monitor-health",
22329
- () => getCentrifugoAdminApiMonitorHealthRetrieve(client)
22330
- );
22331
- }
22332
- function useCentrifugoAdminApiMonitorOverviewRetrieve(params, client) {
22333
- return useSWR2(
22334
- params ? ["cfg-centrifugo-admin-api-monitor-overview", params] : "cfg-centrifugo-admin-api-monitor-overview",
22335
- () => getCentrifugoAdminApiMonitorOverviewRetrieve(params, client)
22336
- );
22337
- }
22338
- function useCentrifugoAdminApiMonitorPublishesRetrieve(params, client) {
22339
- return useSWR2(
22340
- params ? ["cfg-centrifugo-admin-api-monitor-publishe", params] : "cfg-centrifugo-admin-api-monitor-publishe",
22341
- () => getCentrifugoAdminApiMonitorPublishesRetrieve(params, client)
22342
- );
22343
- }
22344
- function useCentrifugoAdminApiMonitorTimelineRetrieve(params, client) {
22345
- return useSWR2(
22346
- params ? ["cfg-centrifugo-admin-api-monitor-timeline", params] : "cfg-centrifugo-admin-api-monitor-timeline",
22347
- () => getCentrifugoAdminApiMonitorTimelineRetrieve(params, client)
22348
- );
22349
- }
22350
21176
  function useCentrifugoMonitorHealthRetrieve(client) {
22351
21177
  return useSWR2(
22352
21178
  "cfg-centrifugo-monitor-health",
@@ -22374,38 +21200,6 @@ function useCentrifugoMonitorTimelineRetrieve(params, client) {
22374
21200
 
22375
21201
  // src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts
22376
21202
  import { useSWRConfig as useSWRConfig5 } from "swr";
22377
- function useCreateCentrifugoAdminApiTestingConnectionTokenCreate() {
22378
- const { mutate } = useSWRConfig5();
22379
- return async (data, client) => {
22380
- const result = await createCentrifugoAdminApiTestingConnectionTokenCreate(data, client);
22381
- mutate("cfg-centrifugo-admin-api-testing-connection-token");
22382
- return result;
22383
- };
22384
- }
22385
- function useCreateCentrifugoAdminApiTestingPublishTestCreate() {
22386
- const { mutate } = useSWRConfig5();
22387
- return async (data, client) => {
22388
- const result = await createCentrifugoAdminApiTestingPublishTestCreate(data, client);
22389
- mutate("cfg-centrifugo-admin-api-testing-publish-test");
22390
- return result;
22391
- };
22392
- }
22393
- function useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate() {
22394
- const { mutate } = useSWRConfig5();
22395
- return async (data, client) => {
22396
- const result = await createCentrifugoAdminApiTestingPublishWithLoggingCreate(data, client);
22397
- mutate("cfg-centrifugo-admin-api-testing-publish-with-logging");
22398
- return result;
22399
- };
22400
- }
22401
- function useCreateCentrifugoAdminApiTestingSendAckCreate() {
22402
- const { mutate } = useSWRConfig5();
22403
- return async (data, client) => {
22404
- const result = await createCentrifugoAdminApiTestingSendAckCreate(data, client);
22405
- mutate("cfg-centrifugo-admin-api-testing-send-ack");
22406
- return result;
22407
- };
22408
- }
22409
21203
  function useCreateCentrifugoTestingConnectionTokenCreate() {
22410
21204
  const { mutate } = useSWRConfig5();
22411
21205
  return async (data, client) => {
@@ -22714,12 +21508,6 @@ function useCreateAccountsOtpVerifyCreate() {
22714
21508
 
22715
21509
  // src/cfg/generated/_utils/hooks/cfg__centrifugo.ts
22716
21510
  import useSWR14 from "swr";
22717
- function useCentrifugoAdminApiMonitorChannelsRetrieve(client) {
22718
- return useSWR14(
22719
- "cfg-centrifugo-admin-api-monitor-channel",
22720
- () => getCentrifugoAdminApiMonitorChannelsRetrieve(client)
22721
- );
22722
- }
22723
21511
  function useCentrifugoMonitorChannelsRetrieve(client) {
22724
21512
  return useSWR14(
22725
21513
  "cfg-centrifugo-monitor-channel",
@@ -25706,16 +24494,6 @@ export {
25706
24494
  createAccountsOtpVerifyCreate,
25707
24495
  createAccountsProfileAvatarCreate,
25708
24496
  createAccountsTokenRefreshCreate,
25709
- createCentrifugoAdminApiServerAuthTokenCreate,
25710
- createCentrifugoAdminApiServerChannelsCreate,
25711
- createCentrifugoAdminApiServerHistoryCreate,
25712
- createCentrifugoAdminApiServerInfoCreate,
25713
- createCentrifugoAdminApiServerPresenceCreate,
25714
- createCentrifugoAdminApiServerPresenceStatsCreate,
25715
- createCentrifugoAdminApiTestingConnectionTokenCreate,
25716
- createCentrifugoAdminApiTestingPublishTestCreate,
25717
- createCentrifugoAdminApiTestingPublishWithLoggingCreate,
25718
- createCentrifugoAdminApiTestingSendAckCreate,
25719
24497
  createCentrifugoServerAuthTokenCreate,
25720
24498
  createCentrifugoServerChannelsCreate,
25721
24499
  createCentrifugoServerHistoryCreate,
@@ -25771,11 +24549,6 @@ export {
25771
24549
  deleteSupportTicketsMessagesDestroy,
25772
24550
  getAPIInstance,
25773
24551
  getAccountsProfileRetrieve,
25774
- getCentrifugoAdminApiMonitorChannelsRetrieve,
25775
- getCentrifugoAdminApiMonitorHealthRetrieve,
25776
- getCentrifugoAdminApiMonitorOverviewRetrieve,
25777
- getCentrifugoAdminApiMonitorPublishesRetrieve,
25778
- getCentrifugoAdminApiMonitorTimelineRetrieve,
25779
24552
  getCentrifugoMonitorChannelsRetrieve,
25780
24553
  getCentrifugoMonitorHealthRetrieve,
25781
24554
  getCentrifugoMonitorOverviewRetrieve,