@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.cjs +75 -1317
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -1143
- package/dist/index.d.ts +52 -1143
- package/dist/index.mjs +75 -1302
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +0 -14
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +0 -84
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +0 -56
- package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +0 -56
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo.ts +0 -14
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts +0 -108
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts +0 -56
- package/src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts +0 -72
- package/src/cfg/generated/cfg__centrifugo/client.ts +0 -8
- package/src/cfg/generated/cfg__centrifugo__centrifugo_admin_api/client.ts +0 -61
- package/src/cfg/generated/cfg__centrifugo__centrifugo_monitoring/client.ts +0 -73
- package/src/cfg/generated/cfg__centrifugo__centrifugo_testing/client.ts +0 -43
- package/src/cfg/generated/schema.ts +0 -839
package/dist/index.cjs
CHANGED
|
@@ -111,16 +111,6 @@ __export(index_exports, {
|
|
|
111
111
|
createAccountsOtpVerifyCreate: () => createAccountsOtpVerifyCreate,
|
|
112
112
|
createAccountsProfileAvatarCreate: () => createAccountsProfileAvatarCreate,
|
|
113
113
|
createAccountsTokenRefreshCreate: () => createAccountsTokenRefreshCreate,
|
|
114
|
-
createCentrifugoAdminApiServerAuthTokenCreate: () => createCentrifugoAdminApiServerAuthTokenCreate,
|
|
115
|
-
createCentrifugoAdminApiServerChannelsCreate: () => createCentrifugoAdminApiServerChannelsCreate,
|
|
116
|
-
createCentrifugoAdminApiServerHistoryCreate: () => createCentrifugoAdminApiServerHistoryCreate,
|
|
117
|
-
createCentrifugoAdminApiServerInfoCreate: () => createCentrifugoAdminApiServerInfoCreate,
|
|
118
|
-
createCentrifugoAdminApiServerPresenceCreate: () => createCentrifugoAdminApiServerPresenceCreate,
|
|
119
|
-
createCentrifugoAdminApiServerPresenceStatsCreate: () => createCentrifugoAdminApiServerPresenceStatsCreate,
|
|
120
|
-
createCentrifugoAdminApiTestingConnectionTokenCreate: () => createCentrifugoAdminApiTestingConnectionTokenCreate,
|
|
121
|
-
createCentrifugoAdminApiTestingPublishTestCreate: () => createCentrifugoAdminApiTestingPublishTestCreate,
|
|
122
|
-
createCentrifugoAdminApiTestingPublishWithLoggingCreate: () => createCentrifugoAdminApiTestingPublishWithLoggingCreate,
|
|
123
|
-
createCentrifugoAdminApiTestingSendAckCreate: () => createCentrifugoAdminApiTestingSendAckCreate,
|
|
124
114
|
createCentrifugoServerAuthTokenCreate: () => createCentrifugoServerAuthTokenCreate,
|
|
125
115
|
createCentrifugoServerChannelsCreate: () => createCentrifugoServerChannelsCreate,
|
|
126
116
|
createCentrifugoServerHistoryCreate: () => createCentrifugoServerHistoryCreate,
|
|
@@ -176,11 +166,6 @@ __export(index_exports, {
|
|
|
176
166
|
deleteSupportTicketsMessagesDestroy: () => deleteSupportTicketsMessagesDestroy,
|
|
177
167
|
getAPIInstance: () => getAPIInstance,
|
|
178
168
|
getAccountsProfileRetrieve: () => getAccountsProfileRetrieve,
|
|
179
|
-
getCentrifugoAdminApiMonitorChannelsRetrieve: () => getCentrifugoAdminApiMonitorChannelsRetrieve,
|
|
180
|
-
getCentrifugoAdminApiMonitorHealthRetrieve: () => getCentrifugoAdminApiMonitorHealthRetrieve,
|
|
181
|
-
getCentrifugoAdminApiMonitorOverviewRetrieve: () => getCentrifugoAdminApiMonitorOverviewRetrieve,
|
|
182
|
-
getCentrifugoAdminApiMonitorPublishesRetrieve: () => getCentrifugoAdminApiMonitorPublishesRetrieve,
|
|
183
|
-
getCentrifugoAdminApiMonitorTimelineRetrieve: () => getCentrifugoAdminApiMonitorTimelineRetrieve,
|
|
184
169
|
getCentrifugoMonitorChannelsRetrieve: () => getCentrifugoMonitorChannelsRetrieve,
|
|
185
170
|
getCentrifugoMonitorHealthRetrieve: () => getCentrifugoMonitorHealthRetrieve,
|
|
186
171
|
getCentrifugoMonitorOverviewRetrieve: () => getCentrifugoMonitorOverviewRetrieve,
|
|
@@ -416,61 +401,6 @@ var CfgCentrifugoAdminApi = class {
|
|
|
416
401
|
constructor(client) {
|
|
417
402
|
this.client = client;
|
|
418
403
|
}
|
|
419
|
-
/**
|
|
420
|
-
* Get connection token for dashboard
|
|
421
|
-
*
|
|
422
|
-
* Returns JWT token and config for WebSocket connection to Centrifugo.
|
|
423
|
-
*/
|
|
424
|
-
async serverAuthTokenCreate() {
|
|
425
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/auth/token/");
|
|
426
|
-
return response;
|
|
427
|
-
}
|
|
428
|
-
/**
|
|
429
|
-
* List active channels
|
|
430
|
-
*
|
|
431
|
-
* Returns list of active channels with optional pattern filter.
|
|
432
|
-
*/
|
|
433
|
-
async serverChannelsCreate(data) {
|
|
434
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/channels/", { body: data });
|
|
435
|
-
return response;
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
* Get channel history
|
|
439
|
-
*
|
|
440
|
-
* Returns message history for a channel.
|
|
441
|
-
*/
|
|
442
|
-
async serverHistoryCreate(data) {
|
|
443
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/history/", { body: data });
|
|
444
|
-
return response;
|
|
445
|
-
}
|
|
446
|
-
/**
|
|
447
|
-
* Get Centrifugo server info
|
|
448
|
-
*
|
|
449
|
-
* Returns server information including node count, version, and uptime.
|
|
450
|
-
*/
|
|
451
|
-
async serverInfoCreate() {
|
|
452
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/info/");
|
|
453
|
-
return response;
|
|
454
|
-
}
|
|
455
|
-
/**
|
|
456
|
-
* Get channel presence
|
|
457
|
-
*
|
|
458
|
-
* Returns list of clients currently subscribed to a channel.
|
|
459
|
-
*/
|
|
460
|
-
async serverPresenceCreate(data) {
|
|
461
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/presence/", { body: data });
|
|
462
|
-
return response;
|
|
463
|
-
}
|
|
464
|
-
/**
|
|
465
|
-
* Get channel presence statistics
|
|
466
|
-
*
|
|
467
|
-
* Returns quick statistics about channel presence (num_clients,
|
|
468
|
-
* num_users).
|
|
469
|
-
*/
|
|
470
|
-
async serverPresenceStatsCreate(data) {
|
|
471
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/server/presence-stats/", { body: data });
|
|
472
|
-
return response;
|
|
473
|
-
}
|
|
474
404
|
/**
|
|
475
405
|
* Get connection token for dashboard
|
|
476
406
|
*
|
|
@@ -536,63 +466,6 @@ var CfgCentrifugoMonitoring = class {
|
|
|
536
466
|
constructor(client) {
|
|
537
467
|
this.client = client;
|
|
538
468
|
}
|
|
539
|
-
/**
|
|
540
|
-
* Get Centrifugo health status
|
|
541
|
-
*
|
|
542
|
-
* Returns the current health status of the Centrifugo client.
|
|
543
|
-
*/
|
|
544
|
-
async centrifugoAdminApiMonitorHealthRetrieve() {
|
|
545
|
-
const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/health/");
|
|
546
|
-
return response;
|
|
547
|
-
}
|
|
548
|
-
/**
|
|
549
|
-
* Get overview statistics
|
|
550
|
-
*
|
|
551
|
-
* Returns overview statistics for Centrifugo publishes.
|
|
552
|
-
*/
|
|
553
|
-
async centrifugoAdminApiMonitorOverviewRetrieve(...args) {
|
|
554
|
-
const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
|
|
555
|
-
let params;
|
|
556
|
-
if (isParamsObject) {
|
|
557
|
-
params = args[0];
|
|
558
|
-
} else {
|
|
559
|
-
params = { hours: args[0] };
|
|
560
|
-
}
|
|
561
|
-
const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/overview/", { params });
|
|
562
|
-
return response;
|
|
563
|
-
}
|
|
564
|
-
/**
|
|
565
|
-
* Get recent publishes
|
|
566
|
-
*
|
|
567
|
-
* Returns a list of recent Centrifugo publishes with their details.
|
|
568
|
-
*/
|
|
569
|
-
async centrifugoAdminApiMonitorPublishesRetrieve(...args) {
|
|
570
|
-
const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
|
|
571
|
-
let params;
|
|
572
|
-
if (isParamsObject) {
|
|
573
|
-
params = args[0];
|
|
574
|
-
} else {
|
|
575
|
-
params = { channel: args[0], count: args[1], offset: args[2], status: args[3] };
|
|
576
|
-
}
|
|
577
|
-
const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/publishes/", { params });
|
|
578
|
-
return response;
|
|
579
|
-
}
|
|
580
|
-
/**
|
|
581
|
-
* Get channel statistics
|
|
582
|
-
*
|
|
583
|
-
* Returns statistics grouped by channel.
|
|
584
|
-
*/
|
|
585
|
-
async centrifugoAdminApiMonitorTimelineRetrieve(...args) {
|
|
586
|
-
const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
|
|
587
|
-
let params;
|
|
588
|
-
if (isParamsObject) {
|
|
589
|
-
params = args[0];
|
|
590
|
-
} else {
|
|
591
|
-
params = { hours: args[0], interval: args[1] };
|
|
592
|
-
}
|
|
593
|
-
const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/timeline/", { params });
|
|
594
|
-
return response.results || [];
|
|
595
|
-
}
|
|
596
469
|
/**
|
|
597
470
|
* Get Centrifugo health status
|
|
598
471
|
*
|
|
@@ -660,45 +533,6 @@ var CfgCentrifugoTesting = class {
|
|
|
660
533
|
constructor(client) {
|
|
661
534
|
this.client = client;
|
|
662
535
|
}
|
|
663
|
-
/**
|
|
664
|
-
* Generate connection token
|
|
665
|
-
*
|
|
666
|
-
* Generate JWT token for WebSocket connection to Centrifugo.
|
|
667
|
-
*/
|
|
668
|
-
async centrifugoAdminApiTestingConnectionTokenCreate(data) {
|
|
669
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/connection-token/", { body: data });
|
|
670
|
-
return response;
|
|
671
|
-
}
|
|
672
|
-
/**
|
|
673
|
-
* Publish test message
|
|
674
|
-
*
|
|
675
|
-
* Publish test message to Centrifugo via wrapper with optional ACK
|
|
676
|
-
* tracking.
|
|
677
|
-
*/
|
|
678
|
-
async centrifugoAdminApiTestingPublishTestCreate(data) {
|
|
679
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/publish-test/", { body: data });
|
|
680
|
-
return response;
|
|
681
|
-
}
|
|
682
|
-
/**
|
|
683
|
-
* Publish with database logging
|
|
684
|
-
*
|
|
685
|
-
* Publish message using CentrifugoClient with database logging. This will
|
|
686
|
-
* create CentrifugoLog records.
|
|
687
|
-
*/
|
|
688
|
-
async centrifugoAdminApiTestingPublishWithLoggingCreate(data) {
|
|
689
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/publish-with-logging/", { body: data });
|
|
690
|
-
return response;
|
|
691
|
-
}
|
|
692
|
-
/**
|
|
693
|
-
* Send manual ACK
|
|
694
|
-
*
|
|
695
|
-
* Manually send ACK for a message to the wrapper. Pass message_id in
|
|
696
|
-
* request body.
|
|
697
|
-
*/
|
|
698
|
-
async centrifugoAdminApiTestingSendAckCreate(data) {
|
|
699
|
-
const response = await this.client.request("POST", "/cfg/centrifugo/admin/api/testing/send-ack/", { body: data });
|
|
700
|
-
return response;
|
|
701
|
-
}
|
|
702
536
|
/**
|
|
703
537
|
* Generate connection token
|
|
704
538
|
*
|
|
@@ -1252,13 +1086,6 @@ var CfgCentrifugo = class {
|
|
|
1252
1086
|
constructor(client) {
|
|
1253
1087
|
this.client = client;
|
|
1254
1088
|
}
|
|
1255
|
-
/**
|
|
1256
|
-
* Get statistics per channel.
|
|
1257
|
-
*/
|
|
1258
|
-
async adminApiMonitorChannelsRetrieve() {
|
|
1259
|
-
const response = await this.client.request("GET", "/cfg/centrifugo/admin/api/monitor/channels/");
|
|
1260
|
-
return response;
|
|
1261
|
-
}
|
|
1262
1089
|
/**
|
|
1263
1090
|
* Get statistics per channel.
|
|
1264
1091
|
*/
|
|
@@ -10575,866 +10402,33 @@ var OPENAPI_SCHEMA = {
|
|
|
10575
10402
|
"company": "Tech Corp",
|
|
10576
10403
|
"first_name": "John",
|
|
10577
10404
|
"last_name": "Doe",
|
|
10578
|
-
"phone": "+1 (555) 123-4567",
|
|
10579
|
-
"position": "Software Engineer"
|
|
10580
|
-
}
|
|
10581
|
-
}
|
|
10582
|
-
},
|
|
10583
|
-
"schema": {
|
|
10584
|
-
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
10585
|
-
}
|
|
10586
|
-
},
|
|
10587
|
-
"application/x-www-form-urlencoded": {
|
|
10588
|
-
"schema": {
|
|
10589
|
-
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
10590
|
-
}
|
|
10591
|
-
},
|
|
10592
|
-
"multipart/form-data": {
|
|
10593
|
-
"schema": {
|
|
10594
|
-
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
10595
|
-
}
|
|
10596
|
-
}
|
|
10597
|
-
}
|
|
10598
|
-
},
|
|
10599
|
-
"responses": {
|
|
10600
|
-
"200": {
|
|
10601
|
-
"content": {
|
|
10602
|
-
"application/json": {
|
|
10603
|
-
"schema": {
|
|
10604
|
-
"$ref": "#/components/schemas/User"
|
|
10605
|
-
}
|
|
10606
|
-
}
|
|
10607
|
-
},
|
|
10608
|
-
"description": ""
|
|
10609
|
-
},
|
|
10610
|
-
"400": {
|
|
10611
|
-
"content": {
|
|
10612
|
-
"application/json": {
|
|
10613
|
-
"schema": {
|
|
10614
|
-
"description": "Invalid data provided."
|
|
10615
|
-
}
|
|
10616
|
-
}
|
|
10617
|
-
},
|
|
10618
|
-
"description": ""
|
|
10619
|
-
},
|
|
10620
|
-
"401": {
|
|
10621
|
-
"content": {
|
|
10622
|
-
"application/json": {
|
|
10623
|
-
"schema": {
|
|
10624
|
-
"description": "Authentication credentials were not provided."
|
|
10625
|
-
}
|
|
10626
|
-
}
|
|
10627
|
-
},
|
|
10628
|
-
"description": ""
|
|
10629
|
-
}
|
|
10630
|
-
},
|
|
10631
|
-
"security": [
|
|
10632
|
-
{
|
|
10633
|
-
"jwtAuth": []
|
|
10634
|
-
}
|
|
10635
|
-
],
|
|
10636
|
-
"summary": "Partial update user profile",
|
|
10637
|
-
"tags": [
|
|
10638
|
-
"User Profile"
|
|
10639
|
-
],
|
|
10640
|
-
"x-async-capable": false
|
|
10641
|
-
}
|
|
10642
|
-
},
|
|
10643
|
-
"/cfg/accounts/profile/update/": {
|
|
10644
|
-
"patch": {
|
|
10645
|
-
"description": "Update the current authenticated user's profile information.",
|
|
10646
|
-
"operationId": "cfg_accounts_profile_update_partial_update",
|
|
10647
|
-
"requestBody": {
|
|
10648
|
-
"content": {
|
|
10649
|
-
"application/json": {
|
|
10650
|
-
"examples": {
|
|
10651
|
-
"ValidProfileUpdate": {
|
|
10652
|
-
"summary": "Valid Profile Update",
|
|
10653
|
-
"value": {
|
|
10654
|
-
"company": "Tech Corp",
|
|
10655
|
-
"first_name": "John",
|
|
10656
|
-
"last_name": "Doe",
|
|
10657
|
-
"phone": "+1 (555) 123-4567",
|
|
10658
|
-
"position": "Software Engineer"
|
|
10659
|
-
}
|
|
10660
|
-
}
|
|
10661
|
-
},
|
|
10662
|
-
"schema": {
|
|
10663
|
-
"$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
|
|
10664
|
-
}
|
|
10665
|
-
},
|
|
10666
|
-
"application/x-www-form-urlencoded": {
|
|
10667
|
-
"schema": {
|
|
10668
|
-
"$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
|
|
10669
|
-
}
|
|
10670
|
-
},
|
|
10671
|
-
"multipart/form-data": {
|
|
10672
|
-
"schema": {
|
|
10673
|
-
"$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
|
|
10674
|
-
}
|
|
10675
|
-
}
|
|
10676
|
-
}
|
|
10677
|
-
},
|
|
10678
|
-
"responses": {
|
|
10679
|
-
"200": {
|
|
10680
|
-
"content": {
|
|
10681
|
-
"application/json": {
|
|
10682
|
-
"schema": {
|
|
10683
|
-
"$ref": "#/components/schemas/User"
|
|
10684
|
-
}
|
|
10685
|
-
}
|
|
10686
|
-
},
|
|
10687
|
-
"description": ""
|
|
10688
|
-
},
|
|
10689
|
-
"400": {
|
|
10690
|
-
"content": {
|
|
10691
|
-
"application/json": {
|
|
10692
|
-
"schema": {
|
|
10693
|
-
"description": "Invalid data provided."
|
|
10694
|
-
}
|
|
10695
|
-
}
|
|
10696
|
-
},
|
|
10697
|
-
"description": ""
|
|
10698
|
-
},
|
|
10699
|
-
"401": {
|
|
10700
|
-
"content": {
|
|
10701
|
-
"application/json": {
|
|
10702
|
-
"schema": {
|
|
10703
|
-
"description": "Authentication credentials were not provided."
|
|
10704
|
-
}
|
|
10705
|
-
}
|
|
10706
|
-
},
|
|
10707
|
-
"description": ""
|
|
10708
|
-
}
|
|
10709
|
-
},
|
|
10710
|
-
"security": [
|
|
10711
|
-
{
|
|
10712
|
-
"jwtAuth": []
|
|
10713
|
-
}
|
|
10714
|
-
],
|
|
10715
|
-
"summary": "Update user profile",
|
|
10716
|
-
"tags": [
|
|
10717
|
-
"User Profile"
|
|
10718
|
-
],
|
|
10719
|
-
"x-async-capable": false
|
|
10720
|
-
},
|
|
10721
|
-
"put": {
|
|
10722
|
-
"description": "Update the current authenticated user's profile information.",
|
|
10723
|
-
"operationId": "cfg_accounts_profile_update_update",
|
|
10724
|
-
"requestBody": {
|
|
10725
|
-
"content": {
|
|
10726
|
-
"application/json": {
|
|
10727
|
-
"examples": {
|
|
10728
|
-
"ValidProfileUpdate": {
|
|
10729
|
-
"summary": "Valid Profile Update",
|
|
10730
|
-
"value": {
|
|
10731
|
-
"company": "Tech Corp",
|
|
10732
|
-
"first_name": "John",
|
|
10733
|
-
"last_name": "Doe",
|
|
10734
|
-
"phone": "+1 (555) 123-4567",
|
|
10735
|
-
"position": "Software Engineer"
|
|
10736
|
-
}
|
|
10737
|
-
}
|
|
10738
|
-
},
|
|
10739
|
-
"schema": {
|
|
10740
|
-
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
10741
|
-
}
|
|
10742
|
-
},
|
|
10743
|
-
"application/x-www-form-urlencoded": {
|
|
10744
|
-
"schema": {
|
|
10745
|
-
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
10746
|
-
}
|
|
10747
|
-
},
|
|
10748
|
-
"multipart/form-data": {
|
|
10749
|
-
"schema": {
|
|
10750
|
-
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
10751
|
-
}
|
|
10752
|
-
}
|
|
10753
|
-
}
|
|
10754
|
-
},
|
|
10755
|
-
"responses": {
|
|
10756
|
-
"200": {
|
|
10757
|
-
"content": {
|
|
10758
|
-
"application/json": {
|
|
10759
|
-
"schema": {
|
|
10760
|
-
"$ref": "#/components/schemas/User"
|
|
10761
|
-
}
|
|
10762
|
-
}
|
|
10763
|
-
},
|
|
10764
|
-
"description": ""
|
|
10765
|
-
},
|
|
10766
|
-
"400": {
|
|
10767
|
-
"content": {
|
|
10768
|
-
"application/json": {
|
|
10769
|
-
"schema": {
|
|
10770
|
-
"description": "Invalid data provided."
|
|
10771
|
-
}
|
|
10772
|
-
}
|
|
10773
|
-
},
|
|
10774
|
-
"description": ""
|
|
10775
|
-
},
|
|
10776
|
-
"401": {
|
|
10777
|
-
"content": {
|
|
10778
|
-
"application/json": {
|
|
10779
|
-
"schema": {
|
|
10780
|
-
"description": "Authentication credentials were not provided."
|
|
10781
|
-
}
|
|
10782
|
-
}
|
|
10783
|
-
},
|
|
10784
|
-
"description": ""
|
|
10785
|
-
}
|
|
10786
|
-
},
|
|
10787
|
-
"security": [
|
|
10788
|
-
{
|
|
10789
|
-
"jwtAuth": []
|
|
10790
|
-
}
|
|
10791
|
-
],
|
|
10792
|
-
"summary": "Update user profile",
|
|
10793
|
-
"tags": [
|
|
10794
|
-
"User Profile"
|
|
10795
|
-
],
|
|
10796
|
-
"x-async-capable": false
|
|
10797
|
-
}
|
|
10798
|
-
},
|
|
10799
|
-
"/cfg/accounts/token/refresh/": {
|
|
10800
|
-
"post": {
|
|
10801
|
-
"description": "Refresh JWT token.",
|
|
10802
|
-
"operationId": "cfg_accounts_token_refresh_create",
|
|
10803
|
-
"requestBody": {
|
|
10804
|
-
"content": {
|
|
10805
|
-
"application/json": {
|
|
10806
|
-
"schema": {
|
|
10807
|
-
"$ref": "#/components/schemas/TokenRefreshRequest"
|
|
10808
|
-
}
|
|
10809
|
-
},
|
|
10810
|
-
"application/x-www-form-urlencoded": {
|
|
10811
|
-
"schema": {
|
|
10812
|
-
"$ref": "#/components/schemas/TokenRefreshRequest"
|
|
10813
|
-
}
|
|
10814
|
-
},
|
|
10815
|
-
"multipart/form-data": {
|
|
10816
|
-
"schema": {
|
|
10817
|
-
"$ref": "#/components/schemas/TokenRefreshRequest"
|
|
10818
|
-
}
|
|
10819
|
-
}
|
|
10820
|
-
},
|
|
10821
|
-
"required": true
|
|
10822
|
-
},
|
|
10823
|
-
"responses": {
|
|
10824
|
-
"200": {
|
|
10825
|
-
"content": {
|
|
10826
|
-
"application/json": {
|
|
10827
|
-
"schema": {
|
|
10828
|
-
"$ref": "#/components/schemas/TokenRefresh"
|
|
10829
|
-
}
|
|
10830
|
-
}
|
|
10831
|
-
},
|
|
10832
|
-
"description": ""
|
|
10833
|
-
}
|
|
10834
|
-
},
|
|
10835
|
-
"tags": [
|
|
10836
|
-
"Auth"
|
|
10837
|
-
],
|
|
10838
|
-
"x-async-capable": false
|
|
10839
|
-
}
|
|
10840
|
-
},
|
|
10841
|
-
"/cfg/centrifugo/admin/api/monitor/channels/": {
|
|
10842
|
-
"get": {
|
|
10843
|
-
"description": "Get statistics per channel.",
|
|
10844
|
-
"operationId": "cfg_centrifugo_admin_api_monitor_channels_retrieve",
|
|
10845
|
-
"responses": {
|
|
10846
|
-
"200": {
|
|
10847
|
-
"description": "No response body"
|
|
10848
|
-
}
|
|
10849
|
-
},
|
|
10850
|
-
"security": [
|
|
10851
|
-
{
|
|
10852
|
-
"jwtAuth": []
|
|
10853
|
-
}
|
|
10854
|
-
],
|
|
10855
|
-
"tags": [
|
|
10856
|
-
"centrifugo"
|
|
10857
|
-
],
|
|
10858
|
-
"x-async-capable": false
|
|
10859
|
-
}
|
|
10860
|
-
},
|
|
10861
|
-
"/cfg/centrifugo/admin/api/monitor/health/": {
|
|
10862
|
-
"get": {
|
|
10863
|
-
"description": "Returns the current health status of the Centrifugo client.",
|
|
10864
|
-
"operationId": "cfg_centrifugo_admin_api_monitor_health_retrieve",
|
|
10865
|
-
"responses": {
|
|
10866
|
-
"200": {
|
|
10867
|
-
"content": {
|
|
10868
|
-
"application/json": {
|
|
10869
|
-
"schema": {
|
|
10870
|
-
"$ref": "#/components/schemas/HealthCheck"
|
|
10871
|
-
}
|
|
10872
|
-
}
|
|
10873
|
-
},
|
|
10874
|
-
"description": ""
|
|
10875
|
-
},
|
|
10876
|
-
"503": {
|
|
10877
|
-
"content": {
|
|
10878
|
-
"application/json": {
|
|
10879
|
-
"schema": {
|
|
10880
|
-
"description": "Service unavailable"
|
|
10881
|
-
}
|
|
10882
|
-
}
|
|
10883
|
-
},
|
|
10884
|
-
"description": ""
|
|
10885
|
-
}
|
|
10886
|
-
},
|
|
10887
|
-
"security": [
|
|
10888
|
-
{
|
|
10889
|
-
"jwtAuth": []
|
|
10890
|
-
}
|
|
10891
|
-
],
|
|
10892
|
-
"summary": "Get Centrifugo health status",
|
|
10893
|
-
"tags": [
|
|
10894
|
-
"Centrifugo Monitoring"
|
|
10895
|
-
],
|
|
10896
|
-
"x-async-capable": false
|
|
10897
|
-
}
|
|
10898
|
-
},
|
|
10899
|
-
"/cfg/centrifugo/admin/api/monitor/overview/": {
|
|
10900
|
-
"get": {
|
|
10901
|
-
"description": "Returns overview statistics for Centrifugo publishes.",
|
|
10902
|
-
"operationId": "cfg_centrifugo_admin_api_monitor_overview_retrieve",
|
|
10903
|
-
"parameters": [
|
|
10904
|
-
{
|
|
10905
|
-
"description": "Statistics period in hours (default: 24)",
|
|
10906
|
-
"in": "query",
|
|
10907
|
-
"name": "hours",
|
|
10908
|
-
"schema": {
|
|
10909
|
-
"type": "integer"
|
|
10910
|
-
}
|
|
10911
|
-
}
|
|
10912
|
-
],
|
|
10913
|
-
"responses": {
|
|
10914
|
-
"200": {
|
|
10915
|
-
"content": {
|
|
10916
|
-
"application/json": {
|
|
10917
|
-
"schema": {
|
|
10918
|
-
"$ref": "#/components/schemas/OverviewStats"
|
|
10919
|
-
}
|
|
10920
|
-
}
|
|
10921
|
-
},
|
|
10922
|
-
"description": ""
|
|
10923
|
-
},
|
|
10924
|
-
"400": {
|
|
10925
|
-
"content": {
|
|
10926
|
-
"application/json": {
|
|
10927
|
-
"schema": {
|
|
10928
|
-
"description": "Invalid parameters"
|
|
10929
|
-
}
|
|
10930
|
-
}
|
|
10931
|
-
},
|
|
10932
|
-
"description": ""
|
|
10933
|
-
}
|
|
10934
|
-
},
|
|
10935
|
-
"security": [
|
|
10936
|
-
{
|
|
10937
|
-
"jwtAuth": []
|
|
10938
|
-
}
|
|
10939
|
-
],
|
|
10940
|
-
"summary": "Get overview statistics",
|
|
10941
|
-
"tags": [
|
|
10942
|
-
"Centrifugo Monitoring"
|
|
10943
|
-
],
|
|
10944
|
-
"x-async-capable": false
|
|
10945
|
-
}
|
|
10946
|
-
},
|
|
10947
|
-
"/cfg/centrifugo/admin/api/monitor/publishes/": {
|
|
10948
|
-
"get": {
|
|
10949
|
-
"description": "Returns a list of recent Centrifugo publishes with their details.",
|
|
10950
|
-
"operationId": "cfg_centrifugo_admin_api_monitor_publishes_retrieve",
|
|
10951
|
-
"parameters": [
|
|
10952
|
-
{
|
|
10953
|
-
"description": "Filter by channel name",
|
|
10954
|
-
"in": "query",
|
|
10955
|
-
"name": "channel",
|
|
10956
|
-
"schema": {
|
|
10957
|
-
"type": "string"
|
|
10958
|
-
}
|
|
10959
|
-
},
|
|
10960
|
-
{
|
|
10961
|
-
"description": "Number of publishes to return (default: 50, max: 200)",
|
|
10962
|
-
"in": "query",
|
|
10963
|
-
"name": "count",
|
|
10964
|
-
"schema": {
|
|
10965
|
-
"type": "integer"
|
|
10966
|
-
}
|
|
10967
|
-
},
|
|
10968
|
-
{
|
|
10969
|
-
"description": "Offset for pagination (default: 0)",
|
|
10970
|
-
"in": "query",
|
|
10971
|
-
"name": "offset",
|
|
10972
|
-
"schema": {
|
|
10973
|
-
"type": "integer"
|
|
10974
|
-
}
|
|
10975
|
-
},
|
|
10976
|
-
{
|
|
10977
|
-
"description": "Filter by status (success, failed, timeout, pending, partial)",
|
|
10978
|
-
"in": "query",
|
|
10979
|
-
"name": "status",
|
|
10980
|
-
"schema": {
|
|
10981
|
-
"type": "string"
|
|
10982
|
-
}
|
|
10983
|
-
}
|
|
10984
|
-
],
|
|
10985
|
-
"responses": {
|
|
10986
|
-
"200": {
|
|
10987
|
-
"content": {
|
|
10988
|
-
"application/json": {
|
|
10989
|
-
"schema": {
|
|
10990
|
-
"$ref": "#/components/schemas/RecentPublishes"
|
|
10991
|
-
}
|
|
10992
|
-
}
|
|
10993
|
-
},
|
|
10994
|
-
"description": ""
|
|
10995
|
-
},
|
|
10996
|
-
"400": {
|
|
10997
|
-
"content": {
|
|
10998
|
-
"application/json": {
|
|
10999
|
-
"schema": {
|
|
11000
|
-
"description": "Invalid parameters"
|
|
11001
|
-
}
|
|
11002
|
-
}
|
|
11003
|
-
},
|
|
11004
|
-
"description": ""
|
|
11005
|
-
}
|
|
11006
|
-
},
|
|
11007
|
-
"security": [
|
|
11008
|
-
{
|
|
11009
|
-
"jwtAuth": []
|
|
11010
|
-
}
|
|
11011
|
-
],
|
|
11012
|
-
"summary": "Get recent publishes",
|
|
11013
|
-
"tags": [
|
|
11014
|
-
"Centrifugo Monitoring"
|
|
11015
|
-
],
|
|
11016
|
-
"x-async-capable": false
|
|
11017
|
-
}
|
|
11018
|
-
},
|
|
11019
|
-
"/cfg/centrifugo/admin/api/monitor/timeline/": {
|
|
11020
|
-
"get": {
|
|
11021
|
-
"description": "Returns statistics grouped by channel.",
|
|
11022
|
-
"operationId": "cfg_centrifugo_admin_api_monitor_timeline_retrieve",
|
|
11023
|
-
"parameters": [
|
|
11024
|
-
{
|
|
11025
|
-
"description": "Statistics period in hours (default: 24)",
|
|
11026
|
-
"in": "query",
|
|
11027
|
-
"name": "hours",
|
|
11028
|
-
"schema": {
|
|
11029
|
-
"type": "integer"
|
|
11030
|
-
}
|
|
11031
|
-
},
|
|
11032
|
-
{
|
|
11033
|
-
"description": "Time interval: 'hour' or 'day' (default: hour)",
|
|
11034
|
-
"in": "query",
|
|
11035
|
-
"name": "interval",
|
|
11036
|
-
"schema": {
|
|
11037
|
-
"type": "string"
|
|
11038
|
-
}
|
|
11039
|
-
}
|
|
11040
|
-
],
|
|
11041
|
-
"responses": {
|
|
11042
|
-
"200": {
|
|
11043
|
-
"content": {
|
|
11044
|
-
"application/json": {
|
|
11045
|
-
"schema": {
|
|
11046
|
-
"$ref": "#/components/schemas/ChannelList"
|
|
11047
|
-
}
|
|
11048
|
-
}
|
|
11049
|
-
},
|
|
11050
|
-
"description": ""
|
|
11051
|
-
},
|
|
11052
|
-
"400": {
|
|
11053
|
-
"content": {
|
|
11054
|
-
"application/json": {
|
|
11055
|
-
"schema": {
|
|
11056
|
-
"description": "Invalid parameters"
|
|
11057
|
-
}
|
|
11058
|
-
}
|
|
11059
|
-
},
|
|
11060
|
-
"description": ""
|
|
11061
|
-
}
|
|
11062
|
-
},
|
|
11063
|
-
"security": [
|
|
11064
|
-
{
|
|
11065
|
-
"jwtAuth": []
|
|
11066
|
-
}
|
|
11067
|
-
],
|
|
11068
|
-
"summary": "Get channel statistics",
|
|
11069
|
-
"tags": [
|
|
11070
|
-
"Centrifugo Monitoring"
|
|
11071
|
-
],
|
|
11072
|
-
"x-async-capable": false
|
|
11073
|
-
}
|
|
11074
|
-
},
|
|
11075
|
-
"/cfg/centrifugo/admin/api/server/auth/token/": {
|
|
11076
|
-
"post": {
|
|
11077
|
-
"description": "Returns JWT token and config for WebSocket connection to Centrifugo.",
|
|
11078
|
-
"operationId": "cfg_centrifugo_admin_api_server_auth_token_create",
|
|
11079
|
-
"responses": {
|
|
11080
|
-
"200": {
|
|
11081
|
-
"content": {
|
|
11082
|
-
"application/json": {
|
|
11083
|
-
"schema": {
|
|
11084
|
-
"properties": {
|
|
11085
|
-
"config": {
|
|
11086
|
-
"properties": {
|
|
11087
|
-
"centrifugo_url": {
|
|
11088
|
-
"type": "string"
|
|
11089
|
-
},
|
|
11090
|
-
"expires_at": {
|
|
11091
|
-
"type": "string"
|
|
11092
|
-
}
|
|
11093
|
-
},
|
|
11094
|
-
"type": "object"
|
|
11095
|
-
},
|
|
11096
|
-
"token": {
|
|
11097
|
-
"type": "string"
|
|
11098
|
-
}
|
|
11099
|
-
},
|
|
11100
|
-
"type": "object"
|
|
11101
|
-
}
|
|
11102
|
-
}
|
|
11103
|
-
},
|
|
11104
|
-
"description": ""
|
|
11105
|
-
},
|
|
11106
|
-
"400": {
|
|
11107
|
-
"content": {
|
|
11108
|
-
"application/json": {
|
|
11109
|
-
"schema": {
|
|
11110
|
-
"description": "Centrifugo not configured"
|
|
11111
|
-
}
|
|
11112
|
-
}
|
|
11113
|
-
},
|
|
11114
|
-
"description": ""
|
|
11115
|
-
},
|
|
11116
|
-
"500": {
|
|
11117
|
-
"content": {
|
|
11118
|
-
"application/json": {
|
|
11119
|
-
"schema": {
|
|
11120
|
-
"description": "Server error"
|
|
11121
|
-
}
|
|
11122
|
-
}
|
|
11123
|
-
},
|
|
11124
|
-
"description": ""
|
|
11125
|
-
}
|
|
11126
|
-
},
|
|
11127
|
-
"security": [
|
|
11128
|
-
{
|
|
11129
|
-
"jwtAuth": []
|
|
11130
|
-
}
|
|
11131
|
-
],
|
|
11132
|
-
"summary": "Get connection token for dashboard",
|
|
11133
|
-
"tags": [
|
|
11134
|
-
"Centrifugo Admin API"
|
|
11135
|
-
],
|
|
11136
|
-
"x-async-capable": false
|
|
11137
|
-
}
|
|
11138
|
-
},
|
|
11139
|
-
"/cfg/centrifugo/admin/api/server/channels/": {
|
|
11140
|
-
"post": {
|
|
11141
|
-
"description": "Returns list of active channels with optional pattern filter.",
|
|
11142
|
-
"operationId": "cfg_centrifugo_admin_api_server_channels_create",
|
|
11143
|
-
"requestBody": {
|
|
11144
|
-
"content": {
|
|
11145
|
-
"application/json": {
|
|
11146
|
-
"schema": {
|
|
11147
|
-
"$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
|
|
11148
|
-
}
|
|
11149
|
-
},
|
|
11150
|
-
"application/x-www-form-urlencoded": {
|
|
11151
|
-
"schema": {
|
|
11152
|
-
"$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
|
|
11153
|
-
}
|
|
11154
|
-
},
|
|
11155
|
-
"multipart/form-data": {
|
|
11156
|
-
"schema": {
|
|
11157
|
-
"$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
|
|
11158
|
-
}
|
|
11159
|
-
}
|
|
11160
|
-
}
|
|
11161
|
-
},
|
|
11162
|
-
"responses": {
|
|
11163
|
-
"200": {
|
|
11164
|
-
"content": {
|
|
11165
|
-
"application/json": {
|
|
11166
|
-
"schema": {
|
|
11167
|
-
"$ref": "#/components/schemas/CentrifugoChannelsResponse"
|
|
11168
|
-
}
|
|
11169
|
-
}
|
|
11170
|
-
},
|
|
11171
|
-
"description": ""
|
|
11172
|
-
},
|
|
11173
|
-
"500": {
|
|
11174
|
-
"content": {
|
|
11175
|
-
"application/json": {
|
|
11176
|
-
"schema": {
|
|
11177
|
-
"description": "Server error"
|
|
11178
|
-
}
|
|
11179
|
-
}
|
|
11180
|
-
},
|
|
11181
|
-
"description": ""
|
|
11182
|
-
}
|
|
11183
|
-
},
|
|
11184
|
-
"security": [
|
|
11185
|
-
{
|
|
11186
|
-
"jwtAuth": []
|
|
11187
|
-
}
|
|
11188
|
-
],
|
|
11189
|
-
"summary": "List active channels",
|
|
11190
|
-
"tags": [
|
|
11191
|
-
"Centrifugo Admin API"
|
|
11192
|
-
],
|
|
11193
|
-
"x-async-capable": false
|
|
11194
|
-
}
|
|
11195
|
-
},
|
|
11196
|
-
"/cfg/centrifugo/admin/api/server/history/": {
|
|
11197
|
-
"post": {
|
|
11198
|
-
"description": "Returns message history for a channel.",
|
|
11199
|
-
"operationId": "cfg_centrifugo_admin_api_server_history_create",
|
|
11200
|
-
"requestBody": {
|
|
11201
|
-
"content": {
|
|
11202
|
-
"application/json": {
|
|
11203
|
-
"schema": {
|
|
11204
|
-
"$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
|
|
11205
|
-
}
|
|
11206
|
-
},
|
|
11207
|
-
"application/x-www-form-urlencoded": {
|
|
11208
|
-
"schema": {
|
|
11209
|
-
"$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
|
|
11210
|
-
}
|
|
11211
|
-
},
|
|
11212
|
-
"multipart/form-data": {
|
|
11213
|
-
"schema": {
|
|
11214
|
-
"$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
|
|
11215
|
-
}
|
|
11216
|
-
}
|
|
11217
|
-
},
|
|
11218
|
-
"required": true
|
|
11219
|
-
},
|
|
11220
|
-
"responses": {
|
|
11221
|
-
"200": {
|
|
11222
|
-
"content": {
|
|
11223
|
-
"application/json": {
|
|
11224
|
-
"schema": {
|
|
11225
|
-
"$ref": "#/components/schemas/CentrifugoHistoryResponse"
|
|
11226
|
-
}
|
|
11227
|
-
}
|
|
11228
|
-
},
|
|
11229
|
-
"description": ""
|
|
11230
|
-
},
|
|
11231
|
-
"500": {
|
|
11232
|
-
"content": {
|
|
11233
|
-
"application/json": {
|
|
11234
|
-
"schema": {
|
|
11235
|
-
"description": "Server error"
|
|
11236
|
-
}
|
|
11237
|
-
}
|
|
11238
|
-
},
|
|
11239
|
-
"description": ""
|
|
11240
|
-
}
|
|
11241
|
-
},
|
|
11242
|
-
"security": [
|
|
11243
|
-
{
|
|
11244
|
-
"jwtAuth": []
|
|
11245
|
-
}
|
|
11246
|
-
],
|
|
11247
|
-
"summary": "Get channel history",
|
|
11248
|
-
"tags": [
|
|
11249
|
-
"Centrifugo Admin API"
|
|
11250
|
-
],
|
|
11251
|
-
"x-async-capable": false
|
|
11252
|
-
}
|
|
11253
|
-
},
|
|
11254
|
-
"/cfg/centrifugo/admin/api/server/info/": {
|
|
11255
|
-
"post": {
|
|
11256
|
-
"description": "Returns server information including node count, version, and uptime.",
|
|
11257
|
-
"operationId": "cfg_centrifugo_admin_api_server_info_create",
|
|
11258
|
-
"responses": {
|
|
11259
|
-
"200": {
|
|
11260
|
-
"content": {
|
|
11261
|
-
"application/json": {
|
|
11262
|
-
"schema": {
|
|
11263
|
-
"$ref": "#/components/schemas/CentrifugoInfoResponse"
|
|
11264
|
-
}
|
|
11265
|
-
}
|
|
11266
|
-
},
|
|
11267
|
-
"description": ""
|
|
11268
|
-
},
|
|
11269
|
-
"500": {
|
|
11270
|
-
"content": {
|
|
11271
|
-
"application/json": {
|
|
11272
|
-
"schema": {
|
|
11273
|
-
"description": "Server error"
|
|
11274
|
-
}
|
|
11275
|
-
}
|
|
11276
|
-
},
|
|
11277
|
-
"description": ""
|
|
11278
|
-
}
|
|
11279
|
-
},
|
|
11280
|
-
"security": [
|
|
11281
|
-
{
|
|
11282
|
-
"jwtAuth": []
|
|
11283
|
-
}
|
|
11284
|
-
],
|
|
11285
|
-
"summary": "Get Centrifugo server info",
|
|
11286
|
-
"tags": [
|
|
11287
|
-
"Centrifugo Admin API"
|
|
11288
|
-
],
|
|
11289
|
-
"x-async-capable": false
|
|
11290
|
-
}
|
|
11291
|
-
},
|
|
11292
|
-
"/cfg/centrifugo/admin/api/server/presence-stats/": {
|
|
11293
|
-
"post": {
|
|
11294
|
-
"description": "Returns quick statistics about channel presence (num_clients, num_users).",
|
|
11295
|
-
"operationId": "cfg_centrifugo_admin_api_server_presence_stats_create",
|
|
11296
|
-
"requestBody": {
|
|
11297
|
-
"content": {
|
|
11298
|
-
"application/json": {
|
|
11299
|
-
"schema": {
|
|
11300
|
-
"$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
|
|
11301
|
-
}
|
|
11302
|
-
},
|
|
11303
|
-
"application/x-www-form-urlencoded": {
|
|
11304
|
-
"schema": {
|
|
11305
|
-
"$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
|
|
11306
|
-
}
|
|
11307
|
-
},
|
|
11308
|
-
"multipart/form-data": {
|
|
11309
|
-
"schema": {
|
|
11310
|
-
"$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
|
|
11311
|
-
}
|
|
11312
|
-
}
|
|
11313
|
-
},
|
|
11314
|
-
"required": true
|
|
11315
|
-
},
|
|
11316
|
-
"responses": {
|
|
11317
|
-
"200": {
|
|
11318
|
-
"content": {
|
|
11319
|
-
"application/json": {
|
|
11320
|
-
"schema": {
|
|
11321
|
-
"$ref": "#/components/schemas/CentrifugoPresenceStatsResponse"
|
|
11322
|
-
}
|
|
11323
|
-
}
|
|
11324
|
-
},
|
|
11325
|
-
"description": ""
|
|
11326
|
-
},
|
|
11327
|
-
"500": {
|
|
11328
|
-
"content": {
|
|
11329
|
-
"application/json": {
|
|
11330
|
-
"schema": {
|
|
11331
|
-
"description": "Server error"
|
|
11332
|
-
}
|
|
11333
|
-
}
|
|
11334
|
-
},
|
|
11335
|
-
"description": ""
|
|
11336
|
-
}
|
|
11337
|
-
},
|
|
11338
|
-
"security": [
|
|
11339
|
-
{
|
|
11340
|
-
"jwtAuth": []
|
|
11341
|
-
}
|
|
11342
|
-
],
|
|
11343
|
-
"summary": "Get channel presence statistics",
|
|
11344
|
-
"tags": [
|
|
11345
|
-
"Centrifugo Admin API"
|
|
11346
|
-
],
|
|
11347
|
-
"x-async-capable": false
|
|
11348
|
-
}
|
|
11349
|
-
},
|
|
11350
|
-
"/cfg/centrifugo/admin/api/server/presence/": {
|
|
11351
|
-
"post": {
|
|
11352
|
-
"description": "Returns list of clients currently subscribed to a channel.",
|
|
11353
|
-
"operationId": "cfg_centrifugo_admin_api_server_presence_create",
|
|
11354
|
-
"requestBody": {
|
|
11355
|
-
"content": {
|
|
11356
|
-
"application/json": {
|
|
11357
|
-
"schema": {
|
|
11358
|
-
"$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
|
|
11359
|
-
}
|
|
11360
|
-
},
|
|
11361
|
-
"application/x-www-form-urlencoded": {
|
|
11362
|
-
"schema": {
|
|
11363
|
-
"$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
|
|
11364
|
-
}
|
|
11365
|
-
},
|
|
11366
|
-
"multipart/form-data": {
|
|
11367
|
-
"schema": {
|
|
11368
|
-
"$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
|
|
11369
|
-
}
|
|
11370
|
-
}
|
|
11371
|
-
},
|
|
11372
|
-
"required": true
|
|
11373
|
-
},
|
|
11374
|
-
"responses": {
|
|
11375
|
-
"200": {
|
|
11376
|
-
"content": {
|
|
11377
|
-
"application/json": {
|
|
11378
|
-
"schema": {
|
|
11379
|
-
"$ref": "#/components/schemas/CentrifugoPresenceResponse"
|
|
11380
|
-
}
|
|
11381
|
-
}
|
|
11382
|
-
},
|
|
11383
|
-
"description": ""
|
|
11384
|
-
},
|
|
11385
|
-
"500": {
|
|
11386
|
-
"content": {
|
|
11387
|
-
"application/json": {
|
|
11388
|
-
"schema": {
|
|
11389
|
-
"description": "Server error"
|
|
11390
|
-
}
|
|
11391
|
-
}
|
|
11392
|
-
},
|
|
11393
|
-
"description": ""
|
|
11394
|
-
}
|
|
11395
|
-
},
|
|
11396
|
-
"security": [
|
|
11397
|
-
{
|
|
11398
|
-
"jwtAuth": []
|
|
11399
|
-
}
|
|
11400
|
-
],
|
|
11401
|
-
"summary": "Get channel presence",
|
|
11402
|
-
"tags": [
|
|
11403
|
-
"Centrifugo Admin API"
|
|
11404
|
-
],
|
|
11405
|
-
"x-async-capable": false
|
|
11406
|
-
}
|
|
11407
|
-
},
|
|
11408
|
-
"/cfg/centrifugo/admin/api/testing/connection-token/": {
|
|
11409
|
-
"post": {
|
|
11410
|
-
"description": "Generate JWT token for WebSocket connection to Centrifugo.",
|
|
11411
|
-
"operationId": "cfg_centrifugo_admin_api_testing_connection_token_create",
|
|
11412
|
-
"requestBody": {
|
|
11413
|
-
"content": {
|
|
11414
|
-
"application/json": {
|
|
10405
|
+
"phone": "+1 (555) 123-4567",
|
|
10406
|
+
"position": "Software Engineer"
|
|
10407
|
+
}
|
|
10408
|
+
}
|
|
10409
|
+
},
|
|
11415
10410
|
"schema": {
|
|
11416
|
-
"$ref": "#/components/schemas/
|
|
10411
|
+
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
11417
10412
|
}
|
|
11418
10413
|
},
|
|
11419
10414
|
"application/x-www-form-urlencoded": {
|
|
11420
10415
|
"schema": {
|
|
11421
|
-
"$ref": "#/components/schemas/
|
|
10416
|
+
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
11422
10417
|
}
|
|
11423
10418
|
},
|
|
11424
10419
|
"multipart/form-data": {
|
|
11425
10420
|
"schema": {
|
|
11426
|
-
"$ref": "#/components/schemas/
|
|
10421
|
+
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
11427
10422
|
}
|
|
11428
10423
|
}
|
|
11429
|
-
}
|
|
11430
|
-
"required": true
|
|
10424
|
+
}
|
|
11431
10425
|
},
|
|
11432
10426
|
"responses": {
|
|
11433
10427
|
"200": {
|
|
11434
10428
|
"content": {
|
|
11435
10429
|
"application/json": {
|
|
11436
10430
|
"schema": {
|
|
11437
|
-
"$ref": "#/components/schemas/
|
|
10431
|
+
"$ref": "#/components/schemas/User"
|
|
11438
10432
|
}
|
|
11439
10433
|
}
|
|
11440
10434
|
},
|
|
@@ -11444,17 +10438,17 @@ var OPENAPI_SCHEMA = {
|
|
|
11444
10438
|
"content": {
|
|
11445
10439
|
"application/json": {
|
|
11446
10440
|
"schema": {
|
|
11447
|
-
"description": "Invalid
|
|
10441
|
+
"description": "Invalid data provided."
|
|
11448
10442
|
}
|
|
11449
10443
|
}
|
|
11450
10444
|
},
|
|
11451
10445
|
"description": ""
|
|
11452
10446
|
},
|
|
11453
|
-
"
|
|
10447
|
+
"401": {
|
|
11454
10448
|
"content": {
|
|
11455
10449
|
"application/json": {
|
|
11456
10450
|
"schema": {
|
|
11457
|
-
"description": "
|
|
10451
|
+
"description": "Authentication credentials were not provided."
|
|
11458
10452
|
}
|
|
11459
10453
|
}
|
|
11460
10454
|
},
|
|
@@ -11466,43 +10460,54 @@ var OPENAPI_SCHEMA = {
|
|
|
11466
10460
|
"jwtAuth": []
|
|
11467
10461
|
}
|
|
11468
10462
|
],
|
|
11469
|
-
"summary": "
|
|
10463
|
+
"summary": "Partial update user profile",
|
|
11470
10464
|
"tags": [
|
|
11471
|
-
"
|
|
10465
|
+
"User Profile"
|
|
11472
10466
|
],
|
|
11473
10467
|
"x-async-capable": false
|
|
11474
10468
|
}
|
|
11475
10469
|
},
|
|
11476
|
-
"/cfg/
|
|
11477
|
-
"
|
|
11478
|
-
"description": "
|
|
11479
|
-
"operationId": "
|
|
10470
|
+
"/cfg/accounts/profile/update/": {
|
|
10471
|
+
"patch": {
|
|
10472
|
+
"description": "Update the current authenticated user's profile information.",
|
|
10473
|
+
"operationId": "cfg_accounts_profile_update_partial_update",
|
|
11480
10474
|
"requestBody": {
|
|
11481
10475
|
"content": {
|
|
11482
10476
|
"application/json": {
|
|
10477
|
+
"examples": {
|
|
10478
|
+
"ValidProfileUpdate": {
|
|
10479
|
+
"summary": "Valid Profile Update",
|
|
10480
|
+
"value": {
|
|
10481
|
+
"company": "Tech Corp",
|
|
10482
|
+
"first_name": "John",
|
|
10483
|
+
"last_name": "Doe",
|
|
10484
|
+
"phone": "+1 (555) 123-4567",
|
|
10485
|
+
"position": "Software Engineer"
|
|
10486
|
+
}
|
|
10487
|
+
}
|
|
10488
|
+
},
|
|
11483
10489
|
"schema": {
|
|
11484
|
-
"$ref": "#/components/schemas/
|
|
10490
|
+
"$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
|
|
11485
10491
|
}
|
|
11486
10492
|
},
|
|
11487
10493
|
"application/x-www-form-urlencoded": {
|
|
11488
10494
|
"schema": {
|
|
11489
|
-
"$ref": "#/components/schemas/
|
|
10495
|
+
"$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
|
|
11490
10496
|
}
|
|
11491
10497
|
},
|
|
11492
10498
|
"multipart/form-data": {
|
|
11493
10499
|
"schema": {
|
|
11494
|
-
"$ref": "#/components/schemas/
|
|
10500
|
+
"$ref": "#/components/schemas/PatchedUserProfileUpdateRequest"
|
|
11495
10501
|
}
|
|
11496
10502
|
}
|
|
11497
|
-
}
|
|
11498
|
-
"required": true
|
|
10503
|
+
}
|
|
11499
10504
|
},
|
|
11500
10505
|
"responses": {
|
|
11501
10506
|
"200": {
|
|
11502
10507
|
"content": {
|
|
11503
10508
|
"application/json": {
|
|
11504
10509
|
"schema": {
|
|
11505
|
-
"$ref": "#/components/schemas/
|
|
10510
|
+
"$ref": "#/components/schemas/User"
|
|
11506
10511
|
}
|
|
11507
10512
|
}
|
|
11508
10513
|
},
|
|
@@ -11512,17 +10517,17 @@ var OPENAPI_SCHEMA = {
|
|
|
11512
10517
|
"content": {
|
|
11513
10518
|
"application/json": {
|
|
11514
10519
|
"schema": {
|
|
11515
|
-
"description": "Invalid
|
|
10520
|
+
"description": "Invalid data provided."
|
|
11516
10521
|
}
|
|
11517
10522
|
}
|
|
11518
10523
|
},
|
|
11519
10524
|
"description": ""
|
|
11520
10525
|
},
|
|
11521
|
-
"
|
|
10526
|
+
"401": {
|
|
11522
10527
|
"content": {
|
|
11523
10528
|
"application/json": {
|
|
11524
10529
|
"schema": {
|
|
11525
|
-
"description": "
|
|
10530
|
+
"description": "Authentication credentials were not provided."
|
|
11526
10531
|
}
|
|
11527
10532
|
}
|
|
11528
10533
|
},
|
|
@@ -11534,43 +10539,52 @@ var OPENAPI_SCHEMA = {
|
|
|
11534
10539
|
"jwtAuth": []
|
|
11535
10540
|
}
|
|
11536
10541
|
],
|
|
11537
|
-
"summary": "
|
|
10542
|
+
"summary": "Update user profile",
|
|
11538
10543
|
"tags": [
|
|
11539
|
-
"
|
|
10544
|
+
"User Profile"
|
|
11540
10545
|
],
|
|
11541
10546
|
"x-async-capable": false
|
|
11542
|
-
}
|
|
11543
|
-
|
|
11544
|
-
|
|
11545
|
-
|
|
11546
|
-
"description": "Publish message using CentrifugoClient with database logging. This will create CentrifugoLog records.",
|
|
11547
|
-
"operationId": "cfg_centrifugo_admin_api_testing_publish_with_logging_create",
|
|
10547
|
+
},
|
|
10548
|
+
"put": {
|
|
10549
|
+
"description": "Update the current authenticated user's profile information.",
|
|
10550
|
+
"operationId": "cfg_accounts_profile_update_update",
|
|
11548
10551
|
"requestBody": {
|
|
11549
10552
|
"content": {
|
|
11550
10553
|
"application/json": {
|
|
10554
|
+
"examples": {
|
|
10555
|
+
"ValidProfileUpdate": {
|
|
10556
|
+
"summary": "Valid Profile Update",
|
|
10557
|
+
"value": {
|
|
10558
|
+
"company": "Tech Corp",
|
|
10559
|
+
"first_name": "John",
|
|
10560
|
+
"last_name": "Doe",
|
|
10561
|
+
"phone": "+1 (555) 123-4567",
|
|
10562
|
+
"position": "Software Engineer"
|
|
10563
|
+
}
|
|
10564
|
+
}
|
|
10565
|
+
},
|
|
11551
10566
|
"schema": {
|
|
11552
|
-
"$ref": "#/components/schemas/
|
|
10567
|
+
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
11553
10568
|
}
|
|
11554
10569
|
},
|
|
11555
10570
|
"application/x-www-form-urlencoded": {
|
|
11556
10571
|
"schema": {
|
|
11557
|
-
"$ref": "#/components/schemas/
|
|
10572
|
+
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
11558
10573
|
}
|
|
11559
10574
|
},
|
|
11560
10575
|
"multipart/form-data": {
|
|
11561
10576
|
"schema": {
|
|
11562
|
-
"$ref": "#/components/schemas/
|
|
10577
|
+
"$ref": "#/components/schemas/UserProfileUpdateRequest"
|
|
11563
10578
|
}
|
|
11564
10579
|
}
|
|
11565
|
-
}
|
|
11566
|
-
"required": true
|
|
10580
|
+
}
|
|
11567
10581
|
},
|
|
11568
10582
|
"responses": {
|
|
11569
10583
|
"200": {
|
|
11570
10584
|
"content": {
|
|
11571
10585
|
"application/json": {
|
|
11572
10586
|
"schema": {
|
|
11573
|
-
"$ref": "#/components/schemas/
|
|
10587
|
+
"$ref": "#/components/schemas/User"
|
|
11574
10588
|
}
|
|
11575
10589
|
}
|
|
11576
10590
|
},
|
|
@@ -11580,17 +10594,17 @@ var OPENAPI_SCHEMA = {
|
|
|
11580
10594
|
"content": {
|
|
11581
10595
|
"application/json": {
|
|
11582
10596
|
"schema": {
|
|
11583
|
-
"description": "Invalid
|
|
10597
|
+
"description": "Invalid data provided."
|
|
11584
10598
|
}
|
|
11585
10599
|
}
|
|
11586
10600
|
},
|
|
11587
10601
|
"description": ""
|
|
11588
10602
|
},
|
|
11589
|
-
"
|
|
10603
|
+
"401": {
|
|
11590
10604
|
"content": {
|
|
11591
10605
|
"application/json": {
|
|
11592
10606
|
"schema": {
|
|
11593
|
-
"description": "
|
|
10607
|
+
"description": "Authentication credentials were not provided."
|
|
11594
10608
|
}
|
|
11595
10609
|
}
|
|
11596
10610
|
},
|
|
@@ -11602,32 +10616,32 @@ var OPENAPI_SCHEMA = {
|
|
|
11602
10616
|
"jwtAuth": []
|
|
11603
10617
|
}
|
|
11604
10618
|
],
|
|
11605
|
-
"summary": "
|
|
10619
|
+
"summary": "Update user profile",
|
|
11606
10620
|
"tags": [
|
|
11607
|
-
"
|
|
10621
|
+
"User Profile"
|
|
11608
10622
|
],
|
|
11609
10623
|
"x-async-capable": false
|
|
11610
10624
|
}
|
|
11611
10625
|
},
|
|
11612
|
-
"/cfg/
|
|
10626
|
+
"/cfg/accounts/token/refresh/": {
|
|
11613
10627
|
"post": {
|
|
11614
|
-
"description": "
|
|
11615
|
-
"operationId": "
|
|
10628
|
+
"description": "Refresh JWT token.",
|
|
10629
|
+
"operationId": "cfg_accounts_token_refresh_create",
|
|
11616
10630
|
"requestBody": {
|
|
11617
10631
|
"content": {
|
|
11618
10632
|
"application/json": {
|
|
11619
10633
|
"schema": {
|
|
11620
|
-
"$ref": "#/components/schemas/
|
|
10634
|
+
"$ref": "#/components/schemas/TokenRefreshRequest"
|
|
11621
10635
|
}
|
|
11622
10636
|
},
|
|
11623
10637
|
"application/x-www-form-urlencoded": {
|
|
11624
10638
|
"schema": {
|
|
11625
|
-
"$ref": "#/components/schemas/
|
|
10639
|
+
"$ref": "#/components/schemas/TokenRefreshRequest"
|
|
11626
10640
|
}
|
|
11627
10641
|
},
|
|
11628
10642
|
"multipart/form-data": {
|
|
11629
10643
|
"schema": {
|
|
11630
|
-
"$ref": "#/components/schemas/
|
|
10644
|
+
"$ref": "#/components/schemas/TokenRefreshRequest"
|
|
11631
10645
|
}
|
|
11632
10646
|
}
|
|
11633
10647
|
},
|
|
@@ -11638,41 +10652,15 @@ var OPENAPI_SCHEMA = {
|
|
|
11638
10652
|
"content": {
|
|
11639
10653
|
"application/json": {
|
|
11640
10654
|
"schema": {
|
|
11641
|
-
"$ref": "#/components/schemas/
|
|
11642
|
-
}
|
|
11643
|
-
}
|
|
11644
|
-
},
|
|
11645
|
-
"description": ""
|
|
11646
|
-
},
|
|
11647
|
-
"400": {
|
|
11648
|
-
"content": {
|
|
11649
|
-
"application/json": {
|
|
11650
|
-
"schema": {
|
|
11651
|
-
"description": "Invalid request"
|
|
11652
|
-
}
|
|
11653
|
-
}
|
|
11654
|
-
},
|
|
11655
|
-
"description": ""
|
|
11656
|
-
},
|
|
11657
|
-
"500": {
|
|
11658
|
-
"content": {
|
|
11659
|
-
"application/json": {
|
|
11660
|
-
"schema": {
|
|
11661
|
-
"description": "Server error"
|
|
10655
|
+
"$ref": "#/components/schemas/TokenRefresh"
|
|
11662
10656
|
}
|
|
11663
10657
|
}
|
|
11664
10658
|
},
|
|
11665
10659
|
"description": ""
|
|
11666
10660
|
}
|
|
11667
10661
|
},
|
|
11668
|
-
"security": [
|
|
11669
|
-
{
|
|
11670
|
-
"jwtAuth": []
|
|
11671
|
-
}
|
|
11672
|
-
],
|
|
11673
|
-
"summary": "Send manual ACK",
|
|
11674
10662
|
"tags": [
|
|
11675
|
-
"
|
|
10663
|
+
"Auth"
|
|
11676
10664
|
],
|
|
11677
10665
|
"x-async-capable": false
|
|
11678
10666
|
}
|
|
@@ -21137,16 +20125,6 @@ __export(fetchers_exports, {
|
|
|
21137
20125
|
createAccountsOtpVerifyCreate: () => createAccountsOtpVerifyCreate,
|
|
21138
20126
|
createAccountsProfileAvatarCreate: () => createAccountsProfileAvatarCreate,
|
|
21139
20127
|
createAccountsTokenRefreshCreate: () => createAccountsTokenRefreshCreate,
|
|
21140
|
-
createCentrifugoAdminApiServerAuthTokenCreate: () => createCentrifugoAdminApiServerAuthTokenCreate,
|
|
21141
|
-
createCentrifugoAdminApiServerChannelsCreate: () => createCentrifugoAdminApiServerChannelsCreate,
|
|
21142
|
-
createCentrifugoAdminApiServerHistoryCreate: () => createCentrifugoAdminApiServerHistoryCreate,
|
|
21143
|
-
createCentrifugoAdminApiServerInfoCreate: () => createCentrifugoAdminApiServerInfoCreate,
|
|
21144
|
-
createCentrifugoAdminApiServerPresenceCreate: () => createCentrifugoAdminApiServerPresenceCreate,
|
|
21145
|
-
createCentrifugoAdminApiServerPresenceStatsCreate: () => createCentrifugoAdminApiServerPresenceStatsCreate,
|
|
21146
|
-
createCentrifugoAdminApiTestingConnectionTokenCreate: () => createCentrifugoAdminApiTestingConnectionTokenCreate,
|
|
21147
|
-
createCentrifugoAdminApiTestingPublishTestCreate: () => createCentrifugoAdminApiTestingPublishTestCreate,
|
|
21148
|
-
createCentrifugoAdminApiTestingPublishWithLoggingCreate: () => createCentrifugoAdminApiTestingPublishWithLoggingCreate,
|
|
21149
|
-
createCentrifugoAdminApiTestingSendAckCreate: () => createCentrifugoAdminApiTestingSendAckCreate,
|
|
21150
20128
|
createCentrifugoServerAuthTokenCreate: () => createCentrifugoServerAuthTokenCreate,
|
|
21151
20129
|
createCentrifugoServerChannelsCreate: () => createCentrifugoServerChannelsCreate,
|
|
21152
20130
|
createCentrifugoServerHistoryCreate: () => createCentrifugoServerHistoryCreate,
|
|
@@ -21200,11 +20178,6 @@ __export(fetchers_exports, {
|
|
|
21200
20178
|
deleteSupportTicketsDestroy: () => deleteSupportTicketsDestroy,
|
|
21201
20179
|
deleteSupportTicketsMessagesDestroy: () => deleteSupportTicketsMessagesDestroy,
|
|
21202
20180
|
getAccountsProfileRetrieve: () => getAccountsProfileRetrieve,
|
|
21203
|
-
getCentrifugoAdminApiMonitorChannelsRetrieve: () => getCentrifugoAdminApiMonitorChannelsRetrieve,
|
|
21204
|
-
getCentrifugoAdminApiMonitorHealthRetrieve: () => getCentrifugoAdminApiMonitorHealthRetrieve,
|
|
21205
|
-
getCentrifugoAdminApiMonitorOverviewRetrieve: () => getCentrifugoAdminApiMonitorOverviewRetrieve,
|
|
21206
|
-
getCentrifugoAdminApiMonitorPublishesRetrieve: () => getCentrifugoAdminApiMonitorPublishesRetrieve,
|
|
21207
|
-
getCentrifugoAdminApiMonitorTimelineRetrieve: () => getCentrifugoAdminApiMonitorTimelineRetrieve,
|
|
21208
20181
|
getCentrifugoMonitorChannelsRetrieve: () => getCentrifugoMonitorChannelsRetrieve,
|
|
21209
20182
|
getCentrifugoMonitorHealthRetrieve: () => getCentrifugoMonitorHealthRetrieve,
|
|
21210
20183
|
getCentrifugoMonitorOverviewRetrieve: () => getCentrifugoMonitorOverviewRetrieve,
|
|
@@ -21401,11 +20374,6 @@ async function partialUpdateAccountsProfileUpdatePartialUpdate(data, client) {
|
|
|
21401
20374
|
}
|
|
21402
20375
|
|
|
21403
20376
|
// src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts
|
|
21404
|
-
async function getCentrifugoAdminApiMonitorChannelsRetrieve(client) {
|
|
21405
|
-
const api2 = client || getAPIInstance();
|
|
21406
|
-
const response = await api2.cfg_centrifugo.adminApiMonitorChannelsRetrieve();
|
|
21407
|
-
return response;
|
|
21408
|
-
}
|
|
21409
20377
|
async function getCentrifugoMonitorChannelsRetrieve(client) {
|
|
21410
20378
|
const api2 = client || getAPIInstance();
|
|
21411
20379
|
const response = await api2.cfg_centrifugo.monitorChannelsRetrieve();
|
|
@@ -21413,36 +20381,6 @@ async function getCentrifugoMonitorChannelsRetrieve(client) {
|
|
|
21413
20381
|
}
|
|
21414
20382
|
|
|
21415
20383
|
// src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts
|
|
21416
|
-
async function createCentrifugoAdminApiServerAuthTokenCreate(client) {
|
|
21417
|
-
const api2 = client || getAPIInstance();
|
|
21418
|
-
const response = await api2.cfg_centrifugo_admin_api.serverAuthTokenCreate();
|
|
21419
|
-
return response;
|
|
21420
|
-
}
|
|
21421
|
-
async function createCentrifugoAdminApiServerChannelsCreate(data, client) {
|
|
21422
|
-
const api2 = client || getAPIInstance();
|
|
21423
|
-
const response = await api2.cfg_centrifugo_admin_api.serverChannelsCreate(data);
|
|
21424
|
-
return CentrifugoChannelsResponseSchema.parse(response);
|
|
21425
|
-
}
|
|
21426
|
-
async function createCentrifugoAdminApiServerHistoryCreate(data, client) {
|
|
21427
|
-
const api2 = client || getAPIInstance();
|
|
21428
|
-
const response = await api2.cfg_centrifugo_admin_api.serverHistoryCreate(data);
|
|
21429
|
-
return CentrifugoHistoryResponseSchema.parse(response);
|
|
21430
|
-
}
|
|
21431
|
-
async function createCentrifugoAdminApiServerInfoCreate(client) {
|
|
21432
|
-
const api2 = client || getAPIInstance();
|
|
21433
|
-
const response = await api2.cfg_centrifugo_admin_api.serverInfoCreate();
|
|
21434
|
-
return CentrifugoInfoResponseSchema.parse(response);
|
|
21435
|
-
}
|
|
21436
|
-
async function createCentrifugoAdminApiServerPresenceCreate(data, client) {
|
|
21437
|
-
const api2 = client || getAPIInstance();
|
|
21438
|
-
const response = await api2.cfg_centrifugo_admin_api.serverPresenceCreate(data);
|
|
21439
|
-
return CentrifugoPresenceResponseSchema.parse(response);
|
|
21440
|
-
}
|
|
21441
|
-
async function createCentrifugoAdminApiServerPresenceStatsCreate(data, client) {
|
|
21442
|
-
const api2 = client || getAPIInstance();
|
|
21443
|
-
const response = await api2.cfg_centrifugo_admin_api.serverPresenceStatsCreate(data);
|
|
21444
|
-
return CentrifugoPresenceStatsResponseSchema.parse(response);
|
|
21445
|
-
}
|
|
21446
20384
|
async function createCentrifugoServerAuthTokenCreate(client) {
|
|
21447
20385
|
const api2 = client || getAPIInstance();
|
|
21448
20386
|
const response = await api2.cfg_centrifugo_admin_api.centrifugoServerAuthTokenCreate();
|
|
@@ -21475,26 +20413,6 @@ async function createCentrifugoServerPresenceStatsCreate(data, client) {
|
|
|
21475
20413
|
}
|
|
21476
20414
|
|
|
21477
20415
|
// src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts
|
|
21478
|
-
async function getCentrifugoAdminApiMonitorHealthRetrieve(client) {
|
|
21479
|
-
const api2 = client || getAPIInstance();
|
|
21480
|
-
const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorHealthRetrieve();
|
|
21481
|
-
return HealthCheckSchema.parse(response);
|
|
21482
|
-
}
|
|
21483
|
-
async function getCentrifugoAdminApiMonitorOverviewRetrieve(params, client) {
|
|
21484
|
-
const api2 = client || getAPIInstance();
|
|
21485
|
-
const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorOverviewRetrieve(params?.hours);
|
|
21486
|
-
return OverviewStatsSchema.parse(response);
|
|
21487
|
-
}
|
|
21488
|
-
async function getCentrifugoAdminApiMonitorPublishesRetrieve(params, client) {
|
|
21489
|
-
const api2 = client || getAPIInstance();
|
|
21490
|
-
const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorPublishesRetrieve(params?.channel, params?.count, params?.offset, params?.status);
|
|
21491
|
-
return RecentPublishesSchema.parse(response);
|
|
21492
|
-
}
|
|
21493
|
-
async function getCentrifugoAdminApiMonitorTimelineRetrieve(params, client) {
|
|
21494
|
-
const api2 = client || getAPIInstance();
|
|
21495
|
-
const response = await api2.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorTimelineRetrieve(params?.hours, params?.interval);
|
|
21496
|
-
return ChannelListSchema.parse(response);
|
|
21497
|
-
}
|
|
21498
20416
|
async function getCentrifugoMonitorHealthRetrieve(client) {
|
|
21499
20417
|
const api2 = client || getAPIInstance();
|
|
21500
20418
|
const response = await api2.cfg_centrifugo_monitoring.centrifugoMonitorHealthRetrieve();
|
|
@@ -21517,26 +20435,6 @@ async function getCentrifugoMonitorTimelineRetrieve(params, client) {
|
|
|
21517
20435
|
}
|
|
21518
20436
|
|
|
21519
20437
|
// src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts
|
|
21520
|
-
async function createCentrifugoAdminApiTestingConnectionTokenCreate(data, client) {
|
|
21521
|
-
const api2 = client || getAPIInstance();
|
|
21522
|
-
const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingConnectionTokenCreate(data);
|
|
21523
|
-
return ConnectionTokenResponseSchema.parse(response);
|
|
21524
|
-
}
|
|
21525
|
-
async function createCentrifugoAdminApiTestingPublishTestCreate(data, client) {
|
|
21526
|
-
const api2 = client || getAPIInstance();
|
|
21527
|
-
const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishTestCreate(data);
|
|
21528
|
-
return PublishTestResponseSchema.parse(response);
|
|
21529
|
-
}
|
|
21530
|
-
async function createCentrifugoAdminApiTestingPublishWithLoggingCreate(data, client) {
|
|
21531
|
-
const api2 = client || getAPIInstance();
|
|
21532
|
-
const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishWithLoggingCreate(data);
|
|
21533
|
-
return PublishTestResponseSchema.parse(response);
|
|
21534
|
-
}
|
|
21535
|
-
async function createCentrifugoAdminApiTestingSendAckCreate(data, client) {
|
|
21536
|
-
const api2 = client || getAPIInstance();
|
|
21537
|
-
const response = await api2.cfg_centrifugo_testing.centrifugoAdminApiTestingSendAckCreate(data);
|
|
21538
|
-
return ManualAckResponseSchema.parse(response);
|
|
21539
|
-
}
|
|
21540
20438
|
async function createCentrifugoTestingConnectionTokenCreate(data, client) {
|
|
21541
20439
|
const api2 = client || getAPIInstance();
|
|
21542
20440
|
const response = await api2.cfg_centrifugo_testing.connectionTokenCreate(data);
|
|
@@ -22276,11 +21174,6 @@ async function createTasksApiWorkersManageCreate(data, client) {
|
|
|
22276
21174
|
var hooks_exports = {};
|
|
22277
21175
|
__export(hooks_exports, {
|
|
22278
21176
|
useAccountsProfileRetrieve: () => useAccountsProfileRetrieve,
|
|
22279
|
-
useCentrifugoAdminApiMonitorChannelsRetrieve: () => useCentrifugoAdminApiMonitorChannelsRetrieve,
|
|
22280
|
-
useCentrifugoAdminApiMonitorHealthRetrieve: () => useCentrifugoAdminApiMonitorHealthRetrieve,
|
|
22281
|
-
useCentrifugoAdminApiMonitorOverviewRetrieve: () => useCentrifugoAdminApiMonitorOverviewRetrieve,
|
|
22282
|
-
useCentrifugoAdminApiMonitorPublishesRetrieve: () => useCentrifugoAdminApiMonitorPublishesRetrieve,
|
|
22283
|
-
useCentrifugoAdminApiMonitorTimelineRetrieve: () => useCentrifugoAdminApiMonitorTimelineRetrieve,
|
|
22284
21177
|
useCentrifugoMonitorChannelsRetrieve: () => useCentrifugoMonitorChannelsRetrieve,
|
|
22285
21178
|
useCentrifugoMonitorHealthRetrieve: () => useCentrifugoMonitorHealthRetrieve,
|
|
22286
21179
|
useCentrifugoMonitorOverviewRetrieve: () => useCentrifugoMonitorOverviewRetrieve,
|
|
@@ -22290,16 +21183,6 @@ __export(hooks_exports, {
|
|
|
22290
21183
|
useCreateAccountsOtpVerifyCreate: () => useCreateAccountsOtpVerifyCreate,
|
|
22291
21184
|
useCreateAccountsProfileAvatarCreate: () => useCreateAccountsProfileAvatarCreate,
|
|
22292
21185
|
useCreateAccountsTokenRefreshCreate: () => useCreateAccountsTokenRefreshCreate,
|
|
22293
|
-
useCreateCentrifugoAdminApiServerAuthTokenCreate: () => useCreateCentrifugoAdminApiServerAuthTokenCreate,
|
|
22294
|
-
useCreateCentrifugoAdminApiServerChannelsCreate: () => useCreateCentrifugoAdminApiServerChannelsCreate,
|
|
22295
|
-
useCreateCentrifugoAdminApiServerHistoryCreate: () => useCreateCentrifugoAdminApiServerHistoryCreate,
|
|
22296
|
-
useCreateCentrifugoAdminApiServerInfoCreate: () => useCreateCentrifugoAdminApiServerInfoCreate,
|
|
22297
|
-
useCreateCentrifugoAdminApiServerPresenceCreate: () => useCreateCentrifugoAdminApiServerPresenceCreate,
|
|
22298
|
-
useCreateCentrifugoAdminApiServerPresenceStatsCreate: () => useCreateCentrifugoAdminApiServerPresenceStatsCreate,
|
|
22299
|
-
useCreateCentrifugoAdminApiTestingConnectionTokenCreate: () => useCreateCentrifugoAdminApiTestingConnectionTokenCreate,
|
|
22300
|
-
useCreateCentrifugoAdminApiTestingPublishTestCreate: () => useCreateCentrifugoAdminApiTestingPublishTestCreate,
|
|
22301
|
-
useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate: () => useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate,
|
|
22302
|
-
useCreateCentrifugoAdminApiTestingSendAckCreate: () => useCreateCentrifugoAdminApiTestingSendAckCreate,
|
|
22303
21186
|
useCreateCentrifugoServerAuthTokenCreate: () => useCreateCentrifugoServerAuthTokenCreate,
|
|
22304
21187
|
useCreateCentrifugoServerChannelsCreate: () => useCreateCentrifugoServerChannelsCreate,
|
|
22305
21188
|
useCreateCentrifugoServerHistoryCreate: () => useCreateCentrifugoServerHistoryCreate,
|
|
@@ -22524,54 +21407,6 @@ function useCreateNewsletterCampaignsSendCreate() {
|
|
|
22524
21407
|
|
|
22525
21408
|
// src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_admin_api.ts
|
|
22526
21409
|
var import_swr5 = require("swr");
|
|
22527
|
-
function useCreateCentrifugoAdminApiServerAuthTokenCreate() {
|
|
22528
|
-
const { mutate } = (0, import_swr5.useSWRConfig)();
|
|
22529
|
-
return async (client) => {
|
|
22530
|
-
const result = await createCentrifugoAdminApiServerAuthTokenCreate(client);
|
|
22531
|
-
mutate("cfg-centrifugo-admin-api-server-auth-token");
|
|
22532
|
-
return result;
|
|
22533
|
-
};
|
|
22534
|
-
}
|
|
22535
|
-
function useCreateCentrifugoAdminApiServerChannelsCreate() {
|
|
22536
|
-
const { mutate } = (0, import_swr5.useSWRConfig)();
|
|
22537
|
-
return async (data, client) => {
|
|
22538
|
-
const result = await createCentrifugoAdminApiServerChannelsCreate(data, client);
|
|
22539
|
-
mutate("cfg-centrifugo-admin-api-server-channels");
|
|
22540
|
-
return result;
|
|
22541
|
-
};
|
|
22542
|
-
}
|
|
22543
|
-
function useCreateCentrifugoAdminApiServerHistoryCreate() {
|
|
22544
|
-
const { mutate } = (0, import_swr5.useSWRConfig)();
|
|
22545
|
-
return async (data, client) => {
|
|
22546
|
-
const result = await createCentrifugoAdminApiServerHistoryCreate(data, client);
|
|
22547
|
-
mutate("cfg-centrifugo-admin-api-server-history");
|
|
22548
|
-
return result;
|
|
22549
|
-
};
|
|
22550
|
-
}
|
|
22551
|
-
function useCreateCentrifugoAdminApiServerInfoCreate() {
|
|
22552
|
-
const { mutate } = (0, import_swr5.useSWRConfig)();
|
|
22553
|
-
return async (client) => {
|
|
22554
|
-
const result = await createCentrifugoAdminApiServerInfoCreate(client);
|
|
22555
|
-
mutate("cfg-centrifugo-admin-api-server-info");
|
|
22556
|
-
return result;
|
|
22557
|
-
};
|
|
22558
|
-
}
|
|
22559
|
-
function useCreateCentrifugoAdminApiServerPresenceCreate() {
|
|
22560
|
-
const { mutate } = (0, import_swr5.useSWRConfig)();
|
|
22561
|
-
return async (data, client) => {
|
|
22562
|
-
const result = await createCentrifugoAdminApiServerPresenceCreate(data, client);
|
|
22563
|
-
mutate("cfg-centrifugo-admin-api-server-presence");
|
|
22564
|
-
return result;
|
|
22565
|
-
};
|
|
22566
|
-
}
|
|
22567
|
-
function useCreateCentrifugoAdminApiServerPresenceStatsCreate() {
|
|
22568
|
-
const { mutate } = (0, import_swr5.useSWRConfig)();
|
|
22569
|
-
return async (data, client) => {
|
|
22570
|
-
const result = await createCentrifugoAdminApiServerPresenceStatsCreate(data, client);
|
|
22571
|
-
mutate("cfg-centrifugo-admin-api-server-presence-stats");
|
|
22572
|
-
return result;
|
|
22573
|
-
};
|
|
22574
|
-
}
|
|
22575
21410
|
function useCreateCentrifugoServerAuthTokenCreate() {
|
|
22576
21411
|
const { mutate } = (0, import_swr5.useSWRConfig)();
|
|
22577
21412
|
return async (client) => {
|
|
@@ -22623,30 +21458,6 @@ function useCreateCentrifugoServerPresenceStatsCreate() {
|
|
|
22623
21458
|
|
|
22624
21459
|
// src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_monitoring.ts
|
|
22625
21460
|
var import_swr6 = __toESM(require("swr"), 1);
|
|
22626
|
-
function useCentrifugoAdminApiMonitorHealthRetrieve(client) {
|
|
22627
|
-
return (0, import_swr6.default)(
|
|
22628
|
-
"cfg-centrifugo-admin-api-monitor-health",
|
|
22629
|
-
() => getCentrifugoAdminApiMonitorHealthRetrieve(client)
|
|
22630
|
-
);
|
|
22631
|
-
}
|
|
22632
|
-
function useCentrifugoAdminApiMonitorOverviewRetrieve(params, client) {
|
|
22633
|
-
return (0, import_swr6.default)(
|
|
22634
|
-
params ? ["cfg-centrifugo-admin-api-monitor-overview", params] : "cfg-centrifugo-admin-api-monitor-overview",
|
|
22635
|
-
() => getCentrifugoAdminApiMonitorOverviewRetrieve(params, client)
|
|
22636
|
-
);
|
|
22637
|
-
}
|
|
22638
|
-
function useCentrifugoAdminApiMonitorPublishesRetrieve(params, client) {
|
|
22639
|
-
return (0, import_swr6.default)(
|
|
22640
|
-
params ? ["cfg-centrifugo-admin-api-monitor-publishe", params] : "cfg-centrifugo-admin-api-monitor-publishe",
|
|
22641
|
-
() => getCentrifugoAdminApiMonitorPublishesRetrieve(params, client)
|
|
22642
|
-
);
|
|
22643
|
-
}
|
|
22644
|
-
function useCentrifugoAdminApiMonitorTimelineRetrieve(params, client) {
|
|
22645
|
-
return (0, import_swr6.default)(
|
|
22646
|
-
params ? ["cfg-centrifugo-admin-api-monitor-timeline", params] : "cfg-centrifugo-admin-api-monitor-timeline",
|
|
22647
|
-
() => getCentrifugoAdminApiMonitorTimelineRetrieve(params, client)
|
|
22648
|
-
);
|
|
22649
|
-
}
|
|
22650
21461
|
function useCentrifugoMonitorHealthRetrieve(client) {
|
|
22651
21462
|
return (0, import_swr6.default)(
|
|
22652
21463
|
"cfg-centrifugo-monitor-health",
|
|
@@ -22674,38 +21485,6 @@ function useCentrifugoMonitorTimelineRetrieve(params, client) {
|
|
|
22674
21485
|
|
|
22675
21486
|
// src/cfg/generated/_utils/hooks/cfg__centrifugo__centrifugo_testing.ts
|
|
22676
21487
|
var import_swr7 = require("swr");
|
|
22677
|
-
function useCreateCentrifugoAdminApiTestingConnectionTokenCreate() {
|
|
22678
|
-
const { mutate } = (0, import_swr7.useSWRConfig)();
|
|
22679
|
-
return async (data, client) => {
|
|
22680
|
-
const result = await createCentrifugoAdminApiTestingConnectionTokenCreate(data, client);
|
|
22681
|
-
mutate("cfg-centrifugo-admin-api-testing-connection-token");
|
|
22682
|
-
return result;
|
|
22683
|
-
};
|
|
22684
|
-
}
|
|
22685
|
-
function useCreateCentrifugoAdminApiTestingPublishTestCreate() {
|
|
22686
|
-
const { mutate } = (0, import_swr7.useSWRConfig)();
|
|
22687
|
-
return async (data, client) => {
|
|
22688
|
-
const result = await createCentrifugoAdminApiTestingPublishTestCreate(data, client);
|
|
22689
|
-
mutate("cfg-centrifugo-admin-api-testing-publish-test");
|
|
22690
|
-
return result;
|
|
22691
|
-
};
|
|
22692
|
-
}
|
|
22693
|
-
function useCreateCentrifugoAdminApiTestingPublishWithLoggingCreate() {
|
|
22694
|
-
const { mutate } = (0, import_swr7.useSWRConfig)();
|
|
22695
|
-
return async (data, client) => {
|
|
22696
|
-
const result = await createCentrifugoAdminApiTestingPublishWithLoggingCreate(data, client);
|
|
22697
|
-
mutate("cfg-centrifugo-admin-api-testing-publish-with-logging");
|
|
22698
|
-
return result;
|
|
22699
|
-
};
|
|
22700
|
-
}
|
|
22701
|
-
function useCreateCentrifugoAdminApiTestingSendAckCreate() {
|
|
22702
|
-
const { mutate } = (0, import_swr7.useSWRConfig)();
|
|
22703
|
-
return async (data, client) => {
|
|
22704
|
-
const result = await createCentrifugoAdminApiTestingSendAckCreate(data, client);
|
|
22705
|
-
mutate("cfg-centrifugo-admin-api-testing-send-ack");
|
|
22706
|
-
return result;
|
|
22707
|
-
};
|
|
22708
|
-
}
|
|
22709
21488
|
function useCreateCentrifugoTestingConnectionTokenCreate() {
|
|
22710
21489
|
const { mutate } = (0, import_swr7.useSWRConfig)();
|
|
22711
21490
|
return async (data, client) => {
|
|
@@ -23014,12 +21793,6 @@ function useCreateAccountsOtpVerifyCreate() {
|
|
|
23014
21793
|
|
|
23015
21794
|
// src/cfg/generated/_utils/hooks/cfg__centrifugo.ts
|
|
23016
21795
|
var import_swr25 = __toESM(require("swr"), 1);
|
|
23017
|
-
function useCentrifugoAdminApiMonitorChannelsRetrieve(client) {
|
|
23018
|
-
return (0, import_swr25.default)(
|
|
23019
|
-
"cfg-centrifugo-admin-api-monitor-channel",
|
|
23020
|
-
() => getCentrifugoAdminApiMonitorChannelsRetrieve(client)
|
|
23021
|
-
);
|
|
23022
|
-
}
|
|
23023
21796
|
function useCentrifugoMonitorChannelsRetrieve(client) {
|
|
23024
21797
|
return (0, import_swr25.default)(
|
|
23025
21798
|
"cfg-centrifugo-monitor-channel",
|
|
@@ -26007,16 +24780,6 @@ function useTasks() {
|
|
|
26007
24780
|
createAccountsOtpVerifyCreate,
|
|
26008
24781
|
createAccountsProfileAvatarCreate,
|
|
26009
24782
|
createAccountsTokenRefreshCreate,
|
|
26010
|
-
createCentrifugoAdminApiServerAuthTokenCreate,
|
|
26011
|
-
createCentrifugoAdminApiServerChannelsCreate,
|
|
26012
|
-
createCentrifugoAdminApiServerHistoryCreate,
|
|
26013
|
-
createCentrifugoAdminApiServerInfoCreate,
|
|
26014
|
-
createCentrifugoAdminApiServerPresenceCreate,
|
|
26015
|
-
createCentrifugoAdminApiServerPresenceStatsCreate,
|
|
26016
|
-
createCentrifugoAdminApiTestingConnectionTokenCreate,
|
|
26017
|
-
createCentrifugoAdminApiTestingPublishTestCreate,
|
|
26018
|
-
createCentrifugoAdminApiTestingPublishWithLoggingCreate,
|
|
26019
|
-
createCentrifugoAdminApiTestingSendAckCreate,
|
|
26020
24783
|
createCentrifugoServerAuthTokenCreate,
|
|
26021
24784
|
createCentrifugoServerChannelsCreate,
|
|
26022
24785
|
createCentrifugoServerHistoryCreate,
|
|
@@ -26071,11 +24834,6 @@ function useTasks() {
|
|
|
26071
24834
|
deleteSupportTicketsMessagesDestroy,
|
|
26072
24835
|
getAPIInstance,
|
|
26073
24836
|
getAccountsProfileRetrieve,
|
|
26074
|
-
getCentrifugoAdminApiMonitorChannelsRetrieve,
|
|
26075
|
-
getCentrifugoAdminApiMonitorHealthRetrieve,
|
|
26076
|
-
getCentrifugoAdminApiMonitorOverviewRetrieve,
|
|
26077
|
-
getCentrifugoAdminApiMonitorPublishesRetrieve,
|
|
26078
|
-
getCentrifugoAdminApiMonitorTimelineRetrieve,
|
|
26079
24837
|
getCentrifugoMonitorChannelsRetrieve,
|
|
26080
24838
|
getCentrifugoMonitorHealthRetrieve,
|
|
26081
24839
|
getCentrifugoMonitorOverviewRetrieve,
|