@djangocfg/api 1.2.18 → 1.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -884,6 +884,105 @@ var CfgEndpoints = class {
884
884
  // src/cfg/generated/cfg__endpoints/models.ts
885
885
  var models_exports23 = {};
886
886
 
887
+ // src/cfg/generated/cfg__grpc__grpc_monitoring/client.ts
888
+ var CfgGrpcMonitoring = class {
889
+ constructor(client) {
890
+ this.client = client;
891
+ }
892
+ /**
893
+ * Get gRPC health status
894
+ *
895
+ * Returns the current health status of the gRPC server.
896
+ */
897
+ async grpcMonitorHealthRetrieve() {
898
+ const response = await this.client.request("GET", "/cfg/grpc/monitor/health/");
899
+ return response;
900
+ }
901
+ /**
902
+ * Get method statistics
903
+ *
904
+ * Returns statistics grouped by method.
905
+ */
906
+ async grpcMonitorMethodsRetrieve(...args) {
907
+ const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
908
+ let params;
909
+ if (isParamsObject) {
910
+ params = args[0];
911
+ } else {
912
+ params = { hours: args[0], service: args[1] };
913
+ }
914
+ const response = await this.client.request("GET", "/cfg/grpc/monitor/methods/", { params });
915
+ return response.results || [];
916
+ }
917
+ /**
918
+ * Get overview statistics
919
+ *
920
+ * Returns overview statistics for gRPC requests.
921
+ */
922
+ async grpcMonitorOverviewRetrieve(...args) {
923
+ const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
924
+ let params;
925
+ if (isParamsObject) {
926
+ params = args[0];
927
+ } else {
928
+ params = { hours: args[0] };
929
+ }
930
+ const response = await this.client.request("GET", "/cfg/grpc/monitor/overview/", { params });
931
+ return response;
932
+ }
933
+ /**
934
+ * Get recent requests
935
+ *
936
+ * Returns a list of recent gRPC requests with their details.
937
+ */
938
+ async grpcMonitorRequestsRetrieve(...args) {
939
+ const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
940
+ let params;
941
+ if (isParamsObject) {
942
+ params = args[0];
943
+ } else {
944
+ params = { count: args[0], method: args[1], offset: args[2], service: args[3], status: args[4] };
945
+ }
946
+ const response = await this.client.request("GET", "/cfg/grpc/monitor/requests/", { params });
947
+ return response;
948
+ }
949
+ /**
950
+ * Get service statistics
951
+ *
952
+ * Returns statistics grouped by service.
953
+ */
954
+ async grpcMonitorServicesRetrieve(...args) {
955
+ const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
956
+ let params;
957
+ if (isParamsObject) {
958
+ params = args[0];
959
+ } else {
960
+ params = { hours: args[0] };
961
+ }
962
+ const response = await this.client.request("GET", "/cfg/grpc/monitor/services/", { params });
963
+ return response.results || [];
964
+ }
965
+ /**
966
+ * Get request timeline
967
+ *
968
+ * Returns hourly or daily breakdown of request counts for charts.
969
+ */
970
+ async grpcMonitorTimelineRetrieve(...args) {
971
+ const isParamsObject = args.length === 1 && typeof args[0] === "object" && args[0] !== null && !Array.isArray(args[0]);
972
+ let params;
973
+ if (isParamsObject) {
974
+ params = args[0];
975
+ } else {
976
+ params = { hours: args[0], interval: args[1] };
977
+ }
978
+ const response = await this.client.request("GET", "/cfg/grpc/monitor/timeline/", { params });
979
+ return response;
980
+ }
981
+ };
982
+
983
+ // src/cfg/generated/cfg__grpc__grpc_monitoring/models.ts
984
+ var models_exports24 = {};
985
+
887
986
  // src/cfg/generated/cfg__health/client.ts
888
987
  var CfgHealth = class {
889
988
  constructor(client) {
@@ -906,7 +1005,7 @@ var CfgHealth = class {
906
1005
  };
907
1006
 
908
1007
  // src/cfg/generated/cfg__health/models.ts
909
- var models_exports24 = {};
1008
+ var models_exports25 = {};
910
1009
 
911
1010
  // src/cfg/generated/cfg__knowbase/client.ts
912
1011
  var CfgKnowbase = class {
@@ -1467,7 +1566,7 @@ var CfgKnowbase = class {
1467
1566
  };
1468
1567
 
1469
1568
  // src/cfg/generated/cfg__knowbase/models.ts
1470
- var models_exports25 = {};
1569
+ var models_exports26 = {};
1471
1570
 
1472
1571
  // src/cfg/generated/cfg__leads/client.ts
1473
1572
  var CfgLeads = class {
@@ -1532,7 +1631,7 @@ var CfgLeads = class {
1532
1631
  };
1533
1632
 
1534
1633
  // src/cfg/generated/cfg__leads/models.ts
1535
- var models_exports26 = {};
1634
+ var models_exports27 = {};
1536
1635
 
1537
1636
  // src/cfg/generated/cfg__newsletter/client.ts
1538
1637
  var CfgNewsletter = class {
@@ -1563,7 +1662,7 @@ var CfgNewsletter = class {
1563
1662
  };
1564
1663
 
1565
1664
  // src/cfg/generated/cfg__newsletter/models.ts
1566
- var models_exports27 = {};
1665
+ var models_exports28 = {};
1567
1666
 
1568
1667
  // src/cfg/generated/cfg__payments/client.ts
1569
1668
  var CfgPayments = class {
@@ -1661,7 +1760,7 @@ var CfgPayments = class {
1661
1760
  };
1662
1761
 
1663
1762
  // src/cfg/generated/cfg__payments/models.ts
1664
- var models_exports28 = {};
1763
+ var models_exports29 = {};
1665
1764
 
1666
1765
  // src/cfg/generated/cfg__support/client.ts
1667
1766
  var CfgSupport = class {
@@ -1788,7 +1887,7 @@ var CfgSupport = class {
1788
1887
  };
1789
1888
 
1790
1889
  // src/cfg/generated/cfg__support/models.ts
1791
- var models_exports29 = {};
1890
+ var models_exports30 = {};
1792
1891
 
1793
1892
  // src/cfg/generated/cfg__tasks/client.ts
1794
1893
  var CfgTasks = class {
@@ -1878,7 +1977,7 @@ var CfgTasks = class {
1878
1977
  };
1879
1978
 
1880
1979
  // src/cfg/generated/cfg__tasks/models.ts
1881
- var models_exports30 = {};
1980
+ var models_exports31 = {};
1882
1981
 
1883
1982
  // src/cfg/generated/http.ts
1884
1983
  var FetchAdapter = class {
@@ -2260,6 +2359,7 @@ var APIClient = class {
2260
2359
  this.cfg_centrifugo = new CfgCentrifugo(this);
2261
2360
  this.cfg_dashboard = new CfgDashboard(this);
2262
2361
  this.cfg_endpoints = new CfgEndpoints(this);
2362
+ this.cfg_grpc_monitoring = new CfgGrpcMonitoring(this);
2263
2363
  this.cfg_health = new CfgHealth(this);
2264
2364
  this.cfg_knowbase = new CfgKnowbase(this);
2265
2365
  this.cfg_leads = new CfgLeads(this);
@@ -6250,6 +6350,88 @@ var OPENAPI_SCHEMA = {
6250
6350
  ],
6251
6351
  "type": "object"
6252
6352
  },
6353
+ "MethodList": {
6354
+ "description": "List of gRPC methods with statistics.",
6355
+ "properties": {
6356
+ "methods": {
6357
+ "description": "Method statistics",
6358
+ "items": {
6359
+ "$ref": "#/components/schemas/MethodStatsSerializer"
6360
+ },
6361
+ "title": "Methods",
6362
+ "type": "array"
6363
+ },
6364
+ "total_methods": {
6365
+ "description": "Total number of methods",
6366
+ "title": "Total Methods",
6367
+ "type": "integer"
6368
+ }
6369
+ },
6370
+ "required": [
6371
+ "methods",
6372
+ "total_methods"
6373
+ ],
6374
+ "title": "MethodListSerializer",
6375
+ "type": "object"
6376
+ },
6377
+ "MethodStatsSerializer": {
6378
+ "description": "Statistics for a single gRPC method.",
6379
+ "properties": {
6380
+ "avg_duration_ms": {
6381
+ "description": "Average duration",
6382
+ "title": "Avg Duration Ms",
6383
+ "type": "number"
6384
+ },
6385
+ "errors": {
6386
+ "description": "Error requests",
6387
+ "title": "Errors",
6388
+ "type": "integer"
6389
+ },
6390
+ "last_activity_at": {
6391
+ "anyOf": [
6392
+ {
6393
+ "type": "string"
6394
+ },
6395
+ {
6396
+ "type": "null"
6397
+ }
6398
+ ],
6399
+ "description": "Last activity timestamp",
6400
+ "title": "Last Activity At"
6401
+ },
6402
+ "method_name": {
6403
+ "description": "Method name",
6404
+ "title": "Method Name",
6405
+ "type": "string"
6406
+ },
6407
+ "service_name": {
6408
+ "description": "Service name",
6409
+ "title": "Service Name",
6410
+ "type": "string"
6411
+ },
6412
+ "successful": {
6413
+ "description": "Successful requests",
6414
+ "title": "Successful",
6415
+ "type": "integer"
6416
+ },
6417
+ "total": {
6418
+ "description": "Total requests",
6419
+ "title": "Total",
6420
+ "type": "integer"
6421
+ }
6422
+ },
6423
+ "required": [
6424
+ "method_name",
6425
+ "service_name",
6426
+ "total",
6427
+ "successful",
6428
+ "errors",
6429
+ "avg_duration_ms",
6430
+ "last_activity_at"
6431
+ ],
6432
+ "title": "MethodStatsSerializer",
6433
+ "type": "object"
6434
+ },
6253
6435
  "Newsletter": {
6254
6436
  "description": "Serializer for Newsletter model.",
6255
6437
  "properties": {
@@ -8716,6 +8898,49 @@ var OPENAPI_SCHEMA = {
8716
8898
  "title": "RecentPublishesSerializer",
8717
8899
  "type": "object"
8718
8900
  },
8901
+ "RecentRequests": {
8902
+ "description": "Recent gRPC requests list.",
8903
+ "properties": {
8904
+ "count": {
8905
+ "description": "Number of requests returned",
8906
+ "title": "Count",
8907
+ "type": "integer"
8908
+ },
8909
+ "has_more": {
8910
+ "default": false,
8911
+ "description": "Whether more results are available",
8912
+ "title": "Has More",
8913
+ "type": "boolean"
8914
+ },
8915
+ "offset": {
8916
+ "default": 0,
8917
+ "description": "Current offset for pagination",
8918
+ "title": "Offset",
8919
+ "type": "integer"
8920
+ },
8921
+ "requests": {
8922
+ "description": "List of recent requests",
8923
+ "items": {
8924
+ "additionalProperties": true,
8925
+ "type": "object"
8926
+ },
8927
+ "title": "Requests",
8928
+ "type": "array"
8929
+ },
8930
+ "total_available": {
8931
+ "description": "Total requests available",
8932
+ "title": "Total Available",
8933
+ "type": "integer"
8934
+ }
8935
+ },
8936
+ "required": [
8937
+ "requests",
8938
+ "count",
8939
+ "total_available"
8940
+ ],
8941
+ "title": "RecentRequestsSerializer",
8942
+ "type": "object"
8943
+ },
8719
8944
  "RecentUser": {
8720
8945
  "description": "Recent user serializer.",
8721
8946
  "properties": {
@@ -8841,6 +9066,82 @@ var OPENAPI_SCHEMA = {
8841
9066
  ],
8842
9067
  "type": "object"
8843
9068
  },
9069
+ "ServiceList": {
9070
+ "description": "List of gRPC services with statistics.",
9071
+ "properties": {
9072
+ "services": {
9073
+ "description": "Service statistics",
9074
+ "items": {
9075
+ "$ref": "#/components/schemas/ServiceStatsSerializer"
9076
+ },
9077
+ "title": "Services",
9078
+ "type": "array"
9079
+ },
9080
+ "total_services": {
9081
+ "description": "Total number of services",
9082
+ "title": "Total Services",
9083
+ "type": "integer"
9084
+ }
9085
+ },
9086
+ "required": [
9087
+ "services",
9088
+ "total_services"
9089
+ ],
9090
+ "title": "ServiceListSerializer",
9091
+ "type": "object"
9092
+ },
9093
+ "ServiceStatsSerializer": {
9094
+ "description": "Statistics for a single gRPC service.",
9095
+ "properties": {
9096
+ "avg_duration_ms": {
9097
+ "description": "Average duration",
9098
+ "title": "Avg Duration Ms",
9099
+ "type": "number"
9100
+ },
9101
+ "errors": {
9102
+ "description": "Error requests",
9103
+ "title": "Errors",
9104
+ "type": "integer"
9105
+ },
9106
+ "last_activity_at": {
9107
+ "anyOf": [
9108
+ {
9109
+ "type": "string"
9110
+ },
9111
+ {
9112
+ "type": "null"
9113
+ }
9114
+ ],
9115
+ "description": "Last activity timestamp",
9116
+ "title": "Last Activity At"
9117
+ },
9118
+ "service_name": {
9119
+ "description": "Service name",
9120
+ "title": "Service Name",
9121
+ "type": "string"
9122
+ },
9123
+ "successful": {
9124
+ "description": "Successful requests",
9125
+ "title": "Successful",
9126
+ "type": "integer"
9127
+ },
9128
+ "total": {
9129
+ "description": "Total requests",
9130
+ "title": "Total",
9131
+ "type": "integer"
9132
+ }
9133
+ },
9134
+ "required": [
9135
+ "service_name",
9136
+ "total",
9137
+ "successful",
9138
+ "errors",
9139
+ "avg_duration_ms",
9140
+ "last_activity_at"
9141
+ ],
9142
+ "title": "ServiceStatsSerializer",
9143
+ "type": "object"
9144
+ },
8844
9145
  "StatCard": {
8845
9146
  "description": "Serializer for dashboard statistics cards.\n\nMaps to StatCard Pydantic model.",
8846
9147
  "properties": {
@@ -10261,7 +10562,8 @@ var OPENAPI_SCHEMA = {
10261
10562
  "django_cfg_agents",
10262
10563
  "tasks",
10263
10564
  "payments",
10264
- "django_cfg_centrifugo"
10565
+ "django_cfg_centrifugo",
10566
+ "grpc"
10265
10567
  ],
10266
10568
  "generator": "django-client",
10267
10569
  "generator_version": "1.0.0",
@@ -12707,10 +13009,10 @@ var OPENAPI_SCHEMA = {
12707
13009
  "x-async-capable": false
12708
13010
  }
12709
13011
  },
12710
- "/cfg/health/drf/": {
13012
+ "/cfg/grpc/monitor/health/": {
12711
13013
  "get": {
12712
- "description": "Return comprehensive health check data.",
12713
- "operationId": "cfg_health_drf_retrieve",
13014
+ "description": "Returns the current health status of the gRPC server.",
13015
+ "operationId": "cfg_grpc_monitor_health_retrieve",
12714
13016
  "responses": {
12715
13017
  "200": {
12716
13018
  "content": {
@@ -12721,30 +13023,12 @@ var OPENAPI_SCHEMA = {
12721
13023
  }
12722
13024
  },
12723
13025
  "description": ""
12724
- }
12725
- },
12726
- "security": [
12727
- {
12728
- "jwtAuth": []
12729
13026
  },
12730
- {}
12731
- ],
12732
- "tags": [
12733
- "health"
12734
- ],
12735
- "x-async-capable": false
12736
- }
12737
- },
12738
- "/cfg/health/drf/quick/": {
12739
- "get": {
12740
- "description": "Return minimal health status.",
12741
- "operationId": "cfg_health_drf_quick_retrieve",
12742
- "responses": {
12743
- "200": {
13027
+ "503": {
12744
13028
  "content": {
12745
13029
  "application/json": {
12746
13030
  "schema": {
12747
- "$ref": "#/components/schemas/QuickHealth"
13031
+ "description": "Service unavailable"
12748
13032
  }
12749
13033
  }
12750
13034
  },
@@ -12755,12 +13039,392 @@ var OPENAPI_SCHEMA = {
12755
13039
  {
12756
13040
  "jwtAuth": []
12757
13041
  },
12758
- {}
12759
- ],
12760
- "tags": [
12761
- "health"
12762
- ],
12763
- "x-async-capable": false
13042
+ {
13043
+ "cookieAuth": []
13044
+ },
13045
+ {
13046
+ "basicAuth": []
13047
+ }
13048
+ ],
13049
+ "summary": "Get gRPC health status",
13050
+ "tags": [
13051
+ "gRPC Monitoring"
13052
+ ],
13053
+ "x-async-capable": false
13054
+ }
13055
+ },
13056
+ "/cfg/grpc/monitor/methods/": {
13057
+ "get": {
13058
+ "description": "Returns statistics grouped by method.",
13059
+ "operationId": "cfg_grpc_monitor_methods_retrieve",
13060
+ "parameters": [
13061
+ {
13062
+ "description": "Statistics period in hours (default: 24)",
13063
+ "in": "query",
13064
+ "name": "hours",
13065
+ "schema": {
13066
+ "type": "integer"
13067
+ }
13068
+ },
13069
+ {
13070
+ "description": "Filter by service name",
13071
+ "in": "query",
13072
+ "name": "service",
13073
+ "schema": {
13074
+ "type": "string"
13075
+ }
13076
+ }
13077
+ ],
13078
+ "responses": {
13079
+ "200": {
13080
+ "content": {
13081
+ "application/json": {
13082
+ "schema": {
13083
+ "$ref": "#/components/schemas/MethodList"
13084
+ }
13085
+ }
13086
+ },
13087
+ "description": ""
13088
+ },
13089
+ "400": {
13090
+ "content": {
13091
+ "application/json": {
13092
+ "schema": {
13093
+ "description": "Invalid parameters"
13094
+ }
13095
+ }
13096
+ },
13097
+ "description": ""
13098
+ }
13099
+ },
13100
+ "security": [
13101
+ {
13102
+ "jwtAuth": []
13103
+ },
13104
+ {
13105
+ "cookieAuth": []
13106
+ },
13107
+ {
13108
+ "basicAuth": []
13109
+ }
13110
+ ],
13111
+ "summary": "Get method statistics",
13112
+ "tags": [
13113
+ "gRPC Monitoring"
13114
+ ],
13115
+ "x-async-capable": false
13116
+ }
13117
+ },
13118
+ "/cfg/grpc/monitor/overview/": {
13119
+ "get": {
13120
+ "description": "Returns overview statistics for gRPC requests.",
13121
+ "operationId": "cfg_grpc_monitor_overview_retrieve",
13122
+ "parameters": [
13123
+ {
13124
+ "description": "Statistics period in hours (default: 24)",
13125
+ "in": "query",
13126
+ "name": "hours",
13127
+ "schema": {
13128
+ "type": "integer"
13129
+ }
13130
+ }
13131
+ ],
13132
+ "responses": {
13133
+ "200": {
13134
+ "content": {
13135
+ "application/json": {
13136
+ "schema": {
13137
+ "$ref": "#/components/schemas/OverviewStats"
13138
+ }
13139
+ }
13140
+ },
13141
+ "description": ""
13142
+ },
13143
+ "400": {
13144
+ "content": {
13145
+ "application/json": {
13146
+ "schema": {
13147
+ "description": "Invalid parameters"
13148
+ }
13149
+ }
13150
+ },
13151
+ "description": ""
13152
+ }
13153
+ },
13154
+ "security": [
13155
+ {
13156
+ "jwtAuth": []
13157
+ },
13158
+ {
13159
+ "cookieAuth": []
13160
+ },
13161
+ {
13162
+ "basicAuth": []
13163
+ }
13164
+ ],
13165
+ "summary": "Get overview statistics",
13166
+ "tags": [
13167
+ "gRPC Monitoring"
13168
+ ],
13169
+ "x-async-capable": false
13170
+ }
13171
+ },
13172
+ "/cfg/grpc/monitor/requests/": {
13173
+ "get": {
13174
+ "description": "Returns a list of recent gRPC requests with their details.",
13175
+ "operationId": "cfg_grpc_monitor_requests_retrieve",
13176
+ "parameters": [
13177
+ {
13178
+ "description": "Number of requests to return (default: 50, max: 200)",
13179
+ "in": "query",
13180
+ "name": "count",
13181
+ "schema": {
13182
+ "type": "integer"
13183
+ }
13184
+ },
13185
+ {
13186
+ "description": "Filter by method name",
13187
+ "in": "query",
13188
+ "name": "method",
13189
+ "schema": {
13190
+ "type": "string"
13191
+ }
13192
+ },
13193
+ {
13194
+ "description": "Offset for pagination (default: 0)",
13195
+ "in": "query",
13196
+ "name": "offset",
13197
+ "schema": {
13198
+ "type": "integer"
13199
+ }
13200
+ },
13201
+ {
13202
+ "description": "Filter by service name",
13203
+ "in": "query",
13204
+ "name": "service",
13205
+ "schema": {
13206
+ "type": "string"
13207
+ }
13208
+ },
13209
+ {
13210
+ "description": "Filter by status (success, error, timeout, pending, cancelled)",
13211
+ "in": "query",
13212
+ "name": "status",
13213
+ "schema": {
13214
+ "type": "string"
13215
+ }
13216
+ }
13217
+ ],
13218
+ "responses": {
13219
+ "200": {
13220
+ "content": {
13221
+ "application/json": {
13222
+ "schema": {
13223
+ "$ref": "#/components/schemas/RecentRequests"
13224
+ }
13225
+ }
13226
+ },
13227
+ "description": ""
13228
+ },
13229
+ "400": {
13230
+ "content": {
13231
+ "application/json": {
13232
+ "schema": {
13233
+ "description": "Invalid parameters"
13234
+ }
13235
+ }
13236
+ },
13237
+ "description": ""
13238
+ }
13239
+ },
13240
+ "security": [
13241
+ {
13242
+ "jwtAuth": []
13243
+ },
13244
+ {
13245
+ "cookieAuth": []
13246
+ },
13247
+ {
13248
+ "basicAuth": []
13249
+ }
13250
+ ],
13251
+ "summary": "Get recent requests",
13252
+ "tags": [
13253
+ "gRPC Monitoring"
13254
+ ],
13255
+ "x-async-capable": false
13256
+ }
13257
+ },
13258
+ "/cfg/grpc/monitor/services/": {
13259
+ "get": {
13260
+ "description": "Returns statistics grouped by service.",
13261
+ "operationId": "cfg_grpc_monitor_services_retrieve",
13262
+ "parameters": [
13263
+ {
13264
+ "description": "Statistics period in hours (default: 24)",
13265
+ "in": "query",
13266
+ "name": "hours",
13267
+ "schema": {
13268
+ "type": "integer"
13269
+ }
13270
+ }
13271
+ ],
13272
+ "responses": {
13273
+ "200": {
13274
+ "content": {
13275
+ "application/json": {
13276
+ "schema": {
13277
+ "$ref": "#/components/schemas/ServiceList"
13278
+ }
13279
+ }
13280
+ },
13281
+ "description": ""
13282
+ },
13283
+ "400": {
13284
+ "content": {
13285
+ "application/json": {
13286
+ "schema": {
13287
+ "description": "Invalid parameters"
13288
+ }
13289
+ }
13290
+ },
13291
+ "description": ""
13292
+ }
13293
+ },
13294
+ "security": [
13295
+ {
13296
+ "jwtAuth": []
13297
+ },
13298
+ {
13299
+ "cookieAuth": []
13300
+ },
13301
+ {
13302
+ "basicAuth": []
13303
+ }
13304
+ ],
13305
+ "summary": "Get service statistics",
13306
+ "tags": [
13307
+ "gRPC Monitoring"
13308
+ ],
13309
+ "x-async-capable": false
13310
+ }
13311
+ },
13312
+ "/cfg/grpc/monitor/timeline/": {
13313
+ "get": {
13314
+ "description": "Returns hourly or daily breakdown of request counts for charts.",
13315
+ "operationId": "cfg_grpc_monitor_timeline_retrieve",
13316
+ "parameters": [
13317
+ {
13318
+ "description": "Time period in hours (default: 24)",
13319
+ "in": "query",
13320
+ "name": "hours",
13321
+ "schema": {
13322
+ "type": "integer"
13323
+ }
13324
+ },
13325
+ {
13326
+ "description": "Time interval: 'hour' or 'day' (default: hour)",
13327
+ "in": "query",
13328
+ "name": "interval",
13329
+ "schema": {
13330
+ "type": "string"
13331
+ }
13332
+ }
13333
+ ],
13334
+ "responses": {
13335
+ "200": {
13336
+ "content": {
13337
+ "application/json": {
13338
+ "schema": {
13339
+ "description": "Timeline data"
13340
+ }
13341
+ }
13342
+ },
13343
+ "description": ""
13344
+ },
13345
+ "400": {
13346
+ "content": {
13347
+ "application/json": {
13348
+ "schema": {
13349
+ "description": "Invalid parameters"
13350
+ }
13351
+ }
13352
+ },
13353
+ "description": ""
13354
+ }
13355
+ },
13356
+ "security": [
13357
+ {
13358
+ "jwtAuth": []
13359
+ },
13360
+ {
13361
+ "cookieAuth": []
13362
+ },
13363
+ {
13364
+ "basicAuth": []
13365
+ }
13366
+ ],
13367
+ "summary": "Get request timeline",
13368
+ "tags": [
13369
+ "gRPC Monitoring"
13370
+ ],
13371
+ "x-async-capable": false
13372
+ }
13373
+ },
13374
+ "/cfg/health/drf/": {
13375
+ "get": {
13376
+ "description": "Return comprehensive health check data.",
13377
+ "operationId": "cfg_health_drf_retrieve",
13378
+ "responses": {
13379
+ "200": {
13380
+ "content": {
13381
+ "application/json": {
13382
+ "schema": {
13383
+ "$ref": "#/components/schemas/HealthCheck"
13384
+ }
13385
+ }
13386
+ },
13387
+ "description": ""
13388
+ }
13389
+ },
13390
+ "security": [
13391
+ {
13392
+ "jwtAuth": []
13393
+ },
13394
+ {}
13395
+ ],
13396
+ "tags": [
13397
+ "health"
13398
+ ],
13399
+ "x-async-capable": false
13400
+ }
13401
+ },
13402
+ "/cfg/health/drf/quick/": {
13403
+ "get": {
13404
+ "description": "Return minimal health status.",
13405
+ "operationId": "cfg_health_drf_quick_retrieve",
13406
+ "responses": {
13407
+ "200": {
13408
+ "content": {
13409
+ "application/json": {
13410
+ "schema": {
13411
+ "$ref": "#/components/schemas/QuickHealth"
13412
+ }
13413
+ }
13414
+ },
13415
+ "description": ""
13416
+ }
13417
+ },
13418
+ "security": [
13419
+ {
13420
+ "jwtAuth": []
13421
+ },
13422
+ {}
13423
+ ],
13424
+ "tags": [
13425
+ "health"
13426
+ ],
13427
+ "x-async-capable": false
12764
13428
  }
12765
13429
  },
12766
13430
  "/cfg/knowbase/admin/chat/": {
@@ -18833,6 +19497,8 @@ __export(schemas_exports, {
18833
19497
  MessageCreateSchema: () => MessageCreateSchema,
18834
19498
  MessageRequestSchema: () => MessageRequestSchema,
18835
19499
  MessageSchema: () => MessageSchema,
19500
+ MethodListSchema: () => MethodListSchema,
19501
+ MethodStatsSerializerSchema: () => MethodStatsSerializerSchema,
18836
19502
  NewsletterCampaignRequestSchema: () => NewsletterCampaignRequestSchema,
18837
19503
  NewsletterCampaignSchema: () => NewsletterCampaignSchema,
18838
19504
  NewsletterSchema: () => NewsletterSchema,
@@ -18883,10 +19549,13 @@ __export(schemas_exports, {
18883
19549
  QuickActionSchema: () => QuickActionSchema,
18884
19550
  QuickHealthSchema: () => QuickHealthSchema,
18885
19551
  RecentPublishesSchema: () => RecentPublishesSchema,
19552
+ RecentRequestsSchema: () => RecentRequestsSchema,
18886
19553
  RecentUserSchema: () => RecentUserSchema,
18887
19554
  SendCampaignRequestSchema: () => SendCampaignRequestSchema,
18888
19555
  SendCampaignResponseSchema: () => SendCampaignResponseSchema,
18889
19556
  SenderSchema: () => SenderSchema,
19557
+ ServiceListSchema: () => ServiceListSchema,
19558
+ ServiceStatsSerializerSchema: () => ServiceStatsSerializerSchema,
18890
19559
  StatCardSchema: () => StatCardSchema,
18891
19560
  SubscribeRequestSchema: () => SubscribeRequestSchema,
18892
19561
  SubscribeResponseSchema: () => SubscribeResponseSchema,
@@ -19976,169 +20645,162 @@ var MessageRequestSchema = z96.object({
19976
20645
  text: z96.string().min(1)
19977
20646
  });
19978
20647
 
19979
- // src/cfg/generated/_utils/schemas/Newsletter.schema.ts
20648
+ // src/cfg/generated/_utils/schemas/MethodList.schema.ts
20649
+ import { z as z98 } from "zod";
20650
+
20651
+ // src/cfg/generated/_utils/schemas/MethodStatsSerializer.schema.ts
19980
20652
  import { z as z97 } from "zod";
19981
- var NewsletterSchema = z97.object({
19982
- id: z97.int(),
19983
- title: z97.string().max(255),
19984
- description: z97.string().optional(),
19985
- is_active: z97.boolean().optional(),
19986
- auto_subscribe: z97.boolean().optional(),
19987
- created_at: z97.iso.datetime(),
19988
- updated_at: z97.iso.datetime(),
19989
- subscribers_count: z97.int()
20653
+ var MethodStatsSerializerSchema = z97.object({
20654
+ method_name: z97.string(),
20655
+ service_name: z97.string(),
20656
+ total: z97.int(),
20657
+ successful: z97.int(),
20658
+ errors: z97.int(),
20659
+ avg_duration_ms: z97.number(),
20660
+ last_activity_at: z97.string().nullable()
19990
20661
  });
19991
20662
 
19992
- // src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
19993
- import { z as z98 } from "zod";
19994
- var NewsletterCampaignSchema = z98.object({
19995
- id: z98.int(),
19996
- newsletter: z98.int(),
19997
- newsletter_title: z98.string(),
19998
- subject: z98.string().max(255),
19999
- email_title: z98.string().max(255),
20000
- main_text: z98.string(),
20001
- main_html_content: z98.string().optional(),
20002
- button_text: z98.string().max(100).optional(),
20003
- button_url: z98.url().optional(),
20004
- secondary_text: z98.string().optional(),
20005
- status: z98.nativeEnum(NewsletterCampaignStatus),
20006
- created_at: z98.iso.datetime(),
20007
- sent_at: z98.iso.datetime().nullable(),
20008
- recipient_count: z98.int()
20663
+ // src/cfg/generated/_utils/schemas/MethodList.schema.ts
20664
+ var MethodListSchema = z98.object({
20665
+ methods: z98.array(MethodStatsSerializerSchema),
20666
+ total_methods: z98.int()
20009
20667
  });
20010
20668
 
20011
- // src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
20669
+ // src/cfg/generated/_utils/schemas/Newsletter.schema.ts
20012
20670
  import { z as z99 } from "zod";
20013
- var NewsletterCampaignRequestSchema = z99.object({
20014
- newsletter: z99.int(),
20015
- subject: z99.string().min(1).max(255),
20016
- email_title: z99.string().min(1).max(255),
20017
- main_text: z99.string().min(1),
20018
- main_html_content: z99.string().optional(),
20019
- button_text: z99.string().max(100).optional(),
20020
- button_url: z99.url().optional(),
20021
- secondary_text: z99.string().optional()
20671
+ var NewsletterSchema = z99.object({
20672
+ id: z99.int(),
20673
+ title: z99.string().max(255),
20674
+ description: z99.string().optional(),
20675
+ is_active: z99.boolean().optional(),
20676
+ auto_subscribe: z99.boolean().optional(),
20677
+ created_at: z99.iso.datetime(),
20678
+ updated_at: z99.iso.datetime(),
20679
+ subscribers_count: z99.int()
20022
20680
  });
20023
20681
 
20024
- // src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
20682
+ // src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
20025
20683
  import { z as z100 } from "zod";
20026
- var NewsletterSubscriptionSchema = z100.object({
20684
+ var NewsletterCampaignSchema = z100.object({
20027
20685
  id: z100.int(),
20028
20686
  newsletter: z100.int(),
20029
20687
  newsletter_title: z100.string(),
20030
- user: z100.int().nullable().optional(),
20031
- user_email: z100.string(),
20032
- email: z100.email(),
20033
- is_active: z100.boolean().optional(),
20034
- subscribed_at: z100.iso.datetime(),
20035
- unsubscribed_at: z100.iso.datetime().nullable()
20688
+ subject: z100.string().max(255),
20689
+ email_title: z100.string().max(255),
20690
+ main_text: z100.string(),
20691
+ main_html_content: z100.string().optional(),
20692
+ button_text: z100.string().max(100).optional(),
20693
+ button_url: z100.url().optional(),
20694
+ secondary_text: z100.string().optional(),
20695
+ status: z100.nativeEnum(NewsletterCampaignStatus),
20696
+ created_at: z100.iso.datetime(),
20697
+ sent_at: z100.iso.datetime().nullable(),
20698
+ recipient_count: z100.int()
20036
20699
  });
20037
20700
 
20038
- // src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
20701
+ // src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
20039
20702
  import { z as z101 } from "zod";
20040
- var OTPErrorResponseSchema = z101.object({
20041
- error: z101.string()
20703
+ var NewsletterCampaignRequestSchema = z101.object({
20704
+ newsletter: z101.int(),
20705
+ subject: z101.string().min(1).max(255),
20706
+ email_title: z101.string().min(1).max(255),
20707
+ main_text: z101.string().min(1),
20708
+ main_html_content: z101.string().optional(),
20709
+ button_text: z101.string().max(100).optional(),
20710
+ button_url: z101.url().optional(),
20711
+ secondary_text: z101.string().optional()
20042
20712
  });
20043
20713
 
20044
- // src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
20714
+ // src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
20045
20715
  import { z as z102 } from "zod";
20046
- var OTPRequestRequestSchema = z102.object({
20047
- identifier: z102.string().min(1),
20048
- channel: z102.nativeEnum(OTPRequestRequestChannel).optional(),
20049
- source_url: z102.url().optional()
20716
+ var NewsletterSubscriptionSchema = z102.object({
20717
+ id: z102.int(),
20718
+ newsletter: z102.int(),
20719
+ newsletter_title: z102.string(),
20720
+ user: z102.int().nullable().optional(),
20721
+ user_email: z102.string(),
20722
+ email: z102.email(),
20723
+ is_active: z102.boolean().optional(),
20724
+ subscribed_at: z102.iso.datetime(),
20725
+ unsubscribed_at: z102.iso.datetime().nullable()
20050
20726
  });
20051
20727
 
20052
- // src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
20728
+ // src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
20053
20729
  import { z as z103 } from "zod";
20054
- var OTPRequestResponseSchema = z103.object({
20055
- message: z103.string()
20730
+ var OTPErrorResponseSchema = z103.object({
20731
+ error: z103.string()
20056
20732
  });
20057
20733
 
20058
- // src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
20734
+ // src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
20059
20735
  import { z as z104 } from "zod";
20060
- var OTPVerifyRequestSchema = z104.object({
20736
+ var OTPRequestRequestSchema = z104.object({
20061
20737
  identifier: z104.string().min(1),
20062
- otp: z104.string().min(6).max(6),
20063
- channel: z104.nativeEnum(OTPVerifyRequestChannel).optional(),
20738
+ channel: z104.nativeEnum(OTPRequestRequestChannel).optional(),
20064
20739
  source_url: z104.url().optional()
20065
20740
  });
20066
20741
 
20067
- // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
20068
- import { z as z106 } from "zod";
20069
-
20070
- // src/cfg/generated/_utils/schemas/User.schema.ts
20742
+ // src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
20071
20743
  import { z as z105 } from "zod";
20072
- var UserSchema = z105.object({
20073
- id: z105.int(),
20074
- email: z105.email(),
20075
- first_name: z105.string().max(50).optional(),
20076
- last_name: z105.string().max(50).optional(),
20077
- full_name: z105.string(),
20078
- initials: z105.string(),
20079
- display_username: z105.string(),
20080
- company: z105.string().max(100).optional(),
20081
- phone: z105.string().max(20).optional(),
20082
- position: z105.string().max(100).optional(),
20083
- avatar: z105.url().nullable(),
20084
- is_staff: z105.boolean(),
20085
- is_superuser: z105.boolean(),
20086
- date_joined: z105.iso.datetime(),
20087
- last_login: z105.iso.datetime().nullable(),
20088
- unanswered_messages_count: z105.int()
20744
+ var OTPRequestResponseSchema = z105.object({
20745
+ message: z105.string()
20089
20746
  });
20090
20747
 
20091
- // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
20092
- var OTPVerifyResponseSchema = z106.object({
20093
- refresh: z106.string(),
20094
- access: z106.string(),
20095
- user: UserSchema
20748
+ // src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
20749
+ import { z as z106 } from "zod";
20750
+ var OTPVerifyRequestSchema = z106.object({
20751
+ identifier: z106.string().min(1),
20752
+ otp: z106.string().min(6).max(6),
20753
+ channel: z106.nativeEnum(OTPVerifyRequestChannel).optional(),
20754
+ source_url: z106.url().optional()
20096
20755
  });
20097
20756
 
20098
- // src/cfg/generated/_utils/schemas/OverviewStats.schema.ts
20757
+ // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
20758
+ import { z as z108 } from "zod";
20759
+
20760
+ // src/cfg/generated/_utils/schemas/User.schema.ts
20099
20761
  import { z as z107 } from "zod";
20100
- var OverviewStatsSchema = z107.object({
20101
- total: z107.int(),
20102
- successful: z107.int(),
20103
- failed: z107.int(),
20104
- timeout: z107.int(),
20105
- success_rate: z107.number(),
20106
- avg_duration_ms: z107.number(),
20107
- avg_acks_received: z107.number(),
20108
- period_hours: z107.int()
20762
+ var UserSchema = z107.object({
20763
+ id: z107.int(),
20764
+ email: z107.email(),
20765
+ first_name: z107.string().max(50).optional(),
20766
+ last_name: z107.string().max(50).optional(),
20767
+ full_name: z107.string(),
20768
+ initials: z107.string(),
20769
+ display_username: z107.string(),
20770
+ company: z107.string().max(100).optional(),
20771
+ phone: z107.string().max(20).optional(),
20772
+ position: z107.string().max(100).optional(),
20773
+ avatar: z107.url().nullable(),
20774
+ is_staff: z107.boolean(),
20775
+ is_superuser: z107.boolean(),
20776
+ date_joined: z107.iso.datetime(),
20777
+ last_login: z107.iso.datetime().nullable(),
20778
+ unanswered_messages_count: z107.int()
20109
20779
  });
20110
20780
 
20111
- // src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
20112
- import { z as z108 } from "zod";
20113
- var PaginatedArchiveItemChunkListSchema = z108.object({
20114
- count: z108.int(),
20115
- page: z108.int(),
20116
- pages: z108.int(),
20117
- page_size: z108.int(),
20118
- has_next: z108.boolean(),
20119
- has_previous: z108.boolean(),
20120
- next_page: z108.int().nullable().optional(),
20121
- previous_page: z108.int().nullable().optional(),
20122
- results: z108.array(ArchiveItemChunkSchema)
20781
+ // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
20782
+ var OTPVerifyResponseSchema = z108.object({
20783
+ refresh: z108.string(),
20784
+ access: z108.string(),
20785
+ user: UserSchema
20123
20786
  });
20124
20787
 
20125
- // src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
20788
+ // src/cfg/generated/_utils/schemas/OverviewStats.schema.ts
20126
20789
  import { z as z109 } from "zod";
20127
- var PaginatedArchiveItemListSchema = z109.object({
20128
- count: z109.int(),
20129
- page: z109.int(),
20130
- pages: z109.int(),
20131
- page_size: z109.int(),
20132
- has_next: z109.boolean(),
20133
- has_previous: z109.boolean(),
20134
- next_page: z109.int().nullable().optional(),
20135
- previous_page: z109.int().nullable().optional(),
20136
- results: z109.array(ArchiveItemSchema)
20790
+ var OverviewStatsSchema = z109.object({
20791
+ total: z109.int(),
20792
+ successful: z109.int(),
20793
+ failed: z109.int(),
20794
+ timeout: z109.int(),
20795
+ success_rate: z109.number(),
20796
+ avg_duration_ms: z109.number(),
20797
+ avg_acks_received: z109.number(),
20798
+ period_hours: z109.int()
20137
20799
  });
20138
20800
 
20139
- // src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
20801
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
20140
20802
  import { z as z110 } from "zod";
20141
- var PaginatedArchiveSearchResultListSchema = z110.object({
20803
+ var PaginatedArchiveItemChunkListSchema = z110.object({
20142
20804
  count: z110.int(),
20143
20805
  page: z110.int(),
20144
20806
  pages: z110.int(),
@@ -20147,12 +20809,12 @@ var PaginatedArchiveSearchResultListSchema = z110.object({
20147
20809
  has_previous: z110.boolean(),
20148
20810
  next_page: z110.int().nullable().optional(),
20149
20811
  previous_page: z110.int().nullable().optional(),
20150
- results: z110.array(ArchiveSearchResultSchema)
20812
+ results: z110.array(ArchiveItemChunkSchema)
20151
20813
  });
20152
20814
 
20153
- // src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
20815
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
20154
20816
  import { z as z111 } from "zod";
20155
- var PaginatedChatResponseListSchema = z111.object({
20817
+ var PaginatedArchiveItemListSchema = z111.object({
20156
20818
  count: z111.int(),
20157
20819
  page: z111.int(),
20158
20820
  pages: z111.int(),
@@ -20161,12 +20823,12 @@ var PaginatedChatResponseListSchema = z111.object({
20161
20823
  has_previous: z111.boolean(),
20162
20824
  next_page: z111.int().nullable().optional(),
20163
20825
  previous_page: z111.int().nullable().optional(),
20164
- results: z111.array(ChatResponseSchema)
20826
+ results: z111.array(ArchiveItemSchema)
20165
20827
  });
20166
20828
 
20167
- // src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
20829
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
20168
20830
  import { z as z112 } from "zod";
20169
- var PaginatedChatSessionListSchema = z112.object({
20831
+ var PaginatedArchiveSearchResultListSchema = z112.object({
20170
20832
  count: z112.int(),
20171
20833
  page: z112.int(),
20172
20834
  pages: z112.int(),
@@ -20175,12 +20837,12 @@ var PaginatedChatSessionListSchema = z112.object({
20175
20837
  has_previous: z112.boolean(),
20176
20838
  next_page: z112.int().nullable().optional(),
20177
20839
  previous_page: z112.int().nullable().optional(),
20178
- results: z112.array(ChatSessionSchema)
20840
+ results: z112.array(ArchiveSearchResultSchema)
20179
20841
  });
20180
20842
 
20181
- // src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
20843
+ // src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
20182
20844
  import { z as z113 } from "zod";
20183
- var PaginatedDocumentArchiveListListSchema = z113.object({
20845
+ var PaginatedChatResponseListSchema = z113.object({
20184
20846
  count: z113.int(),
20185
20847
  page: z113.int(),
20186
20848
  pages: z113.int(),
@@ -20189,12 +20851,12 @@ var PaginatedDocumentArchiveListListSchema = z113.object({
20189
20851
  has_previous: z113.boolean(),
20190
20852
  next_page: z113.int().nullable().optional(),
20191
20853
  previous_page: z113.int().nullable().optional(),
20192
- results: z113.array(DocumentArchiveListSchema)
20854
+ results: z113.array(ChatResponseSchema)
20193
20855
  });
20194
20856
 
20195
- // src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
20857
+ // src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
20196
20858
  import { z as z114 } from "zod";
20197
- var PaginatedDocumentListSchema = z114.object({
20859
+ var PaginatedChatSessionListSchema = z114.object({
20198
20860
  count: z114.int(),
20199
20861
  page: z114.int(),
20200
20862
  pages: z114.int(),
@@ -20203,12 +20865,12 @@ var PaginatedDocumentListSchema = z114.object({
20203
20865
  has_previous: z114.boolean(),
20204
20866
  next_page: z114.int().nullable().optional(),
20205
20867
  previous_page: z114.int().nullable().optional(),
20206
- results: z114.array(DocumentSchema)
20868
+ results: z114.array(ChatSessionSchema)
20207
20869
  });
20208
20870
 
20209
- // src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
20871
+ // src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
20210
20872
  import { z as z115 } from "zod";
20211
- var PaginatedEmailLogListSchema = z115.object({
20873
+ var PaginatedDocumentArchiveListListSchema = z115.object({
20212
20874
  count: z115.int(),
20213
20875
  page: z115.int(),
20214
20876
  pages: z115.int(),
@@ -20217,12 +20879,12 @@ var PaginatedEmailLogListSchema = z115.object({
20217
20879
  has_previous: z115.boolean(),
20218
20880
  next_page: z115.int().nullable().optional(),
20219
20881
  previous_page: z115.int().nullable().optional(),
20220
- results: z115.array(EmailLogSchema)
20882
+ results: z115.array(DocumentArchiveListSchema)
20221
20883
  });
20222
20884
 
20223
- // src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
20885
+ // src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
20224
20886
  import { z as z116 } from "zod";
20225
- var PaginatedLeadSubmissionListSchema = z116.object({
20887
+ var PaginatedDocumentListSchema = z116.object({
20226
20888
  count: z116.int(),
20227
20889
  page: z116.int(),
20228
20890
  pages: z116.int(),
@@ -20231,12 +20893,12 @@ var PaginatedLeadSubmissionListSchema = z116.object({
20231
20893
  has_previous: z116.boolean(),
20232
20894
  next_page: z116.int().nullable().optional(),
20233
20895
  previous_page: z116.int().nullable().optional(),
20234
- results: z116.array(LeadSubmissionSchema)
20896
+ results: z116.array(DocumentSchema)
20235
20897
  });
20236
20898
 
20237
- // src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
20899
+ // src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
20238
20900
  import { z as z117 } from "zod";
20239
- var PaginatedMessageListSchema = z117.object({
20901
+ var PaginatedEmailLogListSchema = z117.object({
20240
20902
  count: z117.int(),
20241
20903
  page: z117.int(),
20242
20904
  pages: z117.int(),
@@ -20245,12 +20907,12 @@ var PaginatedMessageListSchema = z117.object({
20245
20907
  has_previous: z117.boolean(),
20246
20908
  next_page: z117.int().nullable().optional(),
20247
20909
  previous_page: z117.int().nullable().optional(),
20248
- results: z117.array(MessageSchema)
20910
+ results: z117.array(EmailLogSchema)
20249
20911
  });
20250
20912
 
20251
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
20913
+ // src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
20252
20914
  import { z as z118 } from "zod";
20253
- var PaginatedNewsletterCampaignListSchema = z118.object({
20915
+ var PaginatedLeadSubmissionListSchema = z118.object({
20254
20916
  count: z118.int(),
20255
20917
  page: z118.int(),
20256
20918
  pages: z118.int(),
@@ -20259,12 +20921,12 @@ var PaginatedNewsletterCampaignListSchema = z118.object({
20259
20921
  has_previous: z118.boolean(),
20260
20922
  next_page: z118.int().nullable().optional(),
20261
20923
  previous_page: z118.int().nullable().optional(),
20262
- results: z118.array(NewsletterCampaignSchema)
20924
+ results: z118.array(LeadSubmissionSchema)
20263
20925
  });
20264
20926
 
20265
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
20927
+ // src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
20266
20928
  import { z as z119 } from "zod";
20267
- var PaginatedNewsletterListSchema = z119.object({
20929
+ var PaginatedMessageListSchema = z119.object({
20268
20930
  count: z119.int(),
20269
20931
  page: z119.int(),
20270
20932
  pages: z119.int(),
@@ -20273,12 +20935,12 @@ var PaginatedNewsletterListSchema = z119.object({
20273
20935
  has_previous: z119.boolean(),
20274
20936
  next_page: z119.int().nullable().optional(),
20275
20937
  previous_page: z119.int().nullable().optional(),
20276
- results: z119.array(NewsletterSchema)
20938
+ results: z119.array(MessageSchema)
20277
20939
  });
20278
20940
 
20279
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
20941
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
20280
20942
  import { z as z120 } from "zod";
20281
- var PaginatedNewsletterSubscriptionListSchema = z120.object({
20943
+ var PaginatedNewsletterCampaignListSchema = z120.object({
20282
20944
  count: z120.int(),
20283
20945
  page: z120.int(),
20284
20946
  pages: z120.int(),
@@ -20287,28 +20949,26 @@ var PaginatedNewsletterSubscriptionListSchema = z120.object({
20287
20949
  has_previous: z120.boolean(),
20288
20950
  next_page: z120.int().nullable().optional(),
20289
20951
  previous_page: z120.int().nullable().optional(),
20290
- results: z120.array(NewsletterSubscriptionSchema)
20952
+ results: z120.array(NewsletterCampaignSchema)
20291
20953
  });
20292
20954
 
20293
- // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20294
- import { z as z122 } from "zod";
20295
-
20296
- // src/cfg/generated/_utils/schemas/PaymentList.schema.ts
20955
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
20297
20956
  import { z as z121 } from "zod";
20298
- var PaymentListSchema = z121.object({
20299
- id: z121.uuid(),
20300
- internal_payment_id: z121.string(),
20301
- amount_usd: z121.string(),
20302
- currency_code: z121.string(),
20303
- currency_token: z121.string(),
20304
- status: z121.nativeEnum(PaymentListStatus),
20305
- status_display: z121.string(),
20306
- created_at: z121.iso.datetime(),
20307
- completed_at: z121.iso.datetime().nullable()
20957
+ var PaginatedNewsletterListSchema = z121.object({
20958
+ count: z121.int(),
20959
+ page: z121.int(),
20960
+ pages: z121.int(),
20961
+ page_size: z121.int(),
20962
+ has_next: z121.boolean(),
20963
+ has_previous: z121.boolean(),
20964
+ next_page: z121.int().nullable().optional(),
20965
+ previous_page: z121.int().nullable().optional(),
20966
+ results: z121.array(NewsletterSchema)
20308
20967
  });
20309
20968
 
20310
- // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20311
- var PaginatedPaymentListListSchema = z122.object({
20969
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
20970
+ import { z as z122 } from "zod";
20971
+ var PaginatedNewsletterSubscriptionListSchema = z122.object({
20312
20972
  count: z122.int(),
20313
20973
  page: z122.int(),
20314
20974
  pages: z122.int(),
@@ -20317,22 +20977,28 @@ var PaginatedPaymentListListSchema = z122.object({
20317
20977
  has_previous: z122.boolean(),
20318
20978
  next_page: z122.int().nullable().optional(),
20319
20979
  previous_page: z122.int().nullable().optional(),
20320
- results: z122.array(PaymentListSchema)
20980
+ results: z122.array(NewsletterSubscriptionSchema)
20321
20981
  });
20322
20982
 
20323
- // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20983
+ // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20324
20984
  import { z as z124 } from "zod";
20325
20985
 
20326
- // src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
20986
+ // src/cfg/generated/_utils/schemas/PaymentList.schema.ts
20327
20987
  import { z as z123 } from "zod";
20328
- var PublicCategorySchema = z123.object({
20988
+ var PaymentListSchema = z123.object({
20329
20989
  id: z123.uuid(),
20330
- name: z123.string().max(255),
20331
- description: z123.string().optional()
20990
+ internal_payment_id: z123.string(),
20991
+ amount_usd: z123.string(),
20992
+ currency_code: z123.string(),
20993
+ currency_token: z123.string(),
20994
+ status: z123.nativeEnum(PaymentListStatus),
20995
+ status_display: z123.string(),
20996
+ created_at: z123.iso.datetime(),
20997
+ completed_at: z123.iso.datetime().nullable()
20332
20998
  });
20333
20999
 
20334
- // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20335
- var PaginatedPublicCategoryListSchema = z124.object({
21000
+ // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
21001
+ var PaginatedPaymentListListSchema = z124.object({
20336
21002
  count: z124.int(),
20337
21003
  page: z124.int(),
20338
21004
  pages: z124.int(),
@@ -20341,24 +21007,22 @@ var PaginatedPublicCategoryListSchema = z124.object({
20341
21007
  has_previous: z124.boolean(),
20342
21008
  next_page: z124.int().nullable().optional(),
20343
21009
  previous_page: z124.int().nullable().optional(),
20344
- results: z124.array(PublicCategorySchema)
21010
+ results: z124.array(PaymentListSchema)
20345
21011
  });
20346
21012
 
20347
- // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
21013
+ // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20348
21014
  import { z as z126 } from "zod";
20349
21015
 
20350
- // src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
21016
+ // src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
20351
21017
  import { z as z125 } from "zod";
20352
- var PublicDocumentListSchema = z125.object({
21018
+ var PublicCategorySchema = z125.object({
20353
21019
  id: z125.uuid(),
20354
- title: z125.string().max(512),
20355
- category: PublicCategorySchema,
20356
- created_at: z125.iso.datetime(),
20357
- updated_at: z125.iso.datetime()
21020
+ name: z125.string().max(255),
21021
+ description: z125.string().optional()
20358
21022
  });
20359
21023
 
20360
- // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20361
- var PaginatedPublicDocumentListListSchema = z126.object({
21024
+ // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
21025
+ var PaginatedPublicCategoryListSchema = z126.object({
20362
21026
  count: z126.int(),
20363
21027
  page: z126.int(),
20364
21028
  pages: z126.int(),
@@ -20367,31 +21031,24 @@ var PaginatedPublicDocumentListListSchema = z126.object({
20367
21031
  has_previous: z126.boolean(),
20368
21032
  next_page: z126.int().nullable().optional(),
20369
21033
  previous_page: z126.int().nullable().optional(),
20370
- results: z126.array(PublicDocumentListSchema)
21034
+ results: z126.array(PublicCategorySchema)
20371
21035
  });
20372
21036
 
20373
- // src/cfg/generated/_utils/schemas/PaginatedTaskLogListList.schema.ts
21037
+ // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20374
21038
  import { z as z128 } from "zod";
20375
21039
 
20376
- // src/cfg/generated/_utils/schemas/TaskLogList.schema.ts
21040
+ // src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
20377
21041
  import { z as z127 } from "zod";
20378
- var TaskLogListSchema = z127.object({
20379
- id: z127.int(),
20380
- job_id: z127.string(),
20381
- task_name: z127.string(),
20382
- queue_name: z127.string(),
20383
- status: z127.nativeEnum(TaskLogListStatus),
20384
- status_display: z127.string(),
20385
- success: z127.boolean().nullable(),
20386
- job_retries: z127.int(),
20387
- duration_ms: z127.int().nullable(),
20388
- enqueue_time: z127.iso.datetime(),
20389
- start_time: z127.iso.datetime().nullable(),
20390
- finish_time: z127.iso.datetime().nullable()
21042
+ var PublicDocumentListSchema = z127.object({
21043
+ id: z127.uuid(),
21044
+ title: z127.string().max(512),
21045
+ category: PublicCategorySchema,
21046
+ created_at: z127.iso.datetime(),
21047
+ updated_at: z127.iso.datetime()
20391
21048
  });
20392
21049
 
20393
- // src/cfg/generated/_utils/schemas/PaginatedTaskLogListList.schema.ts
20394
- var PaginatedTaskLogListListSchema = z128.object({
21050
+ // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
21051
+ var PaginatedPublicDocumentListListSchema = z128.object({
20395
21052
  count: z128.int(),
20396
21053
  page: z128.int(),
20397
21054
  pages: z128.int(),
@@ -20400,25 +21057,31 @@ var PaginatedTaskLogListListSchema = z128.object({
20400
21057
  has_previous: z128.boolean(),
20401
21058
  next_page: z128.int().nullable().optional(),
20402
21059
  previous_page: z128.int().nullable().optional(),
20403
- results: z128.array(TaskLogListSchema)
21060
+ results: z128.array(PublicDocumentListSchema)
20404
21061
  });
20405
21062
 
20406
- // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
21063
+ // src/cfg/generated/_utils/schemas/PaginatedTaskLogListList.schema.ts
20407
21064
  import { z as z130 } from "zod";
20408
21065
 
20409
- // src/cfg/generated/_utils/schemas/Ticket.schema.ts
21066
+ // src/cfg/generated/_utils/schemas/TaskLogList.schema.ts
20410
21067
  import { z as z129 } from "zod";
20411
- var TicketSchema = z129.object({
20412
- uuid: z129.uuid(),
20413
- user: z129.int(),
20414
- subject: z129.string().max(255),
20415
- status: z129.nativeEnum(TicketStatus).optional(),
20416
- created_at: z129.iso.datetime(),
20417
- unanswered_messages_count: z129.int()
21068
+ var TaskLogListSchema = z129.object({
21069
+ id: z129.int(),
21070
+ job_id: z129.string(),
21071
+ task_name: z129.string(),
21072
+ queue_name: z129.string(),
21073
+ status: z129.nativeEnum(TaskLogListStatus),
21074
+ status_display: z129.string(),
21075
+ success: z129.boolean().nullable(),
21076
+ job_retries: z129.int(),
21077
+ duration_ms: z129.int().nullable(),
21078
+ enqueue_time: z129.iso.datetime(),
21079
+ start_time: z129.iso.datetime().nullable(),
21080
+ finish_time: z129.iso.datetime().nullable()
20418
21081
  });
20419
21082
 
20420
- // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
20421
- var PaginatedTicketListSchema = z130.object({
21083
+ // src/cfg/generated/_utils/schemas/PaginatedTaskLogListList.schema.ts
21084
+ var PaginatedTaskLogListListSchema = z130.object({
20422
21085
  count: z130.int(),
20423
21086
  page: z130.int(),
20424
21087
  pages: z130.int(),
@@ -20427,477 +21090,534 @@ var PaginatedTicketListSchema = z130.object({
20427
21090
  has_previous: z130.boolean(),
20428
21091
  next_page: z130.int().nullable().optional(),
20429
21092
  previous_page: z130.int().nullable().optional(),
20430
- results: z130.array(TicketSchema)
21093
+ results: z130.array(TaskLogListSchema)
20431
21094
  });
20432
21095
 
20433
- // src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
21096
+ // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
21097
+ import { z as z132 } from "zod";
21098
+
21099
+ // src/cfg/generated/_utils/schemas/Ticket.schema.ts
20434
21100
  import { z as z131 } from "zod";
20435
- var PatchedArchiveItemChunkRequestSchema = z131.object({
20436
- content: z131.string().min(1).optional(),
20437
- chunk_index: z131.int().min(0).max(2147483647).optional(),
20438
- chunk_type: z131.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
21101
+ var TicketSchema = z131.object({
21102
+ uuid: z131.uuid(),
21103
+ user: z131.int(),
21104
+ subject: z131.string().max(255),
21105
+ status: z131.nativeEnum(TicketStatus).optional(),
21106
+ created_at: z131.iso.datetime(),
21107
+ unanswered_messages_count: z131.int()
20439
21108
  });
20440
21109
 
20441
- // src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
20442
- import { z as z132 } from "zod";
20443
- var PatchedArchiveItemRequestSchema = z132.object({
20444
- relative_path: z132.string().min(1).max(1024).optional(),
20445
- item_name: z132.string().min(1).max(255).optional(),
20446
- item_type: z132.string().min(1).max(100).optional(),
20447
- file_size: z132.int().min(0).max(2147483647).optional()
21110
+ // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
21111
+ var PaginatedTicketListSchema = z132.object({
21112
+ count: z132.int(),
21113
+ page: z132.int(),
21114
+ pages: z132.int(),
21115
+ page_size: z132.int(),
21116
+ has_next: z132.boolean(),
21117
+ has_previous: z132.boolean(),
21118
+ next_page: z132.int().nullable().optional(),
21119
+ previous_page: z132.int().nullable().optional(),
21120
+ results: z132.array(TicketSchema)
20448
21121
  });
20449
21122
 
20450
- // src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
21123
+ // src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
20451
21124
  import { z as z133 } from "zod";
20452
- var PatchedChatResponseRequestSchema = z133.object({
20453
- message_id: z133.uuid().optional(),
21125
+ var PatchedArchiveItemChunkRequestSchema = z133.object({
20454
21126
  content: z133.string().min(1).optional(),
20455
- tokens_used: z133.int().optional(),
20456
- cost_usd: z133.number().optional(),
20457
- processing_time_ms: z133.int().optional(),
20458
- model_used: z133.string().min(1).optional(),
20459
- sources: z133.array(ChatSourceRequestSchema).nullable().optional()
21127
+ chunk_index: z133.int().min(0).max(2147483647).optional(),
21128
+ chunk_type: z133.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
20460
21129
  });
20461
21130
 
20462
- // src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
21131
+ // src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
20463
21132
  import { z as z134 } from "zod";
20464
- var PatchedChatSessionRequestSchema = z134.object({
20465
- title: z134.string().max(255).optional(),
20466
- is_active: z134.boolean().optional(),
20467
- messages_count: z134.int().min(0).max(2147483647).optional(),
20468
- total_tokens_used: z134.int().min(0).max(2147483647).optional(),
20469
- model_name: z134.string().min(1).max(100).optional(),
20470
- temperature: z134.number().optional(),
20471
- max_context_chunks: z134.int().min(0).max(2147483647).optional()
21133
+ var PatchedArchiveItemRequestSchema = z134.object({
21134
+ relative_path: z134.string().min(1).max(1024).optional(),
21135
+ item_name: z134.string().min(1).max(255).optional(),
21136
+ item_type: z134.string().min(1).max(100).optional(),
21137
+ file_size: z134.int().min(0).max(2147483647).optional()
20472
21138
  });
20473
21139
 
20474
- // src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
21140
+ // src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
20475
21141
  import { z as z135 } from "zod";
20476
- var PatchedDocumentArchiveRequestSchema = z135.object({
20477
- title: z135.string().min(1).max(512).optional(),
20478
- description: z135.string().optional(),
20479
- is_public: z135.boolean().optional()
21142
+ var PatchedChatResponseRequestSchema = z135.object({
21143
+ message_id: z135.uuid().optional(),
21144
+ content: z135.string().min(1).optional(),
21145
+ tokens_used: z135.int().optional(),
21146
+ cost_usd: z135.number().optional(),
21147
+ processing_time_ms: z135.int().optional(),
21148
+ model_used: z135.string().min(1).optional(),
21149
+ sources: z135.array(ChatSourceRequestSchema).nullable().optional()
20480
21150
  });
20481
21151
 
20482
- // src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
21152
+ // src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
20483
21153
  import { z as z136 } from "zod";
20484
- var PatchedDocumentRequestSchema = z136.object({
20485
- title: z136.string().min(1).max(512).optional(),
20486
- file_type: z136.string().min(1).max(100).optional(),
20487
- file_size: z136.int().min(0).max(2147483647).optional(),
20488
- metadata: z136.string().nullable().optional()
21154
+ var PatchedChatSessionRequestSchema = z136.object({
21155
+ title: z136.string().max(255).optional(),
21156
+ is_active: z136.boolean().optional(),
21157
+ messages_count: z136.int().min(0).max(2147483647).optional(),
21158
+ total_tokens_used: z136.int().min(0).max(2147483647).optional(),
21159
+ model_name: z136.string().min(1).max(100).optional(),
21160
+ temperature: z136.number().optional(),
21161
+ max_context_chunks: z136.int().min(0).max(2147483647).optional()
20489
21162
  });
20490
21163
 
20491
- // src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
21164
+ // src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
20492
21165
  import { z as z137 } from "zod";
20493
- var PatchedLeadSubmissionRequestSchema = z137.object({
20494
- name: z137.string().min(1).max(200).optional(),
20495
- email: z137.email().optional(),
20496
- company: z137.string().max(200).nullable().optional(),
20497
- company_site: z137.string().max(200).nullable().optional(),
20498
- contact_type: z137.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
20499
- contact_value: z137.string().max(200).nullable().optional(),
20500
- subject: z137.string().max(200).nullable().optional(),
20501
- message: z137.string().min(1).optional(),
20502
- extra: z137.string().nullable().optional(),
20503
- site_url: z137.url().optional()
21166
+ var PatchedDocumentArchiveRequestSchema = z137.object({
21167
+ title: z137.string().min(1).max(512).optional(),
21168
+ description: z137.string().optional(),
21169
+ is_public: z137.boolean().optional()
20504
21170
  });
20505
21171
 
20506
- // src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
21172
+ // src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
20507
21173
  import { z as z138 } from "zod";
20508
- var PatchedMessageRequestSchema = z138.object({
20509
- text: z138.string().min(1).optional()
21174
+ var PatchedDocumentRequestSchema = z138.object({
21175
+ title: z138.string().min(1).max(512).optional(),
21176
+ file_type: z138.string().min(1).max(100).optional(),
21177
+ file_size: z138.int().min(0).max(2147483647).optional(),
21178
+ metadata: z138.string().nullable().optional()
20510
21179
  });
20511
21180
 
20512
- // src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
21181
+ // src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
20513
21182
  import { z as z139 } from "zod";
20514
- var PatchedNewsletterCampaignRequestSchema = z139.object({
20515
- newsletter: z139.int().optional(),
20516
- subject: z139.string().min(1).max(255).optional(),
20517
- email_title: z139.string().min(1).max(255).optional(),
20518
- main_text: z139.string().min(1).optional(),
20519
- main_html_content: z139.string().optional(),
20520
- button_text: z139.string().max(100).optional(),
20521
- button_url: z139.url().optional(),
20522
- secondary_text: z139.string().optional()
21183
+ var PatchedLeadSubmissionRequestSchema = z139.object({
21184
+ name: z139.string().min(1).max(200).optional(),
21185
+ email: z139.email().optional(),
21186
+ company: z139.string().max(200).nullable().optional(),
21187
+ company_site: z139.string().max(200).nullable().optional(),
21188
+ contact_type: z139.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
21189
+ contact_value: z139.string().max(200).nullable().optional(),
21190
+ subject: z139.string().max(200).nullable().optional(),
21191
+ message: z139.string().min(1).optional(),
21192
+ extra: z139.string().nullable().optional(),
21193
+ site_url: z139.url().optional()
20523
21194
  });
20524
21195
 
20525
- // src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
21196
+ // src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
20526
21197
  import { z as z140 } from "zod";
20527
- var PatchedTicketRequestSchema = z140.object({
20528
- user: z140.int().optional(),
20529
- subject: z140.string().min(1).max(255).optional(),
20530
- status: z140.nativeEnum(PatchedTicketRequestStatus).optional()
21198
+ var PatchedMessageRequestSchema = z140.object({
21199
+ text: z140.string().min(1).optional()
20531
21200
  });
20532
21201
 
20533
- // src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
21202
+ // src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
20534
21203
  import { z as z141 } from "zod";
20535
- var PatchedUnsubscribeRequestSchema = z141.object({
20536
- subscription_id: z141.int().optional()
21204
+ var PatchedNewsletterCampaignRequestSchema = z141.object({
21205
+ newsletter: z141.int().optional(),
21206
+ subject: z141.string().min(1).max(255).optional(),
21207
+ email_title: z141.string().min(1).max(255).optional(),
21208
+ main_text: z141.string().min(1).optional(),
21209
+ main_html_content: z141.string().optional(),
21210
+ button_text: z141.string().max(100).optional(),
21211
+ button_url: z141.url().optional(),
21212
+ secondary_text: z141.string().optional()
20537
21213
  });
20538
21214
 
20539
- // src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
21215
+ // src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
20540
21216
  import { z as z142 } from "zod";
20541
- var PatchedUserProfileUpdateRequestSchema = z142.object({
20542
- first_name: z142.string().max(50).optional(),
20543
- last_name: z142.string().max(50).optional(),
20544
- company: z142.string().max(100).optional(),
20545
- phone: z142.string().max(20).optional(),
20546
- position: z142.string().max(100).optional()
21217
+ var PatchedTicketRequestSchema = z142.object({
21218
+ user: z142.int().optional(),
21219
+ subject: z142.string().min(1).max(255).optional(),
21220
+ status: z142.nativeEnum(PatchedTicketRequestStatus).optional()
20547
21221
  });
20548
21222
 
20549
- // src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts
21223
+ // src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
20550
21224
  import { z as z143 } from "zod";
20551
- var PaymentDetailSchema = z143.object({
20552
- id: z143.uuid(),
20553
- internal_payment_id: z143.string(),
20554
- amount_usd: z143.string(),
20555
- currency_code: z143.string(),
20556
- currency_name: z143.string(),
20557
- currency_token: z143.string(),
20558
- currency_network: z143.string(),
20559
- pay_amount: z143.string().nullable(),
20560
- actual_amount: z143.string().nullable(),
20561
- actual_amount_usd: z143.string().nullable(),
20562
- status: z143.nativeEnum(PaymentDetailStatus),
20563
- status_display: z143.string(),
20564
- pay_address: z143.string().nullable(),
20565
- qr_code_url: z143.string().nullable(),
20566
- payment_url: z143.url().nullable(),
20567
- transaction_hash: z143.string().nullable(),
20568
- explorer_link: z143.string().nullable(),
20569
- confirmations_count: z143.int(),
20570
- expires_at: z143.iso.datetime().nullable(),
20571
- completed_at: z143.iso.datetime().nullable(),
20572
- created_at: z143.iso.datetime(),
20573
- is_completed: z143.boolean(),
20574
- is_failed: z143.boolean(),
20575
- is_expired: z143.boolean(),
20576
- description: z143.string()
21225
+ var PatchedUnsubscribeRequestSchema = z143.object({
21226
+ subscription_id: z143.int().optional()
20577
21227
  });
20578
21228
 
20579
- // src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
21229
+ // src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
20580
21230
  import { z as z144 } from "zod";
20581
- var PublicDocumentSchema = z144.object({
20582
- id: z144.uuid(),
20583
- title: z144.string().max(512),
20584
- content: z144.string(),
20585
- category: PublicCategorySchema,
20586
- created_at: z144.iso.datetime(),
20587
- updated_at: z144.iso.datetime()
21231
+ var PatchedUserProfileUpdateRequestSchema = z144.object({
21232
+ first_name: z144.string().max(50).optional(),
21233
+ last_name: z144.string().max(50).optional(),
21234
+ company: z144.string().max(100).optional(),
21235
+ phone: z144.string().max(20).optional(),
21236
+ position: z144.string().max(100).optional()
20588
21237
  });
20589
21238
 
20590
- // src/cfg/generated/_utils/schemas/PublishTestRequestRequest.schema.ts
21239
+ // src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts
20591
21240
  import { z as z145 } from "zod";
20592
- var PublishTestRequestRequestSchema = z145.object({
20593
- channel: z145.string(),
20594
- data: z145.record(z145.string(), z145.any()),
20595
- wait_for_ack: z145.boolean().optional(),
20596
- ack_timeout: z145.int().min(1).max(60).optional()
21241
+ var PaymentDetailSchema = z145.object({
21242
+ id: z145.uuid(),
21243
+ internal_payment_id: z145.string(),
21244
+ amount_usd: z145.string(),
21245
+ currency_code: z145.string(),
21246
+ currency_name: z145.string(),
21247
+ currency_token: z145.string(),
21248
+ currency_network: z145.string(),
21249
+ pay_amount: z145.string().nullable(),
21250
+ actual_amount: z145.string().nullable(),
21251
+ actual_amount_usd: z145.string().nullable(),
21252
+ status: z145.nativeEnum(PaymentDetailStatus),
21253
+ status_display: z145.string(),
21254
+ pay_address: z145.string().nullable(),
21255
+ qr_code_url: z145.string().nullable(),
21256
+ payment_url: z145.url().nullable(),
21257
+ transaction_hash: z145.string().nullable(),
21258
+ explorer_link: z145.string().nullable(),
21259
+ confirmations_count: z145.int(),
21260
+ expires_at: z145.iso.datetime().nullable(),
21261
+ completed_at: z145.iso.datetime().nullable(),
21262
+ created_at: z145.iso.datetime(),
21263
+ is_completed: z145.boolean(),
21264
+ is_failed: z145.boolean(),
21265
+ is_expired: z145.boolean(),
21266
+ description: z145.string()
20597
21267
  });
20598
21268
 
20599
- // src/cfg/generated/_utils/schemas/PublishTestResponse.schema.ts
21269
+ // src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
20600
21270
  import { z as z146 } from "zod";
20601
- var PublishTestResponseSchema = z146.object({
20602
- success: z146.boolean(),
20603
- message_id: z146.string(),
20604
- channel: z146.string(),
20605
- acks_received: z146.int().optional(),
20606
- delivered: z146.boolean().optional(),
20607
- error: z146.string().nullable().optional()
21271
+ var PublicDocumentSchema = z146.object({
21272
+ id: z146.uuid(),
21273
+ title: z146.string().max(512),
21274
+ content: z146.string(),
21275
+ category: PublicCategorySchema,
21276
+ created_at: z146.iso.datetime(),
21277
+ updated_at: z146.iso.datetime()
20608
21278
  });
20609
21279
 
20610
- // src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
21280
+ // src/cfg/generated/_utils/schemas/PublishTestRequestRequest.schema.ts
20611
21281
  import { z as z147 } from "zod";
20612
- var QuickHealthSchema = z147.object({
20613
- status: z147.string(),
20614
- timestamp: z147.iso.datetime(),
20615
- error: z147.string().optional()
21282
+ var PublishTestRequestRequestSchema = z147.object({
21283
+ channel: z147.string(),
21284
+ data: z147.record(z147.string(), z147.any()),
21285
+ wait_for_ack: z147.boolean().optional(),
21286
+ ack_timeout: z147.int().min(1).max(60).optional()
20616
21287
  });
20617
21288
 
20618
- // src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts
21289
+ // src/cfg/generated/_utils/schemas/PublishTestResponse.schema.ts
20619
21290
  import { z as z148 } from "zod";
20620
- var RecentPublishesSchema = z148.object({
20621
- publishes: z148.array(z148.record(z148.string(), z148.any())),
20622
- count: z148.int(),
20623
- total_available: z148.int(),
20624
- offset: z148.int().optional(),
20625
- has_more: z148.boolean().optional()
21291
+ var PublishTestResponseSchema = z148.object({
21292
+ success: z148.boolean(),
21293
+ message_id: z148.string(),
21294
+ channel: z148.string(),
21295
+ acks_received: z148.int().optional(),
21296
+ delivered: z148.boolean().optional(),
21297
+ error: z148.string().nullable().optional()
20626
21298
  });
20627
21299
 
20628
- // src/cfg/generated/_utils/schemas/RecentUser.schema.ts
21300
+ // src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
20629
21301
  import { z as z149 } from "zod";
20630
- var RecentUserSchema = z149.object({
20631
- id: z149.int(),
20632
- username: z149.string(),
20633
- email: z149.email(),
20634
- date_joined: z149.string(),
20635
- is_active: z149.boolean(),
20636
- is_staff: z149.boolean(),
20637
- is_superuser: z149.boolean(),
20638
- last_login: z149.string().nullable()
21302
+ var QuickHealthSchema = z149.object({
21303
+ status: z149.string(),
21304
+ timestamp: z149.iso.datetime(),
21305
+ error: z149.string().optional()
20639
21306
  });
20640
21307
 
20641
- // src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
21308
+ // src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts
20642
21309
  import { z as z150 } from "zod";
20643
- var SendCampaignRequestSchema = z150.object({
20644
- campaign_id: z150.int()
21310
+ var RecentPublishesSchema = z150.object({
21311
+ publishes: z150.array(z150.record(z150.string(), z150.any())),
21312
+ count: z150.int(),
21313
+ total_available: z150.int(),
21314
+ offset: z150.int().optional(),
21315
+ has_more: z150.boolean().optional()
20645
21316
  });
20646
21317
 
20647
- // src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
21318
+ // src/cfg/generated/_utils/schemas/RecentRequests.schema.ts
20648
21319
  import { z as z151 } from "zod";
20649
- var SendCampaignResponseSchema = z151.object({
20650
- success: z151.boolean(),
20651
- message: z151.string().optional(),
20652
- sent_count: z151.int().optional(),
20653
- error: z151.string().optional()
21320
+ var RecentRequestsSchema = z151.object({
21321
+ requests: z151.array(z151.record(z151.string(), z151.any())),
21322
+ count: z151.int(),
21323
+ total_available: z151.int(),
21324
+ offset: z151.int().optional(),
21325
+ has_more: z151.boolean().optional()
20654
21326
  });
20655
21327
 
20656
- // src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
21328
+ // src/cfg/generated/_utils/schemas/RecentUser.schema.ts
20657
21329
  import { z as z152 } from "zod";
20658
- var SubscribeRequestSchema = z152.object({
20659
- newsletter_id: z152.int(),
20660
- email: z152.email()
21330
+ var RecentUserSchema = z152.object({
21331
+ id: z152.int(),
21332
+ username: z152.string(),
21333
+ email: z152.email(),
21334
+ date_joined: z152.string(),
21335
+ is_active: z152.boolean(),
21336
+ is_staff: z152.boolean(),
21337
+ is_superuser: z152.boolean(),
21338
+ last_login: z152.string().nullable()
20661
21339
  });
20662
21340
 
20663
- // src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
21341
+ // src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
20664
21342
  import { z as z153 } from "zod";
20665
- var SubscribeResponseSchema = z153.object({
20666
- success: z153.boolean(),
20667
- message: z153.string(),
20668
- subscription_id: z153.int().optional()
21343
+ var SendCampaignRequestSchema = z153.object({
21344
+ campaign_id: z153.int()
20669
21345
  });
20670
21346
 
20671
- // src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
21347
+ // src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
20672
21348
  import { z as z154 } from "zod";
20673
- var SuccessResponseSchema = z154.object({
21349
+ var SendCampaignResponseSchema = z154.object({
20674
21350
  success: z154.boolean(),
20675
- message: z154.string()
21351
+ message: z154.string().optional(),
21352
+ sent_count: z154.int().optional(),
21353
+ error: z154.string().optional()
20676
21354
  });
20677
21355
 
20678
- // src/cfg/generated/_utils/schemas/TaskLog.schema.ts
21356
+ // src/cfg/generated/_utils/schemas/ServiceList.schema.ts
21357
+ import { z as z156 } from "zod";
21358
+
21359
+ // src/cfg/generated/_utils/schemas/ServiceStatsSerializer.schema.ts
20679
21360
  import { z as z155 } from "zod";
20680
- var TaskLogSchema = z155.object({
20681
- id: z155.int(),
20682
- job_id: z155.string(),
20683
- task_name: z155.string(),
20684
- queue_name: z155.string(),
20685
- status: z155.nativeEnum(TaskLogStatus),
20686
- success: z155.boolean().nullable(),
20687
- duration_ms: z155.int().nullable(),
20688
- duration_seconds: z155.number(),
20689
- job_retry: z155.int(),
20690
- job_retries: z155.int(),
20691
- enqueue_time: z155.iso.datetime(),
20692
- expire_time: z155.iso.datetime().nullable(),
20693
- start_time: z155.iso.datetime().nullable(),
20694
- finish_time: z155.iso.datetime().nullable(),
20695
- is_completed: z155.boolean(),
20696
- is_successful: z155.boolean(),
20697
- is_failed: z155.boolean()
21361
+ var ServiceStatsSerializerSchema = z155.object({
21362
+ service_name: z155.string(),
21363
+ total: z155.int(),
21364
+ successful: z155.int(),
21365
+ errors: z155.int(),
21366
+ avg_duration_ms: z155.number(),
21367
+ last_activity_at: z155.string().nullable()
21368
+ });
21369
+
21370
+ // src/cfg/generated/_utils/schemas/ServiceList.schema.ts
21371
+ var ServiceListSchema = z156.object({
21372
+ services: z156.array(ServiceStatsSerializerSchema),
21373
+ total_services: z156.int()
21374
+ });
21375
+
21376
+ // src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
21377
+ import { z as z157 } from "zod";
21378
+ var SubscribeRequestSchema = z157.object({
21379
+ newsletter_id: z157.int(),
21380
+ email: z157.email()
21381
+ });
21382
+
21383
+ // src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
21384
+ import { z as z158 } from "zod";
21385
+ var SubscribeResponseSchema = z158.object({
21386
+ success: z158.boolean(),
21387
+ message: z158.string(),
21388
+ subscription_id: z158.int().optional()
21389
+ });
21390
+
21391
+ // src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
21392
+ import { z as z159 } from "zod";
21393
+ var SuccessResponseSchema = z159.object({
21394
+ success: z159.boolean(),
21395
+ message: z159.string()
21396
+ });
21397
+
21398
+ // src/cfg/generated/_utils/schemas/TaskLog.schema.ts
21399
+ import { z as z160 } from "zod";
21400
+ var TaskLogSchema = z160.object({
21401
+ id: z160.int(),
21402
+ job_id: z160.string(),
21403
+ task_name: z160.string(),
21404
+ queue_name: z160.string(),
21405
+ status: z160.nativeEnum(TaskLogStatus),
21406
+ success: z160.boolean().nullable(),
21407
+ duration_ms: z160.int().nullable(),
21408
+ duration_seconds: z160.number(),
21409
+ job_retry: z160.int(),
21410
+ job_retries: z160.int(),
21411
+ enqueue_time: z160.iso.datetime(),
21412
+ expire_time: z160.iso.datetime().nullable(),
21413
+ start_time: z160.iso.datetime().nullable(),
21414
+ finish_time: z160.iso.datetime().nullable(),
21415
+ is_completed: z160.boolean(),
21416
+ is_successful: z160.boolean(),
21417
+ is_failed: z160.boolean()
20698
21418
  });
20699
21419
 
20700
21420
  // src/cfg/generated/_utils/schemas/TaskLogDetail.schema.ts
20701
- import { z as z156 } from "zod";
20702
- var TaskLogDetailSchema = z156.object({
20703
- id: z156.int(),
20704
- job_id: z156.string(),
20705
- task_name: z156.string(),
20706
- queue_name: z156.string(),
20707
- status: z156.nativeEnum(TaskLogDetailStatus),
20708
- status_display: z156.string(),
20709
- success: z156.boolean().nullable(),
20710
- args: z156.string(),
20711
- kwargs: z156.string(),
20712
- result: z156.string().nullable(),
20713
- error_message: z156.string().nullable(),
20714
- duration_ms: z156.int().nullable(),
20715
- duration_seconds: z156.number(),
20716
- job_retry: z156.int(),
20717
- job_retries: z156.int(),
20718
- job_retry_after: z156.int(),
20719
- worker_id: z156.string().nullable(),
20720
- enqueue_time: z156.iso.datetime(),
20721
- expire_time: z156.iso.datetime().nullable(),
20722
- start_time: z156.iso.datetime().nullable(),
20723
- finish_time: z156.iso.datetime().nullable(),
20724
- created_at: z156.iso.datetime(),
20725
- updated_at: z156.iso.datetime(),
20726
- user: z156.int().nullable(),
20727
- user_display: z156.string()
21421
+ import { z as z161 } from "zod";
21422
+ var TaskLogDetailSchema = z161.object({
21423
+ id: z161.int(),
21424
+ job_id: z161.string(),
21425
+ task_name: z161.string(),
21426
+ queue_name: z161.string(),
21427
+ status: z161.nativeEnum(TaskLogDetailStatus),
21428
+ status_display: z161.string(),
21429
+ success: z161.boolean().nullable(),
21430
+ args: z161.string(),
21431
+ kwargs: z161.string(),
21432
+ result: z161.string().nullable(),
21433
+ error_message: z161.string().nullable(),
21434
+ duration_ms: z161.int().nullable(),
21435
+ duration_seconds: z161.number(),
21436
+ job_retry: z161.int(),
21437
+ job_retries: z161.int(),
21438
+ job_retry_after: z161.int(),
21439
+ worker_id: z161.string().nullable(),
21440
+ enqueue_time: z161.iso.datetime(),
21441
+ expire_time: z161.iso.datetime().nullable(),
21442
+ start_time: z161.iso.datetime().nullable(),
21443
+ finish_time: z161.iso.datetime().nullable(),
21444
+ created_at: z161.iso.datetime(),
21445
+ updated_at: z161.iso.datetime(),
21446
+ user: z161.int().nullable(),
21447
+ user_display: z161.string()
20728
21448
  });
20729
21449
 
20730
21450
  // src/cfg/generated/_utils/schemas/TaskLogOverview.schema.ts
20731
- import { z as z159 } from "zod";
21451
+ import { z as z164 } from "zod";
20732
21452
 
20733
21453
  // src/cfg/generated/_utils/schemas/TasksByQueue.schema.ts
20734
- import { z as z157 } from "zod";
20735
- var TasksByQueueSchema = z157.object({
20736
- queue_name: z157.string(),
20737
- count: z157.int()
21454
+ import { z as z162 } from "zod";
21455
+ var TasksByQueueSchema = z162.object({
21456
+ queue_name: z162.string(),
21457
+ count: z162.int()
20738
21458
  });
20739
21459
 
20740
21460
  // src/cfg/generated/_utils/schemas/TasksByStatus.schema.ts
20741
- import { z as z158 } from "zod";
20742
- var TasksByStatusSchema = z158.object({
20743
- status: z158.string(),
20744
- count: z158.int()
21461
+ import { z as z163 } from "zod";
21462
+ var TasksByStatusSchema = z163.object({
21463
+ status: z163.string(),
21464
+ count: z163.int()
20745
21465
  });
20746
21466
 
20747
21467
  // src/cfg/generated/_utils/schemas/TaskLogOverview.schema.ts
20748
- var TaskLogOverviewSchema = z159.object({
20749
- total_tasks: z159.int(),
20750
- active_queues: z159.array(z159.string()),
20751
- recent_failures: z159.int(),
20752
- tasks_by_queue: z159.array(TasksByQueueSchema),
20753
- tasks_by_status: z159.array(TasksByStatusSchema)
21468
+ var TaskLogOverviewSchema = z164.object({
21469
+ total_tasks: z164.int(),
21470
+ active_queues: z164.array(z164.string()),
21471
+ recent_failures: z164.int(),
21472
+ tasks_by_queue: z164.array(TasksByQueueSchema),
21473
+ tasks_by_status: z164.array(TasksByStatusSchema)
20754
21474
  });
20755
21475
 
20756
21476
  // src/cfg/generated/_utils/schemas/TaskLogStats.schema.ts
20757
- import { z as z160 } from "zod";
20758
- var TaskLogStatsSchema = z160.object({
20759
- total: z160.int(),
20760
- successful: z160.int(),
20761
- failed: z160.int(),
20762
- in_progress: z160.int(),
20763
- success_rate: z160.number(),
20764
- avg_duration_ms: z160.int(),
20765
- avg_duration_seconds: z160.number(),
20766
- period_hours: z160.int().optional()
21477
+ import { z as z165 } from "zod";
21478
+ var TaskLogStatsSchema = z165.object({
21479
+ total: z165.int(),
21480
+ successful: z165.int(),
21481
+ failed: z165.int(),
21482
+ in_progress: z165.int(),
21483
+ success_rate: z165.number(),
21484
+ avg_duration_ms: z165.int(),
21485
+ avg_duration_seconds: z165.number(),
21486
+ period_hours: z165.int().optional()
20767
21487
  });
20768
21488
 
20769
21489
  // src/cfg/generated/_utils/schemas/TaskLogTimeline.schema.ts
20770
- import { z as z162 } from "zod";
21490
+ import { z as z167 } from "zod";
20771
21491
 
20772
21492
  // src/cfg/generated/_utils/schemas/TaskLogTimelineItem.schema.ts
20773
- import { z as z161 } from "zod";
20774
- var TaskLogTimelineItemSchema = z161.object({
20775
- timestamp: z161.iso.datetime(),
20776
- total: z161.int(),
20777
- successful: z161.int(),
20778
- failed: z161.int(),
20779
- in_progress: z161.int().optional(),
20780
- avg_duration_ms: z161.number().optional()
21493
+ import { z as z166 } from "zod";
21494
+ var TaskLogTimelineItemSchema = z166.object({
21495
+ timestamp: z166.iso.datetime(),
21496
+ total: z166.int(),
21497
+ successful: z166.int(),
21498
+ failed: z166.int(),
21499
+ in_progress: z166.int().optional(),
21500
+ avg_duration_ms: z166.number().optional()
20781
21501
  });
20782
21502
 
20783
21503
  // src/cfg/generated/_utils/schemas/TaskLogTimeline.schema.ts
20784
- var TaskLogTimelineSchema = z162.object({
20785
- period_hours: z162.int(),
20786
- interval: z162.string(),
20787
- data: z162.array(TaskLogTimelineItemSchema)
21504
+ var TaskLogTimelineSchema = z167.object({
21505
+ period_hours: z167.int(),
21506
+ interval: z167.string(),
21507
+ data: z167.array(TaskLogTimelineItemSchema)
20788
21508
  });
20789
21509
 
20790
21510
  // src/cfg/generated/_utils/schemas/TestEmailRequest.schema.ts
20791
- import { z as z163 } from "zod";
20792
- var TestEmailRequestSchema = z163.object({
20793
- email: z163.email(),
20794
- subject: z163.string().min(1).max(255).optional(),
20795
- message: z163.string().min(1).optional()
21511
+ import { z as z168 } from "zod";
21512
+ var TestEmailRequestSchema = z168.object({
21513
+ email: z168.email(),
21514
+ subject: z168.string().min(1).max(255).optional(),
21515
+ message: z168.string().min(1).optional()
20796
21516
  });
20797
21517
 
20798
21518
  // src/cfg/generated/_utils/schemas/TicketRequest.schema.ts
20799
- import { z as z164 } from "zod";
20800
- var TicketRequestSchema = z164.object({
20801
- user: z164.int(),
20802
- subject: z164.string().min(1).max(255),
20803
- status: z164.nativeEnum(TicketRequestStatus).optional()
21519
+ import { z as z169 } from "zod";
21520
+ var TicketRequestSchema = z169.object({
21521
+ user: z169.int(),
21522
+ subject: z169.string().min(1).max(255),
21523
+ status: z169.nativeEnum(TicketRequestStatus).optional()
20804
21524
  });
20805
21525
 
20806
21526
  // src/cfg/generated/_utils/schemas/TokenRefresh.schema.ts
20807
- import { z as z165 } from "zod";
20808
- var TokenRefreshSchema = z165.object({
20809
- access: z165.string(),
20810
- refresh: z165.string()
21527
+ import { z as z170 } from "zod";
21528
+ var TokenRefreshSchema = z170.object({
21529
+ access: z170.string(),
21530
+ refresh: z170.string()
20811
21531
  });
20812
21532
 
20813
21533
  // src/cfg/generated/_utils/schemas/TokenRefreshRequest.schema.ts
20814
- import { z as z166 } from "zod";
20815
- var TokenRefreshRequestSchema = z166.object({
20816
- refresh: z166.string().min(1)
21534
+ import { z as z171 } from "zod";
21535
+ var TokenRefreshRequestSchema = z171.object({
21536
+ refresh: z171.string().min(1)
20817
21537
  });
20818
21538
 
20819
21539
  // src/cfg/generated/_utils/schemas/Transaction.schema.ts
20820
- import { z as z167 } from "zod";
20821
- var TransactionSchema = z167.object({
20822
- id: z167.uuid(),
20823
- transaction_type: z167.nativeEnum(TransactionTransactionType),
20824
- type_display: z167.string(),
20825
- amount_usd: z167.string(),
20826
- amount_display: z167.string(),
20827
- balance_after: z167.string(),
20828
- payment_id: z167.string().nullable(),
20829
- description: z167.string(),
20830
- created_at: z167.iso.datetime()
21540
+ import { z as z172 } from "zod";
21541
+ var TransactionSchema = z172.object({
21542
+ id: z172.uuid(),
21543
+ transaction_type: z172.nativeEnum(TransactionTransactionType),
21544
+ type_display: z172.string(),
21545
+ amount_usd: z172.string(),
21546
+ amount_display: z172.string(),
21547
+ balance_after: z172.string(),
21548
+ payment_id: z172.string().nullable(),
21549
+ description: z172.string(),
21550
+ created_at: z172.iso.datetime()
20831
21551
  });
20832
21552
 
20833
21553
  // src/cfg/generated/_utils/schemas/URLPattern.schema.ts
20834
- import { z as z168 } from "zod";
20835
- var URLPatternSchema = z168.object({
20836
- pattern: z168.string(),
20837
- name: z168.string().nullable().optional(),
20838
- full_name: z168.string().nullable().optional(),
20839
- namespace: z168.string().nullable().optional(),
20840
- view: z168.string().nullable().optional(),
20841
- view_class: z168.string().nullable().optional(),
20842
- methods: z168.array(z168.string()).optional(),
20843
- module: z168.string().nullable().optional()
21554
+ import { z as z173 } from "zod";
21555
+ var URLPatternSchema = z173.object({
21556
+ pattern: z173.string(),
21557
+ name: z173.string().nullable().optional(),
21558
+ full_name: z173.string().nullable().optional(),
21559
+ namespace: z173.string().nullable().optional(),
21560
+ view: z173.string().nullable().optional(),
21561
+ view_class: z173.string().nullable().optional(),
21562
+ methods: z173.array(z173.string()).optional(),
21563
+ module: z173.string().nullable().optional()
20844
21564
  });
20845
21565
 
20846
21566
  // src/cfg/generated/_utils/schemas/URLsList.schema.ts
20847
- import { z as z169 } from "zod";
20848
- var URLsListSchema = z169.object({
20849
- status: z169.string(),
20850
- service: z169.string(),
20851
- version: z169.string(),
20852
- base_url: z169.string(),
20853
- total_urls: z169.int(),
20854
- urls: z169.array(URLPatternSchema)
21567
+ import { z as z174 } from "zod";
21568
+ var URLsListSchema = z174.object({
21569
+ status: z174.string(),
21570
+ service: z174.string(),
21571
+ version: z174.string(),
21572
+ base_url: z174.string(),
21573
+ total_urls: z174.int(),
21574
+ urls: z174.array(URLPatternSchema)
20855
21575
  });
20856
21576
 
20857
21577
  // src/cfg/generated/_utils/schemas/Unsubscribe.schema.ts
20858
- import { z as z170 } from "zod";
20859
- var UnsubscribeSchema = z170.object({
20860
- subscription_id: z170.int()
21578
+ import { z as z175 } from "zod";
21579
+ var UnsubscribeSchema = z175.object({
21580
+ subscription_id: z175.int()
20861
21581
  });
20862
21582
 
20863
21583
  // src/cfg/generated/_utils/schemas/UnsubscribeRequest.schema.ts
20864
- import { z as z171 } from "zod";
20865
- var UnsubscribeRequestSchema = z171.object({
20866
- subscription_id: z171.int()
21584
+ import { z as z176 } from "zod";
21585
+ var UnsubscribeRequestSchema = z176.object({
21586
+ subscription_id: z176.int()
20867
21587
  });
20868
21588
 
20869
21589
  // src/cfg/generated/_utils/schemas/UserProfileUpdateRequest.schema.ts
20870
- import { z as z172 } from "zod";
20871
- var UserProfileUpdateRequestSchema = z172.object({
20872
- first_name: z172.string().max(50).optional(),
20873
- last_name: z172.string().max(50).optional(),
20874
- company: z172.string().max(100).optional(),
20875
- phone: z172.string().max(20).optional(),
20876
- position: z172.string().max(100).optional()
21590
+ import { z as z177 } from "zod";
21591
+ var UserProfileUpdateRequestSchema = z177.object({
21592
+ first_name: z177.string().max(50).optional(),
21593
+ last_name: z177.string().max(50).optional(),
21594
+ company: z177.string().max(100).optional(),
21595
+ phone: z177.string().max(20).optional(),
21596
+ position: z177.string().max(100).optional()
20877
21597
  });
20878
21598
 
20879
21599
  // src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts
20880
- import { z as z173 } from "zod";
20881
- var VectorizationResultSchema = z173.object({
20882
- vectorized_count: z173.int(),
20883
- failed_count: z173.int(),
20884
- total_tokens: z173.int(),
20885
- total_cost: z173.number(),
20886
- success_rate: z173.number(),
20887
- errors: z173.array(z173.string())
21600
+ import { z as z178 } from "zod";
21601
+ var VectorizationResultSchema = z178.object({
21602
+ vectorized_count: z178.int(),
21603
+ failed_count: z178.int(),
21604
+ total_tokens: z178.int(),
21605
+ total_cost: z178.number(),
21606
+ success_rate: z178.number(),
21607
+ errors: z178.array(z178.string())
20888
21608
  });
20889
21609
 
20890
21610
  // src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts
20891
- import { z as z174 } from "zod";
20892
- var VectorizationStatisticsSchema = z174.object({
20893
- total_chunks: z174.int(),
20894
- vectorized_chunks: z174.int(),
20895
- pending_chunks: z174.int(),
20896
- vectorization_rate: z174.number(),
20897
- total_tokens: z174.int(),
20898
- total_cost: z174.number(),
20899
- avg_tokens_per_chunk: z174.number(),
20900
- avg_cost_per_chunk: z174.number()
21611
+ import { z as z179 } from "zod";
21612
+ var VectorizationStatisticsSchema = z179.object({
21613
+ total_chunks: z179.int(),
21614
+ vectorized_chunks: z179.int(),
21615
+ pending_chunks: z179.int(),
21616
+ vectorization_rate: z179.number(),
21617
+ total_tokens: z179.int(),
21618
+ total_cost: z179.number(),
21619
+ avg_tokens_per_chunk: z179.number(),
21620
+ avg_cost_per_chunk: z179.number()
20901
21621
  });
20902
21622
 
20903
21623
  // src/cfg/generated/_utils/fetchers/index.ts
@@ -20983,6 +21703,12 @@ __export(fetchers_exports, {
20983
21703
  getEndpointsDrfRetrieve: () => getEndpointsDrfRetrieve,
20984
21704
  getEndpointsUrlsCompactRetrieve: () => getEndpointsUrlsCompactRetrieve,
20985
21705
  getEndpointsUrlsRetrieve: () => getEndpointsUrlsRetrieve,
21706
+ getGrpcMonitorHealthRetrieve: () => getGrpcMonitorHealthRetrieve,
21707
+ getGrpcMonitorMethodsRetrieve: () => getGrpcMonitorMethodsRetrieve,
21708
+ getGrpcMonitorOverviewRetrieve: () => getGrpcMonitorOverviewRetrieve,
21709
+ getGrpcMonitorRequestsRetrieve: () => getGrpcMonitorRequestsRetrieve,
21710
+ getGrpcMonitorServicesRetrieve: () => getGrpcMonitorServicesRetrieve,
21711
+ getGrpcMonitorTimelineRetrieve: () => getGrpcMonitorTimelineRetrieve,
20986
21712
  getHealthDrfQuickRetrieve: () => getHealthDrfQuickRetrieve,
20987
21713
  getHealthDrfRetrieve: () => getHealthDrfRetrieve,
20988
21714
  getKnowbaseAdminChatHistoryRetrieve: () => getKnowbaseAdminChatHistoryRetrieve,
@@ -21381,6 +22107,38 @@ async function getEndpointsUrlsCompactRetrieve(client) {
21381
22107
  return response;
21382
22108
  }
21383
22109
 
22110
+ // src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_monitoring.ts
22111
+ async function getGrpcMonitorHealthRetrieve(client) {
22112
+ const api2 = client || getAPIInstance();
22113
+ const response = await api2.cfg_grpc_monitoring.grpcMonitorHealthRetrieve();
22114
+ return HealthCheckSchema.parse(response);
22115
+ }
22116
+ async function getGrpcMonitorMethodsRetrieve(params, client) {
22117
+ const api2 = client || getAPIInstance();
22118
+ const response = await api2.cfg_grpc_monitoring.grpcMonitorMethodsRetrieve(params?.hours, params?.service);
22119
+ return MethodListSchema.parse(response);
22120
+ }
22121
+ async function getGrpcMonitorOverviewRetrieve(params, client) {
22122
+ const api2 = client || getAPIInstance();
22123
+ const response = await api2.cfg_grpc_monitoring.grpcMonitorOverviewRetrieve(params?.hours);
22124
+ return OverviewStatsSchema.parse(response);
22125
+ }
22126
+ async function getGrpcMonitorRequestsRetrieve(params, client) {
22127
+ const api2 = client || getAPIInstance();
22128
+ const response = await api2.cfg_grpc_monitoring.grpcMonitorRequestsRetrieve(params?.count, params?.method, params?.offset, params?.service, params?.status);
22129
+ return RecentRequestsSchema.parse(response);
22130
+ }
22131
+ async function getGrpcMonitorServicesRetrieve(params, client) {
22132
+ const api2 = client || getAPIInstance();
22133
+ const response = await api2.cfg_grpc_monitoring.grpcMonitorServicesRetrieve(params?.hours);
22134
+ return ServiceListSchema.parse(response);
22135
+ }
22136
+ async function getGrpcMonitorTimelineRetrieve(params, client) {
22137
+ const api2 = client || getAPIInstance();
22138
+ const response = await api2.cfg_grpc_monitoring.grpcMonitorTimelineRetrieve(params?.hours, params?.interval);
22139
+ return response;
22140
+ }
22141
+
21384
22142
  // src/cfg/generated/_utils/fetchers/cfg__health.ts
21385
22143
  async function getHealthDrfRetrieve(client) {
21386
22144
  const api2 = client || getAPIInstance();
@@ -22037,6 +22795,12 @@ __export(hooks_exports, {
22037
22795
  useEndpointsDrfRetrieve: () => useEndpointsDrfRetrieve,
22038
22796
  useEndpointsUrlsCompactRetrieve: () => useEndpointsUrlsCompactRetrieve,
22039
22797
  useEndpointsUrlsRetrieve: () => useEndpointsUrlsRetrieve,
22798
+ useGrpcMonitorHealthRetrieve: () => useGrpcMonitorHealthRetrieve,
22799
+ useGrpcMonitorMethodsRetrieve: () => useGrpcMonitorMethodsRetrieve,
22800
+ useGrpcMonitorOverviewRetrieve: () => useGrpcMonitorOverviewRetrieve,
22801
+ useGrpcMonitorRequestsRetrieve: () => useGrpcMonitorRequestsRetrieve,
22802
+ useGrpcMonitorServicesRetrieve: () => useGrpcMonitorServicesRetrieve,
22803
+ useGrpcMonitorTimelineRetrieve: () => useGrpcMonitorTimelineRetrieve,
22040
22804
  useHealthDrfQuickRetrieve: () => useHealthDrfQuickRetrieve,
22041
22805
  useHealthDrfRetrieve: () => useHealthDrfRetrieve,
22042
22806
  useKnowbaseAdminChatHistoryRetrieve: () => useKnowbaseAdminChatHistoryRetrieve,
@@ -22632,26 +23396,65 @@ function useEndpointsUrlsCompactRetrieve(client) {
22632
23396
  );
22633
23397
  }
22634
23398
 
22635
- // src/cfg/generated/_utils/hooks/cfg__health.ts
23399
+ // src/cfg/generated/_utils/hooks/cfg__grpc__grpc_monitoring.ts
22636
23400
  import useSWR17 from "swr";
22637
- function useHealthDrfRetrieve(client) {
23401
+ function useGrpcMonitorHealthRetrieve(client) {
23402
+ return useSWR17(
23403
+ "cfg-grpc-monitor-health",
23404
+ () => getGrpcMonitorHealthRetrieve(client)
23405
+ );
23406
+ }
23407
+ function useGrpcMonitorMethodsRetrieve(params, client) {
22638
23408
  return useSWR17(
23409
+ params ? ["cfg-grpc-monitor-method", params] : "cfg-grpc-monitor-method",
23410
+ () => getGrpcMonitorMethodsRetrieve(params, client)
23411
+ );
23412
+ }
23413
+ function useGrpcMonitorOverviewRetrieve(params, client) {
23414
+ return useSWR17(
23415
+ params ? ["cfg-grpc-monitor-overview", params] : "cfg-grpc-monitor-overview",
23416
+ () => getGrpcMonitorOverviewRetrieve(params, client)
23417
+ );
23418
+ }
23419
+ function useGrpcMonitorRequestsRetrieve(params, client) {
23420
+ return useSWR17(
23421
+ params ? ["cfg-grpc-monitor-request", params] : "cfg-grpc-monitor-request",
23422
+ () => getGrpcMonitorRequestsRetrieve(params, client)
23423
+ );
23424
+ }
23425
+ function useGrpcMonitorServicesRetrieve(params, client) {
23426
+ return useSWR17(
23427
+ params ? ["cfg-grpc-monitor-service", params] : "cfg-grpc-monitor-service",
23428
+ () => getGrpcMonitorServicesRetrieve(params, client)
23429
+ );
23430
+ }
23431
+ function useGrpcMonitorTimelineRetrieve(params, client) {
23432
+ return useSWR17(
23433
+ params ? ["cfg-grpc-monitor-timeline", params] : "cfg-grpc-monitor-timeline",
23434
+ () => getGrpcMonitorTimelineRetrieve(params, client)
23435
+ );
23436
+ }
23437
+
23438
+ // src/cfg/generated/_utils/hooks/cfg__health.ts
23439
+ import useSWR18 from "swr";
23440
+ function useHealthDrfRetrieve(client) {
23441
+ return useSWR18(
22639
23442
  "cfg-health-drf",
22640
23443
  () => getHealthDrfRetrieve(client)
22641
23444
  );
22642
23445
  }
22643
23446
  function useHealthDrfQuickRetrieve(client) {
22644
- return useSWR17(
23447
+ return useSWR18(
22645
23448
  "cfg-health-drf-quick",
22646
23449
  () => getHealthDrfQuickRetrieve(client)
22647
23450
  );
22648
23451
  }
22649
23452
 
22650
23453
  // src/cfg/generated/_utils/hooks/cfg__knowbase.ts
22651
- import useSWR18 from "swr";
23454
+ import useSWR19 from "swr";
22652
23455
  import { useSWRConfig as useSWRConfig12 } from "swr";
22653
23456
  function useKnowbaseAdminChatList(params, client) {
22654
- return useSWR18(
23457
+ return useSWR19(
22655
23458
  params ? ["cfg-knowbase-admin-chat", params] : "cfg-knowbase-admin-chat",
22656
23459
  () => getKnowbaseAdminChatList(params, client)
22657
23460
  );
@@ -22665,7 +23468,7 @@ function useCreateKnowbaseAdminChatCreate() {
22665
23468
  };
22666
23469
  }
22667
23470
  function useKnowbaseAdminChatRetrieve(id, client) {
22668
- return useSWR18(
23471
+ return useSWR19(
22669
23472
  ["cfg-knowbase-admin-chat", id],
22670
23473
  () => getKnowbaseAdminChatRetrieve(id, client)
22671
23474
  );
@@ -22695,7 +23498,7 @@ function useDeleteKnowbaseAdminChatDestroy() {
22695
23498
  };
22696
23499
  }
22697
23500
  function useKnowbaseAdminChatHistoryRetrieve(id, client) {
22698
- return useSWR18(
23501
+ return useSWR19(
22699
23502
  ["cfg-knowbase-admin-chat-history", id],
22700
23503
  () => getKnowbaseAdminChatHistoryRetrieve(id, client)
22701
23504
  );
@@ -22709,7 +23512,7 @@ function useCreateKnowbaseAdminChatQueryCreate() {
22709
23512
  };
22710
23513
  }
22711
23514
  function useKnowbaseAdminDocumentsList(params, client) {
22712
- return useSWR18(
23515
+ return useSWR19(
22713
23516
  params ? ["cfg-knowbase-admin-documents", params] : "cfg-knowbase-admin-documents",
22714
23517
  () => getKnowbaseAdminDocumentsList(params, client)
22715
23518
  );
@@ -22723,7 +23526,7 @@ function useCreateKnowbaseAdminDocumentsCreate() {
22723
23526
  };
22724
23527
  }
22725
23528
  function useKnowbaseAdminDocumentsRetrieve(id, client) {
22726
- return useSWR18(
23529
+ return useSWR19(
22727
23530
  ["cfg-knowbase-admin-document", id],
22728
23531
  () => getKnowbaseAdminDocumentsRetrieve(id, client)
22729
23532
  );
@@ -22763,19 +23566,19 @@ function useCreateKnowbaseAdminDocumentsReprocessCreate() {
22763
23566
  };
22764
23567
  }
22765
23568
  function useKnowbaseAdminDocumentsStatusRetrieve(id, client) {
22766
- return useSWR18(
23569
+ return useSWR19(
22767
23570
  ["cfg-knowbase-admin-documents-statu", id],
22768
23571
  () => getKnowbaseAdminDocumentsStatusRetrieve(id, client)
22769
23572
  );
22770
23573
  }
22771
23574
  function useKnowbaseAdminDocumentsStatsRetrieve(client) {
22772
- return useSWR18(
23575
+ return useSWR19(
22773
23576
  "cfg-knowbase-admin-documents-stat",
22774
23577
  () => getKnowbaseAdminDocumentsStatsRetrieve(client)
22775
23578
  );
22776
23579
  }
22777
23580
  function useKnowbaseAdminSessionsList(params, client) {
22778
- return useSWR18(
23581
+ return useSWR19(
22779
23582
  params ? ["cfg-knowbase-admin-sessions", params] : "cfg-knowbase-admin-sessions",
22780
23583
  () => getKnowbaseAdminSessionsList(params, client)
22781
23584
  );
@@ -22789,7 +23592,7 @@ function useCreateKnowbaseAdminSessionsCreate() {
22789
23592
  };
22790
23593
  }
22791
23594
  function useKnowbaseAdminSessionsRetrieve(id, client) {
22792
- return useSWR18(
23595
+ return useSWR19(
22793
23596
  ["cfg-knowbase-admin-session", id],
22794
23597
  () => getKnowbaseAdminSessionsRetrieve(id, client)
22795
23598
  );
@@ -22837,31 +23640,31 @@ function useCreateKnowbaseAdminSessionsArchiveCreate() {
22837
23640
  };
22838
23641
  }
22839
23642
  function useKnowbaseCategoriesList(params, client) {
22840
- return useSWR18(
23643
+ return useSWR19(
22841
23644
  params ? ["cfg-knowbase-categories", params] : "cfg-knowbase-categories",
22842
23645
  () => getKnowbaseCategoriesList(params, client)
22843
23646
  );
22844
23647
  }
22845
23648
  function useKnowbaseCategoriesRetrieve(id, client) {
22846
- return useSWR18(
23649
+ return useSWR19(
22847
23650
  ["cfg-knowbase-categorie", id],
22848
23651
  () => getKnowbaseCategoriesRetrieve(id, client)
22849
23652
  );
22850
23653
  }
22851
23654
  function useKnowbaseDocumentsList(params, client) {
22852
- return useSWR18(
23655
+ return useSWR19(
22853
23656
  params ? ["cfg-knowbase-documents", params] : "cfg-knowbase-documents",
22854
23657
  () => getKnowbaseDocumentsList(params, client)
22855
23658
  );
22856
23659
  }
22857
23660
  function useKnowbaseDocumentsRetrieve(id, client) {
22858
- return useSWR18(
23661
+ return useSWR19(
22859
23662
  ["cfg-knowbase-document", id],
22860
23663
  () => getKnowbaseDocumentsRetrieve(id, client)
22861
23664
  );
22862
23665
  }
22863
23666
  function useKnowbaseSystemArchivesList(params, client) {
22864
- return useSWR18(
23667
+ return useSWR19(
22865
23668
  params ? ["cfg-knowbase-system-archives", params] : "cfg-knowbase-system-archives",
22866
23669
  () => getKnowbaseSystemArchivesList(params, client)
22867
23670
  );
@@ -22875,7 +23678,7 @@ function useCreateKnowbaseSystemArchivesCreate() {
22875
23678
  };
22876
23679
  }
22877
23680
  function useKnowbaseSystemArchivesRetrieve(id, client) {
22878
- return useSWR18(
23681
+ return useSWR19(
22879
23682
  ["cfg-knowbase-system-archive", id],
22880
23683
  () => getKnowbaseSystemArchivesRetrieve(id, client)
22881
23684
  );
@@ -22907,13 +23710,13 @@ function useDeleteKnowbaseSystemArchivesDestroy() {
22907
23710
  };
22908
23711
  }
22909
23712
  function useKnowbaseSystemArchivesFileTreeRetrieve(id, client) {
22910
- return useSWR18(
23713
+ return useSWR19(
22911
23714
  ["cfg-knowbase-system-archives-file-tree", id],
22912
23715
  () => getKnowbaseSystemArchivesFileTreeRetrieve(id, client)
22913
23716
  );
22914
23717
  }
22915
23718
  function useKnowbaseSystemArchivesItemsList(id, params, client) {
22916
- return useSWR18(
23719
+ return useSWR19(
22917
23720
  ["cfg-knowbase-system-archives-items", id],
22918
23721
  () => getKnowbaseSystemArchivesItemsList(id, params, client)
22919
23722
  );
@@ -22935,19 +23738,19 @@ function useCreateKnowbaseSystemArchivesRevectorizeCreate() {
22935
23738
  };
22936
23739
  }
22937
23740
  function useKnowbaseSystemArchivesStatisticsRetrieve(client) {
22938
- return useSWR18(
23741
+ return useSWR19(
22939
23742
  "cfg-knowbase-system-archives-statistic",
22940
23743
  () => getKnowbaseSystemArchivesStatisticsRetrieve(client)
22941
23744
  );
22942
23745
  }
22943
23746
  function useKnowbaseSystemArchivesVectorizationStatsRetrieve(client) {
22944
- return useSWR18(
23747
+ return useSWR19(
22945
23748
  "cfg-knowbase-system-archives-vectorization-stat",
22946
23749
  () => getKnowbaseSystemArchivesVectorizationStatsRetrieve(client)
22947
23750
  );
22948
23751
  }
22949
23752
  function useKnowbaseSystemChunksList(params, client) {
22950
- return useSWR18(
23753
+ return useSWR19(
22951
23754
  params ? ["cfg-knowbase-system-chunks", params] : "cfg-knowbase-system-chunks",
22952
23755
  () => getKnowbaseSystemChunksList(params, client)
22953
23756
  );
@@ -22961,7 +23764,7 @@ function useCreateKnowbaseSystemChunksCreate() {
22961
23764
  };
22962
23765
  }
22963
23766
  function useKnowbaseSystemChunksRetrieve(id, client) {
22964
- return useSWR18(
23767
+ return useSWR19(
22965
23768
  ["cfg-knowbase-system-chunk", id],
22966
23769
  () => getKnowbaseSystemChunksRetrieve(id, client)
22967
23770
  );
@@ -22993,7 +23796,7 @@ function useDeleteKnowbaseSystemChunksDestroy() {
22993
23796
  };
22994
23797
  }
22995
23798
  function useKnowbaseSystemChunksContextRetrieve(id, client) {
22996
- return useSWR18(
23799
+ return useSWR19(
22997
23800
  ["cfg-knowbase-system-chunks-context", id],
22998
23801
  () => getKnowbaseSystemChunksContextRetrieve(id, client)
22999
23802
  );
@@ -23007,7 +23810,7 @@ function useCreateKnowbaseSystemChunksVectorizeCreate() {
23007
23810
  };
23008
23811
  }
23009
23812
  function useKnowbaseSystemItemsList(params, client) {
23010
- return useSWR18(
23813
+ return useSWR19(
23011
23814
  params ? ["cfg-knowbase-system-items", params] : "cfg-knowbase-system-items",
23012
23815
  () => getKnowbaseSystemItemsList(params, client)
23013
23816
  );
@@ -23021,7 +23824,7 @@ function useCreateKnowbaseSystemItemsCreate() {
23021
23824
  };
23022
23825
  }
23023
23826
  function useKnowbaseSystemItemsRetrieve(id, client) {
23024
- return useSWR18(
23827
+ return useSWR19(
23025
23828
  ["cfg-knowbase-system-item", id],
23026
23829
  () => getKnowbaseSystemItemsRetrieve(id, client)
23027
23830
  );
@@ -23053,23 +23856,23 @@ function useDeleteKnowbaseSystemItemsDestroy() {
23053
23856
  };
23054
23857
  }
23055
23858
  function useKnowbaseSystemItemsChunksList(id, params, client) {
23056
- return useSWR18(
23859
+ return useSWR19(
23057
23860
  ["cfg-knowbase-system-items-chunks", id],
23058
23861
  () => getKnowbaseSystemItemsChunksList(id, params, client)
23059
23862
  );
23060
23863
  }
23061
23864
  function useKnowbaseSystemItemsContentRetrieve(id, client) {
23062
- return useSWR18(
23865
+ return useSWR19(
23063
23866
  ["cfg-knowbase-system-items-content", id],
23064
23867
  () => getKnowbaseSystemItemsContentRetrieve(id, client)
23065
23868
  );
23066
23869
  }
23067
23870
 
23068
23871
  // src/cfg/generated/_utils/hooks/cfg__leads.ts
23069
- import useSWR19 from "swr";
23872
+ import useSWR20 from "swr";
23070
23873
  import { useSWRConfig as useSWRConfig13 } from "swr";
23071
23874
  function useLeadsList(params, client) {
23072
- return useSWR19(
23875
+ return useSWR20(
23073
23876
  params ? ["cfg-leads", params] : "cfg-leads",
23074
23877
  () => getLeadsList(params, client)
23075
23878
  );
@@ -23083,7 +23886,7 @@ function useCreateLeadsCreate() {
23083
23886
  };
23084
23887
  }
23085
23888
  function useLeadsRetrieve(id, client) {
23086
- return useSWR19(
23889
+ return useSWR20(
23087
23890
  ["cfg-lead", id],
23088
23891
  () => getLeadsRetrieve(id, client)
23089
23892
  );
@@ -23143,28 +23946,28 @@ function usePartialUpdateNewsletterUnsubscribePartialUpdate() {
23143
23946
  }
23144
23947
 
23145
23948
  // src/cfg/generated/_utils/hooks/cfg__payments.ts
23146
- import useSWR20 from "swr";
23949
+ import useSWR21 from "swr";
23147
23950
  import { useSWRConfig as useSWRConfig15 } from "swr";
23148
23951
  function usePaymentsBalanceRetrieve(client) {
23149
- return useSWR20(
23952
+ return useSWR21(
23150
23953
  "cfg-payments-balance",
23151
23954
  () => getPaymentsBalanceRetrieve(client)
23152
23955
  );
23153
23956
  }
23154
23957
  function usePaymentsCurrenciesList(client) {
23155
- return useSWR20(
23958
+ return useSWR21(
23156
23959
  "cfg-payments-currencies",
23157
23960
  () => getPaymentsCurrenciesList(client)
23158
23961
  );
23159
23962
  }
23160
23963
  function usePaymentsPaymentsList(params, client) {
23161
- return useSWR20(
23964
+ return useSWR21(
23162
23965
  params ? ["cfg-payments-payments", params] : "cfg-payments-payments",
23163
23966
  () => getPaymentsPaymentsList(params, client)
23164
23967
  );
23165
23968
  }
23166
23969
  function usePaymentsPaymentsRetrieve(id, client) {
23167
- return useSWR20(
23970
+ return useSWR21(
23168
23971
  ["cfg-payments-payment", id],
23169
23972
  () => getPaymentsPaymentsRetrieve(id, client)
23170
23973
  );
@@ -23178,7 +23981,7 @@ function useCreatePaymentsPaymentsConfirmCreate() {
23178
23981
  };
23179
23982
  }
23180
23983
  function usePaymentsPaymentsStatusRetrieve(id, client) {
23181
- return useSWR20(
23984
+ return useSWR21(
23182
23985
  ["cfg-payments-payments-statu", id],
23183
23986
  () => getPaymentsPaymentsStatusRetrieve(id, client)
23184
23987
  );
@@ -23192,17 +23995,17 @@ function useCreatePaymentsPaymentsCreateCreate() {
23192
23995
  };
23193
23996
  }
23194
23997
  function usePaymentsTransactionsList(params, client) {
23195
- return useSWR20(
23998
+ return useSWR21(
23196
23999
  params ? ["cfg-payments-transactions", params] : "cfg-payments-transactions",
23197
24000
  () => getPaymentsTransactionsList(params, client)
23198
24001
  );
23199
24002
  }
23200
24003
 
23201
24004
  // src/cfg/generated/_utils/hooks/cfg__support.ts
23202
- import useSWR21 from "swr";
24005
+ import useSWR22 from "swr";
23203
24006
  import { useSWRConfig as useSWRConfig16 } from "swr";
23204
24007
  function useSupportTicketsList(params, client) {
23205
- return useSWR21(
24008
+ return useSWR22(
23206
24009
  params ? ["cfg-support-tickets", params] : "cfg-support-tickets",
23207
24010
  () => getSupportTicketsList(params, client)
23208
24011
  );
@@ -23216,7 +24019,7 @@ function useCreateSupportTicketsCreate() {
23216
24019
  };
23217
24020
  }
23218
24021
  function useSupportTicketsMessagesList(ticket_uuid, params, client) {
23219
- return useSWR21(
24022
+ return useSWR22(
23220
24023
  ["cfg-support-tickets-messages", ticket_uuid],
23221
24024
  () => getSupportTicketsMessagesList(ticket_uuid, params, client)
23222
24025
  );
@@ -23230,7 +24033,7 @@ function useCreateSupportTicketsMessagesCreate() {
23230
24033
  };
23231
24034
  }
23232
24035
  function useSupportTicketsMessagesRetrieve(ticket_uuid, uuid, client) {
23233
- return useSWR21(
24036
+ return useSWR22(
23234
24037
  ["cfg-support-tickets-message", ticket_uuid],
23235
24038
  () => getSupportTicketsMessagesRetrieve(ticket_uuid, uuid, client)
23236
24039
  );
@@ -23262,7 +24065,7 @@ function useDeleteSupportTicketsMessagesDestroy() {
23262
24065
  };
23263
24066
  }
23264
24067
  function useSupportTicketsRetrieve(uuid, client) {
23265
- return useSWR21(
24068
+ return useSWR22(
23266
24069
  ["cfg-support-ticket", uuid],
23267
24070
  () => getSupportTicketsRetrieve(uuid, client)
23268
24071
  );
@@ -23295,39 +24098,39 @@ function useDeleteSupportTicketsDestroy() {
23295
24098
  }
23296
24099
 
23297
24100
  // src/cfg/generated/_utils/hooks/cfg__tasks.ts
23298
- import useSWR22 from "swr";
24101
+ import useSWR23 from "swr";
23299
24102
  function useTasksLogsList(params, client) {
23300
- return useSWR22(
24103
+ return useSWR23(
23301
24104
  params ? ["cfg-tasks-logs", params] : "cfg-tasks-logs",
23302
24105
  () => getTasksLogsList(params, client)
23303
24106
  );
23304
24107
  }
23305
24108
  function useTasksLogsRetrieve(id, client) {
23306
- return useSWR22(
24109
+ return useSWR23(
23307
24110
  ["cfg-tasks-log", id],
23308
24111
  () => getTasksLogsRetrieve(id, client)
23309
24112
  );
23310
24113
  }
23311
24114
  function useTasksLogsRelatedRetrieve(id, client) {
23312
- return useSWR22(
24115
+ return useSWR23(
23313
24116
  ["cfg-tasks-logs-related", id],
23314
24117
  () => getTasksLogsRelatedRetrieve(id, client)
23315
24118
  );
23316
24119
  }
23317
24120
  function useTasksLogsOverviewRetrieve(client) {
23318
- return useSWR22(
24121
+ return useSWR23(
23319
24122
  "cfg-tasks-logs-overview",
23320
24123
  () => getTasksLogsOverviewRetrieve(client)
23321
24124
  );
23322
24125
  }
23323
24126
  function useTasksLogsStatsRetrieve(client) {
23324
- return useSWR22(
24127
+ return useSWR23(
23325
24128
  "cfg-tasks-logs-stat",
23326
24129
  () => getTasksLogsStatsRetrieve(client)
23327
24130
  );
23328
24131
  }
23329
24132
  function useTasksLogsTimelineRetrieve(client) {
23330
- return useSWR22(
24133
+ return useSWR23(
23331
24134
  "cfg-tasks-logs-timeline",
23332
24135
  () => getTasksLogsTimelineRetrieve(client)
23333
24136
  );
@@ -23373,6 +24176,7 @@ var API = class {
23373
24176
  this.cfg_centrifugo = this._client.cfg_centrifugo;
23374
24177
  this.cfg_dashboard = this._client.cfg_dashboard;
23375
24178
  this.cfg_endpoints = this._client.cfg_endpoints;
24179
+ this.cfg_grpc_monitoring = this._client.cfg_grpc_monitoring;
23376
24180
  this.cfg_health = this._client.cfg_health;
23377
24181
  this.cfg_knowbase = this._client.cfg_knowbase;
23378
24182
  this.cfg_leads = this._client.cfg_leads;
@@ -23414,6 +24218,7 @@ var API = class {
23414
24218
  this.cfg_centrifugo = this._client.cfg_centrifugo;
23415
24219
  this.cfg_dashboard = this._client.cfg_dashboard;
23416
24220
  this.cfg_endpoints = this._client.cfg_endpoints;
24221
+ this.cfg_grpc_monitoring = this._client.cfg_grpc_monitoring;
23417
24222
  this.cfg_health = this._client.cfg_health;
23418
24223
  this.cfg_knowbase = this._client.cfg_knowbase;
23419
24224
  this.cfg_leads = this._client.cfg_leads;
@@ -24467,17 +25272,18 @@ export {
24467
25272
  models_exports13 as CfgDashboardSystemTypes,
24468
25273
  models_exports22 as CfgDashboardTypes,
24469
25274
  models_exports23 as CfgEndpointsTypes,
24470
- models_exports24 as CfgHealthTypes,
24471
- models_exports25 as CfgKnowbaseTypes,
25275
+ models_exports24 as CfgGrpcMonitoringTypes,
25276
+ models_exports25 as CfgHealthTypes,
25277
+ models_exports26 as CfgKnowbaseTypes,
24472
25278
  models_exports14 as CfgLeadSubmissionTypes,
24473
- models_exports26 as CfgLeadsTypes,
25279
+ models_exports27 as CfgLeadsTypes,
24474
25280
  models_exports15 as CfgLogsTypes,
24475
- models_exports27 as CfgNewsletterTypes,
25281
+ models_exports28 as CfgNewsletterTypes,
24476
25282
  models_exports16 as CfgNewslettersTypes,
24477
- models_exports28 as CfgPaymentsTypes,
25283
+ models_exports29 as CfgPaymentsTypes,
24478
25284
  models_exports17 as CfgSubscriptionsTypes,
24479
- models_exports29 as CfgSupportTypes,
24480
- models_exports30 as CfgTasksTypes,
25285
+ models_exports30 as CfgSupportTypes,
25286
+ models_exports31 as CfgTasksTypes,
24481
25287
  models_exports18 as CfgTestingTypes,
24482
25288
  models_exports19 as CfgUserProfileTypes,
24483
25289
  CookieStorageAdapter,
@@ -24589,6 +25395,12 @@ export {
24589
25395
  getEndpointsDrfRetrieve,
24590
25396
  getEndpointsUrlsCompactRetrieve,
24591
25397
  getEndpointsUrlsRetrieve,
25398
+ getGrpcMonitorHealthRetrieve,
25399
+ getGrpcMonitorMethodsRetrieve,
25400
+ getGrpcMonitorOverviewRetrieve,
25401
+ getGrpcMonitorRequestsRetrieve,
25402
+ getGrpcMonitorServicesRetrieve,
25403
+ getGrpcMonitorTimelineRetrieve,
24592
25404
  getHealthDrfQuickRetrieve,
24593
25405
  getHealthDrfRetrieve,
24594
25406
  getKnowbaseAdminChatHistoryRetrieve,