django-cfg 1.4.85__py3-none-any.whl → 1.4.87__py3-none-any.whl

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.

Potentially problematic release.


This version of django-cfg might be problematic. Click here for more details.

Files changed (53) hide show
  1. django_cfg/__init__.py +1 -1
  2. django_cfg/apps/frontend/views.py +31 -4
  3. django_cfg/modules/django_client/core/generator/typescript/templates/client/client.ts.jinja +18 -14
  4. django_cfg/modules/django_client/core/generator/typescript/templates/fetchers/fetchers.ts.jinja +0 -1
  5. django_cfg/modules/django_client/core/generator/typescript/templates/fetchers/function.ts.jinja +1 -1
  6. django_cfg/modules/django_client/core/generator/typescript/templates/utils/http.ts.jinja +8 -3
  7. django_cfg/pyproject.toml +1 -1
  8. django_cfg/static/frontend/admin/404/index.html +1 -0
  9. django_cfg/static/frontend/admin/404.html +1 -1
  10. django_cfg/static/frontend/admin/500/index.html +1 -0
  11. django_cfg/static/frontend/admin/_next/static/ZJZBgOL9mO1koHrgaaLEV/_buildManifest.js +1 -0
  12. django_cfg/static/frontend/admin/_next/static/chunks/{43076.55dd23b6cd68edb0.js → 20695.a7d37b6c40ad3f58.js} +1 -1
  13. django_cfg/static/frontend/admin/_next/static/chunks/43076-4be6a9794e9c3e8b.js +1 -0
  14. django_cfg/static/frontend/admin/_next/static/chunks/50314-48bd5701f62faf27.js +1 -0
  15. django_cfg/static/frontend/admin/_next/static/chunks/main-d4b1d5245e3e8c42.js +1 -0
  16. django_cfg/static/frontend/admin/_next/static/chunks/pages/{404-cf71cd7b3cb005e5.js → 404-9c41b6ebfe67f15e.js} +1 -1
  17. django_cfg/static/frontend/admin/_next/static/chunks/pages/{500-ff19c7842e3df415.js → 500-906d92e10e7e65fb.js} +1 -1
  18. django_cfg/static/frontend/admin/_next/static/chunks/pages/{_app-f62e5528fbcbb6b3.js → _app-c336f254967dd101.js} +51 -51
  19. django_cfg/static/frontend/admin/_next/static/chunks/pages/{_error-87f3fdc2aa131e77.js → _error-2550e721b11b7946.js} +1 -1
  20. django_cfg/static/frontend/admin/_next/static/chunks/pages/{index-69f737d4802cc5b7.js → index-fe4802f9df0ac052.js} +1 -1
  21. django_cfg/static/frontend/admin/_next/static/chunks/pages/private/centrifugo-22532c65971225eb.js +1 -0
  22. django_cfg/static/frontend/admin/_next/static/chunks/pages/private/{profile-b8045f993287f1a7.js → profile-5cd57aac826857fd.js} +1 -1
  23. django_cfg/static/frontend/admin/_next/static/chunks/pages/private/{ui-373fff8b42878e64.js → ui-383e7f474cf22a18.js} +1 -1
  24. django_cfg/static/frontend/admin/_next/static/chunks/{webpack-7c456a65e96eb97e.js → webpack-da114020a6b940f5.js} +1 -1
  25. django_cfg/static/frontend/admin/{private/profile.html → auth/index.html} +1 -1
  26. django_cfg/static/frontend/admin/index.html +1 -1
  27. django_cfg/static/frontend/admin/legal/cookies/index.html +1 -0
  28. django_cfg/static/frontend/admin/legal/privacy/index.html +1 -0
  29. django_cfg/static/frontend/admin/legal/security/index.html +1 -0
  30. django_cfg/static/frontend/admin/legal/terms/index.html +1 -0
  31. django_cfg/static/frontend/admin/private/centrifugo/index.html +1 -0
  32. django_cfg/static/frontend/admin/private/index.html +1 -0
  33. django_cfg/static/frontend/admin/private/{centrifugo.html → profile/index.html} +1 -1
  34. django_cfg/static/frontend/admin/private/ui/index.html +92 -0
  35. django_cfg/templates/admin/index.html +29 -43
  36. {django_cfg-1.4.85.dist-info → django_cfg-1.4.87.dist-info}/METADATA +1 -1
  37. {django_cfg-1.4.85.dist-info → django_cfg-1.4.87.dist-info}/RECORD +41 -39
  38. django_cfg/static/frontend/admin/500.html +0 -1
  39. django_cfg/static/frontend/admin/_next/static/BembwiEtlu4eFl3OX7n1k/_buildManifest.js +0 -1
  40. django_cfg/static/frontend/admin/_next/static/chunks/50314-3b9d15242191c8bc.js +0 -1
  41. django_cfg/static/frontend/admin/_next/static/chunks/main-f9b6d451d9991f19.js +0 -1
  42. django_cfg/static/frontend/admin/_next/static/chunks/pages/private/centrifugo-f24beb6ed3955aa8.js +0 -1
  43. django_cfg/static/frontend/admin/auth.html +0 -1
  44. django_cfg/static/frontend/admin/legal/cookies.html +0 -1
  45. django_cfg/static/frontend/admin/legal/privacy.html +0 -1
  46. django_cfg/static/frontend/admin/legal/security.html +0 -1
  47. django_cfg/static/frontend/admin/legal/terms.html +0 -1
  48. django_cfg/static/frontend/admin/private/ui.html +0 -1
  49. django_cfg/static/frontend/admin/private.html +0 -1
  50. /django_cfg/static/frontend/admin/_next/static/{BembwiEtlu4eFl3OX7n1k → ZJZBgOL9mO1koHrgaaLEV}/_ssgManifest.js +0 -0
  51. {django_cfg-1.4.85.dist-info → django_cfg-1.4.87.dist-info}/WHEEL +0 -0
  52. {django_cfg-1.4.85.dist-info → django_cfg-1.4.87.dist-info}/entry_points.txt +0 -0
  53. {django_cfg-1.4.85.dist-info → django_cfg-1.4.87.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50314],{2509:(e,t,s)=>{s.d(t,{CB:()=>i}),s(82916);function i(){throw Error('API not configured. Call configureAPI() with your base URL before using fetchers or hooks.\n\nExample:\n import { configureAPI } from "./api-instance"\n configureAPI({ baseUrl: "https://api.example.com" })')}},5290:(e,t,s)=>{s.d(t,{_:()=>n});var i=s(23309);let n=i.Ikc({name:i.YjP(),title:i.YjP(),description:i.YjP(),app_count:i.Whr(),endpoint_count:i.Whr(),status:i.YjP(),schema_url:i.YjP(),api_url:i.YjP(),apps:i.YOg(i.YjP())})},5423:(e,t,s)=>{s.d(t,{z:()=>n});var i=s(23309);let n=i.Ikc({cpu:i.aig(),rss:i.Whr()})},6555:(e,t,s)=>{s.d(t,{B:()=>r});var i=s(23309),n=s(38258),a=s(43581);let r=i.Ikc({error:n.e.optional(),result:a.B.optional()})},7147:(e,t,s)=>{s.d(t,{F:()=>r});var i=s(23309),n=s(85805),a=s(38258);let r=i.Ikc({error:a.e.optional(),result:n.z.optional()})},7374:(e,t,s)=>{s.d(t,{A:()=>n});var i=s(23309);let n=i.Ikc({publishes:i.YOg(i.g1P(i.YjP(),i.bzn())),count:i.Whr(),total_available:i.Whr(),offset:i.Whr().optional(),has_more:i.zMY().optional()})},8087:(e,t,s)=>{s.d(t,{n:()=>a,x:()=>n});var i=s(2509);async function n(e){let t=e||(0,i.CB)();return await t.cfg_dashboard_activity.dashboardApiActivityActionsList()}async function a(e,t){let s=t||(0,i.CB)();return await s.cfg_dashboard_activity.dashboardApiActivityRecentList(null==e?void 0:e.limit)}},9010:(e,t,s)=>{s.d(t,{P:()=>a,t:()=>r});var i=s(7379),n=s(58458);function a(e){return(0,i.Ay)("cfg-dashboard-api-zones",()=>n.C(e))}function r(e){return(0,i.Ay)("cfg-dashboard-api-zones-summary",()=>n.S(e))}},9331:(e,t,s)=>{s.d(t,{z:()=>n});var i=s(23309);let n=i.Ikc({interval:i.aig(),items:i.g1P(i.YjP(),i.bzn())})},10200:(e,t,s)=>{s.d(t,{EF:()=>o,uL:()=>c,w4:()=>r,xv:()=>a});var i=s(7379),n=s(49584);function a(e){return(0,i.Ay)("cfg-centrifugo-admin-api-monitor-health",()=>n.Au(e))}function r(e,t){return(0,i.Ay)(e?["cfg-centrifugo-admin-api-monitor-overview",e]:"cfg-centrifugo-admin-api-monitor-overview",()=>n.X0(e,t))}function o(e,t){return(0,i.Ay)(e?["cfg-centrifugo-admin-api-monitor-publishe",e]:"cfg-centrifugo-admin-api-monitor-publishe",()=>n.dn(e,t))}function c(e,t){return(0,i.Ay)(e?["cfg-centrifugo-admin-api-monitor-timeline",e]:"cfg-centrifugo-admin-api-monitor-timeline",()=>n.TQ(e,t))}},10573:(e,t,s)=>{s.d(t,{$D:()=>C,CA:()=>f,Cm:()=>S,DG:()=>w,DI:()=>l,EJ:()=>P,GC:()=>n,Hs:()=>O,MW:()=>c,Or:()=>m,PL:()=>Y,PV:()=>h,Pb:()=>A,Ph:()=>k,QI:()=>q,Ty:()=>i,Ub:()=>d,VQ:()=>r,XN:()=>R,Xm:()=>b,_w:()=>p,a9:()=>u,cz:()=>z,dg:()=>y,fi:()=>g,iy:()=>o,jQ:()=>j,jY:()=>x,j_:()=>a,lf:()=>T,md:()=>_,qY:()=>v,to:()=>I,vy:()=>L});var i=function(e){return e.DOCUMENT="document",e.CODE="code",e.IMAGE="image",e.DATA="data",e.ARCHIVE="archive",e.UNKNOWN="unknown",e}({}),n=function(e){return e.TEXT="text",e.CODE="code",e.HEADING="heading",e.METADATA="metadata",e.TABLE="table",e.LIST="list",e}({}),a=function(e){return e.TEXT="text",e.CODE="code",e.HEADING="heading",e.METADATA="metadata",e.TABLE="table",e.LIST="list",e}({}),r=function(e){return e.TEXT="text",e.CODE="code",e.HEADING="heading",e.METADATA="metadata",e.TABLE="table",e.LIST="list",e}({}),o=function(e){return e.DOCUMENT="document",e.CODE="code",e.IMAGE="image",e.DATA="data",e.ARCHIVE="archive",e.UNKNOWN="unknown",e}({}),c=function(e){return e.USER="user",e.ASSISTANT="assistant",e.SYSTEM="system",e}({}),p=function(e){return e.ZIP="zip",e.TAR="tar",e.TAR_DOT_GZ="tar.gz",e.TAR_DOT_BZ2="tar.bz2",e}({}),l=function(e){return e.PENDING="pending",e.PROCESSING="processing",e.COMPLETED="completed",e.FAILED="failed",e.CANCELLED="cancelled",e}({}),u=function(e){return e.ZIP="zip",e.TAR="tar",e.TAR_DOT_GZ="tar.gz",e.TAR_DOT_BZ2="tar.bz2",e}({}),m=function(e){return e.PENDING="pending",e.PROCESSING="processing",e.COMPLETED="completed",e.FAILED="failed",e.CANCELLED="cancelled",e}({}),d=function(e){return e.ZIP="zip",e.TAR="tar",e.TAR_DOT_GZ="tar.gz",e.TAR_DOT_BZ2="tar.bz2",e}({}),g=function(e){return e.PENDING="pending",e.PROCESSING="processing",e.COMPLETED="completed",e.FAILED="failed",e.CANCELLED="cancelled",e}({}),h=function(e){return e.PENDING="pending",e.SENT="sent",e.FAILED="failed",e}({}),y=function(e){return e.EMAIL="email",e.WHATSAPP="whatsapp",e.TELEGRAM="telegram",e.PHONE="phone",e.OTHER="other",e}({}),f=function(e){return e.EMAIL="email",e.WHATSAPP="whatsapp",e.TELEGRAM="telegram",e.PHONE="phone",e.OTHER="other",e}({}),_=function(e){return e.DRAFT="draft",e.SENDING="sending",e.SENT="sent",e.FAILED="failed",e}({}),b=function(e){return e.EMAIL="email",e.PHONE="phone",e}({}),w=function(e){return e.EMAIL="email",e.PHONE="phone",e}({}),v=function(e){return e.TEXT="text",e.CODE="code",e.HEADING="heading",e.METADATA="metadata",e.TABLE="table",e.LIST="list",e}({}),k=function(e){return e.EMAIL="email",e.WHATSAPP="whatsapp",e.TELEGRAM="telegram",e.PHONE="phone",e.OTHER="other",e}({}),j=function(e){return e.OPEN="open",e.WAITING_FOR_USER="waiting_for_user",e.WAITING_FOR_ADMIN="waiting_for_admin",e.RESOLVED="resolved",e.CLOSED="closed",e}({}),q=function(e){return e.PENDING="pending",e.CONFIRMING="confirming",e.CONFIRMED="confirmed",e.COMPLETED="completed",e.PARTIALLY_PAID="partially_paid",e.FAILED="failed",e.EXPIRED="expired",e.CANCELLED="cancelled",e}({}),x=function(e){return e.PENDING="pending",e.CONFIRMING="confirming",e.CONFIRMED="confirmed",e.COMPLETED="completed",e.PARTIALLY_PAID="partially_paid",e.FAILED="failed",e.EXPIRED="expired",e.CANCELLED="cancelled",e}({}),P=function(e){return e.CLEAR="clear",e.CLEAR_ALL="clear_all",e.PURGE="purge",e.PURGE_FAILED="purge_failed",e.FLUSH="flush",e}({}),A=function(e){return e.CLEAR="clear",e.CLEAR_ALL="clear_all",e.PURGE="purge",e.PURGE_FAILED="purge_failed",e.FLUSH="flush",e}({}),C=function(e){return e.PRIMARY="primary",e.SUCCESS="success",e.WARNING="warning",e.DANGER="danger",e.SECONDARY="secondary",e}({}),R=function(e){return e.POSITIVE="positive",e.NEGATIVE="negative",e.NEUTRAL="neutral",e}({}),I=function(e){return e.HEALTHY="healthy",e.WARNING="warning",e.ERROR="error",e.UNKNOWN="unknown",e}({}),T=function(e){return e.HEALTHY="healthy",e.WARNING="warning",e.ERROR="error",e.UNKNOWN="unknown",e}({}),O=function(e){return e.OPEN="open",e.WAITING_FOR_USER="waiting_for_user",e.WAITING_FOR_ADMIN="waiting_for_admin",e.RESOLVED="resolved",e.CLOSED="closed",e}({}),S=function(e){return e.OPEN="open",e.WAITING_FOR_USER="waiting_for_user",e.WAITING_FOR_ADMIN="waiting_for_admin",e.RESOLVED="resolved",e.CLOSED="closed",e}({}),Y=function(e){return e.DEPOSIT="deposit",e.WITHDRAWAL="withdrawal",e.PAYMENT="payment",e.REFUND="refund",e.FEE="fee",e.BONUS="bonus",e.ADJUSTMENT="adjustment",e}({}),L=function(e){return e.START="start",e.STOP="stop",e.RESTART="restart",e}({}),z=function(e){return e.START="start",e.STOP="stop",e.RESTART="restart",e}({})},12032:(e,t,s)=>{s.d(t,{A:()=>r,U:()=>a});var i=s(7379),n=s(96168);function a(e){return(0,i.Ay)("cfg-dashboard-api-commands",()=>n.z(e))}function r(e){return(0,i.Ay)("cfg-dashboard-api-commands-summary",()=>n.X(e))}},14527:(e,t,s)=>{s.d(t,{c:()=>r,m:()=>a});var i=s(7379),n=s(8087);function a(e){return(0,i.Ay)("cfg-dashboard-api-activity-actions",()=>n.x(e))}function r(e,t){return(0,i.Ay)(e?["cfg-dashboard-api-activity-recent",e]:"cfg-dashboard-api-activity-recent",()=>n.n(e,t))}},14702:(e,t,s)=>{s.d(t,{DL:()=>g,Ec:()=>d,HU:()=>m,J_:()=>u,dz:()=>l,eD:()=>p});var i=s(7147),n=s(87621),a=s(6555),r=s(14928),o=s(59285),c=s(2509);async function p(e){let t=e||(0,c.CB)();return await t.cfg_centrifugo_admin_api.serverAuthTokenCreate()}async function l(e,t){let s=t||(0,c.CB)(),n=await s.cfg_centrifugo_admin_api.serverChannelsCreate(e);return i.F.parse(n)}async function u(e,t){let s=t||(0,c.CB)(),i=await s.cfg_centrifugo_admin_api.serverHistoryCreate(e);return n.J.parse(i)}async function m(e){let t=e||(0,c.CB)(),s=await t.cfg_centrifugo_admin_api.serverInfoCreate();return a.B.parse(s)}async function d(e,t){let s=t||(0,c.CB)(),i=await s.cfg_centrifugo_admin_api.serverPresenceCreate(e);return r.C.parse(i)}async function g(e,t){let s=t||(0,c.CB)(),i=await s.cfg_centrifugo_admin_api.serverPresenceStatsCreate(e);return o.n.parse(i)}},14928:(e,t,s)=>{s.d(t,{C:()=>r});var i=s(23309),n=s(38258),a=s(79222);let r=i.Ikc({error:n.e.optional(),result:a.a.optional()})},15079:(e,t,s)=>{s.d(t,{OQ:()=>o,Rx:()=>r,gc:()=>c,x1:()=>a});var i=s(53132),n=s(2509);async function a(e,t){let s=t||(0,n.CB)(),a=await s.cfg_dashboard_charts.dashboardApiChartsActivityRetrieve(null==e?void 0:e.days);return i.K.parse(a)}async function r(e,t){let s=t||(0,n.CB)();return await s.cfg_dashboard_charts.dashboardApiChartsRecentUsersList(null==e?void 0:e.limit)}async function o(e,t){let s=t||(0,n.CB)(),a=await s.cfg_dashboard_charts.dashboardApiChartsRegistrationsRetrieve(null==e?void 0:e.days);return i.K.parse(a)}async function c(e,t){let s=t||(0,n.CB)();return await s.cfg_dashboard_charts.dashboardApiChartsTrackerList(null==e?void 0:e.weeks)}},28121:(e,t,s)=>{var i=s(23309);i.Ikc({stat_cards:i.YOg(i.g1P(i.YjP(),i.bzn())),system_health:i.YOg(i.g1P(i.YjP(),i.bzn())),quick_actions:i.YOg(i.g1P(i.YjP(),i.bzn())),recent_activity:i.YOg(i.g1P(i.YjP(),i.bzn())),system_metrics:i.g1P(i.YjP(),i.bzn()),user_statistics:i.g1P(i.YjP(),i.bzn()),timestamp:i.YjP()})},30147:(e,t,s)=>{s.d(t,{h:()=>a});var i=s(23309),n=s(32358);let a=i.Ikc({publications:i.YOg(n.w),epoch:i.YjP(),offset:i.Whr()})},30246:(e,t,s)=>{s.d(t,{s:()=>n});var i=s(23309);let n=i.Ikc({cpu_usage:i.aig(),memory_usage:i.aig(),disk_usage:i.aig(),network_in:i.YjP(),network_out:i.YjP(),response_time:i.YjP(),uptime:i.YjP()})},30907:(e,t,s)=>{s.d(t,{Q:()=>r,f:()=>o});var i=s(43195),n=s(30246),a=s(2509);async function r(e){let t=e||(0,a.CB)(),s=await t.cfg_dashboard_system.dashboardApiSystemHealthRetrieve();return i.H.parse(s)}async function o(e){let t=e||(0,a.CB)(),s=await t.cfg_dashboard_system.dashboardApiSystemMetricsRetrieve();return n.s.parse(s)}},32358:(e,t,s)=>{s.d(t,{w:()=>a});var i=s(23309),n=s(40795);let a=i.Ikc({data:i.g1P(i.YjP(),i.bzn()),info:n.Z.optional(),offset:i.Whr(),tags:i.YjP().nullable().optional()})},32598:(e,t,s)=>{s.d(t,{K:()=>r});var i=s(23309),n=s(9331),a=s(5423);let r=i.Ikc({uid:i.YjP(),name:i.YjP(),version:i.YjP(),num_clients:i.Whr(),num_users:i.Whr(),num_channels:i.Whr(),uptime:i.Whr(),num_subs:i.Whr(),metrics:n.z.optional(),process:a.z.optional()})},32910:(e,t,s)=>{s.d(t,{M:()=>n});var i=s(23309);let n=i.Ikc({total:i.Whr(),successful:i.Whr(),failed:i.Whr(),timeout:i.Whr(),success_rate:i.aig(),avg_duration_ms:i.aig(),avg_acks_received:i.aig(),period_hours:i.Whr()})},34245:(e,t,s)=>{s(28121),s(2509)},34851:(e,t,s)=>{s.d(t,{p:()=>n});var i=s(23309);let n=i.Ikc({name:i.YjP(),app:i.YjP(),help:i.YjP(),is_core:i.zMY(),is_custom:i.zMY()})},36028:(e,t,s)=>{s.d(t,{i:()=>n});var i=s(23309);let n=i.Ikc({channel:i.YjP(),total:i.Whr(),successful:i.Whr(),failed:i.Whr(),avg_duration_ms:i.aig(),avg_acks:i.aig(),last_activity_at:i.YjP().nullable().optional()})},38258:(e,t,s)=>{s.d(t,{e:()=>n});var i=s(23309);let n=i.Ikc({code:i.Whr().optional(),message:i.YjP().optional()})},40795:(e,t,s)=>{s.d(t,{Z:()=>n});var i=s(23309);let n=i.Ikc({user:i.YjP(),client:i.YjP(),conn_info:i.YjP().nullable().optional(),chan_info:i.YjP().nullable().optional()})},43195:(e,t,s)=>{s.d(t,{H:()=>r});var i=s(23309),n=s(10573),a=s(60374);let r=i.Ikc({overall_status:i.fc(n.to),overall_health_percentage:i.Whr().min(0).max(100),components:i.YOg(a.c),timestamp:i.YjP()})},43581:(e,t,s)=>{s.d(t,{B:()=>a});var i=s(23309),n=s(32598);let a=i.Ikc({nodes:i.YOg(n.K)})},46402:(e,t,s)=>{s.d(t,{M:()=>n});var i=s(23309);let n=i.Ikc({total_users:i.Whr(),active_users:i.Whr(),new_users:i.Whr(),superusers:i.Whr()})},49584:(e,t,s)=>{s.d(t,{Au:()=>c,TQ:()=>u,X0:()=>p,dn:()=>l});var i=s(96841),n=s(94678),a=s(32910),r=s(7374),o=s(2509);async function c(e){let t=e||(0,o.CB)(),s=await t.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorHealthRetrieve();return n.m.parse(s)}async function p(e,t){let s=t||(0,o.CB)(),i=await s.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorOverviewRetrieve(null==e?void 0:e.hours);return a.M.parse(i)}async function l(e,t){let s=t||(0,o.CB)(),i=await s.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorPublishesRetrieve(null==e?void 0:e.channel,null==e?void 0:e.count,null==e?void 0:e.offset,null==e?void 0:e.status);return r.A.parse(i)}async function u(e,t){let s=t||(0,o.CB)(),n=await s.cfg_centrifugo_monitoring.centrifugoAdminApiMonitorTimelineRetrieve(null==e?void 0:e.hours,null==e?void 0:e.interval);return i.L.parse(n)}},49692:(e,t,s)=>{s.d(t,{G:()=>n});var i=s(23309);let n=i.Ikc({success:i.zMY(),message_id:i.YjP(),error:i.YjP().nullable().optional()})},50314:(e,t,s)=>{s.d(t,{FH:()=>o,LG:()=>n.L});var i=s(82916),n=s(98970);let a=s(44754).W0.api.baseUrl,r={storage:new i.mI_},o=new i.nC7(a,r);class c{}c.api=o},50638:(e,t,s)=>{s.d(t,{CH:()=>r,Sq:()=>a,VD:()=>o,oE:()=>c});var i=s(82755),n=s(78726);function a(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.R0(t,s);return e("cfg-centrifugo-admin-api-testing-connection-token"),i}}function r(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.fg(t,s);return e("cfg-centrifugo-admin-api-testing-publish-test"),i}}function o(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.Mr(t,s);return e("cfg-centrifugo-admin-api-testing-publish-with-logging"),i}}function c(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.j_(t,s);return e("cfg-centrifugo-admin-api-testing-send-ack"),i}}},53132:(e,t,s)=>{s.d(t,{K:()=>a});var i=s(23309),n=s(95734);let a=i.Ikc({labels:i.YOg(i.YjP()),datasets:i.YOg(n.G)})},55038:(e,t,s)=>{s.d(t,{k:()=>n});var i=s(23309);let n=i.Ikc({token:i.YjP(),centrifugo_url:i.YjP(),expires_at:i.YjP()})},55891:(e,t,s)=>{s.d(t,{M:()=>r,N:()=>a});var i=s(7379),n=s(30907);function a(e){return(0,i.Ay)("cfg-dashboard-api-system-health",()=>n.Q(e))}function r(e){return(0,i.Ay)("cfg-dashboard-api-system-metric",()=>n.f(e))}},58458:(e,t,s)=>{s.d(t,{C:()=>a,S:()=>r});var i=s(59551),n=s(2509);async function a(e){let t=e||(0,n.CB)();return await t.cfg_dashboard_api_zones.list()}async function r(e){let t=e||(0,n.CB)(),s=await t.cfg_dashboard_api_zones.summaryRetrieve();return i.x.parse(s)}},59285:(e,t,s)=>{s.d(t,{n:()=>r});var i=s(23309),n=s(38258),a=s(97523);let r=i.Ikc({error:n.e.optional(),result:a.z.optional()})},59551:(e,t,s)=>{s.d(t,{x:()=>a});var i=s(23309),n=s(5290);let a=i.Ikc({zones:i.YOg(n._),summary:i.g1P(i.YjP(),i.bzn())})},60374:(e,t,s)=>{s.d(t,{c:()=>a});var i=s(23309),n=s(10573);let a=i.Ikc({component:i.YjP(),status:i.fc(n.lf),description:i.YjP(),last_check:i.YjP(),health_percentage:i.Whr().min(0).max(100).nullable().optional()})},64330:(e,t,s)=>{s.d(t,{q:()=>a});var i=s(23309),n=s(34851);let a=i.Ikc({total_commands:i.Whr(),core_commands:i.Whr(),custom_commands:i.Whr(),categories:i.YOg(i.YjP()),commands:i.YOg(n.p),categorized:i.g1P(i.YjP(),i.bzn())})},66525:(e,t,s)=>{s(34245)},68308:(e,t,s)=>{s.d(t,{O:()=>n});var i=s(23309);let n=i.Ikc({success:i.zMY(),message_id:i.YjP(),channel:i.YjP(),acks_received:i.Whr().optional(),delivered:i.zMY().optional(),error:i.YjP().nullable().optional()})},71174:(e,t,s)=>{s.d(t,{AS:()=>c,IO:()=>l,NG:()=>a,UI:()=>o,hn:()=>p,kG:()=>r});var i=s(82755),n=s(14702);function a(){let{mutate:e}=(0,i.iX)();return async t=>{let s=await n.eD(t);return e("cfg-centrifugo-admin-api-server-auth-token"),s}}function r(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.dz(t,s);return e("cfg-centrifugo-admin-api-server-channels"),i}}function o(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.J_(t,s);return e("cfg-centrifugo-admin-api-server-history"),i}}function c(){let{mutate:e}=(0,i.iX)();return async t=>{let s=await n.HU(t);return e("cfg-centrifugo-admin-api-server-info"),s}}function p(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.Ec(t,s);return e("cfg-centrifugo-admin-api-server-presence"),i}}function l(){let{mutate:e}=(0,i.iX)();return async(t,s)=>{let i=await n.DL(t,s);return e("cfg-centrifugo-admin-api-server-presence-stats"),i}}},78726:(e,t,s)=>{s.d(t,{Mr:()=>p,R0:()=>o,fg:()=>c,j_:()=>l});var i=s(55038),n=s(49692),a=s(68308),r=s(2509);async function o(e,t){let s=t||(0,r.CB)(),n=await s.cfg_centrifugo_testing.centrifugoAdminApiTestingConnectionTokenCreate(e);return i.k.parse(n)}async function c(e,t){let s=t||(0,r.CB)(),i=await s.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishTestCreate(e);return a.O.parse(i)}async function p(e,t){let s=t||(0,r.CB)(),i=await s.cfg_centrifugo_testing.centrifugoAdminApiTestingPublishWithLoggingCreate(e);return a.O.parse(i)}async function l(e,t){let s=t||(0,r.CB)(),i=await s.cfg_centrifugo_testing.centrifugoAdminApiTestingSendAckCreate(e);return n.G.parse(i)}},79222:(e,t,s)=>{s.d(t,{a:()=>n});var i=s(23309);let n=i.Ikc({presence:i.g1P(i.YjP(),i.bzn())})},81231:(e,t,s)=>{s.d(t,{UQ:()=>r,lJ:()=>c,vD:()=>o,wD:()=>a});var i=s(7379),n=s(15079);function a(e,t){return(0,i.Ay)(e?["cfg-dashboard-api-charts-activity",e]:"cfg-dashboard-api-charts-activity",()=>n.x1(e,t))}function r(e,t){return(0,i.Ay)(e?["cfg-dashboard-api-charts-recent-users",e]:"cfg-dashboard-api-charts-recent-users",()=>n.Rx(e,t))}function o(e,t){return(0,i.Ay)(e?["cfg-dashboard-api-charts-registration",e]:"cfg-dashboard-api-charts-registration",()=>n.OQ(e,t))}function c(e,t){return(0,i.Ay)(e?["cfg-dashboard-api-charts-tracker",e]:"cfg-dashboard-api-charts-tracker",()=>n.gc(e,t))}},82916:(e,t,s)=>{s.d(t,{nC7:()=>ew,mI_:()=>N});class i{async accountsTokenRefreshCreate(e){return await this.client.request("POST","/cfg/accounts/token/refresh/",{body:e})}constructor(e){this.client=e}}class n{async newsletterBulkCreate(e){return await this.client.request("POST","/cfg/newsletter/bulk/",{body:e})}constructor(e){this.client=e}}class a{async newsletterCampaignsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/newsletter/campaigns/",{params:e})}async newsletterCampaignsCreate(e){return await this.client.request("POST","/cfg/newsletter/campaigns/",{body:e})}async newsletterCampaignsRetrieve(e){return await this.client.request("GET","/cfg/newsletter/campaigns/".concat(e,"/"))}async newsletterCampaignsUpdate(e,t){return await this.client.request("PUT","/cfg/newsletter/campaigns/".concat(e,"/"),{body:t})}async newsletterCampaignsDestroy(e){await this.client.request("DELETE","/cfg/newsletter/campaigns/".concat(e,"/"))}async newsletterCampaignsSendCreate(e){return await this.client.request("POST","/cfg/newsletter/campaigns/send/",{body:e})}constructor(e){this.client=e}}class r{async serverAuthTokenCreate(){return await this.client.request("POST","/cfg/centrifugo/admin/api/server/auth/token/")}async serverChannelsCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/server/channels/",{body:e})}async serverHistoryCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/server/history/",{body:e})}async serverInfoCreate(){return await this.client.request("POST","/cfg/centrifugo/admin/api/server/info/")}async serverPresenceCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/server/presence/",{body:e})}async serverPresenceStatsCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/server/presence-stats/",{body:e})}async centrifugoServerAuthTokenCreate(){return await this.client.request("POST","/cfg/centrifugo/server/auth/token/")}async centrifugoServerChannelsCreate(e){return await this.client.request("POST","/cfg/centrifugo/server/channels/",{body:e})}async centrifugoServerHistoryCreate(e){return await this.client.request("POST","/cfg/centrifugo/server/history/",{body:e})}async centrifugoServerInfoCreate(){return await this.client.request("POST","/cfg/centrifugo/server/info/")}async centrifugoServerPresenceCreate(e){return await this.client.request("POST","/cfg/centrifugo/server/presence/",{body:e})}async centrifugoServerPresenceStatsCreate(e){return await this.client.request("POST","/cfg/centrifugo/server/presence-stats/",{body:e})}constructor(e){this.client=e}}class o{async centrifugoAdminApiMonitorHealthRetrieve(){return await this.client.request("GET","/cfg/centrifugo/admin/api/monitor/health/")}async centrifugoAdminApiMonitorOverviewRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{hours:s[0]}:s[0],await this.client.request("GET","/cfg/centrifugo/admin/api/monitor/overview/",{params:e})}async centrifugoAdminApiMonitorPublishesRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{channel:s[0],count:s[1],offset:s[2],status:s[3]}:s[0],await this.client.request("GET","/cfg/centrifugo/admin/api/monitor/publishes/",{params:e})}async centrifugoAdminApiMonitorTimelineRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{hours:s[0],interval:s[1]}:s[0],(await this.client.request("GET","/cfg/centrifugo/admin/api/monitor/timeline/",{params:e})).results||[]}async centrifugoMonitorHealthRetrieve(){return await this.client.request("GET","/cfg/centrifugo/monitor/health/")}async centrifugoMonitorOverviewRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{hours:s[0]}:s[0],await this.client.request("GET","/cfg/centrifugo/monitor/overview/",{params:e})}async centrifugoMonitorPublishesRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{channel:s[0],count:s[1],offset:s[2],status:s[3]}:s[0],await this.client.request("GET","/cfg/centrifugo/monitor/publishes/",{params:e})}async centrifugoMonitorTimelineRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{hours:s[0],interval:s[1]}:s[0],(await this.client.request("GET","/cfg/centrifugo/monitor/timeline/",{params:e})).results||[]}constructor(e){this.client=e}}class c{async centrifugoAdminApiTestingConnectionTokenCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/testing/connection-token/",{body:e})}async centrifugoAdminApiTestingPublishTestCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/testing/publish-test/",{body:e})}async centrifugoAdminApiTestingPublishWithLoggingCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/testing/publish-with-logging/",{body:e})}async centrifugoAdminApiTestingSendAckCreate(e){return await this.client.request("POST","/cfg/centrifugo/admin/api/testing/send-ack/",{body:e})}async connectionTokenCreate(e){return await this.client.request("POST","/cfg/centrifugo/testing/connection-token/",{body:e})}async publishTestCreate(e){return await this.client.request("POST","/cfg/centrifugo/testing/publish-test/",{body:e})}async publishWithLoggingCreate(e){return await this.client.request("POST","/cfg/centrifugo/testing/publish-with-logging/",{body:e})}async sendAckCreate(e){return await this.client.request("POST","/cfg/centrifugo/testing/send-ack/",{body:e})}constructor(e){this.client=e}}class p{async list(){return await this.client.request("GET","/cfg/dashboard/api/zones/")}async summaryRetrieve(){return await this.client.request("GET","/cfg/dashboard/api/zones/summary/")}constructor(e){this.client=e}}class l{async dashboardApiActivityActionsList(){return await this.client.request("GET","/cfg/dashboard/api/activity/actions/")}async dashboardApiActivityRecentList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{limit:s[0]}:s[0],await this.client.request("GET","/cfg/dashboard/api/activity/recent/",{params:e})}constructor(e){this.client=e}}class u{async dashboardApiChartsActivityRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{days:s[0]}:s[0],await this.client.request("GET","/cfg/dashboard/api/charts/activity/",{params:e})}async dashboardApiChartsRecentUsersList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{limit:s[0]}:s[0],await this.client.request("GET","/cfg/dashboard/api/charts/recent-users/",{params:e})}async dashboardApiChartsRegistrationsRetrieve(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{days:s[0]}:s[0],await this.client.request("GET","/cfg/dashboard/api/charts/registrations/",{params:e})}async dashboardApiChartsTrackerList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{weeks:s[0]}:s[0],await this.client.request("GET","/cfg/dashboard/api/charts/tracker/",{params:e})}constructor(e){this.client=e}}class m{async dashboardApiCommandsList(){return await this.client.request("GET","/cfg/dashboard/api/commands/")}async dashboardApiCommandsSummaryRetrieve(){return await this.client.request("GET","/cfg/dashboard/api/commands/summary/")}constructor(e){this.client=e}}class d{async dashboardApiOverviewOverviewRetrieve(){return await this.client.request("GET","/cfg/dashboard/api/overview/overview/")}constructor(e){this.client=e}}class g{async dashboardApiStatisticsAppsList(){return await this.client.request("GET","/cfg/dashboard/api/statistics/apps/")}async dashboardApiStatisticsCardsList(){return await this.client.request("GET","/cfg/dashboard/api/statistics/cards/")}async dashboardApiStatisticsUsersRetrieve(){return await this.client.request("GET","/cfg/dashboard/api/statistics/users/")}constructor(e){this.client=e}}class h{async dashboardApiSystemHealthRetrieve(){return await this.client.request("GET","/cfg/dashboard/api/system/health/")}async dashboardApiSystemMetricsRetrieve(){return await this.client.request("GET","/cfg/dashboard/api/system/metrics/")}constructor(e){this.client=e}}class y{async leadsSubmitCreate(e){return await this.client.request("POST","/cfg/leads/submit/",{body:e})}constructor(e){this.client=e}}class f{async newsletterLogsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/newsletter/logs/",{params:e})}constructor(e){this.client=e}}class _{async newsletterNewslettersList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/newsletter/newsletters/",{params:e})}async newsletterNewslettersRetrieve(e){return await this.client.request("GET","/cfg/newsletter/newsletters/".concat(e,"/"))}constructor(e){this.client=e}}class b{async newsletterSubscribeCreate(e){return await this.client.request("POST","/cfg/newsletter/subscribe/",{body:e})}async newsletterSubscriptionsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/newsletter/subscriptions/",{params:e})}async newsletterUnsubscribeCreate(e){return await this.client.request("POST","/cfg/newsletter/unsubscribe/",{body:e})}constructor(e){this.client=e}}class w{async newsletterTestCreate(e){return await this.client.request("POST","/cfg/newsletter/test/",{body:e})}constructor(e){this.client=e}}class v{async accountsProfileRetrieve(){return await this.client.request("GET","/cfg/accounts/profile/")}async accountsProfileAvatarCreate(e){return await this.client.request("POST","/cfg/accounts/profile/avatar/",{formData:e})}async accountsProfilePartialUpdate(e){return await this.client.request("PUT","/cfg/accounts/profile/partial/",{body:e})}async accountsProfilePartialPartialUpdate(e){return await this.client.request("PATCH","/cfg/accounts/profile/partial/",{body:e})}async accountsProfileUpdateUpdate(e){return await this.client.request("PUT","/cfg/accounts/profile/update/",{body:e})}async accountsProfileUpdatePartialUpdate(e){return await this.client.request("PATCH","/cfg/accounts/profile/update/",{body:e})}constructor(e){this.client=e}}class k{async otpRequestCreate(e){return await this.client.request("POST","/cfg/accounts/otp/request/",{body:e})}async otpVerifyCreate(e){return await this.client.request("POST","/cfg/accounts/otp/verify/",{body:e})}constructor(e){this.client=e}}class j{async adminApiMonitorChannelsRetrieve(){return await this.client.request("GET","/cfg/centrifugo/admin/api/monitor/channels/")}async monitorChannelsRetrieve(){return await this.client.request("GET","/cfg/centrifugo/monitor/channels/")}constructor(e){this.client=e}}class q{async drfRetrieve(){return await this.client.request("GET","/cfg/endpoints/drf/")}async urlsRetrieve(){return(await this.client.request("GET","/cfg/endpoints/urls/")).results||[]}async urlsCompactRetrieve(){return await this.client.request("GET","/cfg/endpoints/urls/compact/")}constructor(e){this.client=e}}class x{async drfRetrieve(){return await this.client.request("GET","/cfg/health/drf/")}async drfQuickRetrieve(){return await this.client.request("GET","/cfg/health/drf/quick/")}constructor(e){this.client=e}}class P{async adminChatList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/knowbase/admin/chat/",{params:e})}async adminChatCreate(e){return await this.client.request("POST","/cfg/knowbase/admin/chat/",{body:e})}async adminChatRetrieve(e){return await this.client.request("GET","/cfg/knowbase/admin/chat/".concat(e,"/"))}async adminChatUpdate(e,t){return await this.client.request("PUT","/cfg/knowbase/admin/chat/".concat(e,"/"),{body:t})}async adminChatPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/knowbase/admin/chat/".concat(e,"/"),{body:t})}async adminChatDestroy(e){await this.client.request("DELETE","/cfg/knowbase/admin/chat/".concat(e,"/"))}async adminChatHistoryRetrieve(e){return await this.client.request("GET","/cfg/knowbase/admin/chat/".concat(e,"/history/"))}async adminChatQueryCreate(e){return await this.client.request("POST","/cfg/knowbase/admin/chat/query/",{body:e})}async adminDocumentsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1],status:s[2]}:s[0],await this.client.request("GET","/cfg/knowbase/admin/documents/",{params:e})}async adminDocumentsCreate(e){return await this.client.request("POST","/cfg/knowbase/admin/documents/",{body:e})}async adminDocumentsRetrieve(e){return await this.client.request("GET","/cfg/knowbase/admin/documents/".concat(e,"/"))}async adminDocumentsUpdate(e,t){return await this.client.request("PUT","/cfg/knowbase/admin/documents/".concat(e,"/"),{body:t})}async adminDocumentsPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/knowbase/admin/documents/".concat(e,"/"),{body:t})}async adminDocumentsDestroy(e){await this.client.request("DELETE","/cfg/knowbase/admin/documents/".concat(e,"/"))}async adminDocumentsReprocessCreate(e,t){return await this.client.request("POST","/cfg/knowbase/admin/documents/".concat(e,"/reprocess/"),{body:t})}async adminDocumentsStatusRetrieve(e){return await this.client.request("GET","/cfg/knowbase/admin/documents/".concat(e,"/status/"))}async adminDocumentsStatsRetrieve(){return await this.client.request("GET","/cfg/knowbase/admin/documents/stats/")}async adminSessionsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/knowbase/admin/sessions/",{params:e})}async adminSessionsCreate(e){return await this.client.request("POST","/cfg/knowbase/admin/sessions/",{body:e})}async adminSessionsRetrieve(e){return await this.client.request("GET","/cfg/knowbase/admin/sessions/".concat(e,"/"))}async adminSessionsUpdate(e,t){return await this.client.request("PUT","/cfg/knowbase/admin/sessions/".concat(e,"/"),{body:t})}async adminSessionsPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/knowbase/admin/sessions/".concat(e,"/"),{body:t})}async adminSessionsDestroy(e){await this.client.request("DELETE","/cfg/knowbase/admin/sessions/".concat(e,"/"))}async adminSessionsActivateCreate(e,t){return await this.client.request("POST","/cfg/knowbase/admin/sessions/".concat(e,"/activate/"),{body:t})}async adminSessionsArchiveCreate(e,t){return await this.client.request("POST","/cfg/knowbase/admin/sessions/".concat(e,"/archive/"),{body:t})}async categoriesList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/knowbase/categories/",{params:e})}async categoriesRetrieve(e){return await this.client.request("GET","/cfg/knowbase/categories/".concat(e,"/"))}async documentsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{category:s[0],page:s[1],page_size:s[2],search:s[3]}:s[0],await this.client.request("GET","/cfg/knowbase/documents/",{params:e})}async documentsRetrieve(e){return await this.client.request("GET","/cfg/knowbase/documents/".concat(e,"/"))}async systemArchivesList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/knowbase/system/archives/",{params:e})}async systemArchivesCreate(e){return await this.client.request("POST","/cfg/knowbase/system/archives/",{formData:e})}async systemArchivesRetrieve(e){return await this.client.request("GET","/cfg/knowbase/system/archives/".concat(e,"/"))}async systemArchivesUpdate(e,t){let s=new FormData;return s.append("title",String(t.title)),void 0!==t.description&&s.append("description",String(t.description)),void 0!==t.is_public&&s.append("is_public",String(t.is_public)),await this.client.request("PUT","/cfg/knowbase/system/archives/".concat(e,"/"),{formData:s})}async systemArchivesPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/knowbase/system/archives/".concat(e,"/"),{body:t})}async systemArchivesDestroy(e){await this.client.request("DELETE","/cfg/knowbase/system/archives/".concat(e,"/"))}async systemArchivesFileTreeRetrieve(e){return await this.client.request("GET","/cfg/knowbase/system/archives/".concat(e,"/file_tree/"))}async systemArchivesItemsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];let n=s[0];return e=2!==s.length||"object"!=typeof s[1]||null===s[1]||Array.isArray(s[1])?{page:s[1],page_size:s[2]}:s[1],await this.client.request("GET","/cfg/knowbase/system/archives/".concat(n,"/items/"),{params:e})}async systemArchivesSearchCreate(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];let n=s[0],a=s[1];e=3!==s.length||"object"!=typeof s[2]||null===s[2]||Array.isArray(s[2])?{page:s[2],page_size:s[3]}:s[2];let r=new FormData;return r.append("query",String(a.query)),void 0!==a.content_types&&r.append("content_types",String(a.content_types)),void 0!==a.languages&&r.append("languages",String(a.languages)),void 0!==a.chunk_types&&r.append("chunk_types",String(a.chunk_types)),void 0!==a.archive_ids&&r.append("archive_ids",String(a.archive_ids)),void 0!==a.limit&&r.append("limit",String(a.limit)),void 0!==a.similarity_threshold&&r.append("similarity_threshold",String(a.similarity_threshold)),await this.client.request("POST","/cfg/knowbase/system/archives/".concat(n,"/search/"),{params:e,formData:r})}async systemArchivesRevectorizeCreate(e){let t=new FormData;return t.append("chunk_ids",String(e.chunk_ids)),void 0!==e.force&&t.append("force",String(e.force)),await this.client.request("POST","/cfg/knowbase/system/archives/revectorize/",{formData:t})}async systemArchivesStatisticsRetrieve(){return await this.client.request("GET","/cfg/knowbase/system/archives/statistics/")}async systemArchivesVectorizationStatsRetrieve(){return await this.client.request("GET","/cfg/knowbase/system/archives/vectorization_stats/")}async systemChunksList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/knowbase/system/chunks/",{params:e})}async systemChunksCreate(e){return await this.client.request("POST","/cfg/knowbase/system/chunks/",{body:e})}async systemChunksRetrieve(e){return await this.client.request("GET","/cfg/knowbase/system/chunks/".concat(e,"/"))}async systemChunksUpdate(e,t){return await this.client.request("PUT","/cfg/knowbase/system/chunks/".concat(e,"/"),{body:t})}async systemChunksPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/knowbase/system/chunks/".concat(e,"/"),{body:t})}async systemChunksDestroy(e){await this.client.request("DELETE","/cfg/knowbase/system/chunks/".concat(e,"/"))}async systemChunksContextRetrieve(e){return await this.client.request("GET","/cfg/knowbase/system/chunks/".concat(e,"/context/"))}async systemChunksVectorizeCreate(e,t){return await this.client.request("POST","/cfg/knowbase/system/chunks/".concat(e,"/vectorize/"),{body:t})}async systemItemsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/knowbase/system/items/",{params:e})}async systemItemsCreate(e){return await this.client.request("POST","/cfg/knowbase/system/items/",{body:e})}async systemItemsRetrieve(e){return await this.client.request("GET","/cfg/knowbase/system/items/".concat(e,"/"))}async systemItemsUpdate(e,t){return await this.client.request("PUT","/cfg/knowbase/system/items/".concat(e,"/"),{body:t})}async systemItemsPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/knowbase/system/items/".concat(e,"/"),{body:t})}async systemItemsDestroy(e){await this.client.request("DELETE","/cfg/knowbase/system/items/".concat(e,"/"))}async systemItemsChunksList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];let n=s[0];return e=2!==s.length||"object"!=typeof s[1]||null===s[1]||Array.isArray(s[1])?{page:s[1],page_size:s[2]}:s[1],await this.client.request("GET","/cfg/knowbase/system/items/".concat(n,"/chunks/"),{params:e})}async systemItemsContentRetrieve(e){return await this.client.request("GET","/cfg/knowbase/system/items/".concat(e,"/content/"))}constructor(e){this.client=e}}class A{async list(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/leads/",{params:e})}async create(e){return await this.client.request("POST","/cfg/leads/",{body:e})}async retrieve(e){return await this.client.request("GET","/cfg/leads/".concat(e,"/"))}async update(e,t){return await this.client.request("PUT","/cfg/leads/".concat(e,"/"),{body:t})}async partialUpdate(e,t){return await this.client.request("PATCH","/cfg/leads/".concat(e,"/"),{body:t})}async destroy(e){await this.client.request("DELETE","/cfg/leads/".concat(e,"/"))}constructor(e){this.client=e}}class C{async campaignsPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/newsletter/campaigns/".concat(e,"/"),{body:t})}async unsubscribeUpdate(e){return await this.client.request("PUT","/cfg/newsletter/unsubscribe/",{body:e})}async unsubscribePartialUpdate(e){return await this.client.request("PATCH","/cfg/newsletter/unsubscribe/",{body:e})}constructor(e){this.client=e}}class R{async balanceRetrieve(){return await this.client.request("GET","/cfg/payments/balance/")}async currenciesList(){return await this.client.request("GET","/cfg/payments/currencies/")}async paymentsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/payments/payments/",{params:e})}async paymentsRetrieve(e){return await this.client.request("GET","/cfg/payments/payments/".concat(e,"/"))}async paymentsConfirmCreate(e){return await this.client.request("POST","/cfg/payments/payments/".concat(e,"/confirm/"))}async paymentsStatusRetrieve(e){return(await this.client.request("GET","/cfg/payments/payments/".concat(e,"/status/"))).results||[]}async paymentsCreateCreate(){return await this.client.request("POST","/cfg/payments/payments/create/")}async transactionsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{limit:s[0],offset:s[1],type:s[2]}:s[0],await this.client.request("GET","/cfg/payments/transactions/",{params:e})}constructor(e){this.client=e}}class I{async ticketsList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];return e=1!==s.length||"object"!=typeof s[0]||null===s[0]||Array.isArray(s[0])?{page:s[0],page_size:s[1]}:s[0],await this.client.request("GET","/cfg/support/tickets/",{params:e})}async ticketsCreate(e){return await this.client.request("POST","/cfg/support/tickets/",{body:e})}async ticketsMessagesList(){let e;for(var t=arguments.length,s=Array(t),i=0;i<t;i++)s[i]=arguments[i];let n=s[0];return e=2!==s.length||"object"!=typeof s[1]||null===s[1]||Array.isArray(s[1])?{page:s[1],page_size:s[2]}:s[1],await this.client.request("GET","/cfg/support/tickets/".concat(n,"/messages/"),{params:e})}async ticketsMessagesCreate(e,t){return await this.client.request("POST","/cfg/support/tickets/".concat(e,"/messages/"),{body:t})}async ticketsMessagesRetrieve(e,t){return await this.client.request("GET","/cfg/support/tickets/".concat(e,"/messages/").concat(t,"/"))}async ticketsMessagesUpdate(e,t,s){return await this.client.request("PUT","/cfg/support/tickets/".concat(e,"/messages/").concat(t,"/"),{body:s})}async ticketsMessagesPartialUpdate(e,t,s){return await this.client.request("PATCH","/cfg/support/tickets/".concat(e,"/messages/").concat(t,"/"),{body:s})}async ticketsMessagesDestroy(e,t){await this.client.request("DELETE","/cfg/support/tickets/".concat(e,"/messages/").concat(t,"/"))}async ticketsRetrieve(e){return await this.client.request("GET","/cfg/support/tickets/".concat(e,"/"))}async ticketsUpdate(e,t){return await this.client.request("PUT","/cfg/support/tickets/".concat(e,"/"),{body:t})}async ticketsPartialUpdate(e,t){return await this.client.request("PATCH","/cfg/support/tickets/".concat(e,"/"),{body:t})}async ticketsDestroy(e){await this.client.request("DELETE","/cfg/support/tickets/".concat(e,"/"))}constructor(e){this.client=e}}class T{async apiClearCreate(e){return await this.client.request("POST","/cfg/tasks/api/clear/",{body:e})}async apiClearQueuesCreate(e){return await this.client.request("POST","/cfg/tasks/api/clear-queues/",{body:e})}async apiPurgeFailedCreate(e){return await this.client.request("POST","/cfg/tasks/api/purge-failed/",{body:e})}async apiQueuesManageCreate(e){return await this.client.request("POST","/cfg/tasks/api/queues/manage/",{body:e})}async apiQueuesStatusRetrieve(){return await this.client.request("GET","/cfg/tasks/api/queues/status/")}async apiSimulateCreate(e){return await this.client.request("POST","/cfg/tasks/api/simulate/",{body:e})}async apiTasksListRetrieve(){return await this.client.request("GET","/cfg/tasks/api/tasks/list/")}async apiTasksStatsRetrieve(){return await this.client.request("GET","/cfg/tasks/api/tasks/stats/")}async apiWorkersListRetrieve(){return await this.client.request("GET","/cfg/tasks/api/workers/list/")}async apiWorkersManageCreate(e){return await this.client.request("POST","/cfg/tasks/api/workers/manage/",{body:e})}constructor(e){this.client=e}}class O{async request(e){let t,{method:s,url:i,headers:n,body:a,params:r,formData:o}=e,c=i;if(r){let e=new URLSearchParams;Object.entries(r).forEach(t=>{let[s,i]=t;null!=i&&e.append(s,String(i))});let t=e.toString();t&&(c=i.includes("?")?"".concat(i,"&").concat(t):"".concat(i,"?").concat(t))}let p={...n};o?t=o:a&&(p["Content-Type"]="application/json",t=JSON.stringify(a));let l=await fetch(c,{method:s,headers:p,body:t,credentials:"include"}),u=null,m=l.headers.get("content-type");204!==l.status&&(null==m?void 0:m.includes("application/json"))?u=await l.json():204!==l.status&&(u=await l.text());let d={};return l.headers.forEach((e,t)=>{d[t]=e}),{data:u,status:l.status,statusText:l.statusText,headers:d}}}var S=s(98970),Y=s(49083);let L={enabled:!1,logRequests:!0,logResponses:!0,logErrors:!0,logBodies:!0,logHeaders:!1},z=["authorization","cookie","set-cookie","x-api-key","x-csrf-token"];class ${enable(){this.config.enabled=!0}disable(){this.config.enabled=!1}setConfig(e){this.config={...this.config,...e}}filterHeaders(e){if(!e)return{};let t={};return Object.keys(e).forEach(s=>{let i=s.toLowerCase();z.includes(i)?t[s]="***":t[s]=e[s]||""}),t}logRequest(e){if(!this.config.enabled||!this.config.logRequests)return;let{method:t,url:s,headers:i,body:n}=e;this.consola.start("".concat(t," ").concat(s)),this.config.logHeaders&&i&&this.consola.debug("Headers:",this.filterHeaders(i)),this.config.logBodies&&n&&this.consola.debug("Body:",n)}logResponse(e,t){if(!this.config.enabled||!this.config.logResponses)return;let{method:s,url:i}=e,{status:n,statusText:a,data:r,duration:o}=t;this.consola.success("".concat(s," ").concat(i," ").concat(n," ").concat(a," (").concat(o,"ms)")),this.config.logBodies&&r&&this.consola.debug("Response:",r)}logError(e,t){if(!this.config.enabled||!this.config.logErrors)return;let{method:s,url:i}=e,{message:n,statusCode:a,fieldErrors:r,duration:o}=t;this.consola.error("".concat(s," ").concat(i," ").concat(a||"Network"," Error (").concat(o,"ms)")),this.consola.error("Message:",n),r&&Object.keys(r).length>0&&(this.consola.error("Field Errors:"),Object.entries(r).forEach(e=>{let[t,s]=e;s.forEach(e=>{this.consola.error(" • ".concat(t,": ").concat(e))})}))}info(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];this.config.enabled&&this.consola.info(e,...s)}warn(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];this.config.enabled&&this.consola.warn(e,...s)}error(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];this.config.enabled&&this.consola.error(e,...s)}debug(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];this.config.enabled&&this.consola.debug(e,...s)}success(e){for(var t=arguments.length,s=Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];this.config.enabled&&this.consola.success(e,...s)}withTag(e){return this.consola.withTag(e)}constructor(e={}){this.config={...L,...e},this.consola=e.consola||(0,Y.si)({level:4*!!this.config.enabled})}}new $;var D=s(62804);let W={retries:3,factor:2,minTimeout:1e3,maxTimeout:6e4,randomize:!0,onFailedAttempt:()=>{}};async function E(e,t){let s={...W,...t};return(0,D.Ay)(async()=>{try{return await e()}catch(e){if(!function(e){if(e instanceof S.D)return!0;if(e instanceof S.L){let t=e.statusCode;return!!(t>=500)&&!!(t<600)||429===t}return!0}(e))throw new D.lc(e);throw e}},{retries:s.retries,factor:s.factor,minTimeout:s.minTimeout,maxTimeout:s.maxTimeout,randomize:s.randomize,onFailedAttempt:s.onFailedAttempt?e=>{s.onFailedAttempt({error:e,attemptNumber:e.attemptNumber,retriesLeft:e.retriesLeft})}:void 0})}class U{getCsrfToken(){let e="; ".concat(document.cookie).split("; ".concat("csrftoken","="));if(2===e.length){var t;return(null==(t=e.pop())?void 0:t.split(";").shift())||null}return null}async request(e,t,s){return this.retryConfig?E(()=>this._makeRequest(e,t,s),{...this.retryConfig,onFailedAttempt:s=>{var i,n;this.logger&&this.logger.warn("Retry attempt ".concat(s.attemptNumber,"/").concat(s.retriesLeft+s.attemptNumber," ")+"for ".concat(e," ").concat(t,": ").concat(s.error.message)),null==(n=this.retryConfig)||null==(i=n.onFailedAttempt)||i.call(n,s)}}):this._makeRequest(e,t,s)}async _makeRequest(e,t,s){let i=this.baseUrl?"".concat(this.baseUrl).concat(t):t,n=Date.now(),a={...(null==s?void 0:s.headers)||{}};(null==s?void 0:s.formData)||a["Content-Type"]||(a["Content-Type"]="application/json"),this.logger&&this.logger.logRequest({method:e,url:i,headers:a,body:(null==s?void 0:s.formData)||(null==s?void 0:s.body),timestamp:n});try{let t=await this.httpClient.request({method:e,url:i,headers:a,params:null==s?void 0:s.params,body:null==s?void 0:s.body,formData:null==s?void 0:s.formData}),r=Date.now()-n;if(t.status>=400){let o=new S.L(t.status,t.statusText,t.data,i);throw this.logger&&this.logger.logError({method:e,url:i,headers:a,body:(null==s?void 0:s.formData)||(null==s?void 0:s.body),timestamp:n},{message:o.message,statusCode:t.status,duration:r,timestamp:Date.now()}),o}return this.logger&&this.logger.logResponse({method:e,url:i,headers:a,body:(null==s?void 0:s.formData)||(null==s?void 0:s.body),timestamp:n},{status:t.status,statusText:t.statusText,data:t.data,duration:r,timestamp:Date.now()}),t.data}catch(o){let t=Date.now()-n;if(o instanceof S.L)throw o;let r=o instanceof Error?new S.D(o.message,i,o):new S.D("Unknown error",i);throw this.logger&&this.logger.logError({method:e,url:i,headers:a,body:(null==s?void 0:s.formData)||(null==s?void 0:s.body),timestamp:n},{message:r.message,duration:t,timestamp:Date.now()}),r}}constructor(e,t){this.logger=null,this.retryConfig=null,this.baseUrl=e.replace(/\/$/,""),this.httpClient=(null==t?void 0:t.httpClient)||new O,(null==t?void 0:t.loggerConfig)!==void 0&&(this.logger=new $(t.loggerConfig)),(null==t?void 0:t.retryConfig)!==void 0&&(this.retryConfig=t.retryConfig),this.cfg_auth=new i(this),this.cfg_bulk_email=new n(this),this.cfg_campaigns=new a(this),this.cfg_centrifugo_admin_api=new r(this),this.cfg_centrifugo_monitoring=new o(this),this.cfg_centrifugo_testing=new c(this),this.cfg_dashboard_api_zones=new p(this),this.cfg_dashboard_activity=new l(this),this.cfg_dashboard_charts=new u(this),this.cfg_dashboard_commands=new m(this),this.cfg_dashboard_overview=new d(this),this.cfg_dashboard_statistics=new g(this),this.cfg_dashboard_system=new h(this),this.cfg_lead_submission=new y(this),this.cfg_logs=new f(this),this.cfg_newsletters=new _(this),this.cfg_subscriptions=new b(this),this.cfg_testing=new w(this),this.cfg_user_profile=new v(this),this.cfg_accounts=new k(this),this.cfg_centrifugo=new j(this),this.cfg_endpoints=new q(this),this.cfg_health=new x(this),this.cfg_knowbase=new P(this),this.cfg_leads=new A(this),this.cfg_newsletter=new C(this),this.cfg_payments=new R(this),this.cfg_support=new I(this),this.cfg_tasks=new T(this)}}let M={components:{schemas:{APIResponse:{description:"Standard API response serializer.",properties:{data:{additionalProperties:{},description:"Response data",type:"object"},error:{description:"Error message",type:"string"},message:{description:"Success message",type:"string"},success:{description:"Operation success status",type:"boolean"}},required:["success"],type:"object"},APIResponseRequest:{description:"Standard API response serializer.",properties:{data:{additionalProperties:{},description:"Response data",type:"object"},error:{description:"Error message",minLength:1,type:"string"},message:{description:"Success message",minLength:1,type:"string"},success:{description:"Operation success status",type:"boolean"}},required:["success"],type:"object"},APIZone:{description:"OpenAPI zone/group serializer.",properties:{api_url:{type:"string"},app_count:{type:"integer"},apps:{items:{type:"string"},type:"array"},description:{type:"string"},endpoint_count:{type:"integer"},name:{type:"string"},schema_url:{type:"string"},status:{type:"string"},title:{type:"string"}},required:["api_url","app_count","apps","description","endpoint_count","name","schema_url","status","title"],type:"object"},APIZonesSummary:{description:"API zones summary serializer.",properties:{summary:{additionalProperties:{},type:"object"},zones:{items:{$ref:"#/components/schemas/APIZone"},type:"array"}},required:["summary","zones"],type:"object"},ActivityEntry:{description:"Serializer for recent activity entries.",properties:{action:{description:"Action type (created, updated, deleted, etc.)",type:"string"},color:{description:"Icon color",type:"string"},icon:{description:"Material icon name",type:"string"},id:{description:"Activity ID",type:"integer"},resource:{description:"Resource affected",type:"string"},timestamp:{description:"Activity timestamp (ISO format)",type:"string"},user:{description:"User who performed the action",type:"string"}},required:["action","color","icon","id","resource","timestamp","user"],type:"object"},ActivityTrackerDay:{description:"Activity tracker single day serializer.",properties:{color:{type:"string"},count:{type:"integer"},date:{format:"date",type:"string"},level:{type:"integer"},tooltip:{type:"string"}},required:["color","count","date","level","tooltip"],type:"object"},AppStatistics:{description:"Serializer for application-specific statistics.",properties:{app_name:{description:"Application name",type:"string"},statistics:{additionalProperties:{type:"integer"},description:"Application statistics",type:"object"}},required:["app_name","statistics"],type:"object"},ArchiveItem:{description:"Archive item serializer.",properties:{chunks_count:{description:"Number of chunks created",readOnly:!0,type:"integer"},content_type:{description:"Content classification\n\n* `document` - Document\n* `code` - Code\n* `image` - Image\n* `data` - Data\n* `archive` - Archive\n* `unknown` - Unknown",enum:["document","code","image","data","archive","unknown"],readOnly:!0,type:"string","x-spec-enum-id":"e6657d144665c87e"},created_at:{format:"date-time",readOnly:!0,type:"string"},encoding:{description:"Character encoding",readOnly:!0,type:"string"},file_size:{description:"Item size in bytes",maximum:0x7fffffff,minimum:0,type:"integer"},id:{format:"uuid",readOnly:!0,type:"string"},is_processable:{description:"Whether item can be processed for chunks",readOnly:!0,type:"boolean"},item_name:{description:"Item name",maxLength:255,type:"string"},item_type:{description:"MIME type",maxLength:100,type:"string"},language:{description:"Programming language or document language",readOnly:!0,type:"string"},processing_cost:{description:"Processing cost for this item",format:"double",readOnly:!0,type:"number"},relative_path:{description:"Path within archive",maxLength:1024,type:"string"},total_tokens:{description:"Total tokens in all chunks",readOnly:!0,type:"integer"},updated_at:{format:"date-time",readOnly:!0,type:"string"}},required:["chunks_count","content_type","created_at","encoding","id","is_processable","item_name","item_type","language","processing_cost","relative_path","total_tokens","updated_at"],type:"object"},ArchiveItemChunk:{description:"Archive item chunk serializer.",properties:{character_count:{description:"Number of characters in chunk",readOnly:!0,type:"integer"},chunk_index:{description:"Sequential chunk number within item",maximum:0x7fffffff,minimum:0,type:"integer"},chunk_type:{description:"Type of content in chunk\n\n* `text` - Text\n* `code` - Code\n* `heading` - Heading\n* `metadata` - Metadata\n* `table` - Table\n* `list` - List",enum:["text","code","heading","metadata","table","list"],type:"string","x-spec-enum-id":"660846bb1567d97b"},content:{description:"Chunk text content",type:"string"},context_summary:{additionalProperties:{},description:"Get context summary for display.",readOnly:!0,type:"object"},created_at:{format:"date-time",readOnly:!0,type:"string"},embedding_cost:{description:"Cost in USD for embedding generation",format:"double",readOnly:!0,type:"number"},embedding_model:{description:"Model used for embedding generation",readOnly:!0,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},token_count:{description:"Number of tokens in chunk",readOnly:!0,type:"integer"}},required:["character_count","chunk_index","content","context_summary","created_at","embedding_cost","embedding_model","id","token_count"],type:"object"},ArchiveItemChunkDetail:{description:"Detailed chunk serializer with full context.",properties:{character_count:{description:"Number of characters in chunk",readOnly:!0,type:"integer"},chunk_index:{description:"Sequential chunk number within item",maximum:0x7fffffff,minimum:0,type:"integer"},chunk_type:{description:"Type of content in chunk\n\n* `text` - Text\n* `code` - Code\n* `heading` - Heading\n* `metadata` - Metadata\n* `table` - Table\n* `list` - List",enum:["text","code","heading","metadata","table","list"],type:"string","x-spec-enum-id":"660846bb1567d97b"},content:{description:"Chunk text content",type:"string"},context_metadata:{readOnly:!0},context_summary:{additionalProperties:{},description:"Get context summary for display.",readOnly:!0,type:"object"},created_at:{format:"date-time",readOnly:!0,type:"string"},embedding_cost:{description:"Cost in USD for embedding generation",format:"double",readOnly:!0,type:"number"},embedding_model:{description:"Model used for embedding generation",readOnly:!0,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},token_count:{description:"Number of tokens in chunk",readOnly:!0,type:"integer"}},required:["character_count","chunk_index","content","context_metadata","context_summary","created_at","embedding_cost","embedding_model","id","token_count"],type:"object"},ArchiveItemChunkRequest:{description:"Archive item chunk serializer.",properties:{chunk_index:{description:"Sequential chunk number within item",maximum:0x7fffffff,minimum:0,type:"integer"},chunk_type:{description:"Type of content in chunk\n\n* `text` - Text\n* `code` - Code\n* `heading` - Heading\n* `metadata` - Metadata\n* `table` - Table\n* `list` - List",enum:["text","code","heading","metadata","table","list"],type:"string","x-spec-enum-id":"660846bb1567d97b"},content:{description:"Chunk text content",minLength:1,type:"string"}},required:["chunk_index","content"],type:"object"},ArchiveItemDetail:{description:"Detailed archive item serializer with content.",properties:{chunks_count:{description:"Number of chunks created",readOnly:!0,type:"integer"},content_type:{description:"Content classification\n\n* `document` - Document\n* `code` - Code\n* `image` - Image\n* `data` - Data\n* `archive` - Archive\n* `unknown` - Unknown",enum:["document","code","image","data","archive","unknown"],readOnly:!0,type:"string","x-spec-enum-id":"e6657d144665c87e"},created_at:{format:"date-time",readOnly:!0,type:"string"},encoding:{description:"Character encoding",readOnly:!0,type:"string"},file_size:{description:"Item size in bytes",maximum:0x7fffffff,minimum:0,type:"integer"},id:{format:"uuid",readOnly:!0,type:"string"},is_processable:{description:"Whether item can be processed for chunks",readOnly:!0,type:"boolean"},item_name:{description:"Item name",maxLength:255,type:"string"},item_type:{description:"MIME type",maxLength:100,type:"string"},language:{description:"Programming language or document language",readOnly:!0,type:"string"},metadata:{readOnly:!0},processing_cost:{description:"Processing cost for this item",format:"double",readOnly:!0,type:"number"},raw_content:{readOnly:!0,type:"string"},relative_path:{description:"Path within archive",maxLength:1024,type:"string"},total_tokens:{description:"Total tokens in all chunks",readOnly:!0,type:"integer"},updated_at:{format:"date-time",readOnly:!0,type:"string"}},required:["chunks_count","content_type","created_at","encoding","id","is_processable","item_name","item_type","language","metadata","processing_cost","raw_content","relative_path","total_tokens","updated_at"],type:"object"},ArchiveItemRequest:{description:"Archive item serializer.",properties:{file_size:{description:"Item size in bytes",maximum:0x7fffffff,minimum:0,type:"integer"},item_name:{description:"Item name",maxLength:255,minLength:1,type:"string"},item_type:{description:"MIME type",maxLength:100,minLength:1,type:"string"},relative_path:{description:"Path within archive",maxLength:1024,minLength:1,type:"string"}},required:["item_name","item_type","relative_path"],type:"object"},ArchiveProcessingResult:{description:"Archive processing result serializer.",properties:{archive_id:{format:"uuid",readOnly:!0,type:"string"},chunks_created:{readOnly:!0,type:"integer"},error_message:{readOnly:!0,type:"string"},items_processed:{readOnly:!0,type:"integer"},processing_time_ms:{readOnly:!0,type:"integer"},status:{readOnly:!0,type:"string"},total_cost_usd:{format:"double",readOnly:!0,type:"number"},vectorized_chunks:{readOnly:!0,type:"integer"}},required:["archive_id","chunks_created","error_message","items_processed","processing_time_ms","status","total_cost_usd","vectorized_chunks"],type:"object"},ArchiveSearchRequestRequest:{description:"Archive search request serializer.",properties:{archive_ids:{description:"Search within specific archives",items:{format:"uuid",type:"string"},type:"array"},chunk_types:{description:"Filter by chunk types",items:{description:"* `text` - Text\n* `code` - Code\n* `heading` - Heading\n* `metadata` - Metadata\n* `table` - Table\n* `list` - List",enum:["text","code","heading","metadata","table","list"],type:"string","x-spec-enum-id":"660846bb1567d97b"},type:"array"},content_types:{description:"Filter by content types",items:{description:"* `document` - Document\n* `code` - Code\n* `image` - Image\n* `data` - Data\n* `archive` - Archive\n* `unknown` - Unknown",enum:["document","code","image","data","archive","unknown"],type:"string","x-spec-enum-id":"e6657d144665c87e"},type:"array"},languages:{description:"Filter by programming languages",items:{maxLength:50,minLength:1,type:"string"},type:"array"},limit:{default:10,description:"Maximum number of results",maximum:50,minimum:1,type:"integer"},query:{description:"Search query",maxLength:500,minLength:1,type:"string"},similarity_threshold:{default:.7,description:"Minimum similarity threshold",format:"double",maximum:1,minimum:0,type:"number"}},required:["query"],type:"object"},ArchiveSearchResult:{description:"Archive search result serializer.",properties:{archive_info:{additionalProperties:{},readOnly:!0,type:"object"},chunk:{allOf:[{$ref:"#/components/schemas/ArchiveItemChunk"}],readOnly:!0},context_summary:{additionalProperties:{},readOnly:!0,type:"object"},item_info:{additionalProperties:{},readOnly:!0,type:"object"},similarity_score:{format:"double",readOnly:!0,type:"number"}},required:["archive_info","chunk","context_summary","item_info","similarity_score"],type:"object"},ArchiveStatistics:{description:"Archive statistics serializer.",properties:{avg_chunks_per_archive:{format:"double",readOnly:!0,type:"number"},avg_items_per_archive:{format:"double",readOnly:!0,type:"number"},avg_processing_time:{format:"double",readOnly:!0,type:"number"},failed_archives:{readOnly:!0,type:"integer"},processed_archives:{readOnly:!0,type:"integer"},total_archives:{readOnly:!0,type:"integer"},total_chunks:{readOnly:!0,type:"integer"},total_cost:{format:"double",readOnly:!0,type:"number"},total_items:{readOnly:!0,type:"integer"},total_tokens:{readOnly:!0,type:"integer"}},required:["avg_chunks_per_archive","avg_items_per_archive","avg_processing_time","failed_archives","processed_archives","total_archives","total_chunks","total_cost","total_items","total_tokens"],type:"object"},Balance:{description:"User balance serializer.",properties:{balance_display:{readOnly:!0,type:"string"},balance_usd:{description:"Current balance in USD",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},last_transaction_at:{description:"When the last transaction occurred",format:"date-time",nullable:!0,readOnly:!0,type:"string"},total_deposited:{description:"Total amount deposited (lifetime)",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},total_withdrawn:{description:"Total amount withdrawn (lifetime)",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"}},required:["balance_display","balance_usd","last_transaction_at","total_deposited","total_withdrawn"],type:"object"},BulkEmailRequest:{description:"Simple serializer for bulk email.",properties:{button_text:{maxLength:100,type:"string"},button_url:{format:"uri",type:"string"},email_title:{maxLength:255,minLength:1,type:"string"},main_html_content:{type:"string"},main_text:{minLength:1,type:"string"},recipients:{items:{format:"email",minLength:1,type:"string"},maxItems:100,minItems:1,type:"array"},secondary_text:{type:"string"},subject:{maxLength:255,minLength:1,type:"string"}},required:["email_title","main_text","recipients","subject"],type:"object"},BulkEmailResponse:{description:"Response for bulk email sending.",properties:{error:{type:"string"},failed_count:{type:"integer"},sent_count:{type:"integer"},success:{type:"boolean"},total_recipients:{type:"integer"}},required:["failed_count","sent_count","success","total_recipients"],type:"object"},CentrifugoChannelInfo:{description:"Information about a single channel.",properties:{num_clients:{description:"Number of connected clients in channel",title:"Num Clients",type:"integer"}},required:["num_clients"],title:"CentrifugoChannelInfo",type:"object"},CentrifugoChannelsRequestRequest:{description:"Request to list active channels.",properties:{pattern:{anyOf:[{type:"string"},{type:"null"}],default:null,description:"Pattern to filter channels (e.g., 'user:*')",title:"Pattern"}},title:"CentrifugoChannelsRequest",type:"object"},CentrifugoChannelsResponse:{description:"List of active channels response.",properties:{error:{anyOf:[{$ref:"#/components/schemas/CentrifugoError"},{type:"null"}],default:null,description:"Error if any"},result:{anyOf:[{$ref:"#/components/schemas/CentrifugoChannelsResult"},{type:"null"}],default:null,description:"Result data"}},title:"CentrifugoChannelsResponse",type:"object"},CentrifugoChannelsResult:{description:"Channels result wrapper.",properties:{channels:{additionalProperties:{$ref:"#/components/schemas/CentrifugoChannelInfo"},description:"Map of channel names to channel info",title:"Channels",type:"object"}},required:["channels"],title:"CentrifugoChannelsResult",type:"object"},CentrifugoClientInfo:{description:"Information about connected client.",properties:{chan_info:{anyOf:[{additionalProperties:!0,type:"object"},{type:"null"}],default:null,description:"Channel-specific metadata",title:"Chan Info"},client:{description:"Client UUID",title:"Client",type:"string"},conn_info:{anyOf:[{additionalProperties:!0,type:"object"},{type:"null"}],default:null,description:"Connection metadata",title:"Conn Info"},user:{description:"User ID",title:"User",type:"string"}},required:["user","client"],title:"CentrifugoClientInfo",type:"object"},CentrifugoError:{description:"Centrifugo API error structure.",properties:{code:{default:0,description:"Error code (0 = no error)",title:"Code",type:"integer"},message:{default:"",description:"Error message",title:"Message",type:"string"}},title:"CentrifugoError",type:"object"},CentrifugoHistoryRequestRequest:{description:"Request to get channel history.",properties:{channel:{description:"Channel name",title:"Channel",type:"string"},limit:{anyOf:[{maximum:1e3,minimum:1,type:"integer"},{type:"null"}],default:null,description:"Maximum number of messages to return",title:"Limit"},reverse:{anyOf:[{type:"boolean"},{type:"null"}],default:!1,description:"Reverse message order (newest first)",title:"Reverse"},since:{anyOf:[{$ref:"#/components/schemas/CentrifugoStreamPosition"},{type:"null"}],default:null,description:"Stream position to get messages since"}},required:["channel"],title:"CentrifugoHistoryRequest",type:"object"},CentrifugoHistoryResponse:{description:"Channel history response.",properties:{error:{anyOf:[{$ref:"#/components/schemas/CentrifugoError"},{type:"null"}],default:null,description:"Error if any"},result:{anyOf:[{$ref:"#/components/schemas/CentrifugoHistoryResult"},{type:"null"}],default:null,description:"Result data"}},title:"CentrifugoHistoryResponse",type:"object"},CentrifugoHistoryResult:{description:"History result wrapper.",properties:{epoch:{description:"Current stream epoch",title:"Epoch",type:"string"},offset:{description:"Latest stream offset",title:"Offset",type:"integer"},publications:{description:"List of publications",items:{$ref:"#/components/schemas/CentrifugoPublication"},title:"Publications",type:"array"}},required:["publications","epoch","offset"],title:"CentrifugoHistoryResult",type:"object"},CentrifugoInfoResponse:{description:"Server info response.",properties:{error:{anyOf:[{$ref:"#/components/schemas/CentrifugoError"},{type:"null"}],default:null,description:"Error if any"},result:{anyOf:[{$ref:"#/components/schemas/CentrifugoInfoResult"},{type:"null"}],default:null,description:"Result data"}},title:"CentrifugoInfoResponse",type:"object"},CentrifugoInfoResult:{description:"Info result wrapper.",properties:{nodes:{description:"List of Centrifugo nodes",items:{$ref:"#/components/schemas/CentrifugoNodeInfo"},title:"Nodes",type:"array"}},required:["nodes"],title:"CentrifugoInfoResult",type:"object"},CentrifugoMetrics:{description:"Server metrics.",properties:{interval:{description:"Metrics collection interval",title:"Interval",type:"number"},items:{additionalProperties:{type:"number"},description:"Metric name to value mapping",title:"Items",type:"object"}},required:["interval","items"],title:"CentrifugoMetrics",type:"object"},CentrifugoNodeInfo:{description:"Information about a single Centrifugo node.",properties:{metrics:{anyOf:[{$ref:"#/components/schemas/CentrifugoMetrics"},{type:"null"}],default:null,description:"Server metrics"},name:{description:"Node name",title:"Name",type:"string"},num_channels:{description:"Number of active channels",title:"Num Channels",type:"integer"},num_clients:{description:"Number of connected clients",title:"Num Clients",type:"integer"},num_subs:{description:"Total number of subscriptions",title:"Num Subs",type:"integer"},num_users:{description:"Number of unique users",title:"Num Users",type:"integer"},process:{anyOf:[{$ref:"#/components/schemas/CentrifugoProcess"},{type:"null"}],default:null,description:"Process information"},uid:{description:"Unique node identifier",title:"Uid",type:"string"},uptime:{description:"Node uptime in seconds",title:"Uptime",type:"integer"},version:{description:"Centrifugo version",title:"Version",type:"string"}},required:["uid","name","version","num_clients","num_users","num_channels","uptime","num_subs"],title:"CentrifugoNodeInfo",type:"object"},CentrifugoPresenceRequestRequest:{description:"Request to get channel presence.",properties:{channel:{description:"Channel name",title:"Channel",type:"string"}},required:["channel"],title:"CentrifugoPresenceRequest",type:"object"},CentrifugoPresenceResponse:{description:"Channel presence response.",properties:{error:{anyOf:[{$ref:"#/components/schemas/CentrifugoError"},{type:"null"}],default:null,description:"Error if any"},result:{anyOf:[{$ref:"#/components/schemas/CentrifugoPresenceResult"},{type:"null"}],default:null,description:"Result data"}},title:"CentrifugoPresenceResponse",type:"object"},CentrifugoPresenceResult:{description:"Presence result wrapper.",properties:{presence:{additionalProperties:{$ref:"#/components/schemas/CentrifugoClientInfo"},description:"Map of client IDs to client info",title:"Presence",type:"object"}},required:["presence"],title:"CentrifugoPresenceResult",type:"object"},CentrifugoPresenceStatsRequestRequest:{description:"Request to get channel presence statistics.",properties:{channel:{description:"Channel name",title:"Channel",type:"string"}},required:["channel"],title:"CentrifugoPresenceStatsRequest",type:"object"},CentrifugoPresenceStatsResponse:{description:"Channel presence stats response.",properties:{error:{anyOf:[{$ref:"#/components/schemas/CentrifugoError"},{type:"null"}],default:null,description:"Error if any"},result:{anyOf:[{$ref:"#/components/schemas/CentrifugoPresenceStatsResult"},{type:"null"}],default:null,description:"Result data"}},title:"CentrifugoPresenceStatsResponse",type:"object"},CentrifugoPresenceStatsResult:{description:"Presence stats result.",properties:{num_clients:{description:"Number of connected clients",title:"Num Clients",type:"integer"},num_users:{description:"Number of unique users",title:"Num Users",type:"integer"}},required:["num_clients","num_users"],title:"CentrifugoPresenceStatsResult",type:"object"},CentrifugoProcess:{description:"Process information.",properties:{cpu:{description:"CPU usage percentage",title:"Cpu",type:"number"},rss:{description:"Resident set size in bytes",title:"Rss",type:"integer"}},required:["cpu","rss"],title:"CentrifugoProcess",type:"object"},CentrifugoPublication:{description:"Single publication (message) in channel history.",properties:{data:{additionalProperties:!0,description:"Message payload",title:"Data",type:"object"},info:{anyOf:[{$ref:"#/components/schemas/CentrifugoClientInfo"},{type:"null"}],default:null,description:"Publisher client info"},offset:{description:"Message offset in channel stream",title:"Offset",type:"integer"},tags:{anyOf:[{additionalProperties:{type:"string"},type:"object"},{type:"null"}],default:null,description:"Optional message tags",title:"Tags"}},required:["data","offset"],title:"CentrifugoPublication",type:"object"},CentrifugoStreamPosition:{description:"Stream position for pagination.",properties:{epoch:{description:"Stream epoch",title:"Epoch",type:"string"},offset:{description:"Stream offset",title:"Offset",type:"integer"}},required:["offset","epoch"],title:"CentrifugoStreamPosition",type:"object"},ChannelList:{description:"List of channel statistics.",properties:{channels:{description:"Channel statistics",items:{$ref:"#/components/schemas/ChannelStatsSerializer"},title:"Channels",type:"array"},total_channels:{description:"Total number of channels",title:"Total Channels",type:"integer"}},required:["channels","total_channels"],title:"ChannelListSerializer",type:"object"},ChannelStatsSerializer:{description:"Statistics per channel.",properties:{avg_acks:{description:"Average ACKs received",title:"Avg Acks",type:"number"},avg_duration_ms:{description:"Average duration",title:"Avg Duration Ms",type:"number"},channel:{description:"Channel name",title:"Channel",type:"string"},failed:{description:"Failed publishes",title:"Failed",type:"integer"},last_activity_at:{anyOf:[{type:"string"},{type:"null"}],default:null,description:"Last activity timestamp (ISO format)",title:"Last Activity At"},successful:{description:"Successful publishes",title:"Successful",type:"integer"},total:{description:"Total publishes to this channel",title:"Total",type:"integer"}},required:["channel","total","successful","failed","avg_duration_ms","avg_acks"],title:"ChannelStatsSerializer",type:"object"},ChartData:{description:"Chart.js data structure serializer.",properties:{datasets:{items:{$ref:"#/components/schemas/ChartDataset"},type:"array"},labels:{items:{type:"string"},type:"array"}},required:["datasets","labels"],type:"object"},ChartDataset:{description:"Chart.js dataset serializer.",properties:{backgroundColor:{type:"string"},borderColor:{type:"string"},data:{items:{type:"integer"},type:"array"},fill:{type:"boolean"},label:{type:"string"},tension:{format:"double",type:"number"}},required:["backgroundColor","borderColor","data","label","tension"],type:"object"},ChatHistory:{description:"Chat history response serializer.",properties:{messages:{items:{$ref:"#/components/schemas/ChatMessage"},type:"array"},session_id:{format:"uuid",type:"string"},total_messages:{type:"integer"}},required:["messages","session_id","total_messages"],type:"object"},ChatMessage:{description:"Chat message response serializer.",properties:{content:{description:"Message content",type:"string"},context_chunks:{description:"IDs of chunks used for context"},cost_usd:{format:"double",readOnly:!0,type:"number"},created_at:{format:"date-time",readOnly:!0,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},processing_time_ms:{description:"Processing time in milliseconds",maximum:0x7fffffff,minimum:0,type:"integer"},role:{description:"Message sender role\n\n* `user` - User\n* `assistant` - Assistant\n* `system` - System",enum:["user","assistant","system"],type:"string","x-spec-enum-id":"6a92eb3ff78a3708"},tokens_used:{description:"Tokens used for this message",maximum:0x7fffffff,minimum:0,type:"integer"}},required:["content","cost_usd","created_at","id","role"],type:"object"},ChatQueryRequest:{description:"Chat query request serializer.",properties:{include_sources:{default:!0,description:"Include source documents in response",type:"boolean"},max_tokens:{default:1e3,description:"Maximum response tokens",maximum:4e3,minimum:1,type:"integer"},query:{description:"User query",maxLength:2e3,minLength:1,type:"string"},session_id:{description:"Chat session ID (creates new if not provided)",format:"uuid",nullable:!0,type:"string"}},required:["query"],type:"object"},ChatResponse:{description:"Chat response serializer.",properties:{content:{type:"string"},cost_usd:{format:"double",type:"number"},message_id:{format:"uuid",type:"string"},model_used:{type:"string"},processing_time_ms:{type:"integer"},sources:{items:{$ref:"#/components/schemas/ChatSource"},nullable:!0,type:"array"},tokens_used:{type:"integer"}},required:["content","cost_usd","message_id","model_used","processing_time_ms","tokens_used"],type:"object"},ChatResponseRequest:{description:"Chat response serializer.",properties:{content:{minLength:1,type:"string"},cost_usd:{format:"double",type:"number"},message_id:{format:"uuid",type:"string"},model_used:{minLength:1,type:"string"},processing_time_ms:{type:"integer"},sources:{items:{$ref:"#/components/schemas/ChatSourceRequest"},nullable:!0,type:"array"},tokens_used:{type:"integer"}},required:["content","cost_usd","message_id","model_used","processing_time_ms","tokens_used"],type:"object"},ChatSession:{description:"Chat session response serializer.",properties:{created_at:{format:"date-time",readOnly:!0,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},is_active:{description:"Whether session accepts new messages",type:"boolean"},max_context_chunks:{description:"Maximum chunks to include in context",maximum:0x7fffffff,minimum:0,type:"integer"},messages_count:{maximum:0x7fffffff,minimum:0,type:"integer"},model_name:{description:"LLM model used for this session",maxLength:100,type:"string"},temperature:{description:"Temperature setting for LLM",format:"double",type:"number"},title:{description:"Session title (auto-generated if empty)",maxLength:255,type:"string"},total_cost_usd:{format:"double",readOnly:!0,type:"number"},total_tokens_used:{maximum:0x7fffffff,minimum:0,type:"integer"},updated_at:{format:"date-time",readOnly:!0,type:"string"}},required:["created_at","id","total_cost_usd","updated_at"],type:"object"},ChatSessionCreateRequest:{description:"Chat session creation request serializer.",properties:{max_context_chunks:{default:5,description:"Maximum context chunks",maximum:10,minimum:1,type:"integer"},model_name:{default:"openai/gpt-4o-mini",description:"LLM model to use",maxLength:100,minLength:1,type:"string"},temperature:{default:.7,description:"Response creativity",format:"double",maximum:2,minimum:0,type:"number"},title:{default:"",description:"Session title",maxLength:255,type:"string"}},type:"object"},ChatSessionRequest:{description:"Chat session response serializer.",properties:{is_active:{description:"Whether session accepts new messages",type:"boolean"},max_context_chunks:{description:"Maximum chunks to include in context",maximum:0x7fffffff,minimum:0,type:"integer"},messages_count:{maximum:0x7fffffff,minimum:0,type:"integer"},model_name:{description:"LLM model used for this session",maxLength:100,minLength:1,type:"string"},temperature:{description:"Temperature setting for LLM",format:"double",type:"number"},title:{description:"Session title (auto-generated if empty)",maxLength:255,type:"string"},total_tokens_used:{maximum:0x7fffffff,minimum:0,type:"integer"}},type:"object"},ChatSource:{description:"Chat source document information serializer.",properties:{chunk_content:{type:"string"},document_title:{type:"string"},similarity:{format:"double",type:"number"}},required:["chunk_content","document_title","similarity"],type:"object"},ChatSourceRequest:{description:"Chat source document information serializer.",properties:{chunk_content:{minLength:1,type:"string"},document_title:{minLength:1,type:"string"},similarity:{format:"double",type:"number"}},required:["chunk_content","document_title","similarity"],type:"object"},ChunkRevectorizationRequestRequest:{description:"Chunk re-vectorization request serializer.",properties:{chunk_ids:{description:"List of chunk IDs to re-vectorize",items:{format:"uuid",type:"string"},minItems:1,type:"array"},force:{default:!1,description:"Force re-vectorization even if already vectorized",type:"boolean"}},required:["chunk_ids"],type:"object"},Command:{description:"Django management command serializer.",properties:{app:{type:"string"},help:{type:"string"},is_core:{type:"boolean"},is_custom:{type:"boolean"},name:{type:"string"}},required:["app","help","is_core","is_custom","name"],type:"object"},CommandsSummary:{description:"Commands summary serializer.",properties:{categories:{items:{type:"string"},type:"array"},categorized:{additionalProperties:{},type:"object"},commands:{items:{$ref:"#/components/schemas/Command"},type:"array"},core_commands:{type:"integer"},custom_commands:{type:"integer"},total_commands:{type:"integer"}},required:["categories","categorized","commands","core_commands","custom_commands","total_commands"],type:"object"},ConnectionTokenRequestRequest:{description:"Request model for connection token generation.",properties:{channels:{description:"List of channels to authorize",items:{type:"string"},title:"Channels",type:"array"},user_id:{description:"User ID for the connection",title:"User Id",type:"string"}},required:["user_id"],title:"ConnectionTokenRequest",type:"object"},ConnectionTokenResponse:{description:"Response model for connection token.",properties:{centrifugo_url:{description:"Centrifugo WebSocket URL",title:"Centrifugo Url",type:"string"},expires_at:{description:"Token expiration time (ISO 8601)",title:"Expires At",type:"string"},token:{description:"JWT token for WebSocket connection",title:"Token",type:"string"}},required:["token","centrifugo_url","expires_at"],title:"ConnectionTokenResponse",type:"object"},Currency:{description:"Currency list serializer.",properties:{code:{description:"Currency code from provider (e.g., USDTTRC20, BTC, ETH)",readOnly:!0,type:"string"},decimal_places:{description:"Number of decimal places for this currency",readOnly:!0,type:"integer"},display_name:{readOnly:!0,type:"string"},is_active:{description:"Whether this currency is available for payments",readOnly:!0,type:"boolean"},min_amount_usd:{description:"Minimum payment amount in USD",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},name:{description:"Full currency name (e.g., USDT (TRC20), Bitcoin)",readOnly:!0,type:"string"},network:{description:"Network name (e.g., TRC20, ERC20, Bitcoin)",nullable:!0,readOnly:!0,type:"string"},sort_order:{description:"Sort order for currency list (lower = higher priority)",readOnly:!0,type:"integer"},symbol:{description:"Currency symbol (e.g., ₮, ₿, Ξ)",readOnly:!0,type:"string"},token:{description:"Token symbol (e.g., USDT, BTC, ETH)",readOnly:!0,type:"string"}},required:["code","decimal_places","display_name","is_active","min_amount_usd","name","network","sort_order","symbol","token"],type:"object"},DashboardOverview:{description:"Main serializer for dashboard overview endpoint.\nUses DictField to avoid allOf generation in OpenAPI.",properties:{quick_actions:{description:"Quick action buttons",items:{additionalProperties:{},type:"object"},type:"array"},recent_activity:{description:"Recent activity entries",items:{additionalProperties:{},type:"object"},type:"array"},stat_cards:{description:"Dashboard statistics cards",items:{additionalProperties:{},type:"object"},type:"array"},system_health:{description:"System health status",items:{additionalProperties:{},type:"object"},type:"array"},system_metrics:{additionalProperties:{},description:"System performance metrics",type:"object"},timestamp:{description:"Data timestamp (ISO format)",type:"string"},user_statistics:{additionalProperties:{},description:"User statistics",type:"object"}},required:["quick_actions","recent_activity","stat_cards","system_health","system_metrics","timestamp","user_statistics"],type:"object"},Document:{description:"Document response serializer.",properties:{chunks_count:{readOnly:!0,type:"integer"},created_at:{format:"date-time",readOnly:!0,type:"string"},file_size:{description:"Original file size in bytes",maximum:0x7fffffff,minimum:0,type:"integer"},file_type:{description:"MIME type of original file",maxLength:100,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},metadata:{description:"Additional document metadata",nullable:!0},processing_completed_at:{format:"date-time",readOnly:!0,type:"string"},processing_error:{readOnly:!0,type:"string"},processing_started_at:{format:"date-time",readOnly:!0,type:"string"},processing_status:{readOnly:!0,type:"string"},title:{description:"Document title",maxLength:512,type:"string"},total_cost_usd:{format:"double",readOnly:!0,type:"number"},total_tokens:{readOnly:!0,type:"integer"},updated_at:{format:"date-time",readOnly:!0,type:"string"}},required:["chunks_count","created_at","id","processing_completed_at","processing_error","processing_started_at","processing_status","title","total_cost_usd","total_tokens","updated_at"],type:"object"},DocumentArchive:{description:"Document archive serializer.",properties:{archive_file:{description:"Uploaded archive file",format:"uri",readOnly:!0,type:"string"},archive_type:{description:"Archive format\n\n* `zip` - ZIP\n* `tar` - TAR\n* `tar.gz` - TAR GZ\n* `tar.bz2` - TAR BZ2",enum:["zip","tar","tar.gz","tar.bz2"],readOnly:!0,type:"string","x-spec-enum-id":"51253f4da98c0846"},categories:{items:{$ref:"#/components/schemas/DocumentCategory"},readOnly:!0,type:"array"},created_at:{format:"date-time",readOnly:!0,type:"string"},description:{description:"Archive description",type:"string"},file_size:{description:"Archive size in bytes",readOnly:!0,type:"integer"},id:{format:"uuid",readOnly:!0,type:"string"},is_processed:{description:"Check if archive processing is completed.",readOnly:!0,type:"boolean"},is_public:{description:"Whether this archive is publicly accessible",type:"boolean"},original_filename:{description:"Original uploaded filename",readOnly:!0,type:"string"},processed_at:{description:"When processing completed",format:"date-time",nullable:!0,readOnly:!0,type:"string"},processed_items:{description:"Successfully processed items",readOnly:!0,type:"integer"},processing_duration_ms:{description:"Processing time in milliseconds",readOnly:!0,type:"integer"},processing_error:{description:"Error message if processing failed",readOnly:!0,type:"string"},processing_progress:{description:"Calculate processing progress as percentage.",format:"double",readOnly:!0,type:"number"},processing_status:{description:"* `pending` - Pending\n* `processing` - Processing\n* `completed` - Completed\n* `failed` - Failed\n* `cancelled` - Cancelled",enum:["pending","processing","completed","failed","cancelled"],readOnly:!0,type:"string","x-spec-enum-id":"9c61eae888c009aa"},title:{description:"Archive title",maxLength:512,type:"string"},total_chunks:{description:"Total chunks created",readOnly:!0,type:"integer"},total_cost_usd:{description:"Total processing cost in USD",format:"double",readOnly:!0,type:"number"},total_items:{description:"Total items in archive",readOnly:!0,type:"integer"},total_tokens:{description:"Total tokens across all chunks",readOnly:!0,type:"integer"},updated_at:{format:"date-time",readOnly:!0,type:"string"},vectorization_progress:{description:"Calculate vectorization progress as percentage.",format:"double",readOnly:!0,type:"number"},vectorized_chunks:{description:"Chunks with embeddings",readOnly:!0,type:"integer"}},required:["archive_file","archive_type","categories","created_at","file_size","id","is_processed","original_filename","processed_at","processed_items","processing_duration_ms","processing_error","processing_progress","processing_status","title","total_chunks","total_cost_usd","total_items","total_tokens","updated_at","vectorization_progress","vectorized_chunks"],type:"object"},DocumentArchiveDetail:{description:"Detailed archive serializer with items.",properties:{archive_file:{description:"Uploaded archive file",format:"uri",readOnly:!0,type:"string"},archive_type:{description:"Archive format\n\n* `zip` - ZIP\n* `tar` - TAR\n* `tar.gz` - TAR GZ\n* `tar.bz2` - TAR BZ2",enum:["zip","tar","tar.gz","tar.bz2"],readOnly:!0,type:"string","x-spec-enum-id":"51253f4da98c0846"},categories:{items:{$ref:"#/components/schemas/DocumentCategory"},readOnly:!0,type:"array"},created_at:{format:"date-time",readOnly:!0,type:"string"},description:{description:"Archive description",type:"string"},file_size:{description:"Archive size in bytes",readOnly:!0,type:"integer"},file_tree:{additionalProperties:{},description:"Get hierarchical file tree.",readOnly:!0,type:"object"},id:{format:"uuid",readOnly:!0,type:"string"},is_processed:{description:"Check if archive processing is completed.",readOnly:!0,type:"boolean"},is_public:{description:"Whether this archive is publicly accessible",type:"boolean"},items:{items:{$ref:"#/components/schemas/ArchiveItem"},readOnly:!0,type:"array"},metadata:{description:"Additional archive metadata",nullable:!0},original_filename:{description:"Original uploaded filename",readOnly:!0,type:"string"},processed_at:{description:"When processing completed",format:"date-time",nullable:!0,readOnly:!0,type:"string"},processed_items:{description:"Successfully processed items",readOnly:!0,type:"integer"},processing_duration_ms:{description:"Processing time in milliseconds",readOnly:!0,type:"integer"},processing_error:{description:"Error message if processing failed",readOnly:!0,type:"string"},processing_progress:{description:"Calculate processing progress as percentage.",format:"double",readOnly:!0,type:"number"},processing_status:{description:"* `pending` - Pending\n* `processing` - Processing\n* `completed` - Completed\n* `failed` - Failed\n* `cancelled` - Cancelled",enum:["pending","processing","completed","failed","cancelled"],readOnly:!0,type:"string","x-spec-enum-id":"9c61eae888c009aa"},title:{description:"Archive title",maxLength:512,type:"string"},total_chunks:{description:"Total chunks created",readOnly:!0,type:"integer"},total_cost_usd:{description:"Total processing cost in USD",format:"double",readOnly:!0,type:"number"},total_items:{description:"Total items in archive",readOnly:!0,type:"integer"},total_tokens:{description:"Total tokens across all chunks",readOnly:!0,type:"integer"},updated_at:{format:"date-time",readOnly:!0,type:"string"},vectorization_progress:{description:"Calculate vectorization progress as percentage.",format:"double",readOnly:!0,type:"number"},vectorized_chunks:{description:"Chunks with embeddings",readOnly:!0,type:"integer"}},required:["archive_file","archive_type","categories","created_at","file_size","file_tree","id","is_processed","items","original_filename","processed_at","processed_items","processing_duration_ms","processing_error","processing_progress","processing_status","title","total_chunks","total_cost_usd","total_items","total_tokens","updated_at","vectorization_progress","vectorized_chunks"],type:"object"},DocumentArchiveList:{description:"Simplified archive serializer for list views.",properties:{archive_type:{description:"Archive format\n\n* `zip` - ZIP\n* `tar` - TAR\n* `tar.gz` - TAR GZ\n* `tar.bz2` - TAR BZ2",enum:["zip","tar","tar.gz","tar.bz2"],readOnly:!0,type:"string","x-spec-enum-id":"51253f4da98c0846"},categories:{items:{$ref:"#/components/schemas/DocumentCategory"},readOnly:!0,type:"array"},created_at:{format:"date-time",readOnly:!0,type:"string"},description:{description:"Archive description",readOnly:!0,type:"string"},file_size:{description:"Archive size in bytes",readOnly:!0,type:"integer"},id:{format:"uuid",readOnly:!0,type:"string"},is_public:{description:"Whether this archive is publicly accessible",readOnly:!0,type:"boolean"},original_filename:{description:"Original uploaded filename",readOnly:!0,type:"string"},processed_at:{description:"When processing completed",format:"date-time",nullable:!0,readOnly:!0,type:"string"},processing_progress:{description:"Calculate processing progress as percentage.",format:"double",readOnly:!0,type:"number"},processing_status:{description:"* `pending` - Pending\n* `processing` - Processing\n* `completed` - Completed\n* `failed` - Failed\n* `cancelled` - Cancelled",enum:["pending","processing","completed","failed","cancelled"],readOnly:!0,type:"string","x-spec-enum-id":"9c61eae888c009aa"},title:{description:"Archive title",readOnly:!0,type:"string"},total_chunks:{description:"Total chunks created",readOnly:!0,type:"integer"},total_cost_usd:{description:"Total processing cost in USD",format:"double",readOnly:!0,type:"number"},total_items:{description:"Total items in archive",readOnly:!0,type:"integer"}},required:["archive_type","categories","created_at","description","file_size","id","is_public","original_filename","processed_at","processing_progress","processing_status","title","total_chunks","total_cost_usd","total_items"],type:"object"},DocumentArchiveRequest:{description:"Document archive serializer.",properties:{description:{description:"Archive description",type:"string"},is_public:{description:"Whether this archive is publicly accessible",type:"boolean"},title:{description:"Archive title",maxLength:512,minLength:1,type:"string"}},required:["title"],type:"object"},DocumentCategory:{description:"Document category serializer.",properties:{created_at:{format:"date-time",readOnly:!0,type:"string"},description:{description:"Category description",type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},is_public:{description:"Whether documents in this category are publicly accessible",type:"boolean"},name:{description:"Category name",maxLength:255,type:"string"}},required:["created_at","id","name"],type:"object"},DocumentCategoryRequest:{description:"Document category serializer.",properties:{description:{description:"Category description",type:"string"},is_public:{description:"Whether documents in this category are publicly accessible",type:"boolean"},name:{description:"Category name",maxLength:255,minLength:1,type:"string"}},required:["name"],type:"object"},DocumentCreateRequest:{description:"Document creation request serializer.",properties:{content:{description:"Document content",maxLength:1e6,minLength:10,type:"string"},file_type:{default:"text/plain",description:"MIME type",minLength:1,pattern:"^[a-z]+/[a-z0-9\\-\\+\\.]+$",type:"string"},metadata:{description:"Additional metadata"},title:{description:"Document title",maxLength:512,minLength:1,type:"string"}},required:["content","title"],type:"object"},DocumentProcessingStatus:{description:"Document processing status serializer.",properties:{error:{nullable:!0,type:"string"},id:{format:"uuid",type:"string"},processing_time_seconds:{format:"double",nullable:!0,type:"number"},progress:{},status:{type:"string"}},required:["id","progress","status"],type:"object"},DocumentRequest:{description:"Document response serializer.",properties:{file_size:{description:"Original file size in bytes",maximum:0x7fffffff,minimum:0,type:"integer"},file_type:{description:"MIME type of original file",maxLength:100,minLength:1,type:"string"},metadata:{description:"Additional document metadata",nullable:!0},title:{description:"Document title",maxLength:512,minLength:1,type:"string"}},required:["title"],type:"object"},DocumentStats:{description:"Document processing statistics serializer.",properties:{avg_processing_time_seconds:{format:"double",type:"number"},completed_documents:{type:"integer"},processing_success_rate:{format:"double",type:"number"},total_chunks:{type:"integer"},total_cost_usd:{format:"double",type:"number"},total_documents:{type:"integer"},total_tokens:{type:"integer"}},required:["avg_processing_time_seconds","completed_documents","processing_success_rate","total_chunks","total_cost_usd","total_documents","total_tokens"],type:"object"},EmailLog:{description:"Serializer for EmailLog model.",properties:{body:{readOnly:!0,title:"Body (HTML)",type:"string"},created_at:{format:"date-time",readOnly:!0,type:"string"},error_message:{nullable:!0,readOnly:!0,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},newsletter:{nullable:!0,readOnly:!0,title:"Related Newsletter",type:"integer"},newsletter_title:{readOnly:!0,type:"string"},recipient:{description:"Comma-separated email addresses",readOnly:!0,title:"Recipient(s)",type:"string"},sent_at:{format:"date-time",nullable:!0,readOnly:!0,type:"string"},status:{description:"* `pending` - Pending\n* `sent` - Sent\n* `failed` - Failed",enum:["pending","sent","failed"],readOnly:!0,type:"string","x-spec-enum-id":"6c875617d5f34e96"},subject:{readOnly:!0,type:"string"},user:{nullable:!0,readOnly:!0,title:"User Account",type:"integer"},user_email:{readOnly:!0,type:"string"}},required:["body","created_at","error_message","id","newsletter","newsletter_title","recipient","sent_at","status","subject","user","user_email"],type:"object"},Endpoint:{description:"Serializer for single endpoint status.",properties:{error:{description:"Error message if check failed",type:"string"},error_type:{description:"Error type: database, general, etc.",type:"string"},group:{description:"URL group (up to 3 depth)",type:"string"},has_parameters:{default:!1,description:"Whether URL has parameters that were resolved with test values",type:"boolean"},is_healthy:{description:"Whether endpoint is healthy",nullable:!0,type:"boolean"},last_checked:{description:"Timestamp of last check",format:"date-time",nullable:!0,type:"string"},namespace:{description:"URL namespace",type:"string"},rate_limited:{default:!1,description:"Whether endpoint returned 429 (rate limited)",type:"boolean"},reason:{description:"Reason for warning/skip",type:"string"},required_auth:{default:!1,description:"Whether endpoint required JWT authentication",type:"boolean"},response_time_ms:{description:"Response time in milliseconds",format:"double",nullable:!0,type:"number"},status:{description:"Status: healthy, unhealthy, warning, error, skipped, pending",type:"string"},status_code:{description:"HTTP status code",nullable:!0,type:"integer"},url:{description:"Resolved URL (for parametrized URLs) or URL pattern",type:"string"},url_name:{description:"Django URL name (if available)",nullable:!0,type:"string"},url_pattern:{description:"Original URL pattern (for parametrized URLs)",nullable:!0,type:"string"},view:{description:"View function/class name",type:"string"}},required:["group","status","url"],type:"object"},EndpointsStatus:{description:"Serializer for overall endpoints status response.",properties:{endpoints:{description:"List of all endpoints with their status",items:{$ref:"#/components/schemas/Endpoint"},type:"array"},errors:{description:"Number of endpoints with errors",type:"integer"},healthy:{description:"Number of healthy endpoints",type:"integer"},skipped:{description:"Number of skipped endpoints",type:"integer"},status:{description:"Overall status: healthy, degraded, or unhealthy",type:"string"},timestamp:{description:"Timestamp of the check",format:"date-time",type:"string"},total_endpoints:{description:"Total number of endpoints checked",type:"integer"},unhealthy:{description:"Number of unhealthy endpoints",type:"integer"},warnings:{description:"Number of endpoints with warnings",type:"integer"}},required:["endpoints","errors","healthy","skipped","status","timestamp","total_endpoints","unhealthy","warnings"],type:"object"},ErrorResponse:{description:"Generic error response.",properties:{message:{type:"string"},success:{default:!1,type:"boolean"}},required:["message"],type:"object"},HealthCheck:{description:"Health check response.",properties:{has_api_key:{description:"Whether API key is configured",title:"Has Api Key",type:"boolean"},status:{description:"Health status: healthy or unhealthy",title:"Status",type:"string"},timestamp:{description:"Current timestamp",title:"Timestamp",type:"string"},wrapper_url:{description:"Configured wrapper URL",title:"Wrapper Url",type:"string"}},required:["status","wrapper_url","has_api_key","timestamp"],title:"HealthCheckSerializer",type:"object"},LeadSubmission:{description:"Serializer for lead form submission from frontend.",properties:{company:{maxLength:200,nullable:!0,type:"string"},company_site:{maxLength:200,nullable:!0,type:"string"},contact_type:{description:"* `email` - Email\n* `whatsapp` - WhatsApp\n* `telegram` - Telegram\n* `phone` - Phone\n* `other` - Other",enum:["email","whatsapp","telegram","phone","other"],type:"string","x-spec-enum-id":"2d58a06dc3d54732"},contact_value:{maxLength:200,nullable:!0,type:"string"},email:{format:"email",maxLength:254,type:"string"},extra:{nullable:!0,title:"Extra Data"},message:{type:"string"},name:{maxLength:200,title:"Full Name",type:"string"},site_url:{description:"Frontend URL where form was submitted",format:"uri",maxLength:200,type:"string"},subject:{maxLength:200,nullable:!0,type:"string"}},required:["email","message","name","site_url"],type:"object"},LeadSubmissionError:{description:"Response serializer for lead submission errors.",properties:{details:{additionalProperties:{},type:"object"},error:{type:"string"},success:{type:"boolean"}},required:["error","success"],type:"object"},LeadSubmissionRequest:{description:"Serializer for lead form submission from frontend.",properties:{company:{maxLength:200,nullable:!0,type:"string"},company_site:{maxLength:200,nullable:!0,type:"string"},contact_type:{description:"* `email` - Email\n* `whatsapp` - WhatsApp\n* `telegram` - Telegram\n* `phone` - Phone\n* `other` - Other",enum:["email","whatsapp","telegram","phone","other"],type:"string","x-spec-enum-id":"2d58a06dc3d54732"},contact_value:{maxLength:200,nullable:!0,type:"string"},email:{format:"email",maxLength:254,minLength:1,type:"string"},extra:{nullable:!0,title:"Extra Data"},message:{minLength:1,type:"string"},name:{maxLength:200,minLength:1,title:"Full Name",type:"string"},site_url:{description:"Frontend URL where form was submitted",format:"uri",maxLength:200,minLength:1,type:"string"},subject:{maxLength:200,nullable:!0,type:"string"}},required:["email","message","name","site_url"],type:"object"},LeadSubmissionResponse:{description:"Response serializer for successful lead submission.",properties:{lead_id:{type:"integer"},message:{type:"string"},success:{type:"boolean"}},required:["lead_id","message","success"],type:"object"},ManualAckRequestRequest:{description:"Request model for manual ACK sending.",properties:{client_id:{description:"Client ID sending the ACK",title:"Client Id",type:"string"},message_id:{description:"Message ID to acknowledge",title:"Message Id",type:"string"}},required:["message_id","client_id"],title:"ManualAckRequest",type:"object"},ManualAckResponse:{description:"Response model for manual ACK.",properties:{error:{anyOf:[{type:"string"},{type:"null"}],default:null,description:"Error message if failed",title:"Error"},message_id:{description:"Message ID that was acknowledged",title:"Message Id",type:"string"},success:{description:"Whether ACK was sent successfully",title:"Success",type:"boolean"}},required:["success","message_id"],title:"ManualAckResponse",type:"object"},Message:{properties:{created_at:{format:"date-time",readOnly:!0,type:"string"},is_from_author:{description:"Check if this message is from the ticket author.",readOnly:!0,type:"boolean"},sender:{allOf:[{$ref:"#/components/schemas/Sender"}],readOnly:!0},text:{type:"string"},ticket:{format:"uuid",readOnly:!0,type:"string"},uuid:{format:"uuid",readOnly:!0,type:"string"}},required:["created_at","is_from_author","sender","text","ticket","uuid"],type:"object"},MessageCreate:{properties:{text:{type:"string"}},required:["text"],type:"object"},MessageCreateRequest:{properties:{text:{minLength:1,type:"string"}},required:["text"],type:"object"},MessageRequest:{properties:{text:{minLength:1,type:"string"}},required:["text"],type:"object"},Newsletter:{description:"Serializer for Newsletter model.",properties:{auto_subscribe:{description:"Automatically subscribe new users to this newsletter",title:"Auto Subscribe New Users",type:"boolean"},created_at:{format:"date-time",readOnly:!0,type:"string"},description:{type:"string"},id:{readOnly:!0,type:"integer"},is_active:{title:"Active",type:"boolean"},subscribers_count:{readOnly:!0,type:"integer"},title:{maxLength:255,title:"Newsletter Title",type:"string"},updated_at:{format:"date-time",readOnly:!0,type:"string"}},required:["created_at","id","subscribers_count","title","updated_at"],type:"object"},NewsletterCampaign:{description:"Serializer for NewsletterCampaign model.",properties:{button_text:{maxLength:100,type:"string"},button_url:{format:"uri",maxLength:200,type:"string"},created_at:{format:"date-time",readOnly:!0,type:"string"},email_title:{maxLength:255,type:"string"},id:{readOnly:!0,type:"integer"},main_html_content:{title:"HTML Content",type:"string"},main_text:{type:"string"},newsletter:{type:"integer"},newsletter_title:{readOnly:!0,type:"string"},recipient_count:{readOnly:!0,type:"integer"},secondary_text:{type:"string"},sent_at:{format:"date-time",nullable:!0,readOnly:!0,type:"string"},status:{description:"* `draft` - Draft\n* `sending` - Sending\n* `sent` - Sent\n* `failed` - Failed",enum:["draft","sending","sent","failed"],readOnly:!0,type:"string","x-spec-enum-id":"a459055d142d5a82"},subject:{maxLength:255,type:"string"}},required:["created_at","email_title","id","main_text","newsletter","newsletter_title","recipient_count","sent_at","status","subject"],type:"object"},NewsletterCampaignRequest:{description:"Serializer for NewsletterCampaign model.",properties:{button_text:{maxLength:100,type:"string"},button_url:{format:"uri",maxLength:200,type:"string"},email_title:{maxLength:255,minLength:1,type:"string"},main_html_content:{title:"HTML Content",type:"string"},main_text:{minLength:1,type:"string"},newsletter:{type:"integer"},secondary_text:{type:"string"},subject:{maxLength:255,minLength:1,type:"string"}},required:["email_title","main_text","newsletter","subject"],type:"object"},NewsletterSubscription:{description:"Serializer for NewsletterSubscription model.",properties:{email:{format:"email",maxLength:254,title:"Email Address",type:"string"},id:{readOnly:!0,type:"integer"},is_active:{title:"Active",type:"boolean"},newsletter:{type:"integer"},newsletter_title:{readOnly:!0,type:"string"},subscribed_at:{format:"date-time",readOnly:!0,type:"string"},unsubscribed_at:{format:"date-time",nullable:!0,readOnly:!0,type:"string"},user:{nullable:!0,type:"integer"},user_email:{readOnly:!0,type:"string"}},required:["email","id","newsletter","newsletter_title","subscribed_at","unsubscribed_at","user_email"],type:"object"},OTPErrorResponse:{description:"Error response for OTP operations.",properties:{error:{description:"Error message",type:"string"}},required:["error"],type:"object"},OTPRequestRequest:{description:"Serializer for OTP request.",properties:{channel:{description:"Delivery channel: 'email' or 'phone'. Auto-detected if not provided.\n\n* `email` - Email\n* `phone` - Phone",enum:["email","phone"],type:"string","x-spec-enum-id":"17f11a3a6a4008ba"},identifier:{description:"Email address or phone number for OTP delivery",minLength:1,type:"string"},source_url:{description:"Source URL for tracking registration (e.g., https://dashboard.unrealon.com)",format:"uri",type:"string"}},required:["identifier"],type:"object"},OTPRequestResponse:{description:"OTP request response.",properties:{message:{description:"Success message",type:"string"}},required:["message"],type:"object"},OTPVerifyRequest:{description:"Serializer for OTP verification.",properties:{channel:{description:"Delivery channel: 'email' or 'phone'. Auto-detected if not provided.\n\n* `email` - Email\n* `phone` - Phone",enum:["email","phone"],type:"string","x-spec-enum-id":"17f11a3a6a4008ba"},identifier:{description:"Email address or phone number used for OTP request",minLength:1,type:"string"},otp:{maxLength:6,minLength:6,type:"string"},source_url:{description:"Source URL for tracking login (e.g., https://dashboard.unrealon.com)",format:"uri",type:"string"}},required:["identifier","otp"],type:"object"},OTPVerifyResponse:{description:"OTP verification response.",properties:{access:{description:"JWT access token",type:"string"},refresh:{description:"JWT refresh token",type:"string"},user:{allOf:[{$ref:"#/components/schemas/User"}],description:"User information"}},required:["access","refresh","user"],type:"object"},OverviewStats:{description:"Overview statistics for Centrifugo publishes.",properties:{avg_acks_received:{description:"Average ACKs received",title:"Avg Acks Received",type:"number"},avg_duration_ms:{description:"Average duration in milliseconds",title:"Avg Duration Ms",type:"number"},failed:{description:"Failed publishes",title:"Failed",type:"integer"},period_hours:{description:"Statistics period in hours",title:"Period Hours",type:"integer"},success_rate:{description:"Success rate percentage",title:"Success Rate",type:"number"},successful:{description:"Successful publishes",title:"Successful",type:"integer"},timeout:{description:"Timeout publishes",title:"Timeout",type:"integer"},total:{description:"Total publishes in period",title:"Total",type:"integer"}},required:["total","successful","failed","timeout","success_rate","avg_duration_ms","avg_acks_received","period_hours"],title:"OverviewStatsSerializer",type:"object"},PaginatedArchiveItemChunkList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/ArchiveItemChunk"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedArchiveItemList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/ArchiveItem"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedArchiveSearchResultList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/ArchiveSearchResult"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedChatResponseList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/ChatResponse"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedChatSessionList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/ChatSession"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedDocumentArchiveListList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/DocumentArchiveList"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedDocumentList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/Document"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedEmailLogList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/EmailLog"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedLeadSubmissionList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/LeadSubmission"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedMessageList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/Message"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedNewsletterCampaignList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/NewsletterCampaign"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedNewsletterList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/Newsletter"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedNewsletterSubscriptionList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/NewsletterSubscription"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedPaymentListList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/PaymentList"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedPublicCategoryList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/PublicCategory"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedPublicDocumentListList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/PublicDocumentList"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PaginatedTicketList:{properties:{count:{description:"Total number of items across all pages",example:150,type:"integer"},has_next:{description:"Whether there is a next page",example:!0,type:"boolean"},has_previous:{description:"Whether there is a previous page",example:!0,type:"boolean"},next_page:{description:"Next page number (null if no next page)",example:3,nullable:!0,type:"integer"},page:{description:"Current page number (1-based)",example:2,type:"integer"},page_size:{description:"Number of items per page",example:10,type:"integer"},pages:{description:"Total number of pages",example:15,type:"integer"},previous_page:{description:"Previous page number (null if no previous page)",example:1,nullable:!0,type:"integer"},results:{description:"Array of items for current page",items:{$ref:"#/components/schemas/Ticket"},type:"array"}},required:["count","page","pages","page_size","has_next","has_previous","results"],type:"object"},PatchedArchiveItemChunkRequest:{description:"Archive item chunk serializer.",properties:{chunk_index:{description:"Sequential chunk number within item",maximum:0x7fffffff,minimum:0,type:"integer"},chunk_type:{description:"Type of content in chunk\n\n* `text` - Text\n* `code` - Code\n* `heading` - Heading\n* `metadata` - Metadata\n* `table` - Table\n* `list` - List",enum:["text","code","heading","metadata","table","list"],type:"string","x-spec-enum-id":"660846bb1567d97b"},content:{description:"Chunk text content",minLength:1,type:"string"}},type:"object"},PatchedArchiveItemRequest:{description:"Archive item serializer.",properties:{file_size:{description:"Item size in bytes",maximum:0x7fffffff,minimum:0,type:"integer"},item_name:{description:"Item name",maxLength:255,minLength:1,type:"string"},item_type:{description:"MIME type",maxLength:100,minLength:1,type:"string"},relative_path:{description:"Path within archive",maxLength:1024,minLength:1,type:"string"}},type:"object"},PatchedChatResponseRequest:{description:"Chat response serializer.",properties:{content:{minLength:1,type:"string"},cost_usd:{format:"double",type:"number"},message_id:{format:"uuid",type:"string"},model_used:{minLength:1,type:"string"},processing_time_ms:{type:"integer"},sources:{items:{$ref:"#/components/schemas/ChatSourceRequest"},nullable:!0,type:"array"},tokens_used:{type:"integer"}},type:"object"},PatchedChatSessionRequest:{description:"Chat session response serializer.",properties:{is_active:{description:"Whether session accepts new messages",type:"boolean"},max_context_chunks:{description:"Maximum chunks to include in context",maximum:0x7fffffff,minimum:0,type:"integer"},messages_count:{maximum:0x7fffffff,minimum:0,type:"integer"},model_name:{description:"LLM model used for this session",maxLength:100,minLength:1,type:"string"},temperature:{description:"Temperature setting for LLM",format:"double",type:"number"},title:{description:"Session title (auto-generated if empty)",maxLength:255,type:"string"},total_tokens_used:{maximum:0x7fffffff,minimum:0,type:"integer"}},type:"object"},PatchedDocumentArchiveRequest:{description:"Document archive serializer.",properties:{description:{description:"Archive description",type:"string"},is_public:{description:"Whether this archive is publicly accessible",type:"boolean"},title:{description:"Archive title",maxLength:512,minLength:1,type:"string"}},type:"object"},PatchedDocumentRequest:{description:"Document response serializer.",properties:{file_size:{description:"Original file size in bytes",maximum:0x7fffffff,minimum:0,type:"integer"},file_type:{description:"MIME type of original file",maxLength:100,minLength:1,type:"string"},metadata:{description:"Additional document metadata",nullable:!0},title:{description:"Document title",maxLength:512,minLength:1,type:"string"}},type:"object"},PatchedLeadSubmissionRequest:{description:"Serializer for lead form submission from frontend.",properties:{company:{maxLength:200,nullable:!0,type:"string"},company_site:{maxLength:200,nullable:!0,type:"string"},contact_type:{description:"* `email` - Email\n* `whatsapp` - WhatsApp\n* `telegram` - Telegram\n* `phone` - Phone\n* `other` - Other",enum:["email","whatsapp","telegram","phone","other"],type:"string","x-spec-enum-id":"2d58a06dc3d54732"},contact_value:{maxLength:200,nullable:!0,type:"string"},email:{format:"email",maxLength:254,minLength:1,type:"string"},extra:{nullable:!0,title:"Extra Data"},message:{minLength:1,type:"string"},name:{maxLength:200,minLength:1,title:"Full Name",type:"string"},site_url:{description:"Frontend URL where form was submitted",format:"uri",maxLength:200,minLength:1,type:"string"},subject:{maxLength:200,nullable:!0,type:"string"}},type:"object"},PatchedMessageRequest:{properties:{text:{minLength:1,type:"string"}},type:"object"},PatchedNewsletterCampaignRequest:{description:"Serializer for NewsletterCampaign model.",properties:{button_text:{maxLength:100,type:"string"},button_url:{format:"uri",maxLength:200,type:"string"},email_title:{maxLength:255,minLength:1,type:"string"},main_html_content:{title:"HTML Content",type:"string"},main_text:{minLength:1,type:"string"},newsletter:{type:"integer"},secondary_text:{type:"string"},subject:{maxLength:255,minLength:1,type:"string"}},type:"object"},PatchedTicketRequest:{properties:{status:{description:"* `open` - Open\n* `waiting_for_user` - Waiting for User\n* `waiting_for_admin` - Waiting for Admin\n* `resolved` - Resolved\n* `closed` - Closed",enum:["open","waiting_for_user","waiting_for_admin","resolved","closed"],type:"string","x-spec-enum-id":"c21b48fabf2398aa"},subject:{maxLength:255,minLength:1,type:"string"},user:{type:"integer"}},type:"object"},PatchedUnsubscribeRequest:{description:"Simple serializer for unsubscribe.",properties:{subscription_id:{type:"integer"}},type:"object"},PatchedUserProfileUpdateRequest:{description:"Serializer for updating user profile.",properties:{company:{maxLength:100,type:"string"},first_name:{maxLength:50,type:"string"},last_name:{maxLength:50,type:"string"},phone:{maxLength:20,type:"string"},position:{maxLength:100,type:"string"}},type:"object"},PaymentDetail:{description:"Detailed payment information.",properties:{actual_amount:{description:"Actual amount received in cryptocurrency",format:"decimal",nullable:!0,pattern:"^-?\\d{0,12}(?:\\.\\d{0,8})?$",readOnly:!0,type:"string"},actual_amount_usd:{description:"Actual amount received in USD",format:"decimal",nullable:!0,pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},amount_usd:{description:"Payment amount in USD",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},completed_at:{description:"When this payment was completed",format:"date-time",nullable:!0,readOnly:!0,type:"string"},confirmations_count:{description:"Number of blockchain confirmations",readOnly:!0,type:"integer"},created_at:{description:"When this record was created",format:"date-time",readOnly:!0,type:"string"},currency_code:{readOnly:!0,type:"string"},currency_name:{readOnly:!0,type:"string"},currency_network:{readOnly:!0,type:"string"},currency_token:{readOnly:!0,type:"string"},description:{description:"Payment description",readOnly:!0,type:"string"},expires_at:{description:"When this payment expires (typically 30 minutes)",format:"date-time",nullable:!0,readOnly:!0,type:"string"},explorer_link:{description:"Get blockchain explorer link.",nullable:!0,readOnly:!0,type:"string"},id:{description:"Unique identifier for this record",format:"uuid",readOnly:!0,type:"string"},internal_payment_id:{description:"Internal payment identifier (PAY_YYYYMMDDHHMMSS_UUID)",readOnly:!0,type:"string"},is_completed:{readOnly:!0,type:"boolean"},is_expired:{readOnly:!0,type:"boolean"},is_failed:{readOnly:!0,type:"boolean"},pay_address:{description:"Cryptocurrency payment address",nullable:!0,readOnly:!0,type:"string"},pay_amount:{description:"Amount to pay in cryptocurrency",format:"decimal",nullable:!0,pattern:"^-?\\d{0,12}(?:\\.\\d{0,8})?$",readOnly:!0,type:"string"},payment_url:{description:"Payment page URL (if provided by provider)",format:"uri",nullable:!0,readOnly:!0,type:"string"},qr_code_url:{description:"Get QR code URL.",nullable:!0,readOnly:!0,type:"string"},status:{description:"Current payment status\n\n* `pending` - Pending\n* `confirming` - Confirming\n* `confirmed` - Confirmed\n* `completed` - Completed\n* `partially_paid` - Partially Paid\n* `failed` - Failed\n* `expired` - Expired\n* `cancelled` - Cancelled",enum:["pending","confirming","confirmed","completed","partially_paid","failed","expired","cancelled"],readOnly:!0,type:"string","x-spec-enum-id":"a2aa9a45c3061ad0"},status_display:{readOnly:!0,type:"string"},transaction_hash:{description:"Blockchain transaction hash",nullable:!0,readOnly:!0,type:"string"}},required:["actual_amount","actual_amount_usd","amount_usd","completed_at","confirmations_count","created_at","currency_code","currency_name","currency_network","currency_token","description","expires_at","explorer_link","id","internal_payment_id","is_completed","is_expired","is_failed","pay_address","pay_amount","payment_url","qr_code_url","status","status_display","transaction_hash"],type:"object"},PaymentList:{description:"Payment list item (lighter than detail).",properties:{amount_usd:{description:"Payment amount in USD",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},completed_at:{description:"When this payment was completed",format:"date-time",nullable:!0,readOnly:!0,type:"string"},created_at:{description:"When this record was created",format:"date-time",readOnly:!0,type:"string"},currency_code:{readOnly:!0,type:"string"},currency_token:{readOnly:!0,type:"string"},id:{description:"Unique identifier for this record",format:"uuid",readOnly:!0,type:"string"},internal_payment_id:{description:"Internal payment identifier (PAY_YYYYMMDDHHMMSS_UUID)",readOnly:!0,type:"string"},status:{description:"Current payment status\n\n* `pending` - Pending\n* `confirming` - Confirming\n* `confirmed` - Confirmed\n* `completed` - Completed\n* `partially_paid` - Partially Paid\n* `failed` - Failed\n* `expired` - Expired\n* `cancelled` - Cancelled",enum:["pending","confirming","confirmed","completed","partially_paid","failed","expired","cancelled"],readOnly:!0,type:"string","x-spec-enum-id":"a2aa9a45c3061ad0"},status_display:{readOnly:!0,type:"string"}},required:["amount_usd","completed_at","created_at","currency_code","currency_token","id","internal_payment_id","status","status_display"],type:"object"},PublicCategory:{description:"Public category serializer.",properties:{description:{description:"Category description",type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},name:{description:"Category name",maxLength:255,type:"string"}},required:["id","name"],type:"object"},PublicDocument:{description:"Public document detail serializer - only essential data for clients.",properties:{category:{allOf:[{$ref:"#/components/schemas/PublicCategory"}],readOnly:!0},content:{description:"Full document content",type:"string"},created_at:{format:"date-time",readOnly:!0,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},title:{description:"Document title",maxLength:512,type:"string"},updated_at:{format:"date-time",readOnly:!0,type:"string"}},required:["category","content","created_at","id","title","updated_at"],type:"object"},PublicDocumentList:{description:"Public document list serializer - minimal fields for listing.",properties:{category:{allOf:[{$ref:"#/components/schemas/PublicCategory"}],readOnly:!0},created_at:{format:"date-time",readOnly:!0,type:"string"},id:{format:"uuid",readOnly:!0,type:"string"},title:{description:"Document title",maxLength:512,type:"string"},updated_at:{format:"date-time",readOnly:!0,type:"string"}},required:["category","created_at","id","title","updated_at"],type:"object"},PublishTestRequestRequest:{description:"Request model for test message publishing.",properties:{ack_timeout:{default:10,description:"ACK timeout in seconds",maximum:60,minimum:1,title:"Ack Timeout",type:"integer"},channel:{description:"Target channel name",title:"Channel",type:"string"},data:{additionalProperties:!0,description:"Message data (any JSON object)",title:"Data",type:"object"},wait_for_ack:{default:!1,description:"Wait for client acknowledgment",title:"Wait For Ack",type:"boolean"}},required:["channel","data"],title:"PublishTestRequest",type:"object"},PublishTestResponse:{description:"Response model for test message publishing.",properties:{acks_received:{default:0,description:"Number of ACKs received",title:"Acks Received",type:"integer"},channel:{description:"Target channel",title:"Channel",type:"string"},delivered:{default:!1,description:"Whether message was delivered",title:"Delivered",type:"boolean"},error:{anyOf:[{type:"string"},{type:"null"}],default:null,description:"Error message if failed",title:"Error"},message_id:{description:"Unique message ID",title:"Message Id",type:"string"},success:{description:"Whether publish succeeded",title:"Success",type:"boolean"}},required:["success","message_id","channel"],title:"PublishTestResponse",type:"object"},QueueAction:{description:"Serializer for queue management actions.",properties:{action:{description:"Action to perform on queues\n\n* `clear` - clear\n* `clear_all` - clear_all\n* `purge` - purge\n* `purge_failed` - purge_failed\n* `flush` - flush",enum:["clear","clear_all","purge","purge_failed","flush"],type:"string","x-spec-enum-id":"4a60a2c6249b0803"},queue_names:{description:"Specific queues to target (empty = all queues)",items:{type:"string"},type:"array"}},required:["action"],type:"object"},QueueActionRequest:{description:"Serializer for queue management actions.",properties:{action:{description:"Action to perform on queues\n\n* `clear` - clear\n* `clear_all` - clear_all\n* `purge` - purge\n* `purge_failed` - purge_failed\n* `flush` - flush",enum:["clear","clear_all","purge","purge_failed","flush"],type:"string","x-spec-enum-id":"4a60a2c6249b0803"},queue_names:{description:"Specific queues to target (empty = all queues)",items:{minLength:1,type:"string"},type:"array"}},required:["action"],type:"object"},QueueStatus:{description:"Serializer for queue status data.",properties:{error:{description:"Error message if any",type:"string"},queues:{additionalProperties:{additionalProperties:{type:"integer"},type:"object"},description:"Queue information with pending/failed counts",type:"object"},redis_connected:{description:"Redis connection status",type:"boolean"},timestamp:{description:"Current timestamp",type:"string"},workers:{description:"Number of active workers",type:"integer"}},required:["queues","redis_connected","timestamp","workers"],type:"object"},QuickAction:{description:"Serializer for quick action buttons.\n\nMaps to QuickAction Pydantic model.",properties:{category:{default:"general",description:"Action category",type:"string"},color:{default:"primary",description:"Button color theme\n\n* `primary` - primary\n* `success` - success\n* `warning` - warning\n* `danger` - danger\n* `secondary` - secondary",enum:["primary","success","warning","danger","secondary"],type:"string","x-spec-enum-id":"6400710d5b71d6b0"},description:{description:"Action description",type:"string"},icon:{description:"Material icon name",type:"string"},link:{description:"Action URL",type:"string"},title:{description:"Action title",type:"string"}},required:["description","icon","link","title"],type:"object"},QuickHealth:{description:"Serializer for quick health check response.",properties:{error:{description:"Error message if health check failed",type:"string"},status:{description:"Quick health status: ok or error",type:"string"},timestamp:{description:"Timestamp of the health check",format:"date-time",type:"string"}},required:["status","timestamp"],type:"object"},RecentPublishes:{description:"Recent publishes list.",properties:{count:{description:"Number of publishes returned",title:"Count",type:"integer"},has_more:{default:!1,description:"Whether more results are available",title:"Has More",type:"boolean"},offset:{default:0,description:"Current offset for pagination",title:"Offset",type:"integer"},publishes:{description:"List of recent publishes",items:{additionalProperties:!0,type:"object"},title:"Publishes",type:"array"},total_available:{description:"Total publishes available",title:"Total Available",type:"integer"}},required:["publishes","count","total_available"],title:"RecentPublishesSerializer",type:"object"},RecentUser:{description:"Recent user serializer.",properties:{date_joined:{type:"string"},email:{format:"email",type:"string"},id:{type:"integer"},is_active:{type:"boolean"},is_staff:{type:"boolean"},is_superuser:{type:"boolean"},last_login:{nullable:!0,type:"string"},username:{type:"string"}},required:["date_joined","email","id","is_active","is_staff","is_superuser","last_login","username"],type:"object"},SendCampaignRequest:{description:"Simple serializer for sending campaign.",properties:{campaign_id:{type:"integer"}},required:["campaign_id"],type:"object"},SendCampaignResponse:{description:"Response for sending campaign.",properties:{error:{type:"string"},message:{type:"string"},sent_count:{type:"integer"},success:{type:"boolean"}},required:["success"],type:"object"},Sender:{properties:{avatar:{nullable:!0,readOnly:!0,type:"string"},display_username:{description:"Get formatted username for display.",readOnly:!0,type:"string"},email:{format:"email",readOnly:!0,type:"string"},id:{readOnly:!0,type:"integer"},initials:{description:"Get user's initials for avatar fallback.",readOnly:!0,type:"string"},is_staff:{description:"Designates whether the user can log into this admin site.",readOnly:!0,title:"Staff status",type:"boolean"},is_superuser:{description:"Designates that this user has all permissions without explicitly assigning them.",readOnly:!0,title:"Superuser status",type:"boolean"}},required:["avatar","display_username","email","id","initials","is_staff","is_superuser"],type:"object"},StatCard:{description:"Serializer for dashboard statistics cards.\n\nMaps to StatCard Pydantic model.",properties:{change:{description:"Change indicator (e.g., '+12%')",nullable:!0,type:"string"},change_type:{default:"neutral",description:"Change type\n\n* `positive` - positive\n* `negative` - negative\n* `neutral` - neutral",enum:["positive","negative","neutral"],type:"string","x-spec-enum-id":"b21c1f8e6042dbef"},color:{default:"primary",description:"Card color theme",type:"string"},description:{description:"Additional description",nullable:!0,type:"string"},icon:{description:"Material icon name",type:"string"},title:{description:"Card title",type:"string"},value:{description:"Main value to display",type:"string"}},required:["icon","title","value"],type:"object"},SubscribeRequest:{description:"Simple serializer for newsletter subscription.",properties:{email:{format:"email",minLength:1,type:"string"},newsletter_id:{type:"integer"}},required:["email","newsletter_id"],type:"object"},SubscribeResponse:{description:"Response for subscription.",properties:{message:{type:"string"},subscription_id:{type:"integer"},success:{type:"boolean"}},required:["message","success"],type:"object"},SuccessResponse:{description:"Generic success response.",properties:{message:{type:"string"},success:{type:"boolean"}},required:["message","success"],type:"object"},SystemHealth:{description:"Serializer for overall system health status.",properties:{components:{description:"Health status of individual components",items:{$ref:"#/components/schemas/SystemHealthItem"},type:"array"},overall_health_percentage:{description:"Overall health percentage",maximum:100,minimum:0,type:"integer"},overall_status:{description:"Overall system health status\n\n* `healthy` - healthy\n* `warning` - warning\n* `error` - error\n* `unknown` - unknown",enum:["healthy","warning","error","unknown"],type:"string","x-spec-enum-id":"4a4719b6db2b089e"},timestamp:{description:"Check timestamp (ISO format)",type:"string"}},required:["components","overall_health_percentage","overall_status","timestamp"],type:"object"},SystemHealthItem:{description:"Serializer for system health status items.\n\nMaps to SystemHealthItem Pydantic model.",properties:{component:{description:"Component name",type:"string"},description:{description:"Status description",type:"string"},health_percentage:{description:"Health percentage (0-100)",maximum:100,minimum:0,nullable:!0,type:"integer"},last_check:{description:"Last check time (ISO format)",type:"string"},status:{description:"Health status\n\n* `healthy` - healthy\n* `warning` - warning\n* `error` - error\n* `unknown` - unknown",enum:["healthy","warning","error","unknown"],type:"string","x-spec-enum-id":"4a4719b6db2b089e"}},required:["component","description","last_check","status"],type:"object"},SystemMetrics:{description:"Serializer for system performance metrics.",properties:{cpu_usage:{description:"CPU usage percentage",format:"double",type:"number"},disk_usage:{description:"Disk usage percentage",format:"double",type:"number"},memory_usage:{description:"Memory usage percentage",format:"double",type:"number"},network_in:{description:"Network incoming bandwidth",type:"string"},network_out:{description:"Network outgoing bandwidth",type:"string"},response_time:{description:"Average response time",type:"string"},uptime:{description:"System uptime",type:"string"}},required:["cpu_usage","disk_usage","memory_usage","network_in","network_out","response_time","uptime"],type:"object"},TaskStatistics:{description:"Serializer for task statistics data.",properties:{error:{description:"Error message if any",type:"string"},recent_tasks:{description:"List of recent tasks",items:{additionalProperties:{},type:"object"},type:"array"},statistics:{additionalProperties:{type:"integer"},description:"Task count statistics",type:"object"},timestamp:{description:"Current timestamp",type:"string"}},required:["recent_tasks","statistics","timestamp"],type:"object"},TestEmailRequest:{description:"Simple serializer for test email.",properties:{email:{format:"email",minLength:1,type:"string"},message:{default:"This is a test email from Django CFG Newsletter.",minLength:1,type:"string"},subject:{default:"Django CFG Newsletter Test",maxLength:255,minLength:1,type:"string"}},required:["email"],type:"object"},Ticket:{properties:{created_at:{format:"date-time",readOnly:!0,type:"string"},status:{description:"* `open` - Open\n* `waiting_for_user` - Waiting for User\n* `waiting_for_admin` - Waiting for Admin\n* `resolved` - Resolved\n* `closed` - Closed",enum:["open","waiting_for_user","waiting_for_admin","resolved","closed"],type:"string","x-spec-enum-id":"c21b48fabf2398aa"},subject:{maxLength:255,type:"string"},unanswered_messages_count:{description:"Get count of unanswered messages for this specific ticket.",readOnly:!0,type:"integer"},user:{type:"integer"},uuid:{format:"uuid",readOnly:!0,type:"string"}},required:["created_at","subject","unanswered_messages_count","user","uuid"],type:"object"},TicketRequest:{properties:{status:{description:"* `open` - Open\n* `waiting_for_user` - Waiting for User\n* `waiting_for_admin` - Waiting for Admin\n* `resolved` - Resolved\n* `closed` - Closed",enum:["open","waiting_for_user","waiting_for_admin","resolved","closed"],type:"string","x-spec-enum-id":"c21b48fabf2398aa"},subject:{maxLength:255,minLength:1,type:"string"},user:{type:"integer"}},required:["subject","user"],type:"object"},TokenRefresh:{properties:{access:{readOnly:!0,type:"string"},refresh:{type:"string"}},required:["access","refresh"],type:"object"},TokenRefreshRequest:{properties:{refresh:{minLength:1,type:"string"}},required:["refresh"],type:"object"},Transaction:{description:"Transaction serializer.",properties:{amount_display:{readOnly:!0,type:"string"},amount_usd:{description:"Transaction amount in USD (positive=credit, negative=debit)",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},balance_after:{description:"User balance after this transaction",format:"decimal",pattern:"^-?\\d{0,8}(?:\\.\\d{0,2})?$",readOnly:!0,type:"string"},created_at:{description:"When this record was created",format:"date-time",readOnly:!0,type:"string"},description:{description:"Transaction description",readOnly:!0,type:"string"},id:{description:"Unique identifier for this record",format:"uuid",readOnly:!0,type:"string"},payment_id:{description:"Related payment ID (if applicable)",nullable:!0,readOnly:!0,type:"string"},transaction_type:{description:"Type of transaction\n\n* `deposit` - Deposit\n* `withdrawal` - Withdrawal\n* `payment` - Payment\n* `refund` - Refund\n* `fee` - Fee\n* `bonus` - Bonus\n* `adjustment` - Adjustment",enum:["deposit","withdrawal","payment","refund","fee","bonus","adjustment"],readOnly:!0,type:"string","x-spec-enum-id":"25d1662d4db37694"},type_display:{readOnly:!0,type:"string"}},required:["amount_display","amount_usd","balance_after","created_at","description","id","payment_id","transaction_type","type_display"],type:"object"},URLPattern:{description:"Serializer for single URL pattern.",properties:{full_name:{description:"Full URL name with namespace (e.g., admin:index)",nullable:!0,type:"string"},methods:{description:"Allowed HTTP methods",items:{type:"string"},type:"array"},module:{description:"View module path",nullable:!0,type:"string"},name:{description:"URL name (if defined)",nullable:!0,type:"string"},namespace:{description:"URL namespace",nullable:!0,type:"string"},pattern:{description:"URL pattern (e.g., ^api/users/(?P<pk>[^/.]+)/$)",type:"string"},view:{description:"View function/class name",nullable:!0,type:"string"},view_class:{description:"View class name (for CBV/ViewSets)",nullable:!0,type:"string"}},required:["pattern"],type:"object"},URLsList:{description:"Serializer for URLs list response.",properties:{base_url:{description:"Base URL of the service",type:"string"},service:{description:"Service name",type:"string"},status:{description:"Status: success or error",type:"string"},total_urls:{description:"Total number of registered URLs",type:"integer"},urls:{description:"List of all registered URL patterns",items:{$ref:"#/components/schemas/URLPattern"},type:"array"},version:{description:"Django-CFG version",type:"string"}},required:["base_url","service","status","total_urls","urls","version"],type:"object"},Unsubscribe:{description:"Simple serializer for unsubscribe.",properties:{subscription_id:{type:"integer"}},required:["subscription_id"],type:"object"},UnsubscribeRequest:{description:"Simple serializer for unsubscribe.",properties:{subscription_id:{type:"integer"}},required:["subscription_id"],type:"object"},User:{description:"Serializer for user details.",properties:{avatar:{format:"uri",nullable:!0,readOnly:!0,type:"string"},company:{maxLength:100,type:"string"},date_joined:{format:"date-time",readOnly:!0,type:"string"},display_username:{description:"Get formatted username for display.",readOnly:!0,type:"string"},email:{format:"email",readOnly:!0,type:"string"},first_name:{maxLength:50,type:"string"},full_name:{description:"Get user's full name.",readOnly:!0,type:"string"},id:{readOnly:!0,type:"integer"},initials:{description:"Get user's initials for avatar fallback.",readOnly:!0,type:"string"},is_staff:{description:"Designates whether the user can log into this admin site.",readOnly:!0,title:"Staff status",type:"boolean"},is_superuser:{description:"Designates that this user has all permissions without explicitly assigning them.",readOnly:!0,title:"Superuser status",type:"boolean"},last_login:{format:"date-time",nullable:!0,readOnly:!0,type:"string"},last_name:{maxLength:50,type:"string"},phone:{maxLength:20,type:"string"},position:{maxLength:100,type:"string"},unanswered_messages_count:{description:"Get count of unanswered messages for the user.",readOnly:!0,type:"integer"}},required:["avatar","date_joined","display_username","email","full_name","id","initials","is_staff","is_superuser","last_login","unanswered_messages_count"],type:"object"},UserProfileUpdateRequest:{description:"Serializer for updating user profile.",properties:{company:{maxLength:100,type:"string"},first_name:{maxLength:50,type:"string"},last_name:{maxLength:50,type:"string"},phone:{maxLength:20,type:"string"},position:{maxLength:100,type:"string"}},type:"object"},UserStatistics:{description:"Serializer for user statistics.",properties:{active_users:{description:"Active users (last 30 days)",type:"integer"},new_users:{description:"New users (last 7 days)",type:"integer"},superusers:{description:"Number of superusers",type:"integer"},total_users:{description:"Total number of users",type:"integer"}},required:["active_users","new_users","superusers","total_users"],type:"object"},VectorizationResult:{description:"Vectorization result serializer.",properties:{errors:{items:{type:"string"},readOnly:!0,type:"array"},failed_count:{readOnly:!0,type:"integer"},success_rate:{format:"double",readOnly:!0,type:"number"},total_cost:{format:"double",readOnly:!0,type:"number"},total_tokens:{readOnly:!0,type:"integer"},vectorized_count:{readOnly:!0,type:"integer"}},required:["errors","failed_count","success_rate","total_cost","total_tokens","vectorized_count"],type:"object"},VectorizationStatistics:{description:"Vectorization statistics serializer.",properties:{avg_cost_per_chunk:{format:"double",readOnly:!0,type:"number"},avg_tokens_per_chunk:{format:"double",readOnly:!0,type:"number"},pending_chunks:{readOnly:!0,type:"integer"},total_chunks:{readOnly:!0,type:"integer"},total_cost:{format:"double",readOnly:!0,type:"number"},total_tokens:{readOnly:!0,type:"integer"},vectorization_rate:{format:"double",readOnly:!0,type:"number"},vectorized_chunks:{readOnly:!0,type:"integer"}},required:["avg_cost_per_chunk","avg_tokens_per_chunk","pending_chunks","total_chunks","total_cost","total_tokens","vectorization_rate","vectorized_chunks"],type:"object"},WorkerAction:{description:"Serializer for worker management actions.",properties:{action:{description:"Action to perform on workers\n\n* `start` - start\n* `stop` - stop\n* `restart` - restart",enum:["start","stop","restart"],type:"string","x-spec-enum-id":"5d2b5c38703636f1"},processes:{default:1,description:"Number of worker processes",maximum:10,minimum:1,type:"integer"},threads:{default:2,description:"Number of threads per process",maximum:20,minimum:1,type:"integer"}},required:["action"],type:"object"},WorkerActionRequest:{description:"Serializer for worker management actions.",properties:{action:{description:"Action to perform on workers\n\n* `start` - start\n* `stop` - stop\n* `restart` - restart",enum:["start","stop","restart"],type:"string","x-spec-enum-id":"5d2b5c38703636f1"},processes:{default:1,description:"Number of worker processes",maximum:10,minimum:1,type:"integer"},threads:{default:2,description:"Number of threads per process",maximum:20,minimum:1,type:"integer"}},required:["action"],type:"object"}},securitySchemes:{basicAuth:{scheme:"basic",type:"http"},cookieAuth:{in:"cookie",name:"sessionid",type:"apiKey"},jwtAuth:{bearerFormat:"JWT",scheme:"bearer",type:"http"}}},info:{description:"Complete API documentation for Django CFG Demo Project",title:"Django CFG API",version:"1.0.0","x-django-metadata":{apps:["django_cfg_accounts","django_cfg_knowbase","django_cfg_support","django_cfg_newsletter","django_cfg_leads","django_cfg_agents","tasks","payments","django_cfg_centrifugo"],generator:"django-client",generator_version:"1.0.0",group:"cfg"}},openapi:"3.0.3",paths:{"/cfg/accounts/otp/request/":{post:{description:"Request OTP code to email or phone.",operationId:"cfg_accounts_otp_request_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/OTPRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/OTPRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPRequestResponse"}}},description:""},400:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPErrorResponse"}}},description:""},500:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPErrorResponse"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["accounts"],"x-async-capable":!1}},"/cfg/accounts/otp/verify/":{post:{description:"Verify OTP code and return JWT tokens.",operationId:"cfg_accounts_otp_verify_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPVerifyRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/OTPVerifyRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/OTPVerifyRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPVerifyResponse"}}},description:""},400:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPErrorResponse"}}},description:""},410:{content:{"application/json":{schema:{$ref:"#/components/schemas/OTPErrorResponse"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["accounts"],"x-async-capable":!1}},"/cfg/accounts/profile/":{get:{description:"Retrieve the current authenticated user's profile information.",operationId:"cfg_accounts_profile_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}},description:""},401:{content:{"application/json":{schema:{description:"Authentication credentials were not provided."}}},description:""}},security:[{jwtAuth:[]}],summary:"Get current user profile",tags:["User Profile"],"x-async-capable":!1}},"/cfg/accounts/profile/avatar/":{post:{description:"Upload avatar image for the current authenticated user. Accepts multipart/form-data with 'avatar' field.",operationId:"cfg_accounts_profile_avatar_create",requestBody:{content:{"multipart/form-data":{schema:{properties:{avatar:{description:"Avatar image file (JPEG, PNG, GIF, WebP, max 5MB)",format:"binary",type:"string"}},required:["avatar"],type:"object"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid file or validation error."}}},description:""},401:{content:{"application/json":{schema:{description:"Authentication credentials were not provided."}}},description:""}},security:[{jwtAuth:[]}],summary:"Upload user avatar",tags:["User Profile"],"x-async-capable":!1}},"/cfg/accounts/profile/partial/":{patch:{description:"Partially update the current authenticated user's profile information. Supports avatar upload.",operationId:"cfg_accounts_profile_partial_partial_update",requestBody:{content:{"application/json":{examples:{ProfileUpdateWithAvatar:{summary:"Profile Update with Avatar",value:{company:"Tech Corp",first_name:"John",last_name:"Doe",phone:"+1 (555) 123-4567",position:"Software Engineer"}}},schema:{$ref:"#/components/schemas/PatchedUserProfileUpdateRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedUserProfileUpdateRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedUserProfileUpdateRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid data provided."}}},description:""},401:{content:{"application/json":{schema:{description:"Authentication credentials were not provided."}}},description:""}},security:[{jwtAuth:[]}],summary:"Partial update user profile",tags:["User Profile"],"x-async-capable":!1},put:{description:"Partially update the current authenticated user's profile information. Supports avatar upload.",operationId:"cfg_accounts_profile_partial_update",requestBody:{content:{"application/json":{examples:{ProfileUpdateWithAvatar:{summary:"Profile Update with Avatar",value:{company:"Tech Corp",first_name:"John",last_name:"Doe",phone:"+1 (555) 123-4567",position:"Software Engineer"}}},schema:{$ref:"#/components/schemas/UserProfileUpdateRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/UserProfileUpdateRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/UserProfileUpdateRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid data provided."}}},description:""},401:{content:{"application/json":{schema:{description:"Authentication credentials were not provided."}}},description:""}},security:[{jwtAuth:[]}],summary:"Partial update user profile",tags:["User Profile"],"x-async-capable":!1}},"/cfg/accounts/profile/update/":{patch:{description:"Update the current authenticated user's profile information.",operationId:"cfg_accounts_profile_update_partial_update",requestBody:{content:{"application/json":{examples:{ValidProfileUpdate:{summary:"Valid Profile Update",value:{company:"Tech Corp",first_name:"John",last_name:"Doe",phone:"+1 (555) 123-4567",position:"Software Engineer"}}},schema:{$ref:"#/components/schemas/PatchedUserProfileUpdateRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedUserProfileUpdateRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedUserProfileUpdateRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid data provided."}}},description:""},401:{content:{"application/json":{schema:{description:"Authentication credentials were not provided."}}},description:""}},security:[{jwtAuth:[]}],summary:"Update user profile",tags:["User Profile"],"x-async-capable":!1},put:{description:"Update the current authenticated user's profile information.",operationId:"cfg_accounts_profile_update_update",requestBody:{content:{"application/json":{examples:{ValidProfileUpdate:{summary:"Valid Profile Update",value:{company:"Tech Corp",first_name:"John",last_name:"Doe",phone:"+1 (555) 123-4567",position:"Software Engineer"}}},schema:{$ref:"#/components/schemas/UserProfileUpdateRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/UserProfileUpdateRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/UserProfileUpdateRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid data provided."}}},description:""},401:{content:{"application/json":{schema:{description:"Authentication credentials were not provided."}}},description:""}},security:[{jwtAuth:[]}],summary:"Update user profile",tags:["User Profile"],"x-async-capable":!1}},"/cfg/accounts/token/refresh/":{post:{description:"Refresh JWT token.",operationId:"cfg_accounts_token_refresh_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/TokenRefreshRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/TokenRefreshRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/TokenRefreshRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/TokenRefresh"}}},description:""}},tags:["Auth"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/monitor/channels/":{get:{description:"Get statistics per channel.",operationId:"cfg_centrifugo_admin_api_monitor_channels_retrieve",responses:{200:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["centrifugo"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/monitor/health/":{get:{description:"Returns the current health status of the Centrifugo client.",operationId:"cfg_centrifugo_admin_api_monitor_health_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/HealthCheck"}}},description:""},503:{content:{"application/json":{schema:{description:"Service unavailable"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get Centrifugo health status",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/monitor/overview/":{get:{description:"Returns overview statistics for Centrifugo publishes.",operationId:"cfg_centrifugo_admin_api_monitor_overview_retrieve",parameters:[{description:"Statistics period in hours (default: 24)",in:"query",name:"hours",schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/OverviewStats"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid parameters"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get overview statistics",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/monitor/publishes/":{get:{description:"Returns a list of recent Centrifugo publishes with their details.",operationId:"cfg_centrifugo_admin_api_monitor_publishes_retrieve",parameters:[{description:"Filter by channel name",in:"query",name:"channel",schema:{type:"string"}},{description:"Number of publishes to return (default: 50, max: 200)",in:"query",name:"count",schema:{type:"integer"}},{description:"Offset for pagination (default: 0)",in:"query",name:"offset",schema:{type:"integer"}},{description:"Filter by status (success, failed, timeout, pending, partial)",in:"query",name:"status",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/RecentPublishes"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid parameters"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get recent publishes",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/monitor/timeline/":{get:{description:"Returns statistics grouped by channel.",operationId:"cfg_centrifugo_admin_api_monitor_timeline_retrieve",parameters:[{description:"Statistics period in hours (default: 24)",in:"query",name:"hours",schema:{type:"integer"}},{description:"Time interval: 'hour' or 'day' (default: hour)",in:"query",name:"interval",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChannelList"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid parameters"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel statistics",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/server/auth/token/":{post:{description:"Returns JWT token and config for WebSocket connection to Centrifugo.",operationId:"cfg_centrifugo_admin_api_server_auth_token_create",responses:{200:{content:{"application/json":{schema:{properties:{config:{properties:{centrifugo_url:{type:"string"},expires_at:{type:"string"}},type:"object"},token:{type:"string"}},type:"object"}}},description:""},400:{content:{"application/json":{schema:{description:"Centrifugo not configured"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get connection token for dashboard",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/server/channels/":{post:{description:"Returns list of active channels with optional pattern filter.",operationId:"cfg_centrifugo_admin_api_server_channels_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoChannelsRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoChannelsRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoChannelsRequestRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoChannelsResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"List active channels",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/server/history/":{post:{description:"Returns message history for a channel.",operationId:"cfg_centrifugo_admin_api_server_history_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoHistoryRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoHistoryRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoHistoryRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoHistoryResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel history",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/server/info/":{post:{description:"Returns server information including node count, version, and uptime.",operationId:"cfg_centrifugo_admin_api_server_info_create",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoInfoResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get Centrifugo server info",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/server/presence-stats/":{post:{description:"Returns quick statistics about channel presence (num_clients, num_users).",operationId:"cfg_centrifugo_admin_api_server_presence_stats_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel presence statistics",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/server/presence/":{post:{description:"Returns list of clients currently subscribed to a channel.",operationId:"cfg_centrifugo_admin_api_server_presence_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoPresenceRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoPresenceRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel presence",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/testing/connection-token/":{post:{description:"Generate JWT token for WebSocket connection to Centrifugo.",operationId:"cfg_centrifugo_admin_api_testing_connection_token_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ConnectionTokenRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ConnectionTokenRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ConnectionTokenRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ConnectionTokenResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Generate connection token",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/testing/publish-test/":{post:{description:"Publish test message to Centrifugo via wrapper with optional ACK tracking.",operationId:"cfg_centrifugo_admin_api_testing_publish_test_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Publish test message",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/testing/publish-with-logging/":{post:{description:"Publish message using CentrifugoClient with database logging. This will create CentrifugoLog records.",operationId:"cfg_centrifugo_admin_api_testing_publish_with_logging_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Publish with database logging",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/centrifugo/admin/api/testing/send-ack/":{post:{description:"Manually send ACK for a message to the wrapper. Pass message_id in request body.",operationId:"cfg_centrifugo_admin_api_testing_send_ack_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ManualAckRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ManualAckRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ManualAckRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ManualAckResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Send manual ACK",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/centrifugo/monitor/channels/":{get:{description:"Get statistics per channel.",operationId:"cfg_centrifugo_monitor_channels_retrieve",responses:{200:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["centrifugo"],"x-async-capable":!1}},"/cfg/centrifugo/monitor/health/":{get:{description:"Returns the current health status of the Centrifugo client.",operationId:"cfg_centrifugo_monitor_health_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/HealthCheck"}}},description:""},503:{content:{"application/json":{schema:{description:"Service unavailable"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get Centrifugo health status",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/monitor/overview/":{get:{description:"Returns overview statistics for Centrifugo publishes.",operationId:"cfg_centrifugo_monitor_overview_retrieve",parameters:[{description:"Statistics period in hours (default: 24)",in:"query",name:"hours",schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/OverviewStats"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid parameters"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get overview statistics",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/monitor/publishes/":{get:{description:"Returns a list of recent Centrifugo publishes with their details.",operationId:"cfg_centrifugo_monitor_publishes_retrieve",parameters:[{description:"Filter by channel name",in:"query",name:"channel",schema:{type:"string"}},{description:"Number of publishes to return (default: 50, max: 200)",in:"query",name:"count",schema:{type:"integer"}},{description:"Offset for pagination (default: 0)",in:"query",name:"offset",schema:{type:"integer"}},{description:"Filter by status (success, failed, timeout, pending, partial)",in:"query",name:"status",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/RecentPublishes"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid parameters"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get recent publishes",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/monitor/timeline/":{get:{description:"Returns statistics grouped by channel.",operationId:"cfg_centrifugo_monitor_timeline_retrieve",parameters:[{description:"Statistics period in hours (default: 24)",in:"query",name:"hours",schema:{type:"integer"}},{description:"Time interval: 'hour' or 'day' (default: hour)",in:"query",name:"interval",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChannelList"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid parameters"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel statistics",tags:["Centrifugo Monitoring"],"x-async-capable":!1}},"/cfg/centrifugo/server/auth/token/":{post:{description:"Returns JWT token and config for WebSocket connection to Centrifugo.",operationId:"cfg_centrifugo_server_auth_token_create",responses:{200:{content:{"application/json":{schema:{properties:{config:{properties:{centrifugo_url:{type:"string"},expires_at:{type:"string"}},type:"object"},token:{type:"string"}},type:"object"}}},description:""},400:{content:{"application/json":{schema:{description:"Centrifugo not configured"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get connection token for dashboard",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/server/channels/":{post:{description:"Returns list of active channels with optional pattern filter.",operationId:"cfg_centrifugo_server_channels_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoChannelsRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoChannelsRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoChannelsRequestRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoChannelsResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"List active channels",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/server/history/":{post:{description:"Returns message history for a channel.",operationId:"cfg_centrifugo_server_history_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoHistoryRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoHistoryRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoHistoryRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoHistoryResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel history",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/server/info/":{post:{description:"Returns server information including node count, version, and uptime.",operationId:"cfg_centrifugo_server_info_create",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoInfoResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get Centrifugo server info",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/server/presence-stats/":{post:{description:"Returns quick statistics about channel presence (num_clients, num_users).",operationId:"cfg_centrifugo_server_presence_stats_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceStatsResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel presence statistics",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/server/presence/":{post:{description:"Returns list of clients currently subscribed to a channel.",operationId:"cfg_centrifugo_server_presence_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/CentrifugoPresenceRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/CentrifugoPresenceRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CentrifugoPresenceResponse"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get channel presence",tags:["Centrifugo Admin API"],"x-async-capable":!1}},"/cfg/centrifugo/testing/connection-token/":{post:{description:"Generate JWT token for WebSocket connection to Centrifugo.",operationId:"cfg_centrifugo_testing_connection_token_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ConnectionTokenRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ConnectionTokenRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ConnectionTokenRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ConnectionTokenResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Generate connection token",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/centrifugo/testing/publish-test/":{post:{description:"Publish test message to Centrifugo via wrapper with optional ACK tracking.",operationId:"cfg_centrifugo_testing_publish_test_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Publish test message",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/centrifugo/testing/publish-with-logging/":{post:{description:"Publish message using CentrifugoClient with database logging. This will create CentrifugoLog records.",operationId:"cfg_centrifugo_testing_publish_with_logging_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PublishTestRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublishTestResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Publish with database logging",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/centrifugo/testing/send-ack/":{post:{description:"Manually send ACK for a message to the wrapper. Pass message_id in request body.",operationId:"cfg_centrifugo_testing_send_ack_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ManualAckRequestRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ManualAckRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ManualAckRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ManualAckResponse"}}},description:""},400:{content:{"application/json":{schema:{description:"Invalid request"}}},description:""},500:{content:{"application/json":{schema:{description:"Server error"}}},description:""}},security:[{jwtAuth:[]}],summary:"Send manual ACK",tags:["Centrifugo Testing"],"x-async-capable":!1}},"/cfg/dashboard/api/activity/actions/":{get:{description:"Retrieve quick action buttons for dashboard",operationId:"cfg_dashboard_api_activity_actions_list",responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/QuickAction"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get quick actions",tags:["Dashboard - Activity"],"x-async-capable":!1}},"/cfg/dashboard/api/activity/recent/":{get:{description:"Retrieve recent system activity entries",operationId:"cfg_dashboard_api_activity_recent_list",parameters:[{description:"Maximum number of entries to return",in:"query",name:"limit",schema:{default:10,type:"integer"}}],responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/ActivityEntry"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get recent activity",tags:["Dashboard - Activity"],"x-async-capable":!1}},"/cfg/dashboard/api/charts/activity/":{get:{description:"Retrieve user activity data for chart visualization",operationId:"cfg_dashboard_api_charts_activity_retrieve",parameters:[{description:"Number of days to include",in:"query",name:"days",schema:{default:7,type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChartData"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get user activity chart",tags:["Dashboard - Charts"],"x-async-capable":!1}},"/cfg/dashboard/api/charts/recent-users/":{get:{description:"Retrieve list of recently registered users",operationId:"cfg_dashboard_api_charts_recent_users_list",parameters:[{description:"Maximum number of users to return",in:"query",name:"limit",schema:{default:10,type:"integer"}}],responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/RecentUser"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get recent users",tags:["Dashboard - Charts"],"x-async-capable":!1}},"/cfg/dashboard/api/charts/registrations/":{get:{description:"Retrieve user registration data for chart visualization",operationId:"cfg_dashboard_api_charts_registrations_retrieve",parameters:[{description:"Number of days to include",in:"query",name:"days",schema:{default:7,type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChartData"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get user registration chart",tags:["Dashboard - Charts"],"x-async-capable":!1}},"/cfg/dashboard/api/charts/tracker/":{get:{description:"Retrieve activity tracker data (GitHub-style contribution graph)",operationId:"cfg_dashboard_api_charts_tracker_list",parameters:[{description:"Number of weeks to include",in:"query",name:"weeks",schema:{default:52,type:"integer"}}],responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/ActivityTrackerDay"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get activity tracker",tags:["Dashboard - Charts"],"x-async-capable":!1}},"/cfg/dashboard/api/commands/":{get:{description:"Retrieve all available Django management commands",operationId:"cfg_dashboard_api_commands_list",responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/Command"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get all commands",tags:["Dashboard - Commands"],"x-async-capable":!1}},"/cfg/dashboard/api/commands/summary/":{get:{description:"Retrieve commands summary with statistics and categorization",operationId:"cfg_dashboard_api_commands_summary_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/CommandsSummary"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get commands summary",tags:["Dashboard - Commands"],"x-async-capable":!1}},"/cfg/dashboard/api/overview/overview/":{get:{description:"Retrieve complete dashboard data including stats, health, actions, and metrics",operationId:"cfg_dashboard_api_overview_overview_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/DashboardOverview"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get dashboard overview",tags:["Dashboard - Overview"],"x-async-capable":!1}},"/cfg/dashboard/api/statistics/apps/":{get:{description:"Retrieve statistics for all enabled django-cfg applications",operationId:"cfg_dashboard_api_statistics_apps_list",responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/AppStatistics"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get application statistics",tags:["Dashboard - Statistics"],"x-async-capable":!1}},"/cfg/dashboard/api/statistics/cards/":{get:{description:"Retrieve dashboard statistics cards with key metrics",operationId:"cfg_dashboard_api_statistics_cards_list",responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/StatCard"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get statistics cards",tags:["Dashboard - Statistics"],"x-async-capable":!1}},"/cfg/dashboard/api/statistics/users/":{get:{description:"Retrieve user-related statistics",operationId:"cfg_dashboard_api_statistics_users_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/UserStatistics"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get user statistics",tags:["Dashboard - Statistics"],"x-async-capable":!1}},"/cfg/dashboard/api/system/health/":{get:{description:"Retrieve overall system health including all component checks",operationId:"cfg_dashboard_api_system_health_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/SystemHealth"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get system health status",tags:["Dashboard - System"],"x-async-capable":!1}},"/cfg/dashboard/api/system/metrics/":{get:{description:"Retrieve system performance metrics (CPU, memory, disk, etc.)",operationId:"cfg_dashboard_api_system_metrics_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/SystemMetrics"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get system metrics",tags:["Dashboard - System"],"x-async-capable":!1}},"/cfg/dashboard/api/zones/":{get:{description:"Retrieve all OpenAPI zones/groups with their configuration",operationId:"cfg_dashboard_api_zones_list",responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/APIZone"},type:"array"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get all API zones",tags:["Dashboard - API Zones"],"x-async-capable":!1}},"/cfg/dashboard/api/zones/summary/":{get:{description:"Retrieve zones summary with statistics",operationId:"cfg_dashboard_api_zones_summary_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIZonesSummary"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],summary:"Get zones summary",tags:["Dashboard - API Zones"],"x-async-capable":!1}},"/cfg/endpoints/drf/":{get:{description:"Return endpoints status data.",operationId:"cfg_endpoints_drf_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/EndpointsStatus"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["endpoints"],"x-async-capable":!1}},"/cfg/endpoints/urls/":{get:{description:"Return all registered URLs.",operationId:"cfg_endpoints_urls_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/URLsList"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["endpoints"],"x-async-capable":!1}},"/cfg/endpoints/urls/compact/":{get:{description:"Return compact URL list.",operationId:"cfg_endpoints_urls_compact_retrieve",responses:{200:{description:"No response body"}},security:[{jwtAuth:[]},{}],tags:["endpoints"],"x-async-capable":!1}},"/cfg/health/drf/":{get:{description:"Return comprehensive health check data.",operationId:"cfg_health_drf_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/HealthCheck"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["health"],"x-async-capable":!1}},"/cfg/health/drf/quick/":{get:{description:"Return minimal health status.",operationId:"cfg_health_drf_quick_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/QuickHealth"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["health"],"x-async-capable":!1}},"/cfg/knowbase/admin/chat/":{get:{description:"Chat query endpoints.",operationId:"cfg_knowbase_admin_chat_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedChatResponseList"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},post:{description:"Chat query endpoints.",operationId:"cfg_knowbase_admin_chat_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatResponseRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ChatResponseRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChatResponseRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatResponse"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/chat/query/":{post:{description:"Process chat query with RAG context.",operationId:"cfg_knowbase_admin_chat_query_create",requestBody:{content:{"application/json":{examples:{SimpleQuery:{summary:"Simple Query",value:{include_sources:!0,max_tokens:1e3,query:"What is machine learning?"}}},schema:{$ref:"#/components/schemas/ChatQueryRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ChatQueryRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChatQueryRequest"}}},required:!0},responses:{200:{content:{"application/json":{examples:{SimpleQuery:{summary:"Simple Query",value:{include_sources:!0,max_tokens:1e3,query:"What is machine learning?"}}},schema:{$ref:"#/components/schemas/ChatResponse"}}},description:""}},security:[{jwtAuth:[]}],summary:"Process chat query with RAG",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/chat/{id}/":{delete:{description:"Chat query endpoints.",operationId:"cfg_knowbase_admin_chat_destroy",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},get:{description:"Chat query endpoints.",operationId:"cfg_knowbase_admin_chat_retrieve",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatResponse"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},patch:{description:"Chat query endpoints.",operationId:"cfg_knowbase_admin_chat_partial_update",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedChatResponseRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedChatResponseRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedChatResponseRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatResponse"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},put:{description:"Chat query endpoints.",operationId:"cfg_knowbase_admin_chat_update",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatResponseRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ChatResponseRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChatResponseRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatResponse"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/chat/{id}/history/":{get:{description:"Get chat session history.",operationId:"cfg_knowbase_admin_chat_history_retrieve",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatHistory"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get chat history",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/documents/":{get:{description:"List user documents with filtering and pagination.",operationId:"cfg_knowbase_admin_documents_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}},{description:"Filter by processing status",in:"query",name:"status",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedDocumentList"}}},description:""}},security:[{jwtAuth:[]}],summary:"List user documents",tags:["knowbase"],"x-async-capable":!1},post:{description:"Upload and process a new knowledge document",operationId:"cfg_knowbase_admin_documents_create",requestBody:{content:{"application/json":{examples:{TextDocument:{summary:"Text Document",value:{content:"# API Guide\n\nThis guide explains...",file_type:"text/markdown",title:"API Documentation"}}},schema:{$ref:"#/components/schemas/DocumentCreateRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/DocumentCreateRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/DocumentCreateRequest"}}},required:!0},responses:{201:{content:{"application/json":{examples:{TextDocument:{summary:"Text Document",value:{content:"# API Guide\n\nThis guide explains...",file_type:"text/markdown",title:"API Documentation"}}},schema:{$ref:"#/components/schemas/Document"}}},description:""},400:{description:"Validation errors"},413:{description:"File too large"},429:{description:"Rate limit exceeded"}},security:[{jwtAuth:[]}],summary:"Upload new document",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/documents/stats/":{get:{description:"Get user's document processing statistics.",operationId:"cfg_knowbase_admin_documents_stats_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentStats"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get processing statistics",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/documents/{id}/":{delete:{description:"Delete document and all associated chunks.",operationId:"cfg_knowbase_admin_documents_destroy",parameters:[{description:"A UUID string identifying this document.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"Document deleted successfully"},404:{description:"Document not found"}},security:[{jwtAuth:[]}],summary:"Delete document",tags:["knowbase"],"x-async-capable":!1},get:{description:"Get document by ID.",operationId:"cfg_knowbase_admin_documents_retrieve",parameters:[{description:"A UUID string identifying this document.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Document"}}},description:""},404:{description:"Document not found"}},security:[{jwtAuth:[]}],summary:"Get document details",tags:["knowbase"],"x-async-capable":!1},patch:{description:"Document management endpoints - Admin only.",operationId:"cfg_knowbase_admin_documents_partial_update",parameters:[{description:"A UUID string identifying this document.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedDocumentRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedDocumentRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedDocumentRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Document"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},put:{description:"Document management endpoints - Admin only.",operationId:"cfg_knowbase_admin_documents_update",parameters:[{description:"A UUID string identifying this document.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/DocumentRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/DocumentRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Document"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/documents/{id}/reprocess/":{post:{description:"Trigger reprocessing of document chunks and embeddings",operationId:"cfg_knowbase_admin_documents_reprocess_create",parameters:[{description:"A UUID string identifying this document.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/DocumentRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/DocumentRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Document"}}},description:""}},security:[{jwtAuth:[]}],summary:"Reprocess document",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/documents/{id}/status/":{get:{description:"Get document processing status.",operationId:"cfg_knowbase_admin_documents_status_retrieve",parameters:[{description:"A UUID string identifying this document.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentProcessingStatus"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get document processing status",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/sessions/":{get:{description:"List user chat sessions with filtering.",operationId:"cfg_knowbase_admin_sessions_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedChatSessionList"}}},description:""}},security:[{jwtAuth:[]}],summary:"List user chat sessions",tags:["knowbase"],"x-async-capable":!1},post:{description:"Create new chat session.",operationId:"cfg_knowbase_admin_sessions_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSessionCreateRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ChatSessionCreateRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChatSessionCreateRequest"}}}},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSession"}}},description:""}},security:[{jwtAuth:[]}],summary:"Create new chat session",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/sessions/{id}/":{delete:{description:"Chat session management endpoints.",operationId:"cfg_knowbase_admin_sessions_destroy",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},get:{description:"Chat session management endpoints.",operationId:"cfg_knowbase_admin_sessions_retrieve",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSession"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},patch:{description:"Chat session management endpoints.",operationId:"cfg_knowbase_admin_sessions_partial_update",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedChatSessionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedChatSessionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedChatSessionRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSession"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},put:{description:"Chat session management endpoints.",operationId:"cfg_knowbase_admin_sessions_update",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSession"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/sessions/{id}/activate/":{post:{description:"Activate chat session.",operationId:"cfg_knowbase_admin_sessions_activate_create",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSession"}}},description:""}},security:[{jwtAuth:[]}],summary:"Activate chat session",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/admin/sessions/{id}/archive/":{post:{description:"Archive (deactivate) chat session.",operationId:"cfg_knowbase_admin_sessions_archive_create",parameters:[{description:"A UUID string identifying this chat session.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChatSessionRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChatSession"}}},description:""}},security:[{jwtAuth:[]}],summary:"Archive chat session",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/categories/":{get:{description:"Get list of all public categories",operationId:"cfg_knowbase_categories_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedPublicCategoryList"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"List public categories",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/categories/{id}/":{get:{description:"Get category details by ID (public access)",operationId:"cfg_knowbase_categories_retrieve",parameters:[{description:"A UUID string identifying this Document Category.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublicCategory"}}},description:""},404:{description:"Category not found"}},security:[{jwtAuth:[]},{}],summary:"Get public category details",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/documents/":{get:{description:"Get list of all completed and publicly accessible documents",operationId:"cfg_knowbase_documents_list",parameters:[{description:"Filter by category name",in:"query",name:"category",schema:{type:"string"}},{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}},{description:"Search in title and content",in:"query",name:"search",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedPublicDocumentListList"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"List public documents",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/documents/{id}/":{get:{description:"Get document details by ID (public access)",operationId:"cfg_knowbase_documents_retrieve",parameters:[{description:"A UUID string identifying this document.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PublicDocument"}}},description:""},404:{description:"Document not found"}},security:[{jwtAuth:[]},{}],summary:"Get public document details",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/":{get:{description:"Document archive management endpoints - Admin only.",operationId:"cfg_knowbase_system_archives_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedDocumentArchiveListList"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},post:{description:"Upload archive file and process it synchronously",operationId:"cfg_knowbase_system_archives_create",requestBody:{content:{"multipart/form-data":{schema:{properties:{category_ids:{items:{type:"string"},type:"array"},description:{type:"string"},file:{format:"binary",type:"string"},is_public:{type:"boolean"},process_immediately:{type:"boolean"},title:{type:"string"}},type:"object"}}}},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveProcessingResult"}}},description:""},400:{description:"Validation errors"},413:{description:"File too large"},429:{description:"Rate limit exceeded"}},security:[{jwtAuth:[]}],summary:"Upload and process archive",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/revectorize/":{post:{description:"Re-vectorize specific chunks",operationId:"cfg_knowbase_system_archives_revectorize_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ChunkRevectorizationRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ChunkRevectorizationRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/VectorizationResult"}}},description:""}},security:[{jwtAuth:[]}],summary:"Re-vectorize chunks",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/statistics/":{get:{description:"Get processing and vectorization statistics",operationId:"cfg_knowbase_system_archives_statistics_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveStatistics"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get archive statistics",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/vectorization_stats/":{get:{description:"Get vectorization statistics for archives",operationId:"cfg_knowbase_system_archives_vectorization_stats_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/VectorizationStatistics"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get vectorization statistics",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/{id}/":{delete:{description:"Document archive management endpoints - Admin only.",operationId:"cfg_knowbase_system_archives_destroy",parameters:[{description:"A UUID string identifying this Document Archive.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},get:{description:"Document archive management endpoints - Admin only.",operationId:"cfg_knowbase_system_archives_retrieve",parameters:[{description:"A UUID string identifying this Document Archive.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentArchiveDetail"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},patch:{description:"Document archive management endpoints - Admin only.",operationId:"cfg_knowbase_system_archives_partial_update",parameters:[{description:"A UUID string identifying this Document Archive.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedDocumentArchiveRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedDocumentArchiveRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentArchive"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},put:{description:"Document archive management endpoints - Admin only.",operationId:"cfg_knowbase_system_archives_update",parameters:[{description:"A UUID string identifying this Document Archive.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentArchiveRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/DocumentArchiveRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/DocumentArchive"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/{id}/file_tree/":{get:{description:"Get hierarchical file tree structure",operationId:"cfg_knowbase_system_archives_file_tree_retrieve",parameters:[{description:"A UUID string identifying this Document Archive.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{type:"object"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get archive file tree",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/{id}/items/":{get:{description:"Get all items in the archive",operationId:"cfg_knowbase_system_archives_items_list",parameters:[{description:"A UUID string identifying this Document Archive.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}},{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedArchiveItemList"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get archive items",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/archives/{id}/search/":{post:{description:"Semantic search within archive chunks",operationId:"cfg_knowbase_system_archives_search_create",parameters:[{description:"A UUID string identifying this Document Archive.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}},{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveSearchRequestRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ArchiveSearchRequestRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedArchiveSearchResultList"}}},description:""}},security:[{jwtAuth:[]}],summary:"Search archive chunks",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/chunks/":{get:{description:"Archive item chunk management endpoints - Admin only.",operationId:"cfg_knowbase_system_chunks_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedArchiveItemChunkList"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},post:{description:"Archive item chunk management endpoints - Admin only.",operationId:"cfg_knowbase_system_chunks_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunk"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/chunks/{id}/":{delete:{description:"Archive item chunk management endpoints - Admin only.",operationId:"cfg_knowbase_system_chunks_destroy",parameters:[{description:"A UUID string identifying this Archive Item Chunk.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},get:{description:"Archive item chunk management endpoints - Admin only.",operationId:"cfg_knowbase_system_chunks_retrieve",parameters:[{description:"A UUID string identifying this Archive Item Chunk.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunkDetail"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},patch:{description:"Archive item chunk management endpoints - Admin only.",operationId:"cfg_knowbase_system_chunks_partial_update",parameters:[{description:"A UUID string identifying this Archive Item Chunk.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedArchiveItemChunkRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedArchiveItemChunkRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedArchiveItemChunkRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunk"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},put:{description:"Archive item chunk management endpoints - Admin only.",operationId:"cfg_knowbase_system_chunks_update",parameters:[{description:"A UUID string identifying this Archive Item Chunk.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunk"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/chunks/{id}/context/":{get:{description:"Get full context metadata for chunk",operationId:"cfg_knowbase_system_chunks_context_retrieve",parameters:[{description:"A UUID string identifying this Archive Item Chunk.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunkDetail"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get chunk context",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/chunks/{id}/vectorize/":{post:{description:"Generate embedding for specific chunk",operationId:"cfg_knowbase_system_chunks_vectorize_create",parameters:[{description:"A UUID string identifying this Archive Item Chunk.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ArchiveItemChunkRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{type:"object"}}},description:""}},security:[{jwtAuth:[]}],summary:"Vectorize chunk",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/items/":{get:{description:"Archive item management endpoints - Admin only.",operationId:"cfg_knowbase_system_items_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedArchiveItemList"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},post:{description:"Archive item management endpoints - Admin only.",operationId:"cfg_knowbase_system_items_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ArchiveItemRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ArchiveItemRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItem"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/items/{id}/":{delete:{description:"Archive item management endpoints - Admin only.",operationId:"cfg_knowbase_system_items_destroy",parameters:[{description:"A UUID string identifying this Archive Item.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},get:{description:"Archive item management endpoints - Admin only.",operationId:"cfg_knowbase_system_items_retrieve",parameters:[{description:"A UUID string identifying this Archive Item.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemDetail"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},patch:{description:"Archive item management endpoints - Admin only.",operationId:"cfg_knowbase_system_items_partial_update",parameters:[{description:"A UUID string identifying this Archive Item.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedArchiveItemRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedArchiveItemRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedArchiveItemRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItem"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1},put:{description:"Archive item management endpoints - Admin only.",operationId:"cfg_knowbase_system_items_update",parameters:[{description:"A UUID string identifying this Archive Item.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/ArchiveItemRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/ArchiveItemRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItem"}}},description:""}},security:[{jwtAuth:[]}],tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/items/{id}/chunks/":{get:{description:"Get all chunks for this item",operationId:"cfg_knowbase_system_items_chunks_list",parameters:[{description:"A UUID string identifying this Archive Item.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}},{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedArchiveItemChunkList"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get item chunks",tags:["knowbase"],"x-async-capable":!1}},"/cfg/knowbase/system/items/{id}/content/":{get:{description:"Get full content of archive item",operationId:"cfg_knowbase_system_items_content_retrieve",parameters:[{description:"A UUID string identifying this Archive Item.",in:"path",name:"id",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/ArchiveItemDetail"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get item content",tags:["knowbase"],"x-async-capable":!1}},"/cfg/leads/":{get:{description:"ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",operationId:"cfg_leads_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedLeadSubmissionList"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["leads"],"x-async-capable":!1},post:{description:"ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",operationId:"cfg_leads_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmission"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["leads"],"x-async-capable":!1}},"/cfg/leads/submit/":{post:{description:"Submit a new lead from frontend contact form with automatic Telegram notifications.",operationId:"cfg_leads_submit_create",requestBody:{content:{"application/json":{examples:{ContactFormSubmission:{summary:"Contact Form Submission",value:{company:"Tech Corp",company_site:"https://techcorp.com",contact_type:"email",contact_value:"john@example.com",email:"john@example.com",message:"I'm interested in discussing a potential partnership.",name:"John Doe",site_url:"https://mysite.com/contact",subject:"Partnership Inquiry"}}},schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmissionResponse"}}},description:""},400:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmissionError"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"Submit Lead Form",tags:["Lead Submission"],"x-async-capable":!1}},"/cfg/leads/{id}/":{delete:{description:"ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",operationId:"cfg_leads_destroy",parameters:[{description:"A unique integer value identifying this Lead.",in:"path",name:"id",required:!0,schema:{type:"integer"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]},{}],tags:["leads"],"x-async-capable":!1},get:{description:"ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",operationId:"cfg_leads_retrieve",parameters:[{description:"A unique integer value identifying this Lead.",in:"path",name:"id",required:!0,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmission"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["leads"],"x-async-capable":!1},patch:{description:"ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",operationId:"cfg_leads_partial_update",parameters:[{description:"A unique integer value identifying this Lead.",in:"path",name:"id",required:!0,schema:{type:"integer"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedLeadSubmissionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedLeadSubmissionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedLeadSubmissionRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmission"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["leads"],"x-async-capable":!1},put:{description:"ViewSet for Lead model.\n\nProvides only submission functionality for leads from frontend forms.",operationId:"cfg_leads_update",parameters:[{description:"A unique integer value identifying this Lead.",in:"path",name:"id",required:!0,schema:{type:"integer"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/LeadSubmissionRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/LeadSubmission"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["leads"],"x-async-capable":!1}},"/cfg/newsletter/bulk/":{post:{description:"Send bulk emails to multiple recipients using base email template.",operationId:"cfg_newsletter_bulk_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/BulkEmailRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/BulkEmailRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/BulkEmailRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/BulkEmailResponse"}}},description:""},400:{content:{"application/json":{schema:{$ref:"#/components/schemas/BulkEmailResponse"}}},description:""}},security:[{jwtAuth:[]}],summary:"Send Bulk Email",tags:["Bulk Email"],"x-async-capable":!1}},"/cfg/newsletter/campaigns/":{get:{description:"Get a list of all newsletter campaigns.",operationId:"cfg_newsletter_campaigns_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedNewsletterCampaignList"}}},description:""}},security:[{jwtAuth:[]}],summary:"List Newsletter Campaigns",tags:["Campaigns"],"x-async-capable":!1},post:{description:"Create a new newsletter campaign.",operationId:"cfg_newsletter_campaigns_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/NewsletterCampaignRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/NewsletterCampaignRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/NewsletterCampaignRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/NewsletterCampaign"}}},description:""}},security:[{jwtAuth:[]}],summary:"Create Newsletter Campaign",tags:["Campaigns"],"x-async-capable":!1}},"/cfg/newsletter/campaigns/send/":{post:{description:"Send a newsletter campaign to all subscribers.",operationId:"cfg_newsletter_campaigns_send_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/SendCampaignRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/SendCampaignRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/SendCampaignRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/SendCampaignResponse"}}},description:""},400:{content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}},description:""},404:{content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}},description:""}},security:[{jwtAuth:[]}],summary:"Send Newsletter Campaign",tags:["Campaigns"],"x-async-capable":!1}},"/cfg/newsletter/campaigns/{id}/":{delete:{description:"Delete a newsletter campaign.",operationId:"cfg_newsletter_campaigns_destroy",parameters:[{in:"path",name:"id",required:!0,schema:{type:"integer"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],summary:"Delete Campaign",tags:["Campaigns"],"x-async-capable":!1},get:{description:"Retrieve details of a specific newsletter campaign.",operationId:"cfg_newsletter_campaigns_retrieve",parameters:[{in:"path",name:"id",required:!0,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/NewsletterCampaign"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get Campaign Details",tags:["Campaigns"],"x-async-capable":!1},patch:{description:"Retrieve, update, or delete a newsletter campaign.",operationId:"cfg_newsletter_campaigns_partial_update",parameters:[{in:"path",name:"id",required:!0,schema:{type:"integer"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedNewsletterCampaignRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedNewsletterCampaignRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedNewsletterCampaignRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/NewsletterCampaign"}}},description:""}},security:[{jwtAuth:[]}],tags:["newsletter"],"x-async-capable":!1},put:{description:"Update a newsletter campaign.",operationId:"cfg_newsletter_campaigns_update",parameters:[{in:"path",name:"id",required:!0,schema:{type:"integer"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/NewsletterCampaignRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/NewsletterCampaignRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/NewsletterCampaignRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/NewsletterCampaign"}}},description:""}},security:[{jwtAuth:[]}],summary:"Update Campaign",tags:["Campaigns"],"x-async-capable":!1}},"/cfg/newsletter/logs/":{get:{description:"Get a list of email sending logs.",operationId:"cfg_newsletter_logs_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedEmailLogList"}}},description:""}},security:[{jwtAuth:[]}],summary:"List Email Logs",tags:["Logs"],"x-async-capable":!1}},"/cfg/newsletter/newsletters/":{get:{description:"Get a list of all active newsletters available for subscription.",operationId:"cfg_newsletter_newsletters_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedNewsletterList"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"List Active Newsletters",tags:["Newsletters"],"x-async-capable":!1}},"/cfg/newsletter/newsletters/{id}/":{get:{description:"Retrieve details of a specific newsletter.",operationId:"cfg_newsletter_newsletters_retrieve",parameters:[{in:"path",name:"id",required:!0,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Newsletter"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"Get Newsletter Details",tags:["Newsletters"],"x-async-capable":!1}},"/cfg/newsletter/subscribe/":{post:{description:"Subscribe an email address to a newsletter.",operationId:"cfg_newsletter_subscribe_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/SubscribeRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/SubscribeRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/SubscribeRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/SubscribeResponse"}}},description:""},400:{content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}},description:""},404:{content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"Subscribe to Newsletter",tags:["Subscriptions"],"x-async-capable":!1}},"/cfg/newsletter/subscriptions/":{get:{description:"Get a list of current user's active newsletter subscriptions.",operationId:"cfg_newsletter_subscriptions_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedNewsletterSubscriptionList"}}},description:""}},security:[{jwtAuth:[]}],summary:"List User Subscriptions",tags:["Subscriptions"],"x-async-capable":!1}},"/cfg/newsletter/test/":{post:{description:"Send a test email to verify mailer configuration.",operationId:"cfg_newsletter_test_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/TestEmailRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/TestEmailRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/TestEmailRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/BulkEmailResponse"}}},description:""},400:{content:{"application/json":{schema:{$ref:"#/components/schemas/BulkEmailResponse"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"Test Email Sending",tags:["Testing"],"x-async-capable":!1}},"/cfg/newsletter/unsubscribe/":{patch:{description:"Handle newsletter unsubscriptions.",operationId:"cfg_newsletter_unsubscribe_partial_update",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedUnsubscribeRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedUnsubscribeRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedUnsubscribeRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Unsubscribe"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["newsletter"],"x-async-capable":!1},post:{description:"Unsubscribe from a newsletter using subscription ID.",operationId:"cfg_newsletter_unsubscribe_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/UnsubscribeRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/UnsubscribeRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/UnsubscribeRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/SuccessResponse"}}},description:""},404:{content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}},description:""}},security:[{jwtAuth:[]},{}],summary:"Unsubscribe from Newsletter",tags:["Subscriptions"],"x-async-capable":!1},put:{description:"Handle newsletter unsubscriptions.",operationId:"cfg_newsletter_unsubscribe_update",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/UnsubscribeRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/UnsubscribeRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/UnsubscribeRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Unsubscribe"}}},description:""}},security:[{jwtAuth:[]},{}],tags:["newsletter"],"x-async-capable":!1}},"/cfg/payments/balance/":{get:{description:"Get current user balance and transaction statistics",operationId:"cfg_payments_balance_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Balance"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get user balance",tags:["payments"],"x-async-capable":!1}},"/cfg/payments/currencies/":{get:{description:"Returns list of available currencies with token+network info",operationId:"cfg_payments_currencies_list",responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/Currency"},type:"array"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get available currencies",tags:["payments"],"x-async-capable":!1}},"/cfg/payments/payments/":{get:{description:"ViewSet for payment operations.\n\nEndpoints:\n- GET /payments/ - List user's payments\n- GET /payments/{id}/ - Get payment details\n- POST /payments/create/ - Create new payment\n- GET /payments/{id}/status/ - Check payment status\n- POST /payments/{id}/confirm/ - Confirm payment",operationId:"cfg_payments_payments_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedPaymentListList"}}},description:""}},security:[{jwtAuth:[]}],tags:["payments"],"x-async-capable":!1}},"/cfg/payments/payments/create/":{post:{description:'POST /api/v1/payments/create/\n\nCreate new payment.\n\nRequest body:\n{\n "amount_usd": "100.00",\n "currency_code": "USDTTRC20",\n "description": "Optional description"\n}',operationId:"cfg_payments_payments_create_create",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaymentList"}}},description:""}},security:[{jwtAuth:[]}],tags:["payments"],"x-async-capable":!1}},"/cfg/payments/payments/{id}/":{get:{description:"ViewSet for payment operations.\n\nEndpoints:\n- GET /payments/ - List user's payments\n- GET /payments/{id}/ - Get payment details\n- POST /payments/create/ - Create new payment\n- GET /payments/{id}/status/ - Check payment status\n- POST /payments/{id}/confirm/ - Confirm payment",operationId:"cfg_payments_payments_retrieve",parameters:[{in:"path",name:"id",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaymentDetail"}}},description:""}},security:[{jwtAuth:[]}],tags:["payments"],"x-async-capable":!1}},"/cfg/payments/payments/{id}/confirm/":{post:{description:'POST /api/v1/payments/{id}/confirm/\n\nConfirm payment (user clicked "I have paid").\nChecks status with provider and creates transaction if completed.',operationId:"cfg_payments_payments_confirm_create",parameters:[{in:"path",name:"id",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaymentList"}}},description:""}},security:[{jwtAuth:[]}],tags:["payments"],"x-async-capable":!1}},"/cfg/payments/payments/{id}/status/":{get:{description:"GET /api/v1/payments/{id}/status/?refresh=true\n\nCheck payment status (with optional refresh from provider).\n\nQuery params:\n- refresh: boolean (default: false) - Force refresh from provider",operationId:"cfg_payments_payments_status_retrieve",parameters:[{in:"path",name:"id",required:!0,schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaymentList"}}},description:""}},security:[{jwtAuth:[]}],tags:["payments"],"x-async-capable":!1}},"/cfg/payments/transactions/":{get:{description:"Get user transactions with pagination and filtering",operationId:"cfg_payments_transactions_list",parameters:[{description:"Number of transactions to return (max 100)",in:"query",name:"limit",schema:{type:"integer"}},{description:"Offset for pagination",in:"query",name:"offset",schema:{type:"integer"}},{description:"Filter by transaction type (deposit/withdrawal)",in:"query",name:"type",schema:{type:"string"}}],responses:{200:{content:{"application/json":{schema:{items:{$ref:"#/components/schemas/Transaction"},type:"array"}}},description:""}},security:[{jwtAuth:[]}],summary:"Get user transactions",tags:["payments"],"x-async-capable":!1}},"/cfg/support/tickets/":{get:{description:"ViewSet for managing support tickets.",operationId:"cfg_support_tickets_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedTicketList"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},post:{description:"ViewSet for managing support tickets.",operationId:"cfg_support_tickets_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/TicketRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/TicketRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/TicketRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/Ticket"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1}},"/cfg/support/tickets/{ticket_uuid}/messages/":{get:{description:"ViewSet for managing support messages.",operationId:"cfg_support_tickets_messages_list",parameters:[{description:"A page number within the paginated result set.",in:"query",name:"page",required:!1,schema:{type:"integer"}},{description:"Number of results to return per page.",in:"query",name:"page_size",required:!1,schema:{type:"integer"}},{description:"UUID of the ticket",in:"path",name:"ticket_uuid",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedMessageList"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},post:{description:"ViewSet for managing support messages.",operationId:"cfg_support_tickets_messages_create",parameters:[{description:"UUID of the ticket",in:"path",name:"ticket_uuid",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/MessageCreateRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/MessageCreateRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/MessageCreateRequest"}}},required:!0},responses:{201:{content:{"application/json":{schema:{$ref:"#/components/schemas/MessageCreate"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1}},"/cfg/support/tickets/{ticket_uuid}/messages/{uuid}/":{delete:{description:"ViewSet for managing support messages.",operationId:"cfg_support_tickets_messages_destroy",parameters:[{description:"UUID of the ticket",in:"path",name:"ticket_uuid",required:!0,schema:{format:"uuid",type:"string"}},{description:"UUID of the message",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},get:{description:"ViewSet for managing support messages.",operationId:"cfg_support_tickets_messages_retrieve",parameters:[{description:"UUID of the ticket",in:"path",name:"ticket_uuid",required:!0,schema:{format:"uuid",type:"string"}},{description:"UUID of the message",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Message"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},patch:{description:"ViewSet for managing support messages.",operationId:"cfg_support_tickets_messages_partial_update",parameters:[{description:"UUID of the ticket",in:"path",name:"ticket_uuid",required:!0,schema:{format:"uuid",type:"string"}},{description:"UUID of the message",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedMessageRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedMessageRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedMessageRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Message"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},put:{description:"ViewSet for managing support messages.",operationId:"cfg_support_tickets_messages_update",parameters:[{description:"UUID of the ticket",in:"path",name:"ticket_uuid",required:!0,schema:{format:"uuid",type:"string"}},{description:"UUID of the message",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/MessageRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/MessageRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/MessageRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Message"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1}},"/cfg/support/tickets/{uuid}/":{delete:{description:"ViewSet for managing support tickets.",operationId:"cfg_support_tickets_destroy",parameters:[{description:"A UUID string identifying this ticket.",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],responses:{204:{description:"No response body"}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},get:{description:"ViewSet for managing support tickets.",operationId:"cfg_support_tickets_retrieve",parameters:[{description:"A UUID string identifying this ticket.",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Ticket"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},patch:{description:"ViewSet for managing support tickets.",operationId:"cfg_support_tickets_partial_update",parameters:[{description:"A UUID string identifying this ticket.",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/PatchedTicketRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/PatchedTicketRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/PatchedTicketRequest"}}}},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Ticket"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1},put:{description:"ViewSet for managing support tickets.",operationId:"cfg_support_tickets_update",parameters:[{description:"A UUID string identifying this ticket.",in:"path",name:"uuid",required:!0,schema:{format:"uuid",type:"string"}}],requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/TicketRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/TicketRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/TicketRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/Ticket"}}},description:""}},security:[{jwtAuth:[]}],tags:["support"],"x-async-capable":!1}},"/cfg/tasks/api/clear-queues/":{post:{description:"Clear all tasks from all Dramatiq queues.",operationId:"cfg_tasks_api_clear_queues_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/APIResponseRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/clear/":{post:{description:"Clear all test data from Redis.",operationId:"cfg_tasks_api_clear_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/APIResponseRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/purge-failed/":{post:{description:"Purge all failed tasks from queues.",operationId:"cfg_tasks_api_purge_failed_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/APIResponseRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/queues/manage/":{post:{description:"Manage queue operations (clear, purge, etc.).",operationId:"cfg_tasks_api_queues_manage_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/QueueActionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/QueueActionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/QueueActionRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/QueueAction"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/queues/status/":{get:{description:"Get current status of all queues.",operationId:"cfg_tasks_api_queues_status_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/QueueStatus"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/simulate/":{post:{description:"Simulate test data for dashboard testing.",operationId:"cfg_tasks_api_simulate_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/APIResponseRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/APIResponseRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/tasks/list/":{get:{description:"Get paginated task list with filtering.",operationId:"cfg_tasks_api_tasks_list_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/tasks/stats/":{get:{description:"Get task execution statistics.",operationId:"cfg_tasks_api_tasks_stats_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/TaskStatistics"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/workers/list/":{get:{description:"Get detailed list of workers.",operationId:"cfg_tasks_api_workers_list_retrieve",responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}},"/cfg/tasks/api/workers/manage/":{post:{description:"Manage worker operations.",operationId:"cfg_tasks_api_workers_manage_create",requestBody:{content:{"application/json":{schema:{$ref:"#/components/schemas/WorkerActionRequest"}},"application/x-www-form-urlencoded":{schema:{$ref:"#/components/schemas/WorkerActionRequest"}},"multipart/form-data":{schema:{$ref:"#/components/schemas/WorkerActionRequest"}}},required:!0},responses:{200:{content:{"application/json":{schema:{$ref:"#/components/schemas/WorkerAction"}}},description:""}},security:[{cookieAuth:[]},{basicAuth:[]}],tags:["tasks"],"x-async-capable":!1}}}};class N{getItem(e){var t,s,i;try{if(window.localStorage){let t=localStorage.getItem(e);return null==(s=this.logger)||s.debug('LocalStorage.getItem("'.concat(e,'"): ').concat(t?"found":"not found")),t}null==(t=this.logger)||t.warn("LocalStorage not available: window.localStorage is undefined")}catch(e){null==(i=this.logger)||i.error("LocalStorage.getItem failed:",e)}return null}setItem(e,t){var s,i,n;try{window.localStorage?(localStorage.setItem(e,t),null==(s=this.logger)||s.debug('LocalStorage.setItem("'.concat(e,'"): success'))):null==(i=this.logger)||i.warn("LocalStorage not available: window.localStorage is undefined")}catch(e){null==(n=this.logger)||n.error("LocalStorage.setItem failed:",e)}}removeItem(e){var t,s,i;try{window.localStorage?(localStorage.removeItem(e),null==(t=this.logger)||t.debug('LocalStorage.removeItem("'.concat(e,'"): success'))):null==(s=this.logger)||s.warn("LocalStorage not available: window.localStorage is undefined")}catch(e){null==(i=this.logger)||i.error("LocalStorage.removeItem failed:",e)}}constructor(e){this.logger=e}}var G=s(10573),H=s(23309);H.Ikc({success:H.zMY(),message:H.YjP().optional(),error:H.YjP().optional(),data:H.g1P(H.YjP(),H.bzn()).optional()}),H.Ikc({success:H.zMY(),message:H.YjP().min(1).optional(),error:H.YjP().min(1).optional(),data:H.g1P(H.YjP(),H.bzn()).optional()}),s(5290),s(59551),H.Ikc({id:H.Whr(),user:H.YjP(),action:H.YjP(),resource:H.YjP(),timestamp:H.YjP(),icon:H.YjP(),color:H.YjP()}),H.Ikc({date:H.KH5.date(),count:H.Whr(),level:H.Whr(),color:H.YjP(),tooltip:H.YjP()}),H.Ikc({app_name:H.YjP(),statistics:H.g1P(H.YjP(),H.bzn())});let B=H.Ikc({id:H.uRe(),relative_path:H.YjP().max(1024),item_name:H.YjP().max(255),item_type:H.YjP().max(100),content_type:H.fc(G.Ty),file_size:H.Whr().min(0).max(0x7fffffff).optional(),is_processable:H.zMY(),language:H.YjP(),encoding:H.YjP(),chunks_count:H.Whr(),total_tokens:H.Whr(),processing_cost:H.aig(),created_at:H.KH5.datetime(),updated_at:H.KH5.datetime()}),F=H.Ikc({id:H.uRe(),content:H.YjP(),chunk_index:H.Whr().min(0).max(0x7fffffff),chunk_type:H.fc(G.GC).optional(),token_count:H.Whr(),character_count:H.Whr(),embedding_model:H.YjP(),embedding_cost:H.aig(),context_summary:H.g1P(H.YjP(),H.bzn()),created_at:H.KH5.datetime()});H.Ikc({id:H.uRe(),content:H.YjP(),chunk_index:H.Whr().min(0).max(0x7fffffff),chunk_type:H.fc(G.j_).optional(),token_count:H.Whr(),character_count:H.Whr(),embedding_model:H.YjP(),embedding_cost:H.aig(),context_summary:H.g1P(H.YjP(),H.bzn()),created_at:H.KH5.datetime(),context_metadata:H.YjP()}),H.Ikc({content:H.YjP().min(1),chunk_index:H.Whr().min(0).max(0x7fffffff),chunk_type:H.fc(G.VQ).optional()}),H.Ikc({id:H.uRe(),relative_path:H.YjP().max(1024),item_name:H.YjP().max(255),item_type:H.YjP().max(100),content_type:H.fc(G.iy),file_size:H.Whr().min(0).max(0x7fffffff).optional(),is_processable:H.zMY(),language:H.YjP(),encoding:H.YjP(),chunks_count:H.Whr(),total_tokens:H.Whr(),processing_cost:H.aig(),created_at:H.KH5.datetime(),updated_at:H.KH5.datetime(),raw_content:H.YjP(),metadata:H.YjP()}),H.Ikc({relative_path:H.YjP().min(1).max(1024),item_name:H.YjP().min(1).max(255),item_type:H.YjP().min(1).max(100),file_size:H.Whr().min(0).max(0x7fffffff).optional()}),H.Ikc({archive_id:H.uRe(),status:H.YjP(),processing_time_ms:H.Whr(),items_processed:H.Whr(),chunks_created:H.Whr(),vectorized_chunks:H.Whr(),total_cost_usd:H.aig(),error_message:H.YjP()}),H.Ikc({query:H.YjP().min(1).max(500),content_types:H.YOg(H.YjP()).optional(),languages:H.YOg(H.YjP().min(1).max(50)).optional(),chunk_types:H.YOg(H.YjP()).optional(),archive_ids:H.YOg(H.uRe()).optional(),limit:H.Whr().min(1).max(50).optional(),similarity_threshold:H.aig().min(0).max(1).optional()});let K=H.Ikc({chunk:F,similarity_score:H.aig(),context_summary:H.g1P(H.YjP(),H.bzn()),archive_info:H.g1P(H.YjP(),H.bzn()),item_info:H.g1P(H.YjP(),H.bzn())});H.Ikc({total_archives:H.Whr(),processed_archives:H.Whr(),failed_archives:H.Whr(),total_items:H.Whr(),total_chunks:H.Whr(),total_tokens:H.Whr(),total_cost:H.aig(),avg_processing_time:H.aig(),avg_items_per_archive:H.aig(),avg_chunks_per_archive:H.aig()}),H.Ikc({balance_usd:H.YjP(),balance_display:H.YjP(),total_deposited:H.YjP(),total_withdrawn:H.YjP(),last_transaction_at:H.KH5.datetime().nullable()}),H.Ikc({recipients:H.YOg(H.Rpp()),subject:H.YjP().min(1).max(255),email_title:H.YjP().min(1).max(255),main_text:H.YjP().min(1),main_html_content:H.YjP().optional(),button_text:H.YjP().max(100).optional(),button_url:H.OZ5().optional(),secondary_text:H.YjP().optional()}),H.Ikc({success:H.zMY(),sent_count:H.Whr(),failed_count:H.Whr(),total_recipients:H.Whr(),error:H.YjP().optional()}),H.Ikc({num_clients:H.Whr()}),H.Ikc({pattern:H.YjP().nullable().optional()}),s(7147),s(85805),s(40795),s(38258);let V=H.Ikc({offset:H.Whr(),epoch:H.YjP()});H.Ikc({channel:H.YjP(),limit:H.YjP().nullable().optional(),since:V.optional(),reverse:H.YjP().nullable().optional()}),s(87621),s(30147),s(6555),s(43581),s(9331),s(32598),H.Ikc({channel:H.YjP()}),s(14928),s(79222),H.Ikc({channel:H.YjP()}),s(59285),s(97523),s(5423),s(32358),s(96841),s(36028),s(53132),s(95734);let Q=H.Ikc({id:H.uRe(),role:H.fc(G.MW),content:H.YjP(),tokens_used:H.Whr().min(0).max(0x7fffffff).optional(),cost_usd:H.aig(),processing_time_ms:H.Whr().min(0).max(0x7fffffff).optional(),created_at:H.KH5.datetime(),context_chunks:H.YjP().optional()});H.Ikc({session_id:H.uRe(),messages:H.YOg(Q),total_messages:H.Whr()}),H.Ikc({session_id:H.uRe().nullable().optional(),query:H.YjP().min(1).max(2e3),max_tokens:H.Whr().min(1).max(4e3).optional(),include_sources:H.zMY().optional()});let Z=H.Ikc({document_title:H.YjP(),chunk_content:H.YjP(),similarity:H.aig()}),J=H.Ikc({message_id:H.uRe(),content:H.YjP(),tokens_used:H.Whr(),cost_usd:H.aig(),processing_time_ms:H.Whr(),model_used:H.YjP(),sources:H.YOg(Z).nullable().optional()}),X=H.Ikc({document_title:H.YjP().min(1),chunk_content:H.YjP().min(1),similarity:H.aig()});H.Ikc({message_id:H.uRe(),content:H.YjP().min(1),tokens_used:H.Whr(),cost_usd:H.aig(),processing_time_ms:H.Whr(),model_used:H.YjP().min(1),sources:H.YOg(X).nullable().optional()});let ee=H.Ikc({id:H.uRe(),title:H.YjP().max(255).optional(),is_active:H.zMY().optional(),messages_count:H.Whr().min(0).max(0x7fffffff).optional(),total_tokens_used:H.Whr().min(0).max(0x7fffffff).optional(),total_cost_usd:H.aig(),model_name:H.YjP().max(100).optional(),temperature:H.aig().optional(),max_context_chunks:H.Whr().min(0).max(0x7fffffff).optional(),created_at:H.KH5.datetime(),updated_at:H.KH5.datetime()});H.Ikc({title:H.YjP().max(255).optional(),model_name:H.YjP().min(1).max(100).optional(),temperature:H.aig().min(0).max(2).optional(),max_context_chunks:H.Whr().min(1).max(10).optional()}),H.Ikc({title:H.YjP().max(255).optional(),is_active:H.zMY().optional(),messages_count:H.Whr().min(0).max(0x7fffffff).optional(),total_tokens_used:H.Whr().min(0).max(0x7fffffff).optional(),model_name:H.YjP().min(1).max(100).optional(),temperature:H.aig().optional(),max_context_chunks:H.Whr().min(0).max(0x7fffffff).optional()}),H.Ikc({chunk_ids:H.YOg(H.uRe()),force:H.zMY().optional()}),s(34851),s(64330),H.Ikc({user_id:H.YjP(),channels:H.YOg(H.YjP()).optional()}),s(55038),H.Ikc({code:H.YjP(),name:H.YjP(),token:H.YjP(),network:H.YjP().nullable(),display_name:H.YjP(),symbol:H.YjP(),decimal_places:H.Whr(),is_active:H.zMY(),min_amount_usd:H.YjP(),sort_order:H.Whr()}),s(28121);let et=H.Ikc({id:H.uRe(),title:H.YjP().max(512),file_type:H.YjP().max(100).optional(),file_size:H.Whr().min(0).max(0x7fffffff).optional(),processing_status:H.YjP(),chunks_count:H.Whr(),total_tokens:H.Whr(),total_cost_usd:H.aig(),created_at:H.KH5.datetime(),updated_at:H.KH5.datetime(),processing_started_at:H.KH5.datetime(),processing_completed_at:H.KH5.datetime(),processing_error:H.YjP(),metadata:H.YjP().nullable().optional()}),es=H.Ikc({id:H.uRe(),name:H.YjP().max(255),description:H.YjP().optional(),is_public:H.zMY().optional(),created_at:H.KH5.datetime()});H.Ikc({id:H.uRe(),title:H.YjP().max(512),description:H.YjP().optional(),categories:H.YOg(es),is_public:H.zMY().optional(),archive_file:H.OZ5(),original_filename:H.YjP(),file_size:H.Whr(),archive_type:H.fc(G._w),processing_status:H.fc(G.DI),processed_at:H.KH5.datetime().nullable(),processing_duration_ms:H.Whr(),processing_error:H.YjP(),total_items:H.Whr(),processed_items:H.Whr(),total_chunks:H.Whr(),vectorized_chunks:H.Whr(),total_tokens:H.Whr(),total_cost_usd:H.aig(),processing_progress:H.aig(),vectorization_progress:H.aig(),is_processed:H.zMY(),created_at:H.KH5.datetime(),updated_at:H.KH5.datetime()}),H.Ikc({id:H.uRe(),title:H.YjP().max(512),description:H.YjP().optional(),categories:H.YOg(es),is_public:H.zMY().optional(),archive_file:H.OZ5(),original_filename:H.YjP(),file_size:H.Whr(),archive_type:H.fc(G.a9),processing_status:H.fc(G.Or),processed_at:H.KH5.datetime().nullable(),processing_duration_ms:H.Whr(),processing_error:H.YjP(),total_items:H.Whr(),processed_items:H.Whr(),total_chunks:H.Whr(),vectorized_chunks:H.Whr(),total_tokens:H.Whr(),total_cost_usd:H.aig(),processing_progress:H.aig(),vectorization_progress:H.aig(),is_processed:H.zMY(),created_at:H.KH5.datetime(),updated_at:H.KH5.datetime(),items:H.YOg(B),file_tree:H.g1P(H.YjP(),H.bzn()),metadata:H.YjP().nullable().optional()});let ei=H.Ikc({id:H.uRe(),title:H.YjP(),description:H.YjP(),categories:H.YOg(es),is_public:H.zMY(),original_filename:H.YjP(),file_size:H.Whr(),archive_type:H.fc(G.Ub),processing_status:H.fc(G.fi),processed_at:H.KH5.datetime().nullable(),total_items:H.Whr(),total_chunks:H.Whr(),total_cost_usd:H.aig(),processing_progress:H.aig(),created_at:H.KH5.datetime()});H.Ikc({title:H.YjP().min(1).max(512),description:H.YjP().optional(),is_public:H.zMY().optional()}),H.Ikc({name:H.YjP().min(1).max(255),description:H.YjP().optional(),is_public:H.zMY().optional()}),H.Ikc({title:H.YjP().min(1).max(512),content:H.YjP().min(10).max(1e6),file_type:H.YjP().min(1).optional(),metadata:H.YjP().optional()}),H.Ikc({id:H.uRe(),status:H.YjP(),progress:H.YjP(),error:H.YjP().nullable().optional(),processing_time_seconds:H.aig().nullable().optional()}),H.Ikc({title:H.YjP().min(1).max(512),file_type:H.YjP().min(1).max(100).optional(),file_size:H.Whr().min(0).max(0x7fffffff).optional(),metadata:H.YjP().nullable().optional()}),H.Ikc({total_documents:H.Whr(),completed_documents:H.Whr(),processing_success_rate:H.aig(),total_chunks:H.Whr(),total_tokens:H.Whr(),total_cost_usd:H.aig(),avg_processing_time_seconds:H.aig()});let en=H.Ikc({id:H.uRe(),user:H.Whr().nullable(),user_email:H.YjP(),newsletter:H.Whr().nullable(),newsletter_title:H.YjP(),recipient:H.YjP(),subject:H.YjP(),body:H.YjP(),status:H.fc(G.PV),created_at:H.KH5.datetime(),sent_at:H.KH5.datetime().nullable(),error_message:H.YjP().nullable()}),ea=H.Ikc({url:H.YjP(),url_pattern:H.YjP().nullable().optional(),url_name:H.YjP().nullable().optional(),namespace:H.YjP().optional(),group:H.YjP(),view:H.YjP().optional(),status:H.YjP(),status_code:H.Whr().nullable().optional(),response_time_ms:H.aig().nullable().optional(),is_healthy:H.zMY().nullable().optional(),error:H.YjP().optional(),error_type:H.YjP().optional(),reason:H.YjP().optional(),last_checked:H.KH5.datetime().nullable().optional(),has_parameters:H.zMY().optional(),required_auth:H.zMY().optional(),rate_limited:H.zMY().optional()});H.Ikc({status:H.YjP(),timestamp:H.KH5.datetime(),total_endpoints:H.Whr(),healthy:H.Whr(),unhealthy:H.Whr(),warnings:H.Whr(),errors:H.Whr(),skipped:H.Whr(),endpoints:H.YOg(ea)}),H.Ikc({success:H.zMY().optional(),message:H.YjP()}),s(94678);let er=H.Ikc({name:H.YjP().max(200),email:H.Rpp(),company:H.YjP().max(200).nullable().optional(),company_site:H.YjP().max(200).nullable().optional(),contact_type:H.fc(G.dg).optional(),contact_value:H.YjP().max(200).nullable().optional(),subject:H.YjP().max(200).nullable().optional(),message:H.YjP(),extra:H.YjP().nullable().optional(),site_url:H.OZ5()});H.Ikc({success:H.zMY(),error:H.YjP(),details:H.g1P(H.YjP(),H.bzn()).optional()}),H.Ikc({name:H.YjP().min(1).max(200),email:H.Rpp(),company:H.YjP().max(200).nullable().optional(),company_site:H.YjP().max(200).nullable().optional(),contact_type:H.fc(G.CA).optional(),contact_value:H.YjP().max(200).nullable().optional(),subject:H.YjP().max(200).nullable().optional(),message:H.YjP().min(1),extra:H.YjP().nullable().optional(),site_url:H.OZ5()}),H.Ikc({success:H.zMY(),message:H.YjP(),lead_id:H.Whr()}),s(98315),s(49692);let eo=H.Ikc({id:H.Whr(),display_username:H.YjP(),email:H.Rpp(),avatar:H.YjP().nullable(),initials:H.YjP(),is_staff:H.zMY(),is_superuser:H.zMY()}),ec=H.Ikc({uuid:H.uRe(),ticket:H.uRe(),sender:eo,is_from_author:H.zMY(),text:H.YjP(),created_at:H.KH5.datetime()});H.Ikc({text:H.YjP()}),H.Ikc({text:H.YjP().min(1)}),H.Ikc({text:H.YjP().min(1)});let ep=H.Ikc({id:H.Whr(),title:H.YjP().max(255),description:H.YjP().optional(),is_active:H.zMY().optional(),auto_subscribe:H.zMY().optional(),created_at:H.KH5.datetime(),updated_at:H.KH5.datetime(),subscribers_count:H.Whr()}),el=H.Ikc({id:H.Whr(),newsletter:H.Whr(),newsletter_title:H.YjP(),subject:H.YjP().max(255),email_title:H.YjP().max(255),main_text:H.YjP(),main_html_content:H.YjP().optional(),button_text:H.YjP().max(100).optional(),button_url:H.OZ5().optional(),secondary_text:H.YjP().optional(),status:H.fc(G.md),created_at:H.KH5.datetime(),sent_at:H.KH5.datetime().nullable(),recipient_count:H.Whr()});H.Ikc({newsletter:H.Whr(),subject:H.YjP().min(1).max(255),email_title:H.YjP().min(1).max(255),main_text:H.YjP().min(1),main_html_content:H.YjP().optional(),button_text:H.YjP().max(100).optional(),button_url:H.OZ5().optional(),secondary_text:H.YjP().optional()});let eu=H.Ikc({id:H.Whr(),newsletter:H.Whr(),newsletter_title:H.YjP(),user:H.Whr().nullable().optional(),user_email:H.YjP(),email:H.Rpp(),is_active:H.zMY().optional(),subscribed_at:H.KH5.datetime(),unsubscribed_at:H.KH5.datetime().nullable()});H.Ikc({error:H.YjP()}),H.Ikc({identifier:H.YjP().min(1),channel:H.fc(G.Xm).optional(),source_url:H.OZ5().optional()}),H.Ikc({message:H.YjP()}),H.Ikc({identifier:H.YjP().min(1),otp:H.YjP().min(6).max(6),channel:H.fc(G.DG).optional(),source_url:H.OZ5().optional()});let em=H.Ikc({id:H.Whr(),email:H.Rpp(),first_name:H.YjP().max(50).optional(),last_name:H.YjP().max(50).optional(),full_name:H.YjP(),initials:H.YjP(),display_username:H.YjP(),company:H.YjP().max(100).optional(),phone:H.YjP().max(20).optional(),position:H.YjP().max(100).optional(),avatar:H.OZ5().nullable(),is_staff:H.zMY(),is_superuser:H.zMY(),date_joined:H.KH5.datetime(),last_login:H.KH5.datetime().nullable(),unanswered_messages_count:H.Whr()});H.Ikc({refresh:H.YjP(),access:H.YjP(),user:em}),s(32910),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(F)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(B)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(K)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(J)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(ee)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(ei)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(et)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(en)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(er)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(ec)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(el)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(ep)}),H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(eu)});let ed=H.Ikc({id:H.uRe(),internal_payment_id:H.YjP(),amount_usd:H.YjP(),currency_code:H.YjP(),currency_token:H.YjP(),status:H.fc(G.jY),status_display:H.YjP(),created_at:H.KH5.datetime(),completed_at:H.KH5.datetime().nullable()});H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(ed)});let eg=H.Ikc({id:H.uRe(),name:H.YjP().max(255),description:H.YjP().optional()});H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(eg)});let eh=H.Ikc({id:H.uRe(),title:H.YjP().max(512),category:eg,created_at:H.KH5.datetime(),updated_at:H.KH5.datetime()});H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(eh)});let ey=H.Ikc({uuid:H.uRe(),user:H.Whr(),subject:H.YjP().max(255),status:H.fc(G.Hs).optional(),created_at:H.KH5.datetime(),unanswered_messages_count:H.Whr()});H.Ikc({count:H.Whr(),page:H.Whr(),pages:H.Whr(),page_size:H.Whr(),has_next:H.zMY(),has_previous:H.zMY(),next_page:H.Whr().nullable().optional(),previous_page:H.Whr().nullable().optional(),results:H.YOg(ey)}),H.Ikc({content:H.YjP().min(1).optional(),chunk_index:H.Whr().min(0).max(0x7fffffff).optional(),chunk_type:H.fc(G.qY).optional()}),H.Ikc({relative_path:H.YjP().min(1).max(1024).optional(),item_name:H.YjP().min(1).max(255).optional(),item_type:H.YjP().min(1).max(100).optional(),file_size:H.Whr().min(0).max(0x7fffffff).optional()}),H.Ikc({message_id:H.uRe().optional(),content:H.YjP().min(1).optional(),tokens_used:H.Whr().optional(),cost_usd:H.aig().optional(),processing_time_ms:H.Whr().optional(),model_used:H.YjP().min(1).optional(),sources:H.YOg(X).nullable().optional()}),H.Ikc({title:H.YjP().max(255).optional(),is_active:H.zMY().optional(),messages_count:H.Whr().min(0).max(0x7fffffff).optional(),total_tokens_used:H.Whr().min(0).max(0x7fffffff).optional(),model_name:H.YjP().min(1).max(100).optional(),temperature:H.aig().optional(),max_context_chunks:H.Whr().min(0).max(0x7fffffff).optional()}),H.Ikc({title:H.YjP().min(1).max(512).optional(),description:H.YjP().optional(),is_public:H.zMY().optional()}),H.Ikc({title:H.YjP().min(1).max(512).optional(),file_type:H.YjP().min(1).max(100).optional(),file_size:H.Whr().min(0).max(0x7fffffff).optional(),metadata:H.YjP().nullable().optional()}),H.Ikc({name:H.YjP().min(1).max(200).optional(),email:H.Rpp().optional(),company:H.YjP().max(200).nullable().optional(),company_site:H.YjP().max(200).nullable().optional(),contact_type:H.fc(G.Ph).optional(),contact_value:H.YjP().max(200).nullable().optional(),subject:H.YjP().max(200).nullable().optional(),message:H.YjP().min(1).optional(),extra:H.YjP().nullable().optional(),site_url:H.OZ5().optional()}),H.Ikc({text:H.YjP().min(1).optional()}),H.Ikc({newsletter:H.Whr().optional(),subject:H.YjP().min(1).max(255).optional(),email_title:H.YjP().min(1).max(255).optional(),main_text:H.YjP().min(1).optional(),main_html_content:H.YjP().optional(),button_text:H.YjP().max(100).optional(),button_url:H.OZ5().optional(),secondary_text:H.YjP().optional()}),H.Ikc({user:H.Whr().optional(),subject:H.YjP().min(1).max(255).optional(),status:H.fc(G.jQ).optional()}),H.Ikc({subscription_id:H.Whr().optional()}),H.Ikc({first_name:H.YjP().max(50).optional(),last_name:H.YjP().max(50).optional(),company:H.YjP().max(100).optional(),phone:H.YjP().max(20).optional(),position:H.YjP().max(100).optional()}),H.Ikc({id:H.uRe(),internal_payment_id:H.YjP(),amount_usd:H.YjP(),currency_code:H.YjP(),currency_name:H.YjP(),currency_token:H.YjP(),currency_network:H.YjP(),pay_amount:H.YjP().nullable(),actual_amount:H.YjP().nullable(),actual_amount_usd:H.YjP().nullable(),status:H.fc(G.QI),status_display:H.YjP(),pay_address:H.YjP().nullable(),qr_code_url:H.YjP().nullable(),payment_url:H.OZ5().nullable(),transaction_hash:H.YjP().nullable(),explorer_link:H.YjP().nullable(),confirmations_count:H.Whr(),expires_at:H.KH5.datetime().nullable(),completed_at:H.KH5.datetime().nullable(),created_at:H.KH5.datetime(),is_completed:H.zMY(),is_failed:H.zMY(),is_expired:H.zMY(),description:H.YjP()}),H.Ikc({id:H.uRe(),title:H.YjP().max(512),content:H.YjP(),category:eg,created_at:H.KH5.datetime(),updated_at:H.KH5.datetime()}),H.Ikc({channel:H.YjP(),data:H.g1P(H.YjP(),H.bzn()),wait_for_ack:H.zMY().optional(),ack_timeout:H.Whr().min(1).max(60).optional()}),s(68308),H.Ikc({action:H.fc(G.EJ),queue_names:H.YOg(H.YjP()).optional()}),H.Ikc({action:H.fc(G.Pb),queue_names:H.YOg(H.YjP().min(1)).optional()}),H.Ikc({queues:H.g1P(H.YjP(),H.bzn()),workers:H.Whr(),redis_connected:H.zMY(),timestamp:H.YjP(),error:H.YjP().optional()}),H.Ikc({title:H.YjP(),description:H.YjP(),icon:H.YjP(),link:H.YjP(),color:H.fc(G.$D).optional(),category:H.YjP().optional()}),H.Ikc({status:H.YjP(),timestamp:H.KH5.datetime(),error:H.YjP().optional()}),s(7374),H.Ikc({id:H.Whr(),username:H.YjP(),email:H.Rpp(),date_joined:H.YjP(),is_active:H.zMY(),is_staff:H.zMY(),is_superuser:H.zMY(),last_login:H.YjP().nullable()}),H.Ikc({campaign_id:H.Whr()}),H.Ikc({success:H.zMY(),message:H.YjP().optional(),sent_count:H.Whr().optional(),error:H.YjP().optional()}),H.Ikc({title:H.YjP(),value:H.YjP(),icon:H.YjP(),change:H.YjP().nullable().optional(),change_type:H.fc(G.XN).optional(),description:H.YjP().nullable().optional(),color:H.YjP().optional()}),H.Ikc({newsletter_id:H.Whr(),email:H.Rpp()}),H.Ikc({success:H.zMY(),message:H.YjP(),subscription_id:H.Whr().optional()}),H.Ikc({success:H.zMY(),message:H.YjP()}),s(43195),s(60374),s(30246),H.Ikc({statistics:H.g1P(H.YjP(),H.bzn()),recent_tasks:H.YOg(H.g1P(H.YjP(),H.bzn())),timestamp:H.YjP(),error:H.YjP().optional()}),H.Ikc({email:H.Rpp(),subject:H.YjP().min(1).max(255).optional(),message:H.YjP().min(1).optional()}),H.Ikc({user:H.Whr(),subject:H.YjP().min(1).max(255),status:H.fc(G.Cm).optional()}),H.Ikc({access:H.YjP(),refresh:H.YjP()}),H.Ikc({refresh:H.YjP().min(1)}),H.Ikc({id:H.uRe(),transaction_type:H.fc(G.PL),type_display:H.YjP(),amount_usd:H.YjP(),amount_display:H.YjP(),balance_after:H.YjP(),payment_id:H.YjP().nullable(),description:H.YjP(),created_at:H.KH5.datetime()});let ef=H.Ikc({pattern:H.YjP(),name:H.YjP().nullable().optional(),full_name:H.YjP().nullable().optional(),namespace:H.YjP().nullable().optional(),view:H.YjP().nullable().optional(),view_class:H.YjP().nullable().optional(),methods:H.YOg(H.YjP()).optional(),module:H.YjP().nullable().optional()});H.Ikc({status:H.YjP(),service:H.YjP(),version:H.YjP(),base_url:H.YjP(),total_urls:H.Whr(),urls:H.YOg(ef)}),H.Ikc({subscription_id:H.Whr()}),H.Ikc({subscription_id:H.Whr()}),H.Ikc({first_name:H.YjP().max(50).optional(),last_name:H.YjP().max(50).optional(),company:H.YjP().max(100).optional(),phone:H.YjP().max(20).optional(),position:H.YjP().max(100).optional()}),s(46402),H.Ikc({vectorized_count:H.Whr(),failed_count:H.Whr(),total_tokens:H.Whr(),total_cost:H.aig(),success_rate:H.aig(),errors:H.YOg(H.YjP())}),H.Ikc({total_chunks:H.Whr(),vectorized_chunks:H.Whr(),pending_chunks:H.Whr(),vectorization_rate:H.aig(),total_tokens:H.Whr(),total_cost:H.aig(),avg_tokens_per_chunk:H.aig(),avg_cost_per_chunk:H.aig()}),H.Ikc({action:H.fc(G.vy),processes:H.Whr().min(1).max(10).optional(),threads:H.Whr().min(1).max(20).optional()}),H.Ikc({action:H.fc(G.cz),processes:H.Whr().min(1).max(10).optional(),threads:H.Whr().min(1).max(20).optional()}),s(2509),s(14702),s(49584),s(78726),s(8087),s(58458),s(15079),s(96168),s(34245),s(91793),s(30907),s(71174),s(10200),s(50638),s(9010),s(14527),s(81231),s(12032),s(66525),s(85449),s(55891);let e_="auth_token",eb="refresh_token";class ew{_loadTokensFromStorage(){this._token=this.storage.getItem(e_),this._refreshToken=this.storage.getItem(eb)}_reinitClients(){var e,t;this._client=new U(this.baseUrl,{retryConfig:null==(e=this.options)?void 0:e.retryConfig,loggerConfig:null==(t=this.options)?void 0:t.loggerConfig}),this._injectAuthHeader(),this.cfg_auth=this._client.cfg_auth,this.cfg_bulk_email=this._client.cfg_bulk_email,this.cfg_campaigns=this._client.cfg_campaigns,this.cfg_centrifugo_admin_api=this._client.cfg_centrifugo_admin_api,this.cfg_centrifugo_monitoring=this._client.cfg_centrifugo_monitoring,this.cfg_centrifugo_testing=this._client.cfg_centrifugo_testing,this.cfg_dashboard_api_zones=this._client.cfg_dashboard_api_zones,this.cfg_dashboard_activity=this._client.cfg_dashboard_activity,this.cfg_dashboard_charts=this._client.cfg_dashboard_charts,this.cfg_dashboard_commands=this._client.cfg_dashboard_commands,this.cfg_dashboard_overview=this._client.cfg_dashboard_overview,this.cfg_dashboard_statistics=this._client.cfg_dashboard_statistics,this.cfg_dashboard_system=this._client.cfg_dashboard_system,this.cfg_lead_submission=this._client.cfg_lead_submission,this.cfg_logs=this._client.cfg_logs,this.cfg_newsletters=this._client.cfg_newsletters,this.cfg_subscriptions=this._client.cfg_subscriptions,this.cfg_testing=this._client.cfg_testing,this.cfg_user_profile=this._client.cfg_user_profile,this.cfg_accounts=this._client.cfg_accounts,this.cfg_centrifugo=this._client.cfg_centrifugo,this.cfg_endpoints=this._client.cfg_endpoints,this.cfg_health=this._client.cfg_health,this.cfg_knowbase=this._client.cfg_knowbase,this.cfg_leads=this._client.cfg_leads,this.cfg_newsletter=this._client.cfg_newsletter,this.cfg_payments=this._client.cfg_payments,this.cfg_support=this._client.cfg_support,this.cfg_tasks=this._client.cfg_tasks}_injectAuthHeader(){let e=this._client.request.bind(this._client);this._client.request=async(t,s,i)=>{let n=this.getToken();return e(t,s,{...i,headers:{...(null==i?void 0:i.headers)||{},...n?{Authorization:"Bearer ".concat(n)}:{}}})}}getToken(){return this.storage.getItem(e_)}getRefreshToken(){return this.storage.getItem(eb)}setToken(e,t){this._token=e,this.storage.setItem(e_,e),t&&(this._refreshToken=t,this.storage.setItem(eb,t)),this._reinitClients()}clearTokens(){this._token=null,this._refreshToken=null,this.storage.removeItem(e_),this.storage.removeItem(eb),this._reinitClients()}isAuthenticated(){return!!this.getToken()}setBaseUrl(e){this.baseUrl=e,this._reinitClients()}getBaseUrl(){return this.baseUrl}getSchema(){return M}constructor(e,t){var s,i;this._token=null,this._refreshToken=null,this.baseUrl=e,this.options=t;let n=(null==t?void 0:t.loggerConfig)?new $(t.loggerConfig):void 0;this.storage=(null==t?void 0:t.storage)||new N(n),this._loadTokensFromStorage(),this._client=new U(this.baseUrl,{retryConfig:null==(s=this.options)?void 0:s.retryConfig,loggerConfig:null==(i=this.options)?void 0:i.loggerConfig}),this._injectAuthHeader(),this.cfg_auth=this._client.cfg_auth,this.cfg_bulk_email=this._client.cfg_bulk_email,this.cfg_campaigns=this._client.cfg_campaigns,this.cfg_centrifugo_admin_api=this._client.cfg_centrifugo_admin_api,this.cfg_centrifugo_monitoring=this._client.cfg_centrifugo_monitoring,this.cfg_centrifugo_testing=this._client.cfg_centrifugo_testing,this.cfg_dashboard_api_zones=this._client.cfg_dashboard_api_zones,this.cfg_dashboard_activity=this._client.cfg_dashboard_activity,this.cfg_dashboard_charts=this._client.cfg_dashboard_charts,this.cfg_dashboard_commands=this._client.cfg_dashboard_commands,this.cfg_dashboard_overview=this._client.cfg_dashboard_overview,this.cfg_dashboard_statistics=this._client.cfg_dashboard_statistics,this.cfg_dashboard_system=this._client.cfg_dashboard_system,this.cfg_lead_submission=this._client.cfg_lead_submission,this.cfg_logs=this._client.cfg_logs,this.cfg_newsletters=this._client.cfg_newsletters,this.cfg_subscriptions=this._client.cfg_subscriptions,this.cfg_testing=this._client.cfg_testing,this.cfg_user_profile=this._client.cfg_user_profile,this.cfg_accounts=this._client.cfg_accounts,this.cfg_centrifugo=this._client.cfg_centrifugo,this.cfg_endpoints=this._client.cfg_endpoints,this.cfg_health=this._client.cfg_health,this.cfg_knowbase=this._client.cfg_knowbase,this.cfg_leads=this._client.cfg_leads,this.cfg_newsletter=this._client.cfg_newsletter,this.cfg_payments=this._client.cfg_payments,this.cfg_support=this._client.cfg_support,this.cfg_tasks=this._client.cfg_tasks}}},85449:(e,t,s)=>{s.d(t,{G3:()=>r,Ly:()=>a,zr:()=>o});var i=s(7379),n=s(91793);function a(e){return(0,i.Ay)("cfg-dashboard-api-statistics-apps",()=>n.AP(e))}function r(e){return(0,i.Ay)("cfg-dashboard-api-statistics-cards",()=>n.F9(e))}function o(e){return(0,i.Ay)("cfg-dashboard-api-statistics-user",()=>n.Mr(e))}},85805:(e,t,s)=>{s.d(t,{z:()=>n});var i=s(23309);let n=i.Ikc({channels:i.g1P(i.YjP(),i.bzn())})},87621:(e,t,s)=>{s.d(t,{J:()=>r});var i=s(23309),n=s(38258),a=s(30147);let r=i.Ikc({error:n.e.optional(),result:a.h.optional()})},91793:(e,t,s)=>{s.d(t,{AP:()=>a,F9:()=>r,Mr:()=>o});var i=s(46402),n=s(2509);async function a(e){let t=e||(0,n.CB)();return await t.cfg_dashboard_statistics.dashboardApiStatisticsAppsList()}async function r(e){let t=e||(0,n.CB)();return await t.cfg_dashboard_statistics.dashboardApiStatisticsCardsList()}async function o(e){let t=e||(0,n.CB)(),s=await t.cfg_dashboard_statistics.dashboardApiStatisticsUsersRetrieve();return i.M.parse(s)}},94678:(e,t,s)=>{s.d(t,{m:()=>n});var i=s(23309);let n=i.Ikc({status:i.YjP(),wrapper_url:i.YjP(),has_api_key:i.zMY(),timestamp:i.YjP()})},95734:(e,t,s)=>{s.d(t,{G:()=>n});var i=s(23309);let n=i.Ikc({label:i.YjP(),data:i.YOg(i.Whr()),backgroundColor:i.YjP(),borderColor:i.YjP(),tension:i.aig(),fill:i.zMY().optional()})},96168:(e,t,s)=>{s.d(t,{X:()=>r,z:()=>a});var i=s(64330),n=s(2509);async function a(e){let t=e||(0,n.CB)();return await t.cfg_dashboard_commands.dashboardApiCommandsList()}async function r(e){let t=e||(0,n.CB)(),s=await t.cfg_dashboard_commands.dashboardApiCommandsSummaryRetrieve();return i.q.parse(s)}},96841:(e,t,s)=>{s.d(t,{L:()=>a});var i=s(23309),n=s(36028);let a=i.Ikc({channels:i.YOg(n.i),total_channels:i.Whr()})},97523:(e,t,s)=>{s.d(t,{z:()=>n});var i=s(23309);let n=i.Ikc({num_clients:i.Whr(),num_users:i.Whr()})},98315:(e,t,s)=>{s.d(t,{R:()=>n});var i=s(23309);let n=i.Ikc({message_id:i.YjP(),client_id:i.YjP()})},98970:(e,t,s)=>{s.d(t,{D:()=>n,L:()=>i});class i extends Error{get details(){return"object"==typeof this.response&&null!==this.response?this.response:null}get fieldErrors(){let e=this.details;if(!e)return null;let t={};for(let[s,i]of Object.entries(e))Array.isArray(i)&&(t[s]=i);return Object.keys(t).length>0?t:null}get errorMessage(){let e=this.details;if(!e)return this.message;if(e.detail)return Array.isArray(e.detail)?e.detail.join(", "):String(e.detail);if(e.message)return String(e.message);let t=this.fieldErrors;if(t){let e=Object.keys(t)[0];if(e){var s;return"".concat(e,": ").concat(null==(s=t[e])?void 0:s.join(", "))}}return this.message}get isValidationError(){return 400===this.statusCode}get isAuthError(){return 401===this.statusCode}get isPermissionError(){return 403===this.statusCode}get isNotFoundError(){return 404===this.statusCode}get isServerError(){return this.statusCode>=500&&this.statusCode<600}constructor(e,t,s,i,n){super(n||"HTTP ".concat(e,": ").concat(t)),this.statusCode=e,this.statusText=t,this.response=s,this.url=i,this.name="APIError"}}class n extends Error{constructor(e,t,s){super(e),this.url=t,this.originalError=s,this.name="NetworkError"}}}}]);