@djangocfg/api 1.2.7 → 1.2.8

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
@@ -594,6 +594,25 @@ var CfgDashboardCommands = class {
594
594
  const response = await this.client.request("GET", "/cfg/dashboard/api/commands/");
595
595
  return response;
596
596
  }
597
+ /**
598
+ * Get command help
599
+ *
600
+ * Get detailed help text for a specific Django management command
601
+ */
602
+ async dashboardApiCommandsHelpRetrieve(id) {
603
+ const response = await this.client.request("GET", `/cfg/dashboard/api/commands/${id}/help/`);
604
+ return response;
605
+ }
606
+ /**
607
+ * Execute command
608
+ *
609
+ * Execute a Django management command and stream output in Server-Sent
610
+ * Events format
611
+ */
612
+ async dashboardApiCommandsExecuteCreate(data) {
613
+ const response = await this.client.request("POST", "/cfg/dashboard/api/commands/execute/", { body: data });
614
+ return response;
615
+ }
597
616
  /**
598
617
  * Get commands summary
599
618
  *
@@ -4691,6 +4710,9 @@ var OPENAPI_SCHEMA = {
4691
4710
  "help": {
4692
4711
  "type": "string"
4693
4712
  },
4713
+ "is_allowed": {
4714
+ "type": "boolean"
4715
+ },
4694
4716
  "is_core": {
4695
4717
  "type": "boolean"
4696
4718
  },
@@ -4699,6 +4721,9 @@ var OPENAPI_SCHEMA = {
4699
4721
  },
4700
4722
  "name": {
4701
4723
  "type": "string"
4724
+ },
4725
+ "risk_level": {
4726
+ "type": "string"
4702
4727
  }
4703
4728
  },
4704
4729
  "required": [
@@ -4710,6 +4735,64 @@ var OPENAPI_SCHEMA = {
4710
4735
  ],
4711
4736
  "type": "object"
4712
4737
  },
4738
+ "CommandExecuteRequestRequest": {
4739
+ "description": "Request serializer for command execution.",
4740
+ "properties": {
4741
+ "args": {
4742
+ "description": "Positional arguments for the command",
4743
+ "items": {
4744
+ "minLength": 1,
4745
+ "type": "string"
4746
+ },
4747
+ "type": "array"
4748
+ },
4749
+ "command": {
4750
+ "description": "Name of the Django management command",
4751
+ "minLength": 1,
4752
+ "type": "string"
4753
+ },
4754
+ "options": {
4755
+ "additionalProperties": {},
4756
+ "description": "Named options for the command (e.g., {'verbosity': '2'})",
4757
+ "type": "object"
4758
+ }
4759
+ },
4760
+ "required": [
4761
+ "command"
4762
+ ],
4763
+ "type": "object"
4764
+ },
4765
+ "CommandHelpResponse": {
4766
+ "description": "Response serializer for command help.",
4767
+ "properties": {
4768
+ "app": {
4769
+ "type": "string"
4770
+ },
4771
+ "command": {
4772
+ "type": "string"
4773
+ },
4774
+ "error": {
4775
+ "type": "string"
4776
+ },
4777
+ "help_text": {
4778
+ "type": "string"
4779
+ },
4780
+ "is_allowed": {
4781
+ "type": "boolean"
4782
+ },
4783
+ "risk_level": {
4784
+ "type": "string"
4785
+ },
4786
+ "status": {
4787
+ "type": "string"
4788
+ }
4789
+ },
4790
+ "required": [
4791
+ "command",
4792
+ "status"
4793
+ ],
4794
+ "type": "object"
4795
+ },
4713
4796
  "CommandsSummary": {
4714
4797
  "description": "Commands summary serializer.",
4715
4798
  "properties": {
@@ -12406,6 +12489,9 @@ var OPENAPI_SCHEMA = {
12406
12489
  }
12407
12490
  },
12408
12491
  "security": [
12492
+ {
12493
+ "jwtAuth": []
12494
+ },
12409
12495
  {
12410
12496
  "cookieAuth": []
12411
12497
  },
@@ -12420,6 +12506,80 @@ var OPENAPI_SCHEMA = {
12420
12506
  "x-async-capable": false
12421
12507
  }
12422
12508
  },
12509
+ "/cfg/dashboard/api/commands/execute/": {
12510
+ "post": {
12511
+ "description": "Execute a Django management command and stream output in Server-Sent Events format",
12512
+ "operationId": "cfg_dashboard_api_commands_execute_create",
12513
+ "requestBody": {
12514
+ "content": {
12515
+ "application/json": {
12516
+ "schema": {
12517
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
12518
+ }
12519
+ },
12520
+ "application/x-www-form-urlencoded": {
12521
+ "schema": {
12522
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
12523
+ }
12524
+ },
12525
+ "multipart/form-data": {
12526
+ "schema": {
12527
+ "$ref": "#/components/schemas/CommandExecuteRequestRequest"
12528
+ }
12529
+ }
12530
+ },
12531
+ "required": true
12532
+ },
12533
+ "responses": {
12534
+ "200": {
12535
+ "content": {
12536
+ "application/json": {
12537
+ "schema": {
12538
+ "description": "Command execution started (SSE stream)"
12539
+ }
12540
+ }
12541
+ },
12542
+ "description": ""
12543
+ },
12544
+ "400": {
12545
+ "content": {
12546
+ "application/json": {
12547
+ "schema": {
12548
+ "description": "Invalid request"
12549
+ }
12550
+ }
12551
+ },
12552
+ "description": ""
12553
+ },
12554
+ "403": {
12555
+ "content": {
12556
+ "application/json": {
12557
+ "schema": {
12558
+ "description": "Command not allowed"
12559
+ }
12560
+ }
12561
+ },
12562
+ "description": ""
12563
+ }
12564
+ },
12565
+ "security": [
12566
+ {
12567
+ "jwtAuth": []
12568
+ },
12569
+ {
12570
+ "cookieAuth": []
12571
+ },
12572
+ {
12573
+ "basicAuth": []
12574
+ }
12575
+ ],
12576
+ "summary": "Execute command",
12577
+ "tags": [
12578
+ "Dashboard - Commands"
12579
+ ],
12580
+ "x-async-capable": false
12581
+ }
12582
+ },
12423
12583
  "/cfg/dashboard/api/commands/summary/": {
12424
12584
  "get": {
12425
12585
  "description": "Retrieve commands summary with statistics and categorization",
@@ -12437,6 +12597,9 @@ var OPENAPI_SCHEMA = {
12437
12597
  }
12438
12598
  },
12439
12599
  "security": [
12600
+ {
12601
+ "jwtAuth": []
12602
+ },
12440
12603
  {
12441
12604
  "cookieAuth": []
12442
12605
  },
@@ -12451,6 +12614,50 @@ var OPENAPI_SCHEMA = {
12451
12614
  "x-async-capable": false
12452
12615
  }
12453
12616
  },
12617
+ "/cfg/dashboard/api/commands/{id}/help/": {
12618
+ "get": {
12619
+ "description": "Get detailed help text for a specific Django management command",
12620
+ "operationId": "cfg_dashboard_api_commands_help_retrieve",
12621
+ "parameters": [
12622
+ {
12623
+ "in": "path",
12624
+ "name": "id",
12625
+ "required": true,
12626
+ "schema": {
12627
+ "type": "string"
12628
+ }
12629
+ }
12630
+ ],
12631
+ "responses": {
12632
+ "200": {
12633
+ "content": {
12634
+ "application/json": {
12635
+ "schema": {
12636
+ "$ref": "#/components/schemas/CommandHelpResponse"
12637
+ }
12638
+ }
12639
+ },
12640
+ "description": ""
12641
+ }
12642
+ },
12643
+ "security": [
12644
+ {
12645
+ "jwtAuth": []
12646
+ },
12647
+ {
12648
+ "cookieAuth": []
12649
+ },
12650
+ {
12651
+ "basicAuth": []
12652
+ }
12653
+ ],
12654
+ "summary": "Get command help",
12655
+ "tags": [
12656
+ "Dashboard - Commands"
12657
+ ],
12658
+ "x-async-capable": false
12659
+ }
12660
+ },
12454
12661
  "/cfg/dashboard/api/overview/overview/": {
12455
12662
  "get": {
12456
12663
  "description": "Retrieve complete dashboard data including stats, health, actions, and metrics",
@@ -18607,6 +18814,8 @@ __export(schemas_exports, {
18607
18814
  ChatSourceRequestSchema: () => ChatSourceRequestSchema,
18608
18815
  ChatSourceSchema: () => ChatSourceSchema,
18609
18816
  ChunkRevectorizationRequestRequestSchema: () => ChunkRevectorizationRequestRequestSchema,
18817
+ CommandExecuteRequestRequestSchema: () => CommandExecuteRequestRequestSchema,
18818
+ CommandHelpResponseSchema: () => CommandHelpResponseSchema,
18610
18819
  CommandSchema: () => CommandSchema,
18611
18820
  CommandsSummarySchema: () => CommandsSummarySchema,
18612
18821
  ConnectionTokenRequestRequestSchema: () => ConnectionTokenRequestRequestSchema,
@@ -19309,566 +19518,560 @@ var CommandSchema = z58.object({
19309
19518
  app: z58.string(),
19310
19519
  help: z58.string(),
19311
19520
  is_core: z58.boolean(),
19312
- is_custom: z58.boolean()
19521
+ is_custom: z58.boolean(),
19522
+ is_allowed: z58.boolean().optional(),
19523
+ risk_level: z58.string().optional()
19313
19524
  });
19314
19525
 
19315
- // src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts
19526
+ // src/cfg/generated/_utils/schemas/CommandExecuteRequestRequest.schema.ts
19316
19527
  import { z as z59 } from "zod";
19317
- var CommandsSummarySchema = z59.object({
19318
- total_commands: z59.int(),
19319
- core_commands: z59.int(),
19320
- custom_commands: z59.int(),
19321
- categories: z59.array(z59.string()),
19322
- commands: z59.array(CommandSchema),
19323
- categorized: z59.record(z59.string(), z59.any())
19528
+ var CommandExecuteRequestRequestSchema = z59.object({
19529
+ command: z59.string().min(1),
19530
+ args: z59.array(z59.string().min(1)).optional(),
19531
+ options: z59.record(z59.string(), z59.any()).optional()
19324
19532
  });
19325
19533
 
19326
- // src/cfg/generated/_utils/schemas/ConnectionTokenRequestRequest.schema.ts
19534
+ // src/cfg/generated/_utils/schemas/CommandHelpResponse.schema.ts
19327
19535
  import { z as z60 } from "zod";
19328
- var ConnectionTokenRequestRequestSchema = z60.object({
19329
- user_id: z60.string(),
19330
- channels: z60.array(z60.string()).optional()
19536
+ var CommandHelpResponseSchema = z60.object({
19537
+ status: z60.string(),
19538
+ command: z60.string(),
19539
+ app: z60.string().optional(),
19540
+ help_text: z60.string().optional(),
19541
+ is_allowed: z60.boolean().optional(),
19542
+ risk_level: z60.string().optional(),
19543
+ error: z60.string().optional()
19331
19544
  });
19332
19545
 
19333
- // src/cfg/generated/_utils/schemas/ConnectionTokenResponse.schema.ts
19546
+ // src/cfg/generated/_utils/schemas/CommandsSummary.schema.ts
19334
19547
  import { z as z61 } from "zod";
19335
- var ConnectionTokenResponseSchema = z61.object({
19336
- token: z61.string(),
19337
- centrifugo_url: z61.string(),
19338
- expires_at: z61.string()
19548
+ var CommandsSummarySchema = z61.object({
19549
+ total_commands: z61.int(),
19550
+ core_commands: z61.int(),
19551
+ custom_commands: z61.int(),
19552
+ categories: z61.array(z61.string()),
19553
+ commands: z61.array(CommandSchema),
19554
+ categorized: z61.record(z61.string(), z61.any())
19339
19555
  });
19340
19556
 
19341
- // src/cfg/generated/_utils/schemas/Currency.schema.ts
19557
+ // src/cfg/generated/_utils/schemas/ConnectionTokenRequestRequest.schema.ts
19342
19558
  import { z as z62 } from "zod";
19343
- var CurrencySchema = z62.object({
19344
- code: z62.string(),
19345
- name: z62.string(),
19346
- token: z62.string(),
19347
- network: z62.string().nullable(),
19348
- display_name: z62.string(),
19349
- symbol: z62.string(),
19350
- decimal_places: z62.int(),
19351
- is_active: z62.boolean(),
19352
- min_amount_usd: z62.string(),
19353
- sort_order: z62.int()
19559
+ var ConnectionTokenRequestRequestSchema = z62.object({
19560
+ user_id: z62.string(),
19561
+ channels: z62.array(z62.string()).optional()
19354
19562
  });
19355
19563
 
19356
- // src/cfg/generated/_utils/schemas/DashboardOverview.schema.ts
19564
+ // src/cfg/generated/_utils/schemas/ConnectionTokenResponse.schema.ts
19357
19565
  import { z as z63 } from "zod";
19358
- var DashboardOverviewSchema = z63.object({
19359
- stat_cards: z63.array(z63.record(z63.string(), z63.any())),
19360
- system_health: z63.array(z63.record(z63.string(), z63.any())),
19361
- quick_actions: z63.array(z63.record(z63.string(), z63.any())),
19362
- recent_activity: z63.array(z63.record(z63.string(), z63.any())),
19363
- system_metrics: z63.record(z63.string(), z63.any()),
19364
- user_statistics: z63.record(z63.string(), z63.any()),
19365
- timestamp: z63.string()
19566
+ var ConnectionTokenResponseSchema = z63.object({
19567
+ token: z63.string(),
19568
+ centrifugo_url: z63.string(),
19569
+ expires_at: z63.string()
19366
19570
  });
19367
19571
 
19368
- // src/cfg/generated/_utils/schemas/Document.schema.ts
19572
+ // src/cfg/generated/_utils/schemas/Currency.schema.ts
19369
19573
  import { z as z64 } from "zod";
19370
- var DocumentSchema = z64.object({
19371
- id: z64.uuid(),
19372
- title: z64.string().max(512),
19373
- file_type: z64.string().max(100).optional(),
19374
- file_size: z64.int().min(0).max(2147483647).optional(),
19375
- processing_status: z64.string(),
19376
- chunks_count: z64.int(),
19377
- total_tokens: z64.int(),
19378
- total_cost_usd: z64.number(),
19379
- created_at: z64.iso.datetime(),
19380
- updated_at: z64.iso.datetime(),
19381
- processing_started_at: z64.iso.datetime(),
19382
- processing_completed_at: z64.iso.datetime(),
19383
- processing_error: z64.string(),
19384
- metadata: z64.string().nullable().optional()
19574
+ var CurrencySchema = z64.object({
19575
+ code: z64.string(),
19576
+ name: z64.string(),
19577
+ token: z64.string(),
19578
+ network: z64.string().nullable(),
19579
+ display_name: z64.string(),
19580
+ symbol: z64.string(),
19581
+ decimal_places: z64.int(),
19582
+ is_active: z64.boolean(),
19583
+ min_amount_usd: z64.string(),
19584
+ sort_order: z64.int()
19385
19585
  });
19386
19586
 
19387
- // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
19388
- import { z as z66 } from "zod";
19389
-
19390
- // src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
19587
+ // src/cfg/generated/_utils/schemas/DashboardOverview.schema.ts
19391
19588
  import { z as z65 } from "zod";
19392
- var DocumentCategorySchema = z65.object({
19393
- id: z65.uuid(),
19394
- name: z65.string().max(255),
19395
- description: z65.string().optional(),
19396
- is_public: z65.boolean().optional(),
19397
- created_at: z65.iso.datetime()
19589
+ var DashboardOverviewSchema = z65.object({
19590
+ stat_cards: z65.array(z65.record(z65.string(), z65.any())),
19591
+ system_health: z65.array(z65.record(z65.string(), z65.any())),
19592
+ quick_actions: z65.array(z65.record(z65.string(), z65.any())),
19593
+ recent_activity: z65.array(z65.record(z65.string(), z65.any())),
19594
+ system_metrics: z65.record(z65.string(), z65.any()),
19595
+ user_statistics: z65.record(z65.string(), z65.any()),
19596
+ timestamp: z65.string()
19398
19597
  });
19399
19598
 
19400
- // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
19401
- var DocumentArchiveSchema = z66.object({
19599
+ // src/cfg/generated/_utils/schemas/Document.schema.ts
19600
+ import { z as z66 } from "zod";
19601
+ var DocumentSchema = z66.object({
19402
19602
  id: z66.uuid(),
19403
19603
  title: z66.string().max(512),
19404
- description: z66.string().optional(),
19405
- categories: z66.array(DocumentCategorySchema),
19406
- is_public: z66.boolean().optional(),
19407
- archive_file: z66.url(),
19408
- original_filename: z66.string(),
19409
- file_size: z66.int(),
19410
- archive_type: z66.nativeEnum(DocumentArchiveArchiveType),
19411
- processing_status: z66.nativeEnum(DocumentArchiveProcessingStatus),
19412
- processed_at: z66.iso.datetime().nullable(),
19413
- processing_duration_ms: z66.int(),
19414
- processing_error: z66.string(),
19415
- total_items: z66.int(),
19416
- processed_items: z66.int(),
19417
- total_chunks: z66.int(),
19418
- vectorized_chunks: z66.int(),
19604
+ file_type: z66.string().max(100).optional(),
19605
+ file_size: z66.int().min(0).max(2147483647).optional(),
19606
+ processing_status: z66.string(),
19607
+ chunks_count: z66.int(),
19419
19608
  total_tokens: z66.int(),
19420
19609
  total_cost_usd: z66.number(),
19421
- processing_progress: z66.number(),
19422
- vectorization_progress: z66.number(),
19423
- is_processed: z66.boolean(),
19424
19610
  created_at: z66.iso.datetime(),
19425
- updated_at: z66.iso.datetime()
19611
+ updated_at: z66.iso.datetime(),
19612
+ processing_started_at: z66.iso.datetime(),
19613
+ processing_completed_at: z66.iso.datetime(),
19614
+ processing_error: z66.string(),
19615
+ metadata: z66.string().nullable().optional()
19426
19616
  });
19427
19617
 
19428
- // src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts
19618
+ // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
19619
+ import { z as z68 } from "zod";
19620
+
19621
+ // src/cfg/generated/_utils/schemas/DocumentCategory.schema.ts
19429
19622
  import { z as z67 } from "zod";
19430
- var DocumentArchiveDetailSchema = z67.object({
19623
+ var DocumentCategorySchema = z67.object({
19431
19624
  id: z67.uuid(),
19432
- title: z67.string().max(512),
19625
+ name: z67.string().max(255),
19433
19626
  description: z67.string().optional(),
19434
- categories: z67.array(DocumentCategorySchema),
19435
19627
  is_public: z67.boolean().optional(),
19436
- archive_file: z67.url(),
19437
- original_filename: z67.string(),
19438
- file_size: z67.int(),
19439
- archive_type: z67.nativeEnum(DocumentArchiveDetailArchiveType),
19440
- processing_status: z67.nativeEnum(DocumentArchiveDetailProcessingStatus),
19441
- processed_at: z67.iso.datetime().nullable(),
19442
- processing_duration_ms: z67.int(),
19443
- processing_error: z67.string(),
19444
- total_items: z67.int(),
19445
- processed_items: z67.int(),
19446
- total_chunks: z67.int(),
19447
- vectorized_chunks: z67.int(),
19448
- total_tokens: z67.int(),
19449
- total_cost_usd: z67.number(),
19450
- processing_progress: z67.number(),
19451
- vectorization_progress: z67.number(),
19452
- is_processed: z67.boolean(),
19453
- created_at: z67.iso.datetime(),
19454
- updated_at: z67.iso.datetime(),
19455
- items: z67.array(ArchiveItemSchema),
19456
- file_tree: z67.record(z67.string(), z67.any()),
19457
- metadata: z67.string().nullable().optional()
19628
+ created_at: z67.iso.datetime()
19458
19629
  });
19459
19630
 
19460
- // src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts
19461
- import { z as z68 } from "zod";
19462
- var DocumentArchiveListSchema = z68.object({
19631
+ // src/cfg/generated/_utils/schemas/DocumentArchive.schema.ts
19632
+ var DocumentArchiveSchema = z68.object({
19463
19633
  id: z68.uuid(),
19464
- title: z68.string(),
19465
- description: z68.string(),
19634
+ title: z68.string().max(512),
19635
+ description: z68.string().optional(),
19466
19636
  categories: z68.array(DocumentCategorySchema),
19467
- is_public: z68.boolean(),
19637
+ is_public: z68.boolean().optional(),
19638
+ archive_file: z68.url(),
19468
19639
  original_filename: z68.string(),
19469
19640
  file_size: z68.int(),
19470
- archive_type: z68.nativeEnum(DocumentArchiveListArchiveType),
19471
- processing_status: z68.nativeEnum(DocumentArchiveListProcessingStatus),
19641
+ archive_type: z68.nativeEnum(DocumentArchiveArchiveType),
19642
+ processing_status: z68.nativeEnum(DocumentArchiveProcessingStatus),
19472
19643
  processed_at: z68.iso.datetime().nullable(),
19644
+ processing_duration_ms: z68.int(),
19645
+ processing_error: z68.string(),
19473
19646
  total_items: z68.int(),
19647
+ processed_items: z68.int(),
19474
19648
  total_chunks: z68.int(),
19649
+ vectorized_chunks: z68.int(),
19650
+ total_tokens: z68.int(),
19475
19651
  total_cost_usd: z68.number(),
19476
19652
  processing_progress: z68.number(),
19477
- created_at: z68.iso.datetime()
19653
+ vectorization_progress: z68.number(),
19654
+ is_processed: z68.boolean(),
19655
+ created_at: z68.iso.datetime(),
19656
+ updated_at: z68.iso.datetime()
19478
19657
  });
19479
19658
 
19480
- // src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts
19659
+ // src/cfg/generated/_utils/schemas/DocumentArchiveDetail.schema.ts
19481
19660
  import { z as z69 } from "zod";
19482
- var DocumentArchiveRequestSchema = z69.object({
19483
- title: z69.string().min(1).max(512),
19661
+ var DocumentArchiveDetailSchema = z69.object({
19662
+ id: z69.uuid(),
19663
+ title: z69.string().max(512),
19484
19664
  description: z69.string().optional(),
19485
- is_public: z69.boolean().optional()
19665
+ categories: z69.array(DocumentCategorySchema),
19666
+ is_public: z69.boolean().optional(),
19667
+ archive_file: z69.url(),
19668
+ original_filename: z69.string(),
19669
+ file_size: z69.int(),
19670
+ archive_type: z69.nativeEnum(DocumentArchiveDetailArchiveType),
19671
+ processing_status: z69.nativeEnum(DocumentArchiveDetailProcessingStatus),
19672
+ processed_at: z69.iso.datetime().nullable(),
19673
+ processing_duration_ms: z69.int(),
19674
+ processing_error: z69.string(),
19675
+ total_items: z69.int(),
19676
+ processed_items: z69.int(),
19677
+ total_chunks: z69.int(),
19678
+ vectorized_chunks: z69.int(),
19679
+ total_tokens: z69.int(),
19680
+ total_cost_usd: z69.number(),
19681
+ processing_progress: z69.number(),
19682
+ vectorization_progress: z69.number(),
19683
+ is_processed: z69.boolean(),
19684
+ created_at: z69.iso.datetime(),
19685
+ updated_at: z69.iso.datetime(),
19686
+ items: z69.array(ArchiveItemSchema),
19687
+ file_tree: z69.record(z69.string(), z69.any()),
19688
+ metadata: z69.string().nullable().optional()
19486
19689
  });
19487
19690
 
19488
- // src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts
19691
+ // src/cfg/generated/_utils/schemas/DocumentArchiveList.schema.ts
19489
19692
  import { z as z70 } from "zod";
19490
- var DocumentCategoryRequestSchema = z70.object({
19491
- name: z70.string().min(1).max(255),
19492
- description: z70.string().optional(),
19493
- is_public: z70.boolean().optional()
19693
+ var DocumentArchiveListSchema = z70.object({
19694
+ id: z70.uuid(),
19695
+ title: z70.string(),
19696
+ description: z70.string(),
19697
+ categories: z70.array(DocumentCategorySchema),
19698
+ is_public: z70.boolean(),
19699
+ original_filename: z70.string(),
19700
+ file_size: z70.int(),
19701
+ archive_type: z70.nativeEnum(DocumentArchiveListArchiveType),
19702
+ processing_status: z70.nativeEnum(DocumentArchiveListProcessingStatus),
19703
+ processed_at: z70.iso.datetime().nullable(),
19704
+ total_items: z70.int(),
19705
+ total_chunks: z70.int(),
19706
+ total_cost_usd: z70.number(),
19707
+ processing_progress: z70.number(),
19708
+ created_at: z70.iso.datetime()
19494
19709
  });
19495
19710
 
19496
- // src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts
19711
+ // src/cfg/generated/_utils/schemas/DocumentArchiveRequest.schema.ts
19497
19712
  import { z as z71 } from "zod";
19498
- var DocumentCreateRequestSchema = z71.object({
19713
+ var DocumentArchiveRequestSchema = z71.object({
19499
19714
  title: z71.string().min(1).max(512),
19500
- content: z71.string().min(10).max(1e6),
19501
- file_type: z71.string().min(1).optional(),
19502
- metadata: z71.string().optional()
19715
+ description: z71.string().optional(),
19716
+ is_public: z71.boolean().optional()
19503
19717
  });
19504
19718
 
19505
- // src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts
19719
+ // src/cfg/generated/_utils/schemas/DocumentCategoryRequest.schema.ts
19506
19720
  import { z as z72 } from "zod";
19507
- var DocumentProcessingStatusSchema = z72.object({
19508
- id: z72.uuid(),
19509
- status: z72.string(),
19510
- progress: z72.string(),
19511
- error: z72.string().nullable().optional(),
19512
- processing_time_seconds: z72.number().nullable().optional()
19721
+ var DocumentCategoryRequestSchema = z72.object({
19722
+ name: z72.string().min(1).max(255),
19723
+ description: z72.string().optional(),
19724
+ is_public: z72.boolean().optional()
19513
19725
  });
19514
19726
 
19515
- // src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts
19727
+ // src/cfg/generated/_utils/schemas/DocumentCreateRequest.schema.ts
19516
19728
  import { z as z73 } from "zod";
19517
- var DocumentRequestSchema = z73.object({
19729
+ var DocumentCreateRequestSchema = z73.object({
19518
19730
  title: z73.string().min(1).max(512),
19519
- file_type: z73.string().min(1).max(100).optional(),
19520
- file_size: z73.int().min(0).max(2147483647).optional(),
19521
- metadata: z73.string().nullable().optional()
19731
+ content: z73.string().min(10).max(1e6),
19732
+ file_type: z73.string().min(1).optional(),
19733
+ metadata: z73.string().optional()
19522
19734
  });
19523
19735
 
19524
- // src/cfg/generated/_utils/schemas/DocumentStats.schema.ts
19736
+ // src/cfg/generated/_utils/schemas/DocumentProcessingStatus.schema.ts
19525
19737
  import { z as z74 } from "zod";
19526
- var DocumentStatsSchema = z74.object({
19527
- total_documents: z74.int(),
19528
- completed_documents: z74.int(),
19529
- processing_success_rate: z74.number(),
19530
- total_chunks: z74.int(),
19531
- total_tokens: z74.int(),
19532
- total_cost_usd: z74.number(),
19533
- avg_processing_time_seconds: z74.number()
19738
+ var DocumentProcessingStatusSchema = z74.object({
19739
+ id: z74.uuid(),
19740
+ status: z74.string(),
19741
+ progress: z74.string(),
19742
+ error: z74.string().nullable().optional(),
19743
+ processing_time_seconds: z74.number().nullable().optional()
19534
19744
  });
19535
19745
 
19536
- // src/cfg/generated/_utils/schemas/EmailLog.schema.ts
19746
+ // src/cfg/generated/_utils/schemas/DocumentRequest.schema.ts
19537
19747
  import { z as z75 } from "zod";
19538
- var EmailLogSchema = z75.object({
19539
- id: z75.uuid(),
19540
- user: z75.int().nullable(),
19541
- user_email: z75.string(),
19542
- newsletter: z75.int().nullable(),
19543
- newsletter_title: z75.string(),
19544
- recipient: z75.string(),
19545
- subject: z75.string(),
19546
- body: z75.string(),
19547
- status: z75.nativeEnum(EmailLogStatus),
19548
- created_at: z75.iso.datetime(),
19549
- sent_at: z75.iso.datetime().nullable(),
19550
- error_message: z75.string().nullable()
19748
+ var DocumentRequestSchema = z75.object({
19749
+ title: z75.string().min(1).max(512),
19750
+ file_type: z75.string().min(1).max(100).optional(),
19751
+ file_size: z75.int().min(0).max(2147483647).optional(),
19752
+ metadata: z75.string().nullable().optional()
19551
19753
  });
19552
19754
 
19553
- // src/cfg/generated/_utils/schemas/Endpoint.schema.ts
19755
+ // src/cfg/generated/_utils/schemas/DocumentStats.schema.ts
19554
19756
  import { z as z76 } from "zod";
19555
- var EndpointSchema = z76.object({
19556
- url: z76.string(),
19557
- url_pattern: z76.string().nullable().optional(),
19558
- url_name: z76.string().nullable().optional(),
19559
- namespace: z76.string().optional(),
19560
- group: z76.string(),
19561
- view: z76.string().optional(),
19562
- status: z76.string(),
19563
- status_code: z76.int().nullable().optional(),
19564
- response_time_ms: z76.number().nullable().optional(),
19565
- is_healthy: z76.boolean().nullable().optional(),
19566
- error: z76.string().optional(),
19567
- error_type: z76.string().optional(),
19568
- reason: z76.string().optional(),
19569
- last_checked: z76.iso.datetime().nullable().optional(),
19570
- has_parameters: z76.boolean().optional(),
19571
- required_auth: z76.boolean().optional(),
19572
- rate_limited: z76.boolean().optional()
19757
+ var DocumentStatsSchema = z76.object({
19758
+ total_documents: z76.int(),
19759
+ completed_documents: z76.int(),
19760
+ processing_success_rate: z76.number(),
19761
+ total_chunks: z76.int(),
19762
+ total_tokens: z76.int(),
19763
+ total_cost_usd: z76.number(),
19764
+ avg_processing_time_seconds: z76.number()
19573
19765
  });
19574
19766
 
19575
- // src/cfg/generated/_utils/schemas/EndpointsStatus.schema.ts
19767
+ // src/cfg/generated/_utils/schemas/EmailLog.schema.ts
19576
19768
  import { z as z77 } from "zod";
19577
- var EndpointsStatusSchema = z77.object({
19578
- status: z77.string(),
19579
- timestamp: z77.iso.datetime(),
19580
- total_endpoints: z77.int(),
19581
- healthy: z77.int(),
19582
- unhealthy: z77.int(),
19583
- warnings: z77.int(),
19584
- errors: z77.int(),
19585
- skipped: z77.int(),
19586
- endpoints: z77.array(EndpointSchema)
19769
+ var EmailLogSchema = z77.object({
19770
+ id: z77.uuid(),
19771
+ user: z77.int().nullable(),
19772
+ user_email: z77.string(),
19773
+ newsletter: z77.int().nullable(),
19774
+ newsletter_title: z77.string(),
19775
+ recipient: z77.string(),
19776
+ subject: z77.string(),
19777
+ body: z77.string(),
19778
+ status: z77.nativeEnum(EmailLogStatus),
19779
+ created_at: z77.iso.datetime(),
19780
+ sent_at: z77.iso.datetime().nullable(),
19781
+ error_message: z77.string().nullable()
19587
19782
  });
19588
19783
 
19589
- // src/cfg/generated/_utils/schemas/ErrorResponse.schema.ts
19784
+ // src/cfg/generated/_utils/schemas/Endpoint.schema.ts
19590
19785
  import { z as z78 } from "zod";
19591
- var ErrorResponseSchema = z78.object({
19592
- success: z78.boolean().optional(),
19593
- message: z78.string()
19786
+ var EndpointSchema = z78.object({
19787
+ url: z78.string(),
19788
+ url_pattern: z78.string().nullable().optional(),
19789
+ url_name: z78.string().nullable().optional(),
19790
+ namespace: z78.string().optional(),
19791
+ group: z78.string(),
19792
+ view: z78.string().optional(),
19793
+ status: z78.string(),
19794
+ status_code: z78.int().nullable().optional(),
19795
+ response_time_ms: z78.number().nullable().optional(),
19796
+ is_healthy: z78.boolean().nullable().optional(),
19797
+ error: z78.string().optional(),
19798
+ error_type: z78.string().optional(),
19799
+ reason: z78.string().optional(),
19800
+ last_checked: z78.iso.datetime().nullable().optional(),
19801
+ has_parameters: z78.boolean().optional(),
19802
+ required_auth: z78.boolean().optional(),
19803
+ rate_limited: z78.boolean().optional()
19594
19804
  });
19595
19805
 
19596
- // src/cfg/generated/_utils/schemas/HealthCheck.schema.ts
19806
+ // src/cfg/generated/_utils/schemas/EndpointsStatus.schema.ts
19597
19807
  import { z as z79 } from "zod";
19598
- var HealthCheckSchema = z79.object({
19808
+ var EndpointsStatusSchema = z79.object({
19599
19809
  status: z79.string(),
19600
- wrapper_url: z79.string(),
19601
- has_api_key: z79.boolean(),
19602
- timestamp: z79.string()
19810
+ timestamp: z79.iso.datetime(),
19811
+ total_endpoints: z79.int(),
19812
+ healthy: z79.int(),
19813
+ unhealthy: z79.int(),
19814
+ warnings: z79.int(),
19815
+ errors: z79.int(),
19816
+ skipped: z79.int(),
19817
+ endpoints: z79.array(EndpointSchema)
19603
19818
  });
19604
19819
 
19605
- // src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts
19820
+ // src/cfg/generated/_utils/schemas/ErrorResponse.schema.ts
19606
19821
  import { z as z80 } from "zod";
19607
- var LeadSubmissionSchema = z80.object({
19608
- name: z80.string().max(200),
19609
- email: z80.email(),
19610
- company: z80.string().max(200).nullable().optional(),
19611
- company_site: z80.string().max(200).nullable().optional(),
19612
- contact_type: z80.nativeEnum(LeadSubmissionContactType).optional(),
19613
- contact_value: z80.string().max(200).nullable().optional(),
19614
- subject: z80.string().max(200).nullable().optional(),
19615
- message: z80.string(),
19616
- extra: z80.string().nullable().optional(),
19617
- site_url: z80.url()
19822
+ var ErrorResponseSchema = z80.object({
19823
+ success: z80.boolean().optional(),
19824
+ message: z80.string()
19618
19825
  });
19619
19826
 
19620
- // src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts
19827
+ // src/cfg/generated/_utils/schemas/HealthCheck.schema.ts
19621
19828
  import { z as z81 } from "zod";
19622
- var LeadSubmissionErrorSchema = z81.object({
19623
- success: z81.boolean(),
19624
- error: z81.string(),
19625
- details: z81.record(z81.string(), z81.any()).optional()
19829
+ var HealthCheckSchema = z81.object({
19830
+ status: z81.string(),
19831
+ wrapper_url: z81.string(),
19832
+ has_api_key: z81.boolean(),
19833
+ timestamp: z81.string()
19626
19834
  });
19627
19835
 
19628
- // src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts
19836
+ // src/cfg/generated/_utils/schemas/LeadSubmission.schema.ts
19629
19837
  import { z as z82 } from "zod";
19630
- var LeadSubmissionRequestSchema = z82.object({
19631
- name: z82.string().min(1).max(200),
19838
+ var LeadSubmissionSchema = z82.object({
19839
+ name: z82.string().max(200),
19632
19840
  email: z82.email(),
19633
19841
  company: z82.string().max(200).nullable().optional(),
19634
19842
  company_site: z82.string().max(200).nullable().optional(),
19635
- contact_type: z82.nativeEnum(LeadSubmissionRequestContactType).optional(),
19843
+ contact_type: z82.nativeEnum(LeadSubmissionContactType).optional(),
19636
19844
  contact_value: z82.string().max(200).nullable().optional(),
19637
19845
  subject: z82.string().max(200).nullable().optional(),
19638
- message: z82.string().min(1),
19846
+ message: z82.string(),
19639
19847
  extra: z82.string().nullable().optional(),
19640
19848
  site_url: z82.url()
19641
19849
  });
19642
19850
 
19643
- // src/cfg/generated/_utils/schemas/LeadSubmissionResponse.schema.ts
19851
+ // src/cfg/generated/_utils/schemas/LeadSubmissionError.schema.ts
19644
19852
  import { z as z83 } from "zod";
19645
- var LeadSubmissionResponseSchema = z83.object({
19853
+ var LeadSubmissionErrorSchema = z83.object({
19646
19854
  success: z83.boolean(),
19647
- message: z83.string(),
19648
- lead_id: z83.int()
19855
+ error: z83.string(),
19856
+ details: z83.record(z83.string(), z83.any()).optional()
19649
19857
  });
19650
19858
 
19651
- // src/cfg/generated/_utils/schemas/ManualAckRequestRequest.schema.ts
19859
+ // src/cfg/generated/_utils/schemas/LeadSubmissionRequest.schema.ts
19652
19860
  import { z as z84 } from "zod";
19653
- var ManualAckRequestRequestSchema = z84.object({
19654
- message_id: z84.string(),
19655
- client_id: z84.string()
19861
+ var LeadSubmissionRequestSchema = z84.object({
19862
+ name: z84.string().min(1).max(200),
19863
+ email: z84.email(),
19864
+ company: z84.string().max(200).nullable().optional(),
19865
+ company_site: z84.string().max(200).nullable().optional(),
19866
+ contact_type: z84.nativeEnum(LeadSubmissionRequestContactType).optional(),
19867
+ contact_value: z84.string().max(200).nullable().optional(),
19868
+ subject: z84.string().max(200).nullable().optional(),
19869
+ message: z84.string().min(1),
19870
+ extra: z84.string().nullable().optional(),
19871
+ site_url: z84.url()
19656
19872
  });
19657
19873
 
19658
- // src/cfg/generated/_utils/schemas/ManualAckResponse.schema.ts
19874
+ // src/cfg/generated/_utils/schemas/LeadSubmissionResponse.schema.ts
19659
19875
  import { z as z85 } from "zod";
19660
- var ManualAckResponseSchema = z85.object({
19876
+ var LeadSubmissionResponseSchema = z85.object({
19661
19877
  success: z85.boolean(),
19662
- message_id: z85.string(),
19663
- error: z85.string().nullable().optional()
19878
+ message: z85.string(),
19879
+ lead_id: z85.int()
19664
19880
  });
19665
19881
 
19666
- // src/cfg/generated/_utils/schemas/Message.schema.ts
19667
- import { z as z87 } from "zod";
19668
-
19669
- // src/cfg/generated/_utils/schemas/Sender.schema.ts
19882
+ // src/cfg/generated/_utils/schemas/ManualAckRequestRequest.schema.ts
19670
19883
  import { z as z86 } from "zod";
19671
- var SenderSchema = z86.object({
19672
- id: z86.int(),
19673
- display_username: z86.string(),
19674
- email: z86.email(),
19675
- avatar: z86.string().nullable(),
19676
- initials: z86.string(),
19677
- is_staff: z86.boolean(),
19678
- is_superuser: z86.boolean()
19884
+ var ManualAckRequestRequestSchema = z86.object({
19885
+ message_id: z86.string(),
19886
+ client_id: z86.string()
19679
19887
  });
19680
19888
 
19681
- // src/cfg/generated/_utils/schemas/Message.schema.ts
19682
- var MessageSchema = z87.object({
19683
- uuid: z87.uuid(),
19684
- ticket: z87.uuid(),
19685
- sender: SenderSchema,
19686
- is_from_author: z87.boolean(),
19687
- text: z87.string(),
19688
- created_at: z87.iso.datetime()
19889
+ // src/cfg/generated/_utils/schemas/ManualAckResponse.schema.ts
19890
+ import { z as z87 } from "zod";
19891
+ var ManualAckResponseSchema = z87.object({
19892
+ success: z87.boolean(),
19893
+ message_id: z87.string(),
19894
+ error: z87.string().nullable().optional()
19689
19895
  });
19690
19896
 
19691
- // src/cfg/generated/_utils/schemas/MessageCreate.schema.ts
19897
+ // src/cfg/generated/_utils/schemas/Message.schema.ts
19898
+ import { z as z89 } from "zod";
19899
+
19900
+ // src/cfg/generated/_utils/schemas/Sender.schema.ts
19692
19901
  import { z as z88 } from "zod";
19693
- var MessageCreateSchema = z88.object({
19694
- text: z88.string()
19902
+ var SenderSchema = z88.object({
19903
+ id: z88.int(),
19904
+ display_username: z88.string(),
19905
+ email: z88.email(),
19906
+ avatar: z88.string().nullable(),
19907
+ initials: z88.string(),
19908
+ is_staff: z88.boolean(),
19909
+ is_superuser: z88.boolean()
19695
19910
  });
19696
19911
 
19697
- // src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
19698
- import { z as z89 } from "zod";
19699
- var MessageCreateRequestSchema = z89.object({
19700
- text: z89.string().min(1)
19912
+ // src/cfg/generated/_utils/schemas/Message.schema.ts
19913
+ var MessageSchema = z89.object({
19914
+ uuid: z89.uuid(),
19915
+ ticket: z89.uuid(),
19916
+ sender: SenderSchema,
19917
+ is_from_author: z89.boolean(),
19918
+ text: z89.string(),
19919
+ created_at: z89.iso.datetime()
19701
19920
  });
19702
19921
 
19703
- // src/cfg/generated/_utils/schemas/MessageRequest.schema.ts
19922
+ // src/cfg/generated/_utils/schemas/MessageCreate.schema.ts
19704
19923
  import { z as z90 } from "zod";
19705
- var MessageRequestSchema = z90.object({
19706
- text: z90.string().min(1)
19924
+ var MessageCreateSchema = z90.object({
19925
+ text: z90.string()
19707
19926
  });
19708
19927
 
19709
- // src/cfg/generated/_utils/schemas/Newsletter.schema.ts
19928
+ // src/cfg/generated/_utils/schemas/MessageCreateRequest.schema.ts
19710
19929
  import { z as z91 } from "zod";
19711
- var NewsletterSchema = z91.object({
19712
- id: z91.int(),
19713
- title: z91.string().max(255),
19714
- description: z91.string().optional(),
19715
- is_active: z91.boolean().optional(),
19716
- auto_subscribe: z91.boolean().optional(),
19717
- created_at: z91.iso.datetime(),
19718
- updated_at: z91.iso.datetime(),
19719
- subscribers_count: z91.int()
19930
+ var MessageCreateRequestSchema = z91.object({
19931
+ text: z91.string().min(1)
19720
19932
  });
19721
19933
 
19722
- // src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
19934
+ // src/cfg/generated/_utils/schemas/MessageRequest.schema.ts
19723
19935
  import { z as z92 } from "zod";
19724
- var NewsletterCampaignSchema = z92.object({
19725
- id: z92.int(),
19726
- newsletter: z92.int(),
19727
- newsletter_title: z92.string(),
19728
- subject: z92.string().max(255),
19729
- email_title: z92.string().max(255),
19730
- main_text: z92.string(),
19731
- main_html_content: z92.string().optional(),
19732
- button_text: z92.string().max(100).optional(),
19733
- button_url: z92.url().optional(),
19734
- secondary_text: z92.string().optional(),
19735
- status: z92.nativeEnum(NewsletterCampaignStatus),
19736
- created_at: z92.iso.datetime(),
19737
- sent_at: z92.iso.datetime().nullable(),
19738
- recipient_count: z92.int()
19936
+ var MessageRequestSchema = z92.object({
19937
+ text: z92.string().min(1)
19739
19938
  });
19740
19939
 
19741
- // src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
19940
+ // src/cfg/generated/_utils/schemas/Newsletter.schema.ts
19742
19941
  import { z as z93 } from "zod";
19743
- var NewsletterCampaignRequestSchema = z93.object({
19744
- newsletter: z93.int(),
19745
- subject: z93.string().min(1).max(255),
19746
- email_title: z93.string().min(1).max(255),
19747
- main_text: z93.string().min(1),
19748
- main_html_content: z93.string().optional(),
19749
- button_text: z93.string().max(100).optional(),
19750
- button_url: z93.url().optional(),
19751
- secondary_text: z93.string().optional()
19942
+ var NewsletterSchema = z93.object({
19943
+ id: z93.int(),
19944
+ title: z93.string().max(255),
19945
+ description: z93.string().optional(),
19946
+ is_active: z93.boolean().optional(),
19947
+ auto_subscribe: z93.boolean().optional(),
19948
+ created_at: z93.iso.datetime(),
19949
+ updated_at: z93.iso.datetime(),
19950
+ subscribers_count: z93.int()
19752
19951
  });
19753
19952
 
19754
- // src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
19953
+ // src/cfg/generated/_utils/schemas/NewsletterCampaign.schema.ts
19755
19954
  import { z as z94 } from "zod";
19756
- var NewsletterSubscriptionSchema = z94.object({
19955
+ var NewsletterCampaignSchema = z94.object({
19757
19956
  id: z94.int(),
19758
19957
  newsletter: z94.int(),
19759
19958
  newsletter_title: z94.string(),
19760
- user: z94.int().nullable().optional(),
19761
- user_email: z94.string(),
19762
- email: z94.email(),
19763
- is_active: z94.boolean().optional(),
19764
- subscribed_at: z94.iso.datetime(),
19765
- unsubscribed_at: z94.iso.datetime().nullable()
19959
+ subject: z94.string().max(255),
19960
+ email_title: z94.string().max(255),
19961
+ main_text: z94.string(),
19962
+ main_html_content: z94.string().optional(),
19963
+ button_text: z94.string().max(100).optional(),
19964
+ button_url: z94.url().optional(),
19965
+ secondary_text: z94.string().optional(),
19966
+ status: z94.nativeEnum(NewsletterCampaignStatus),
19967
+ created_at: z94.iso.datetime(),
19968
+ sent_at: z94.iso.datetime().nullable(),
19969
+ recipient_count: z94.int()
19766
19970
  });
19767
19971
 
19768
- // src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
19972
+ // src/cfg/generated/_utils/schemas/NewsletterCampaignRequest.schema.ts
19769
19973
  import { z as z95 } from "zod";
19770
- var OTPErrorResponseSchema = z95.object({
19771
- error: z95.string()
19974
+ var NewsletterCampaignRequestSchema = z95.object({
19975
+ newsletter: z95.int(),
19976
+ subject: z95.string().min(1).max(255),
19977
+ email_title: z95.string().min(1).max(255),
19978
+ main_text: z95.string().min(1),
19979
+ main_html_content: z95.string().optional(),
19980
+ button_text: z95.string().max(100).optional(),
19981
+ button_url: z95.url().optional(),
19982
+ secondary_text: z95.string().optional()
19772
19983
  });
19773
19984
 
19774
- // src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
19985
+ // src/cfg/generated/_utils/schemas/NewsletterSubscription.schema.ts
19775
19986
  import { z as z96 } from "zod";
19776
- var OTPRequestRequestSchema = z96.object({
19777
- identifier: z96.string().min(1),
19778
- channel: z96.nativeEnum(OTPRequestRequestChannel).optional(),
19779
- source_url: z96.url().optional()
19987
+ var NewsletterSubscriptionSchema = z96.object({
19988
+ id: z96.int(),
19989
+ newsletter: z96.int(),
19990
+ newsletter_title: z96.string(),
19991
+ user: z96.int().nullable().optional(),
19992
+ user_email: z96.string(),
19993
+ email: z96.email(),
19994
+ is_active: z96.boolean().optional(),
19995
+ subscribed_at: z96.iso.datetime(),
19996
+ unsubscribed_at: z96.iso.datetime().nullable()
19780
19997
  });
19781
19998
 
19782
- // src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
19999
+ // src/cfg/generated/_utils/schemas/OTPErrorResponse.schema.ts
19783
20000
  import { z as z97 } from "zod";
19784
- var OTPRequestResponseSchema = z97.object({
19785
- message: z97.string()
20001
+ var OTPErrorResponseSchema = z97.object({
20002
+ error: z97.string()
19786
20003
  });
19787
20004
 
19788
- // src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
20005
+ // src/cfg/generated/_utils/schemas/OTPRequestRequest.schema.ts
19789
20006
  import { z as z98 } from "zod";
19790
- var OTPVerifyRequestSchema = z98.object({
20007
+ var OTPRequestRequestSchema = z98.object({
19791
20008
  identifier: z98.string().min(1),
19792
- otp: z98.string().min(6).max(6),
19793
- channel: z98.nativeEnum(OTPVerifyRequestChannel).optional(),
20009
+ channel: z98.nativeEnum(OTPRequestRequestChannel).optional(),
19794
20010
  source_url: z98.url().optional()
19795
20011
  });
19796
20012
 
19797
- // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
19798
- import { z as z100 } from "zod";
19799
-
19800
- // src/cfg/generated/_utils/schemas/User.schema.ts
20013
+ // src/cfg/generated/_utils/schemas/OTPRequestResponse.schema.ts
19801
20014
  import { z as z99 } from "zod";
19802
- var UserSchema = z99.object({
19803
- id: z99.int(),
19804
- email: z99.email(),
19805
- first_name: z99.string().max(50).optional(),
19806
- last_name: z99.string().max(50).optional(),
19807
- full_name: z99.string(),
19808
- initials: z99.string(),
19809
- display_username: z99.string(),
19810
- company: z99.string().max(100).optional(),
19811
- phone: z99.string().max(20).optional(),
19812
- position: z99.string().max(100).optional(),
19813
- avatar: z99.url().nullable(),
19814
- is_staff: z99.boolean(),
19815
- is_superuser: z99.boolean(),
19816
- date_joined: z99.iso.datetime(),
19817
- last_login: z99.iso.datetime().nullable(),
19818
- unanswered_messages_count: z99.int()
20015
+ var OTPRequestResponseSchema = z99.object({
20016
+ message: z99.string()
19819
20017
  });
19820
20018
 
19821
- // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
19822
- var OTPVerifyResponseSchema = z100.object({
19823
- refresh: z100.string(),
19824
- access: z100.string(),
19825
- user: UserSchema
20019
+ // src/cfg/generated/_utils/schemas/OTPVerifyRequest.schema.ts
20020
+ import { z as z100 } from "zod";
20021
+ var OTPVerifyRequestSchema = z100.object({
20022
+ identifier: z100.string().min(1),
20023
+ otp: z100.string().min(6).max(6),
20024
+ channel: z100.nativeEnum(OTPVerifyRequestChannel).optional(),
20025
+ source_url: z100.url().optional()
19826
20026
  });
19827
20027
 
19828
- // src/cfg/generated/_utils/schemas/OverviewStats.schema.ts
20028
+ // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
20029
+ import { z as z102 } from "zod";
20030
+
20031
+ // src/cfg/generated/_utils/schemas/User.schema.ts
19829
20032
  import { z as z101 } from "zod";
19830
- var OverviewStatsSchema = z101.object({
19831
- total: z101.int(),
19832
- successful: z101.int(),
19833
- failed: z101.int(),
19834
- timeout: z101.int(),
19835
- success_rate: z101.number(),
19836
- avg_duration_ms: z101.number(),
19837
- avg_acks_received: z101.number(),
19838
- period_hours: z101.int()
20033
+ var UserSchema = z101.object({
20034
+ id: z101.int(),
20035
+ email: z101.email(),
20036
+ first_name: z101.string().max(50).optional(),
20037
+ last_name: z101.string().max(50).optional(),
20038
+ full_name: z101.string(),
20039
+ initials: z101.string(),
20040
+ display_username: z101.string(),
20041
+ company: z101.string().max(100).optional(),
20042
+ phone: z101.string().max(20).optional(),
20043
+ position: z101.string().max(100).optional(),
20044
+ avatar: z101.url().nullable(),
20045
+ is_staff: z101.boolean(),
20046
+ is_superuser: z101.boolean(),
20047
+ date_joined: z101.iso.datetime(),
20048
+ last_login: z101.iso.datetime().nullable(),
20049
+ unanswered_messages_count: z101.int()
19839
20050
  });
19840
20051
 
19841
- // src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
19842
- import { z as z102 } from "zod";
19843
- var PaginatedArchiveItemChunkListSchema = z102.object({
19844
- count: z102.int(),
19845
- page: z102.int(),
19846
- pages: z102.int(),
19847
- page_size: z102.int(),
19848
- has_next: z102.boolean(),
19849
- has_previous: z102.boolean(),
19850
- next_page: z102.int().nullable().optional(),
19851
- previous_page: z102.int().nullable().optional(),
19852
- results: z102.array(ArchiveItemChunkSchema)
20052
+ // src/cfg/generated/_utils/schemas/OTPVerifyResponse.schema.ts
20053
+ var OTPVerifyResponseSchema = z102.object({
20054
+ refresh: z102.string(),
20055
+ access: z102.string(),
20056
+ user: UserSchema
19853
20057
  });
19854
20058
 
19855
- // src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
20059
+ // src/cfg/generated/_utils/schemas/OverviewStats.schema.ts
19856
20060
  import { z as z103 } from "zod";
19857
- var PaginatedArchiveItemListSchema = z103.object({
19858
- count: z103.int(),
19859
- page: z103.int(),
19860
- pages: z103.int(),
19861
- page_size: z103.int(),
19862
- has_next: z103.boolean(),
19863
- has_previous: z103.boolean(),
19864
- next_page: z103.int().nullable().optional(),
19865
- previous_page: z103.int().nullable().optional(),
19866
- results: z103.array(ArchiveItemSchema)
20061
+ var OverviewStatsSchema = z103.object({
20062
+ total: z103.int(),
20063
+ successful: z103.int(),
20064
+ failed: z103.int(),
20065
+ timeout: z103.int(),
20066
+ success_rate: z103.number(),
20067
+ avg_duration_ms: z103.number(),
20068
+ avg_acks_received: z103.number(),
20069
+ period_hours: z103.int()
19867
20070
  });
19868
20071
 
19869
- // src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
20072
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts
19870
20073
  import { z as z104 } from "zod";
19871
- var PaginatedArchiveSearchResultListSchema = z104.object({
20074
+ var PaginatedArchiveItemChunkListSchema = z104.object({
19872
20075
  count: z104.int(),
19873
20076
  page: z104.int(),
19874
20077
  pages: z104.int(),
@@ -19877,12 +20080,12 @@ var PaginatedArchiveSearchResultListSchema = z104.object({
19877
20080
  has_previous: z104.boolean(),
19878
20081
  next_page: z104.int().nullable().optional(),
19879
20082
  previous_page: z104.int().nullable().optional(),
19880
- results: z104.array(ArchiveSearchResultSchema)
20083
+ results: z104.array(ArchiveItemChunkSchema)
19881
20084
  });
19882
20085
 
19883
- // src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
20086
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveItemList.schema.ts
19884
20087
  import { z as z105 } from "zod";
19885
- var PaginatedChatResponseListSchema = z105.object({
20088
+ var PaginatedArchiveItemListSchema = z105.object({
19886
20089
  count: z105.int(),
19887
20090
  page: z105.int(),
19888
20091
  pages: z105.int(),
@@ -19891,12 +20094,12 @@ var PaginatedChatResponseListSchema = z105.object({
19891
20094
  has_previous: z105.boolean(),
19892
20095
  next_page: z105.int().nullable().optional(),
19893
20096
  previous_page: z105.int().nullable().optional(),
19894
- results: z105.array(ChatResponseSchema)
20097
+ results: z105.array(ArchiveItemSchema)
19895
20098
  });
19896
20099
 
19897
- // src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
20100
+ // src/cfg/generated/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts
19898
20101
  import { z as z106 } from "zod";
19899
- var PaginatedChatSessionListSchema = z106.object({
20102
+ var PaginatedArchiveSearchResultListSchema = z106.object({
19900
20103
  count: z106.int(),
19901
20104
  page: z106.int(),
19902
20105
  pages: z106.int(),
@@ -19905,12 +20108,12 @@ var PaginatedChatSessionListSchema = z106.object({
19905
20108
  has_previous: z106.boolean(),
19906
20109
  next_page: z106.int().nullable().optional(),
19907
20110
  previous_page: z106.int().nullable().optional(),
19908
- results: z106.array(ChatSessionSchema)
20111
+ results: z106.array(ArchiveSearchResultSchema)
19909
20112
  });
19910
20113
 
19911
- // src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
20114
+ // src/cfg/generated/_utils/schemas/PaginatedChatResponseList.schema.ts
19912
20115
  import { z as z107 } from "zod";
19913
- var PaginatedDocumentArchiveListListSchema = z107.object({
20116
+ var PaginatedChatResponseListSchema = z107.object({
19914
20117
  count: z107.int(),
19915
20118
  page: z107.int(),
19916
20119
  pages: z107.int(),
@@ -19919,12 +20122,12 @@ var PaginatedDocumentArchiveListListSchema = z107.object({
19919
20122
  has_previous: z107.boolean(),
19920
20123
  next_page: z107.int().nullable().optional(),
19921
20124
  previous_page: z107.int().nullable().optional(),
19922
- results: z107.array(DocumentArchiveListSchema)
20125
+ results: z107.array(ChatResponseSchema)
19923
20126
  });
19924
20127
 
19925
- // src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
20128
+ // src/cfg/generated/_utils/schemas/PaginatedChatSessionList.schema.ts
19926
20129
  import { z as z108 } from "zod";
19927
- var PaginatedDocumentListSchema = z108.object({
20130
+ var PaginatedChatSessionListSchema = z108.object({
19928
20131
  count: z108.int(),
19929
20132
  page: z108.int(),
19930
20133
  pages: z108.int(),
@@ -19933,12 +20136,12 @@ var PaginatedDocumentListSchema = z108.object({
19933
20136
  has_previous: z108.boolean(),
19934
20137
  next_page: z108.int().nullable().optional(),
19935
20138
  previous_page: z108.int().nullable().optional(),
19936
- results: z108.array(DocumentSchema)
20139
+ results: z108.array(ChatSessionSchema)
19937
20140
  });
19938
20141
 
19939
- // src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
20142
+ // src/cfg/generated/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts
19940
20143
  import { z as z109 } from "zod";
19941
- var PaginatedEmailLogListSchema = z109.object({
20144
+ var PaginatedDocumentArchiveListListSchema = z109.object({
19942
20145
  count: z109.int(),
19943
20146
  page: z109.int(),
19944
20147
  pages: z109.int(),
@@ -19947,12 +20150,12 @@ var PaginatedEmailLogListSchema = z109.object({
19947
20150
  has_previous: z109.boolean(),
19948
20151
  next_page: z109.int().nullable().optional(),
19949
20152
  previous_page: z109.int().nullable().optional(),
19950
- results: z109.array(EmailLogSchema)
20153
+ results: z109.array(DocumentArchiveListSchema)
19951
20154
  });
19952
20155
 
19953
- // src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
20156
+ // src/cfg/generated/_utils/schemas/PaginatedDocumentList.schema.ts
19954
20157
  import { z as z110 } from "zod";
19955
- var PaginatedLeadSubmissionListSchema = z110.object({
20158
+ var PaginatedDocumentListSchema = z110.object({
19956
20159
  count: z110.int(),
19957
20160
  page: z110.int(),
19958
20161
  pages: z110.int(),
@@ -19961,12 +20164,12 @@ var PaginatedLeadSubmissionListSchema = z110.object({
19961
20164
  has_previous: z110.boolean(),
19962
20165
  next_page: z110.int().nullable().optional(),
19963
20166
  previous_page: z110.int().nullable().optional(),
19964
- results: z110.array(LeadSubmissionSchema)
20167
+ results: z110.array(DocumentSchema)
19965
20168
  });
19966
20169
 
19967
- // src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
20170
+ // src/cfg/generated/_utils/schemas/PaginatedEmailLogList.schema.ts
19968
20171
  import { z as z111 } from "zod";
19969
- var PaginatedMessageListSchema = z111.object({
20172
+ var PaginatedEmailLogListSchema = z111.object({
19970
20173
  count: z111.int(),
19971
20174
  page: z111.int(),
19972
20175
  pages: z111.int(),
@@ -19975,12 +20178,12 @@ var PaginatedMessageListSchema = z111.object({
19975
20178
  has_previous: z111.boolean(),
19976
20179
  next_page: z111.int().nullable().optional(),
19977
20180
  previous_page: z111.int().nullable().optional(),
19978
- results: z111.array(MessageSchema)
20181
+ results: z111.array(EmailLogSchema)
19979
20182
  });
19980
20183
 
19981
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
20184
+ // src/cfg/generated/_utils/schemas/PaginatedLeadSubmissionList.schema.ts
19982
20185
  import { z as z112 } from "zod";
19983
- var PaginatedNewsletterCampaignListSchema = z112.object({
20186
+ var PaginatedLeadSubmissionListSchema = z112.object({
19984
20187
  count: z112.int(),
19985
20188
  page: z112.int(),
19986
20189
  pages: z112.int(),
@@ -19989,12 +20192,12 @@ var PaginatedNewsletterCampaignListSchema = z112.object({
19989
20192
  has_previous: z112.boolean(),
19990
20193
  next_page: z112.int().nullable().optional(),
19991
20194
  previous_page: z112.int().nullable().optional(),
19992
- results: z112.array(NewsletterCampaignSchema)
20195
+ results: z112.array(LeadSubmissionSchema)
19993
20196
  });
19994
20197
 
19995
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
20198
+ // src/cfg/generated/_utils/schemas/PaginatedMessageList.schema.ts
19996
20199
  import { z as z113 } from "zod";
19997
- var PaginatedNewsletterListSchema = z113.object({
20200
+ var PaginatedMessageListSchema = z113.object({
19998
20201
  count: z113.int(),
19999
20202
  page: z113.int(),
20000
20203
  pages: z113.int(),
@@ -20003,12 +20206,12 @@ var PaginatedNewsletterListSchema = z113.object({
20003
20206
  has_previous: z113.boolean(),
20004
20207
  next_page: z113.int().nullable().optional(),
20005
20208
  previous_page: z113.int().nullable().optional(),
20006
- results: z113.array(NewsletterSchema)
20209
+ results: z113.array(MessageSchema)
20007
20210
  });
20008
20211
 
20009
- // src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
20212
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterCampaignList.schema.ts
20010
20213
  import { z as z114 } from "zod";
20011
- var PaginatedNewsletterSubscriptionListSchema = z114.object({
20214
+ var PaginatedNewsletterCampaignListSchema = z114.object({
20012
20215
  count: z114.int(),
20013
20216
  page: z114.int(),
20014
20217
  pages: z114.int(),
@@ -20017,28 +20220,26 @@ var PaginatedNewsletterSubscriptionListSchema = z114.object({
20017
20220
  has_previous: z114.boolean(),
20018
20221
  next_page: z114.int().nullable().optional(),
20019
20222
  previous_page: z114.int().nullable().optional(),
20020
- results: z114.array(NewsletterSubscriptionSchema)
20223
+ results: z114.array(NewsletterCampaignSchema)
20021
20224
  });
20022
20225
 
20023
- // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20024
- import { z as z116 } from "zod";
20025
-
20026
- // src/cfg/generated/_utils/schemas/PaymentList.schema.ts
20226
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterList.schema.ts
20027
20227
  import { z as z115 } from "zod";
20028
- var PaymentListSchema = z115.object({
20029
- id: z115.uuid(),
20030
- internal_payment_id: z115.string(),
20031
- amount_usd: z115.string(),
20032
- currency_code: z115.string(),
20033
- currency_token: z115.string(),
20034
- status: z115.nativeEnum(PaymentListStatus),
20035
- status_display: z115.string(),
20036
- created_at: z115.iso.datetime(),
20037
- completed_at: z115.iso.datetime().nullable()
20228
+ var PaginatedNewsletterListSchema = z115.object({
20229
+ count: z115.int(),
20230
+ page: z115.int(),
20231
+ pages: z115.int(),
20232
+ page_size: z115.int(),
20233
+ has_next: z115.boolean(),
20234
+ has_previous: z115.boolean(),
20235
+ next_page: z115.int().nullable().optional(),
20236
+ previous_page: z115.int().nullable().optional(),
20237
+ results: z115.array(NewsletterSchema)
20038
20238
  });
20039
20239
 
20040
- // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20041
- var PaginatedPaymentListListSchema = z116.object({
20240
+ // src/cfg/generated/_utils/schemas/PaginatedNewsletterSubscriptionList.schema.ts
20241
+ import { z as z116 } from "zod";
20242
+ var PaginatedNewsletterSubscriptionListSchema = z116.object({
20042
20243
  count: z116.int(),
20043
20244
  page: z116.int(),
20044
20245
  pages: z116.int(),
@@ -20047,22 +20248,28 @@ var PaginatedPaymentListListSchema = z116.object({
20047
20248
  has_previous: z116.boolean(),
20048
20249
  next_page: z116.int().nullable().optional(),
20049
20250
  previous_page: z116.int().nullable().optional(),
20050
- results: z116.array(PaymentListSchema)
20251
+ results: z116.array(NewsletterSubscriptionSchema)
20051
20252
  });
20052
20253
 
20053
- // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20254
+ // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20054
20255
  import { z as z118 } from "zod";
20055
20256
 
20056
- // src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
20257
+ // src/cfg/generated/_utils/schemas/PaymentList.schema.ts
20057
20258
  import { z as z117 } from "zod";
20058
- var PublicCategorySchema = z117.object({
20259
+ var PaymentListSchema = z117.object({
20059
20260
  id: z117.uuid(),
20060
- name: z117.string().max(255),
20061
- description: z117.string().optional()
20261
+ internal_payment_id: z117.string(),
20262
+ amount_usd: z117.string(),
20263
+ currency_code: z117.string(),
20264
+ currency_token: z117.string(),
20265
+ status: z117.nativeEnum(PaymentListStatus),
20266
+ status_display: z117.string(),
20267
+ created_at: z117.iso.datetime(),
20268
+ completed_at: z117.iso.datetime().nullable()
20062
20269
  });
20063
20270
 
20064
- // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20065
- var PaginatedPublicCategoryListSchema = z118.object({
20271
+ // src/cfg/generated/_utils/schemas/PaginatedPaymentListList.schema.ts
20272
+ var PaginatedPaymentListListSchema = z118.object({
20066
20273
  count: z118.int(),
20067
20274
  page: z118.int(),
20068
20275
  pages: z118.int(),
@@ -20071,24 +20278,22 @@ var PaginatedPublicCategoryListSchema = z118.object({
20071
20278
  has_previous: z118.boolean(),
20072
20279
  next_page: z118.int().nullable().optional(),
20073
20280
  previous_page: z118.int().nullable().optional(),
20074
- results: z118.array(PublicCategorySchema)
20281
+ results: z118.array(PaymentListSchema)
20075
20282
  });
20076
20283
 
20077
- // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20284
+ // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20078
20285
  import { z as z120 } from "zod";
20079
20286
 
20080
- // src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
20287
+ // src/cfg/generated/_utils/schemas/PublicCategory.schema.ts
20081
20288
  import { z as z119 } from "zod";
20082
- var PublicDocumentListSchema = z119.object({
20289
+ var PublicCategorySchema = z119.object({
20083
20290
  id: z119.uuid(),
20084
- title: z119.string().max(512),
20085
- category: PublicCategorySchema,
20086
- created_at: z119.iso.datetime(),
20087
- updated_at: z119.iso.datetime()
20291
+ name: z119.string().max(255),
20292
+ description: z119.string().optional()
20088
20293
  });
20089
20294
 
20090
- // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20091
- var PaginatedPublicDocumentListListSchema = z120.object({
20295
+ // src/cfg/generated/_utils/schemas/PaginatedPublicCategoryList.schema.ts
20296
+ var PaginatedPublicCategoryListSchema = z120.object({
20092
20297
  count: z120.int(),
20093
20298
  page: z120.int(),
20094
20299
  pages: z120.int(),
@@ -20097,25 +20302,24 @@ var PaginatedPublicDocumentListListSchema = z120.object({
20097
20302
  has_previous: z120.boolean(),
20098
20303
  next_page: z120.int().nullable().optional(),
20099
20304
  previous_page: z120.int().nullable().optional(),
20100
- results: z120.array(PublicDocumentListSchema)
20305
+ results: z120.array(PublicCategorySchema)
20101
20306
  });
20102
20307
 
20103
- // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
20308
+ // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20104
20309
  import { z as z122 } from "zod";
20105
20310
 
20106
- // src/cfg/generated/_utils/schemas/Ticket.schema.ts
20311
+ // src/cfg/generated/_utils/schemas/PublicDocumentList.schema.ts
20107
20312
  import { z as z121 } from "zod";
20108
- var TicketSchema = z121.object({
20109
- uuid: z121.uuid(),
20110
- user: z121.int(),
20111
- subject: z121.string().max(255),
20112
- status: z121.nativeEnum(TicketStatus).optional(),
20313
+ var PublicDocumentListSchema = z121.object({
20314
+ id: z121.uuid(),
20315
+ title: z121.string().max(512),
20316
+ category: PublicCategorySchema,
20113
20317
  created_at: z121.iso.datetime(),
20114
- unanswered_messages_count: z121.int()
20318
+ updated_at: z121.iso.datetime()
20115
20319
  });
20116
20320
 
20117
- // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
20118
- var PaginatedTicketListSchema = z122.object({
20321
+ // src/cfg/generated/_utils/schemas/PaginatedPublicDocumentListList.schema.ts
20322
+ var PaginatedPublicDocumentListListSchema = z122.object({
20119
20323
  count: z122.int(),
20120
20324
  page: z122.int(),
20121
20325
  pages: z122.int(),
@@ -20124,479 +20328,506 @@ var PaginatedTicketListSchema = z122.object({
20124
20328
  has_previous: z122.boolean(),
20125
20329
  next_page: z122.int().nullable().optional(),
20126
20330
  previous_page: z122.int().nullable().optional(),
20127
- results: z122.array(TicketSchema)
20331
+ results: z122.array(PublicDocumentListSchema)
20128
20332
  });
20129
20333
 
20130
- // src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
20334
+ // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
20335
+ import { z as z124 } from "zod";
20336
+
20337
+ // src/cfg/generated/_utils/schemas/Ticket.schema.ts
20131
20338
  import { z as z123 } from "zod";
20132
- var PatchedArchiveItemChunkRequestSchema = z123.object({
20133
- content: z123.string().min(1).optional(),
20134
- chunk_index: z123.int().min(0).max(2147483647).optional(),
20135
- chunk_type: z123.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
20339
+ var TicketSchema = z123.object({
20340
+ uuid: z123.uuid(),
20341
+ user: z123.int(),
20342
+ subject: z123.string().max(255),
20343
+ status: z123.nativeEnum(TicketStatus).optional(),
20344
+ created_at: z123.iso.datetime(),
20345
+ unanswered_messages_count: z123.int()
20136
20346
  });
20137
20347
 
20138
- // src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
20139
- import { z as z124 } from "zod";
20140
- var PatchedArchiveItemRequestSchema = z124.object({
20141
- relative_path: z124.string().min(1).max(1024).optional(),
20142
- item_name: z124.string().min(1).max(255).optional(),
20143
- item_type: z124.string().min(1).max(100).optional(),
20144
- file_size: z124.int().min(0).max(2147483647).optional()
20348
+ // src/cfg/generated/_utils/schemas/PaginatedTicketList.schema.ts
20349
+ var PaginatedTicketListSchema = z124.object({
20350
+ count: z124.int(),
20351
+ page: z124.int(),
20352
+ pages: z124.int(),
20353
+ page_size: z124.int(),
20354
+ has_next: z124.boolean(),
20355
+ has_previous: z124.boolean(),
20356
+ next_page: z124.int().nullable().optional(),
20357
+ previous_page: z124.int().nullable().optional(),
20358
+ results: z124.array(TicketSchema)
20145
20359
  });
20146
20360
 
20147
- // src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
20361
+ // src/cfg/generated/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts
20148
20362
  import { z as z125 } from "zod";
20149
- var PatchedChatResponseRequestSchema = z125.object({
20150
- message_id: z125.uuid().optional(),
20363
+ var PatchedArchiveItemChunkRequestSchema = z125.object({
20151
20364
  content: z125.string().min(1).optional(),
20152
- tokens_used: z125.int().optional(),
20153
- cost_usd: z125.number().optional(),
20154
- processing_time_ms: z125.int().optional(),
20155
- model_used: z125.string().min(1).optional(),
20156
- sources: z125.array(ChatSourceRequestSchema).nullable().optional()
20365
+ chunk_index: z125.int().min(0).max(2147483647).optional(),
20366
+ chunk_type: z125.nativeEnum(PatchedArchiveItemChunkRequestChunkType).optional()
20157
20367
  });
20158
20368
 
20159
- // src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
20369
+ // src/cfg/generated/_utils/schemas/PatchedArchiveItemRequest.schema.ts
20160
20370
  import { z as z126 } from "zod";
20161
- var PatchedChatSessionRequestSchema = z126.object({
20162
- title: z126.string().max(255).optional(),
20163
- is_active: z126.boolean().optional(),
20164
- messages_count: z126.int().min(0).max(2147483647).optional(),
20165
- total_tokens_used: z126.int().min(0).max(2147483647).optional(),
20166
- model_name: z126.string().min(1).max(100).optional(),
20167
- temperature: z126.number().optional(),
20168
- max_context_chunks: z126.int().min(0).max(2147483647).optional()
20371
+ var PatchedArchiveItemRequestSchema = z126.object({
20372
+ relative_path: z126.string().min(1).max(1024).optional(),
20373
+ item_name: z126.string().min(1).max(255).optional(),
20374
+ item_type: z126.string().min(1).max(100).optional(),
20375
+ file_size: z126.int().min(0).max(2147483647).optional()
20169
20376
  });
20170
20377
 
20171
- // src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
20378
+ // src/cfg/generated/_utils/schemas/PatchedChatResponseRequest.schema.ts
20172
20379
  import { z as z127 } from "zod";
20173
- var PatchedDocumentArchiveRequestSchema = z127.object({
20174
- title: z127.string().min(1).max(512).optional(),
20175
- description: z127.string().optional(),
20176
- is_public: z127.boolean().optional()
20380
+ var PatchedChatResponseRequestSchema = z127.object({
20381
+ message_id: z127.uuid().optional(),
20382
+ content: z127.string().min(1).optional(),
20383
+ tokens_used: z127.int().optional(),
20384
+ cost_usd: z127.number().optional(),
20385
+ processing_time_ms: z127.int().optional(),
20386
+ model_used: z127.string().min(1).optional(),
20387
+ sources: z127.array(ChatSourceRequestSchema).nullable().optional()
20177
20388
  });
20178
20389
 
20179
- // src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
20390
+ // src/cfg/generated/_utils/schemas/PatchedChatSessionRequest.schema.ts
20180
20391
  import { z as z128 } from "zod";
20181
- var PatchedDocumentRequestSchema = z128.object({
20182
- title: z128.string().min(1).max(512).optional(),
20183
- file_type: z128.string().min(1).max(100).optional(),
20184
- file_size: z128.int().min(0).max(2147483647).optional(),
20185
- metadata: z128.string().nullable().optional()
20392
+ var PatchedChatSessionRequestSchema = z128.object({
20393
+ title: z128.string().max(255).optional(),
20394
+ is_active: z128.boolean().optional(),
20395
+ messages_count: z128.int().min(0).max(2147483647).optional(),
20396
+ total_tokens_used: z128.int().min(0).max(2147483647).optional(),
20397
+ model_name: z128.string().min(1).max(100).optional(),
20398
+ temperature: z128.number().optional(),
20399
+ max_context_chunks: z128.int().min(0).max(2147483647).optional()
20186
20400
  });
20187
20401
 
20188
- // src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
20402
+ // src/cfg/generated/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts
20189
20403
  import { z as z129 } from "zod";
20190
- var PatchedLeadSubmissionRequestSchema = z129.object({
20191
- name: z129.string().min(1).max(200).optional(),
20192
- email: z129.email().optional(),
20193
- company: z129.string().max(200).nullable().optional(),
20194
- company_site: z129.string().max(200).nullable().optional(),
20195
- contact_type: z129.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
20196
- contact_value: z129.string().max(200).nullable().optional(),
20197
- subject: z129.string().max(200).nullable().optional(),
20198
- message: z129.string().min(1).optional(),
20199
- extra: z129.string().nullable().optional(),
20200
- site_url: z129.url().optional()
20404
+ var PatchedDocumentArchiveRequestSchema = z129.object({
20405
+ title: z129.string().min(1).max(512).optional(),
20406
+ description: z129.string().optional(),
20407
+ is_public: z129.boolean().optional()
20201
20408
  });
20202
20409
 
20203
- // src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
20410
+ // src/cfg/generated/_utils/schemas/PatchedDocumentRequest.schema.ts
20204
20411
  import { z as z130 } from "zod";
20205
- var PatchedMessageRequestSchema = z130.object({
20206
- text: z130.string().min(1).optional()
20412
+ var PatchedDocumentRequestSchema = z130.object({
20413
+ title: z130.string().min(1).max(512).optional(),
20414
+ file_type: z130.string().min(1).max(100).optional(),
20415
+ file_size: z130.int().min(0).max(2147483647).optional(),
20416
+ metadata: z130.string().nullable().optional()
20207
20417
  });
20208
20418
 
20209
- // src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
20419
+ // src/cfg/generated/_utils/schemas/PatchedLeadSubmissionRequest.schema.ts
20210
20420
  import { z as z131 } from "zod";
20211
- var PatchedNewsletterCampaignRequestSchema = z131.object({
20212
- newsletter: z131.int().optional(),
20213
- subject: z131.string().min(1).max(255).optional(),
20214
- email_title: z131.string().min(1).max(255).optional(),
20215
- main_text: z131.string().min(1).optional(),
20216
- main_html_content: z131.string().optional(),
20217
- button_text: z131.string().max(100).optional(),
20218
- button_url: z131.url().optional(),
20219
- secondary_text: z131.string().optional()
20421
+ var PatchedLeadSubmissionRequestSchema = z131.object({
20422
+ name: z131.string().min(1).max(200).optional(),
20423
+ email: z131.email().optional(),
20424
+ company: z131.string().max(200).nullable().optional(),
20425
+ company_site: z131.string().max(200).nullable().optional(),
20426
+ contact_type: z131.nativeEnum(PatchedLeadSubmissionRequestContactType).optional(),
20427
+ contact_value: z131.string().max(200).nullable().optional(),
20428
+ subject: z131.string().max(200).nullable().optional(),
20429
+ message: z131.string().min(1).optional(),
20430
+ extra: z131.string().nullable().optional(),
20431
+ site_url: z131.url().optional()
20220
20432
  });
20221
20433
 
20222
- // src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
20434
+ // src/cfg/generated/_utils/schemas/PatchedMessageRequest.schema.ts
20223
20435
  import { z as z132 } from "zod";
20224
- var PatchedTicketRequestSchema = z132.object({
20225
- user: z132.int().optional(),
20226
- subject: z132.string().min(1).max(255).optional(),
20227
- status: z132.nativeEnum(PatchedTicketRequestStatus).optional()
20436
+ var PatchedMessageRequestSchema = z132.object({
20437
+ text: z132.string().min(1).optional()
20228
20438
  });
20229
20439
 
20230
- // src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
20440
+ // src/cfg/generated/_utils/schemas/PatchedNewsletterCampaignRequest.schema.ts
20231
20441
  import { z as z133 } from "zod";
20232
- var PatchedUnsubscribeRequestSchema = z133.object({
20233
- subscription_id: z133.int().optional()
20442
+ var PatchedNewsletterCampaignRequestSchema = z133.object({
20443
+ newsletter: z133.int().optional(),
20444
+ subject: z133.string().min(1).max(255).optional(),
20445
+ email_title: z133.string().min(1).max(255).optional(),
20446
+ main_text: z133.string().min(1).optional(),
20447
+ main_html_content: z133.string().optional(),
20448
+ button_text: z133.string().max(100).optional(),
20449
+ button_url: z133.url().optional(),
20450
+ secondary_text: z133.string().optional()
20234
20451
  });
20235
20452
 
20236
- // src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
20453
+ // src/cfg/generated/_utils/schemas/PatchedTicketRequest.schema.ts
20237
20454
  import { z as z134 } from "zod";
20238
- var PatchedUserProfileUpdateRequestSchema = z134.object({
20239
- first_name: z134.string().max(50).optional(),
20240
- last_name: z134.string().max(50).optional(),
20241
- company: z134.string().max(100).optional(),
20242
- phone: z134.string().max(20).optional(),
20243
- position: z134.string().max(100).optional()
20455
+ var PatchedTicketRequestSchema = z134.object({
20456
+ user: z134.int().optional(),
20457
+ subject: z134.string().min(1).max(255).optional(),
20458
+ status: z134.nativeEnum(PatchedTicketRequestStatus).optional()
20244
20459
  });
20245
20460
 
20246
- // src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts
20461
+ // src/cfg/generated/_utils/schemas/PatchedUnsubscribeRequest.schema.ts
20247
20462
  import { z as z135 } from "zod";
20248
- var PaymentDetailSchema = z135.object({
20249
- id: z135.uuid(),
20250
- internal_payment_id: z135.string(),
20251
- amount_usd: z135.string(),
20252
- currency_code: z135.string(),
20253
- currency_name: z135.string(),
20254
- currency_token: z135.string(),
20255
- currency_network: z135.string(),
20256
- pay_amount: z135.string().nullable(),
20257
- actual_amount: z135.string().nullable(),
20258
- actual_amount_usd: z135.string().nullable(),
20259
- status: z135.nativeEnum(PaymentDetailStatus),
20260
- status_display: z135.string(),
20261
- pay_address: z135.string().nullable(),
20262
- qr_code_url: z135.string().nullable(),
20263
- payment_url: z135.url().nullable(),
20264
- transaction_hash: z135.string().nullable(),
20265
- explorer_link: z135.string().nullable(),
20266
- confirmations_count: z135.int(),
20267
- expires_at: z135.iso.datetime().nullable(),
20268
- completed_at: z135.iso.datetime().nullable(),
20269
- created_at: z135.iso.datetime(),
20270
- is_completed: z135.boolean(),
20271
- is_failed: z135.boolean(),
20272
- is_expired: z135.boolean(),
20273
- description: z135.string()
20463
+ var PatchedUnsubscribeRequestSchema = z135.object({
20464
+ subscription_id: z135.int().optional()
20274
20465
  });
20275
20466
 
20276
- // src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
20467
+ // src/cfg/generated/_utils/schemas/PatchedUserProfileUpdateRequest.schema.ts
20277
20468
  import { z as z136 } from "zod";
20278
- var PublicDocumentSchema = z136.object({
20279
- id: z136.uuid(),
20280
- title: z136.string().max(512),
20281
- content: z136.string(),
20282
- category: PublicCategorySchema,
20283
- created_at: z136.iso.datetime(),
20284
- updated_at: z136.iso.datetime()
20469
+ var PatchedUserProfileUpdateRequestSchema = z136.object({
20470
+ first_name: z136.string().max(50).optional(),
20471
+ last_name: z136.string().max(50).optional(),
20472
+ company: z136.string().max(100).optional(),
20473
+ phone: z136.string().max(20).optional(),
20474
+ position: z136.string().max(100).optional()
20285
20475
  });
20286
20476
 
20287
- // src/cfg/generated/_utils/schemas/PublishTestRequestRequest.schema.ts
20477
+ // src/cfg/generated/_utils/schemas/PaymentDetail.schema.ts
20288
20478
  import { z as z137 } from "zod";
20289
- var PublishTestRequestRequestSchema = z137.object({
20290
- channel: z137.string(),
20291
- data: z137.record(z137.string(), z137.any()),
20292
- wait_for_ack: z137.boolean().optional(),
20293
- ack_timeout: z137.int().min(1).max(60).optional()
20479
+ var PaymentDetailSchema = z137.object({
20480
+ id: z137.uuid(),
20481
+ internal_payment_id: z137.string(),
20482
+ amount_usd: z137.string(),
20483
+ currency_code: z137.string(),
20484
+ currency_name: z137.string(),
20485
+ currency_token: z137.string(),
20486
+ currency_network: z137.string(),
20487
+ pay_amount: z137.string().nullable(),
20488
+ actual_amount: z137.string().nullable(),
20489
+ actual_amount_usd: z137.string().nullable(),
20490
+ status: z137.nativeEnum(PaymentDetailStatus),
20491
+ status_display: z137.string(),
20492
+ pay_address: z137.string().nullable(),
20493
+ qr_code_url: z137.string().nullable(),
20494
+ payment_url: z137.url().nullable(),
20495
+ transaction_hash: z137.string().nullable(),
20496
+ explorer_link: z137.string().nullable(),
20497
+ confirmations_count: z137.int(),
20498
+ expires_at: z137.iso.datetime().nullable(),
20499
+ completed_at: z137.iso.datetime().nullable(),
20500
+ created_at: z137.iso.datetime(),
20501
+ is_completed: z137.boolean(),
20502
+ is_failed: z137.boolean(),
20503
+ is_expired: z137.boolean(),
20504
+ description: z137.string()
20294
20505
  });
20295
20506
 
20296
- // src/cfg/generated/_utils/schemas/PublishTestResponse.schema.ts
20507
+ // src/cfg/generated/_utils/schemas/PublicDocument.schema.ts
20297
20508
  import { z as z138 } from "zod";
20298
- var PublishTestResponseSchema = z138.object({
20299
- success: z138.boolean(),
20300
- message_id: z138.string(),
20301
- channel: z138.string(),
20302
- acks_received: z138.int().optional(),
20303
- delivered: z138.boolean().optional(),
20304
- error: z138.string().nullable().optional()
20509
+ var PublicDocumentSchema = z138.object({
20510
+ id: z138.uuid(),
20511
+ title: z138.string().max(512),
20512
+ content: z138.string(),
20513
+ category: PublicCategorySchema,
20514
+ created_at: z138.iso.datetime(),
20515
+ updated_at: z138.iso.datetime()
20305
20516
  });
20306
20517
 
20307
- // src/cfg/generated/_utils/schemas/QueueAction.schema.ts
20518
+ // src/cfg/generated/_utils/schemas/PublishTestRequestRequest.schema.ts
20308
20519
  import { z as z139 } from "zod";
20309
- var QueueActionSchema = z139.object({
20310
- action: z139.nativeEnum(QueueActionAction),
20311
- queue_names: z139.array(z139.string()).optional()
20520
+ var PublishTestRequestRequestSchema = z139.object({
20521
+ channel: z139.string(),
20522
+ data: z139.record(z139.string(), z139.any()),
20523
+ wait_for_ack: z139.boolean().optional(),
20524
+ ack_timeout: z139.int().min(1).max(60).optional()
20312
20525
  });
20313
20526
 
20314
- // src/cfg/generated/_utils/schemas/QueueActionRequest.schema.ts
20527
+ // src/cfg/generated/_utils/schemas/PublishTestResponse.schema.ts
20315
20528
  import { z as z140 } from "zod";
20316
- var QueueActionRequestSchema = z140.object({
20317
- action: z140.nativeEnum(QueueActionRequestAction),
20318
- queue_names: z140.array(z140.string().min(1)).optional()
20529
+ var PublishTestResponseSchema = z140.object({
20530
+ success: z140.boolean(),
20531
+ message_id: z140.string(),
20532
+ channel: z140.string(),
20533
+ acks_received: z140.int().optional(),
20534
+ delivered: z140.boolean().optional(),
20535
+ error: z140.string().nullable().optional()
20319
20536
  });
20320
20537
 
20321
- // src/cfg/generated/_utils/schemas/QueueStatus.schema.ts
20538
+ // src/cfg/generated/_utils/schemas/QueueAction.schema.ts
20322
20539
  import { z as z141 } from "zod";
20323
- var QueueStatusSchema = z141.object({
20324
- queues: z141.record(z141.string(), z141.any()),
20325
- workers: z141.int(),
20326
- redis_connected: z141.boolean(),
20327
- timestamp: z141.string(),
20328
- error: z141.string().optional()
20540
+ var QueueActionSchema = z141.object({
20541
+ action: z141.nativeEnum(QueueActionAction),
20542
+ queue_names: z141.array(z141.string()).optional()
20329
20543
  });
20330
20544
 
20331
- // src/cfg/generated/_utils/schemas/QuickAction.schema.ts
20545
+ // src/cfg/generated/_utils/schemas/QueueActionRequest.schema.ts
20332
20546
  import { z as z142 } from "zod";
20333
- var QuickActionSchema = z142.object({
20334
- title: z142.string(),
20335
- description: z142.string(),
20336
- icon: z142.string(),
20337
- link: z142.string(),
20338
- color: z142.nativeEnum(QuickActionColor).optional(),
20339
- category: z142.string().optional()
20547
+ var QueueActionRequestSchema = z142.object({
20548
+ action: z142.nativeEnum(QueueActionRequestAction),
20549
+ queue_names: z142.array(z142.string().min(1)).optional()
20340
20550
  });
20341
20551
 
20342
- // src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
20552
+ // src/cfg/generated/_utils/schemas/QueueStatus.schema.ts
20343
20553
  import { z as z143 } from "zod";
20344
- var QuickHealthSchema = z143.object({
20345
- status: z143.string(),
20346
- timestamp: z143.iso.datetime(),
20554
+ var QueueStatusSchema = z143.object({
20555
+ queues: z143.record(z143.string(), z143.any()),
20556
+ workers: z143.int(),
20557
+ redis_connected: z143.boolean(),
20558
+ timestamp: z143.string(),
20347
20559
  error: z143.string().optional()
20348
20560
  });
20349
20561
 
20350
- // src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts
20562
+ // src/cfg/generated/_utils/schemas/QuickAction.schema.ts
20351
20563
  import { z as z144 } from "zod";
20352
- var RecentPublishesSchema = z144.object({
20353
- publishes: z144.array(z144.record(z144.string(), z144.any())),
20354
- count: z144.int(),
20355
- total_available: z144.int(),
20356
- offset: z144.int().optional(),
20357
- has_more: z144.boolean().optional()
20564
+ var QuickActionSchema = z144.object({
20565
+ title: z144.string(),
20566
+ description: z144.string(),
20567
+ icon: z144.string(),
20568
+ link: z144.string(),
20569
+ color: z144.nativeEnum(QuickActionColor).optional(),
20570
+ category: z144.string().optional()
20358
20571
  });
20359
20572
 
20360
- // src/cfg/generated/_utils/schemas/RecentUser.schema.ts
20573
+ // src/cfg/generated/_utils/schemas/QuickHealth.schema.ts
20361
20574
  import { z as z145 } from "zod";
20362
- var RecentUserSchema = z145.object({
20363
- id: z145.int(),
20364
- username: z145.string(),
20365
- email: z145.email(),
20366
- date_joined: z145.string(),
20367
- is_active: z145.boolean(),
20368
- is_staff: z145.boolean(),
20369
- is_superuser: z145.boolean(),
20370
- last_login: z145.string().nullable()
20575
+ var QuickHealthSchema = z145.object({
20576
+ status: z145.string(),
20577
+ timestamp: z145.iso.datetime(),
20578
+ error: z145.string().optional()
20371
20579
  });
20372
20580
 
20373
- // src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
20581
+ // src/cfg/generated/_utils/schemas/RecentPublishes.schema.ts
20374
20582
  import { z as z146 } from "zod";
20375
- var SendCampaignRequestSchema = z146.object({
20376
- campaign_id: z146.int()
20583
+ var RecentPublishesSchema = z146.object({
20584
+ publishes: z146.array(z146.record(z146.string(), z146.any())),
20585
+ count: z146.int(),
20586
+ total_available: z146.int(),
20587
+ offset: z146.int().optional(),
20588
+ has_more: z146.boolean().optional()
20377
20589
  });
20378
20590
 
20379
- // src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
20591
+ // src/cfg/generated/_utils/schemas/RecentUser.schema.ts
20380
20592
  import { z as z147 } from "zod";
20381
- var SendCampaignResponseSchema = z147.object({
20382
- success: z147.boolean(),
20383
- message: z147.string().optional(),
20384
- sent_count: z147.int().optional(),
20385
- error: z147.string().optional()
20593
+ var RecentUserSchema = z147.object({
20594
+ id: z147.int(),
20595
+ username: z147.string(),
20596
+ email: z147.email(),
20597
+ date_joined: z147.string(),
20598
+ is_active: z147.boolean(),
20599
+ is_staff: z147.boolean(),
20600
+ is_superuser: z147.boolean(),
20601
+ last_login: z147.string().nullable()
20386
20602
  });
20387
20603
 
20388
- // src/cfg/generated/_utils/schemas/StatCard.schema.ts
20604
+ // src/cfg/generated/_utils/schemas/SendCampaignRequest.schema.ts
20389
20605
  import { z as z148 } from "zod";
20390
- var StatCardSchema = z148.object({
20391
- title: z148.string(),
20392
- value: z148.string(),
20393
- icon: z148.string(),
20394
- change: z148.string().nullable().optional(),
20395
- change_type: z148.nativeEnum(StatCardChangeType).optional(),
20396
- description: z148.string().nullable().optional(),
20397
- color: z148.string().optional()
20606
+ var SendCampaignRequestSchema = z148.object({
20607
+ campaign_id: z148.int()
20398
20608
  });
20399
20609
 
20400
- // src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
20610
+ // src/cfg/generated/_utils/schemas/SendCampaignResponse.schema.ts
20401
20611
  import { z as z149 } from "zod";
20402
- var SubscribeRequestSchema = z149.object({
20403
- newsletter_id: z149.int(),
20404
- email: z149.email()
20612
+ var SendCampaignResponseSchema = z149.object({
20613
+ success: z149.boolean(),
20614
+ message: z149.string().optional(),
20615
+ sent_count: z149.int().optional(),
20616
+ error: z149.string().optional()
20405
20617
  });
20406
20618
 
20407
- // src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
20619
+ // src/cfg/generated/_utils/schemas/StatCard.schema.ts
20408
20620
  import { z as z150 } from "zod";
20409
- var SubscribeResponseSchema = z150.object({
20410
- success: z150.boolean(),
20411
- message: z150.string(),
20412
- subscription_id: z150.int().optional()
20621
+ var StatCardSchema = z150.object({
20622
+ title: z150.string(),
20623
+ value: z150.string(),
20624
+ icon: z150.string(),
20625
+ change: z150.string().nullable().optional(),
20626
+ change_type: z150.nativeEnum(StatCardChangeType).optional(),
20627
+ description: z150.string().nullable().optional(),
20628
+ color: z150.string().optional()
20413
20629
  });
20414
20630
 
20415
- // src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
20631
+ // src/cfg/generated/_utils/schemas/SubscribeRequest.schema.ts
20416
20632
  import { z as z151 } from "zod";
20417
- var SuccessResponseSchema = z151.object({
20418
- success: z151.boolean(),
20419
- message: z151.string()
20633
+ var SubscribeRequestSchema = z151.object({
20634
+ newsletter_id: z151.int(),
20635
+ email: z151.email()
20420
20636
  });
20421
20637
 
20422
- // src/cfg/generated/_utils/schemas/SystemHealth.schema.ts
20638
+ // src/cfg/generated/_utils/schemas/SubscribeResponse.schema.ts
20639
+ import { z as z152 } from "zod";
20640
+ var SubscribeResponseSchema = z152.object({
20641
+ success: z152.boolean(),
20642
+ message: z152.string(),
20643
+ subscription_id: z152.int().optional()
20644
+ });
20645
+
20646
+ // src/cfg/generated/_utils/schemas/SuccessResponse.schema.ts
20423
20647
  import { z as z153 } from "zod";
20648
+ var SuccessResponseSchema = z153.object({
20649
+ success: z153.boolean(),
20650
+ message: z153.string()
20651
+ });
20652
+
20653
+ // src/cfg/generated/_utils/schemas/SystemHealth.schema.ts
20654
+ import { z as z155 } from "zod";
20424
20655
 
20425
20656
  // src/cfg/generated/_utils/schemas/SystemHealthItem.schema.ts
20426
- import { z as z152 } from "zod";
20427
- var SystemHealthItemSchema = z152.object({
20428
- component: z152.string(),
20429
- status: z152.nativeEnum(SystemHealthItemStatus),
20430
- description: z152.string(),
20431
- last_check: z152.string(),
20432
- health_percentage: z152.int().min(0).max(100).nullable().optional()
20657
+ import { z as z154 } from "zod";
20658
+ var SystemHealthItemSchema = z154.object({
20659
+ component: z154.string(),
20660
+ status: z154.nativeEnum(SystemHealthItemStatus),
20661
+ description: z154.string(),
20662
+ last_check: z154.string(),
20663
+ health_percentage: z154.int().min(0).max(100).nullable().optional()
20433
20664
  });
20434
20665
 
20435
20666
  // src/cfg/generated/_utils/schemas/SystemHealth.schema.ts
20436
- var SystemHealthSchema = z153.object({
20437
- overall_status: z153.nativeEnum(SystemHealthOverallStatus),
20438
- overall_health_percentage: z153.int().min(0).max(100),
20439
- components: z153.array(SystemHealthItemSchema),
20440
- timestamp: z153.string()
20667
+ var SystemHealthSchema = z155.object({
20668
+ overall_status: z155.nativeEnum(SystemHealthOverallStatus),
20669
+ overall_health_percentage: z155.int().min(0).max(100),
20670
+ components: z155.array(SystemHealthItemSchema),
20671
+ timestamp: z155.string()
20441
20672
  });
20442
20673
 
20443
20674
  // src/cfg/generated/_utils/schemas/SystemMetrics.schema.ts
20444
- import { z as z154 } from "zod";
20445
- var SystemMetricsSchema = z154.object({
20446
- cpu_usage: z154.number(),
20447
- memory_usage: z154.number(),
20448
- disk_usage: z154.number(),
20449
- network_in: z154.string(),
20450
- network_out: z154.string(),
20451
- response_time: z154.string(),
20452
- uptime: z154.string()
20675
+ import { z as z156 } from "zod";
20676
+ var SystemMetricsSchema = z156.object({
20677
+ cpu_usage: z156.number(),
20678
+ memory_usage: z156.number(),
20679
+ disk_usage: z156.number(),
20680
+ network_in: z156.string(),
20681
+ network_out: z156.string(),
20682
+ response_time: z156.string(),
20683
+ uptime: z156.string()
20453
20684
  });
20454
20685
 
20455
20686
  // src/cfg/generated/_utils/schemas/TaskStatistics.schema.ts
20456
- import { z as z155 } from "zod";
20457
- var TaskStatisticsSchema = z155.object({
20458
- statistics: z155.record(z155.string(), z155.any()),
20459
- recent_tasks: z155.array(z155.record(z155.string(), z155.any())),
20460
- timestamp: z155.string(),
20461
- error: z155.string().optional()
20687
+ import { z as z157 } from "zod";
20688
+ var TaskStatisticsSchema = z157.object({
20689
+ statistics: z157.record(z157.string(), z157.any()),
20690
+ recent_tasks: z157.array(z157.record(z157.string(), z157.any())),
20691
+ timestamp: z157.string(),
20692
+ error: z157.string().optional()
20462
20693
  });
20463
20694
 
20464
20695
  // src/cfg/generated/_utils/schemas/TestEmailRequest.schema.ts
20465
- import { z as z156 } from "zod";
20466
- var TestEmailRequestSchema = z156.object({
20467
- email: z156.email(),
20468
- subject: z156.string().min(1).max(255).optional(),
20469
- message: z156.string().min(1).optional()
20696
+ import { z as z158 } from "zod";
20697
+ var TestEmailRequestSchema = z158.object({
20698
+ email: z158.email(),
20699
+ subject: z158.string().min(1).max(255).optional(),
20700
+ message: z158.string().min(1).optional()
20470
20701
  });
20471
20702
 
20472
20703
  // src/cfg/generated/_utils/schemas/TicketRequest.schema.ts
20473
- import { z as z157 } from "zod";
20474
- var TicketRequestSchema = z157.object({
20475
- user: z157.int(),
20476
- subject: z157.string().min(1).max(255),
20477
- status: z157.nativeEnum(TicketRequestStatus).optional()
20704
+ import { z as z159 } from "zod";
20705
+ var TicketRequestSchema = z159.object({
20706
+ user: z159.int(),
20707
+ subject: z159.string().min(1).max(255),
20708
+ status: z159.nativeEnum(TicketRequestStatus).optional()
20478
20709
  });
20479
20710
 
20480
20711
  // src/cfg/generated/_utils/schemas/TokenRefresh.schema.ts
20481
- import { z as z158 } from "zod";
20482
- var TokenRefreshSchema = z158.object({
20483
- access: z158.string(),
20484
- refresh: z158.string()
20712
+ import { z as z160 } from "zod";
20713
+ var TokenRefreshSchema = z160.object({
20714
+ access: z160.string(),
20715
+ refresh: z160.string()
20485
20716
  });
20486
20717
 
20487
20718
  // src/cfg/generated/_utils/schemas/TokenRefreshRequest.schema.ts
20488
- import { z as z159 } from "zod";
20489
- var TokenRefreshRequestSchema = z159.object({
20490
- refresh: z159.string().min(1)
20719
+ import { z as z161 } from "zod";
20720
+ var TokenRefreshRequestSchema = z161.object({
20721
+ refresh: z161.string().min(1)
20491
20722
  });
20492
20723
 
20493
20724
  // src/cfg/generated/_utils/schemas/Transaction.schema.ts
20494
- import { z as z160 } from "zod";
20495
- var TransactionSchema = z160.object({
20496
- id: z160.uuid(),
20497
- transaction_type: z160.nativeEnum(TransactionTransactionType),
20498
- type_display: z160.string(),
20499
- amount_usd: z160.string(),
20500
- amount_display: z160.string(),
20501
- balance_after: z160.string(),
20502
- payment_id: z160.string().nullable(),
20503
- description: z160.string(),
20504
- created_at: z160.iso.datetime()
20725
+ import { z as z162 } from "zod";
20726
+ var TransactionSchema = z162.object({
20727
+ id: z162.uuid(),
20728
+ transaction_type: z162.nativeEnum(TransactionTransactionType),
20729
+ type_display: z162.string(),
20730
+ amount_usd: z162.string(),
20731
+ amount_display: z162.string(),
20732
+ balance_after: z162.string(),
20733
+ payment_id: z162.string().nullable(),
20734
+ description: z162.string(),
20735
+ created_at: z162.iso.datetime()
20505
20736
  });
20506
20737
 
20507
20738
  // src/cfg/generated/_utils/schemas/URLPattern.schema.ts
20508
- import { z as z161 } from "zod";
20509
- var URLPatternSchema = z161.object({
20510
- pattern: z161.string(),
20511
- name: z161.string().nullable().optional(),
20512
- full_name: z161.string().nullable().optional(),
20513
- namespace: z161.string().nullable().optional(),
20514
- view: z161.string().nullable().optional(),
20515
- view_class: z161.string().nullable().optional(),
20516
- methods: z161.array(z161.string()).optional(),
20517
- module: z161.string().nullable().optional()
20739
+ import { z as z163 } from "zod";
20740
+ var URLPatternSchema = z163.object({
20741
+ pattern: z163.string(),
20742
+ name: z163.string().nullable().optional(),
20743
+ full_name: z163.string().nullable().optional(),
20744
+ namespace: z163.string().nullable().optional(),
20745
+ view: z163.string().nullable().optional(),
20746
+ view_class: z163.string().nullable().optional(),
20747
+ methods: z163.array(z163.string()).optional(),
20748
+ module: z163.string().nullable().optional()
20518
20749
  });
20519
20750
 
20520
20751
  // src/cfg/generated/_utils/schemas/URLsList.schema.ts
20521
- import { z as z162 } from "zod";
20522
- var URLsListSchema = z162.object({
20523
- status: z162.string(),
20524
- service: z162.string(),
20525
- version: z162.string(),
20526
- base_url: z162.string(),
20527
- total_urls: z162.int(),
20528
- urls: z162.array(URLPatternSchema)
20752
+ import { z as z164 } from "zod";
20753
+ var URLsListSchema = z164.object({
20754
+ status: z164.string(),
20755
+ service: z164.string(),
20756
+ version: z164.string(),
20757
+ base_url: z164.string(),
20758
+ total_urls: z164.int(),
20759
+ urls: z164.array(URLPatternSchema)
20529
20760
  });
20530
20761
 
20531
20762
  // src/cfg/generated/_utils/schemas/Unsubscribe.schema.ts
20532
- import { z as z163 } from "zod";
20533
- var UnsubscribeSchema = z163.object({
20534
- subscription_id: z163.int()
20763
+ import { z as z165 } from "zod";
20764
+ var UnsubscribeSchema = z165.object({
20765
+ subscription_id: z165.int()
20535
20766
  });
20536
20767
 
20537
20768
  // src/cfg/generated/_utils/schemas/UnsubscribeRequest.schema.ts
20538
- import { z as z164 } from "zod";
20539
- var UnsubscribeRequestSchema = z164.object({
20540
- subscription_id: z164.int()
20769
+ import { z as z166 } from "zod";
20770
+ var UnsubscribeRequestSchema = z166.object({
20771
+ subscription_id: z166.int()
20541
20772
  });
20542
20773
 
20543
20774
  // src/cfg/generated/_utils/schemas/UserProfileUpdateRequest.schema.ts
20544
- import { z as z165 } from "zod";
20545
- var UserProfileUpdateRequestSchema = z165.object({
20546
- first_name: z165.string().max(50).optional(),
20547
- last_name: z165.string().max(50).optional(),
20548
- company: z165.string().max(100).optional(),
20549
- phone: z165.string().max(20).optional(),
20550
- position: z165.string().max(100).optional()
20775
+ import { z as z167 } from "zod";
20776
+ var UserProfileUpdateRequestSchema = z167.object({
20777
+ first_name: z167.string().max(50).optional(),
20778
+ last_name: z167.string().max(50).optional(),
20779
+ company: z167.string().max(100).optional(),
20780
+ phone: z167.string().max(20).optional(),
20781
+ position: z167.string().max(100).optional()
20551
20782
  });
20552
20783
 
20553
20784
  // src/cfg/generated/_utils/schemas/UserStatistics.schema.ts
20554
- import { z as z166 } from "zod";
20555
- var UserStatisticsSchema = z166.object({
20556
- total_users: z166.int(),
20557
- active_users: z166.int(),
20558
- new_users: z166.int(),
20559
- superusers: z166.int()
20785
+ import { z as z168 } from "zod";
20786
+ var UserStatisticsSchema = z168.object({
20787
+ total_users: z168.int(),
20788
+ active_users: z168.int(),
20789
+ new_users: z168.int(),
20790
+ superusers: z168.int()
20560
20791
  });
20561
20792
 
20562
20793
  // src/cfg/generated/_utils/schemas/VectorizationResult.schema.ts
20563
- import { z as z167 } from "zod";
20564
- var VectorizationResultSchema = z167.object({
20565
- vectorized_count: z167.int(),
20566
- failed_count: z167.int(),
20567
- total_tokens: z167.int(),
20568
- total_cost: z167.number(),
20569
- success_rate: z167.number(),
20570
- errors: z167.array(z167.string())
20794
+ import { z as z169 } from "zod";
20795
+ var VectorizationResultSchema = z169.object({
20796
+ vectorized_count: z169.int(),
20797
+ failed_count: z169.int(),
20798
+ total_tokens: z169.int(),
20799
+ total_cost: z169.number(),
20800
+ success_rate: z169.number(),
20801
+ errors: z169.array(z169.string())
20571
20802
  });
20572
20803
 
20573
20804
  // src/cfg/generated/_utils/schemas/VectorizationStatistics.schema.ts
20574
- import { z as z168 } from "zod";
20575
- var VectorizationStatisticsSchema = z168.object({
20576
- total_chunks: z168.int(),
20577
- vectorized_chunks: z168.int(),
20578
- pending_chunks: z168.int(),
20579
- vectorization_rate: z168.number(),
20580
- total_tokens: z168.int(),
20581
- total_cost: z168.number(),
20582
- avg_tokens_per_chunk: z168.number(),
20583
- avg_cost_per_chunk: z168.number()
20805
+ import { z as z170 } from "zod";
20806
+ var VectorizationStatisticsSchema = z170.object({
20807
+ total_chunks: z170.int(),
20808
+ vectorized_chunks: z170.int(),
20809
+ pending_chunks: z170.int(),
20810
+ vectorization_rate: z170.number(),
20811
+ total_tokens: z170.int(),
20812
+ total_cost: z170.number(),
20813
+ avg_tokens_per_chunk: z170.number(),
20814
+ avg_cost_per_chunk: z170.number()
20584
20815
  });
20585
20816
 
20586
20817
  // src/cfg/generated/_utils/schemas/WorkerAction.schema.ts
20587
- import { z as z169 } from "zod";
20588
- var WorkerActionSchema = z169.object({
20589
- action: z169.nativeEnum(WorkerActionAction),
20590
- processes: z169.int().min(1).max(10).optional(),
20591
- threads: z169.int().min(1).max(20).optional()
20818
+ import { z as z171 } from "zod";
20819
+ var WorkerActionSchema = z171.object({
20820
+ action: z171.nativeEnum(WorkerActionAction),
20821
+ processes: z171.int().min(1).max(10).optional(),
20822
+ threads: z171.int().min(1).max(20).optional()
20592
20823
  });
20593
20824
 
20594
20825
  // src/cfg/generated/_utils/schemas/WorkerActionRequest.schema.ts
20595
- import { z as z170 } from "zod";
20596
- var WorkerActionRequestSchema = z170.object({
20597
- action: z170.nativeEnum(WorkerActionRequestAction),
20598
- processes: z170.int().min(1).max(10).optional(),
20599
- threads: z170.int().min(1).max(20).optional()
20826
+ import { z as z172 } from "zod";
20827
+ var WorkerActionRequestSchema = z172.object({
20828
+ action: z172.nativeEnum(WorkerActionRequestAction),
20829
+ processes: z172.int().min(1).max(10).optional(),
20830
+ threads: z172.int().min(1).max(20).optional()
20600
20831
  });
20601
20832
 
20602
20833
  // src/cfg/generated/_utils/fetchers/index.ts
@@ -20626,6 +20857,7 @@ __export(fetchers_exports, {
20626
20857
  createCentrifugoTestingPublishTestCreate: () => createCentrifugoTestingPublishTestCreate,
20627
20858
  createCentrifugoTestingPublishWithLoggingCreate: () => createCentrifugoTestingPublishWithLoggingCreate,
20628
20859
  createCentrifugoTestingSendAckCreate: () => createCentrifugoTestingSendAckCreate,
20860
+ createDashboardApiCommandsExecuteCreate: () => createDashboardApiCommandsExecuteCreate,
20629
20861
  createKnowbaseAdminChatCreate: () => createKnowbaseAdminChatCreate,
20630
20862
  createKnowbaseAdminChatQueryCreate: () => createKnowbaseAdminChatQueryCreate,
20631
20863
  createKnowbaseAdminDocumentsCreate: () => createKnowbaseAdminDocumentsCreate,
@@ -20684,6 +20916,7 @@ __export(fetchers_exports, {
20684
20916
  getDashboardApiChartsRecentUsersList: () => getDashboardApiChartsRecentUsersList,
20685
20917
  getDashboardApiChartsRegistrationsRetrieve: () => getDashboardApiChartsRegistrationsRetrieve,
20686
20918
  getDashboardApiChartsTrackerList: () => getDashboardApiChartsTrackerList,
20919
+ getDashboardApiCommandsHelpRetrieve: () => getDashboardApiCommandsHelpRetrieve,
20687
20920
  getDashboardApiCommandsList: () => getDashboardApiCommandsList,
20688
20921
  getDashboardApiCommandsSummaryRetrieve: () => getDashboardApiCommandsSummaryRetrieve,
20689
20922
  getDashboardApiOverviewOverviewRetrieve: () => getDashboardApiOverviewOverviewRetrieve,
@@ -21077,6 +21310,16 @@ async function getDashboardApiCommandsList(client) {
21077
21310
  const response = await api2.cfg_dashboard_commands.dashboardApiCommandsList();
21078
21311
  return response;
21079
21312
  }
21313
+ async function getDashboardApiCommandsHelpRetrieve(id, client) {
21314
+ const api2 = client || getAPIInstance();
21315
+ const response = await api2.cfg_dashboard_commands.dashboardApiCommandsHelpRetrieve(id);
21316
+ return CommandHelpResponseSchema.parse(response);
21317
+ }
21318
+ async function createDashboardApiCommandsExecuteCreate(data, client) {
21319
+ const api2 = client || getAPIInstance();
21320
+ const response = await api2.cfg_dashboard_commands.dashboardApiCommandsExecuteCreate(data);
21321
+ return response;
21322
+ }
21080
21323
  async function getDashboardApiCommandsSummaryRetrieve(client) {
21081
21324
  const api2 = client || getAPIInstance();
21082
21325
  const response = await api2.cfg_dashboard_commands.dashboardApiCommandsSummaryRetrieve();
@@ -21767,6 +22010,7 @@ __export(hooks_exports, {
21767
22010
  useCreateCentrifugoTestingPublishTestCreate: () => useCreateCentrifugoTestingPublishTestCreate,
21768
22011
  useCreateCentrifugoTestingPublishWithLoggingCreate: () => useCreateCentrifugoTestingPublishWithLoggingCreate,
21769
22012
  useCreateCentrifugoTestingSendAckCreate: () => useCreateCentrifugoTestingSendAckCreate,
22013
+ useCreateDashboardApiCommandsExecuteCreate: () => useCreateDashboardApiCommandsExecuteCreate,
21770
22014
  useCreateKnowbaseAdminChatCreate: () => useCreateKnowbaseAdminChatCreate,
21771
22015
  useCreateKnowbaseAdminChatQueryCreate: () => useCreateKnowbaseAdminChatQueryCreate,
21772
22016
  useCreateKnowbaseAdminDocumentsCreate: () => useCreateKnowbaseAdminDocumentsCreate,
@@ -21804,6 +22048,7 @@ __export(hooks_exports, {
21804
22048
  useDashboardApiChartsRecentUsersList: () => useDashboardApiChartsRecentUsersList,
21805
22049
  useDashboardApiChartsRegistrationsRetrieve: () => useDashboardApiChartsRegistrationsRetrieve,
21806
22050
  useDashboardApiChartsTrackerList: () => useDashboardApiChartsTrackerList,
22051
+ useDashboardApiCommandsHelpRetrieve: () => useDashboardApiCommandsHelpRetrieve,
21807
22052
  useDashboardApiCommandsList: () => useDashboardApiCommandsList,
21808
22053
  useDashboardApiCommandsSummaryRetrieve: () => useDashboardApiCommandsSummaryRetrieve,
21809
22054
  useDashboardApiOverviewOverviewRetrieve: () => useDashboardApiOverviewOverviewRetrieve,
@@ -22253,12 +22498,27 @@ function useDashboardApiChartsTrackerList(params, client) {
22253
22498
 
22254
22499
  // src/cfg/generated/_utils/hooks/cfg__dashboard__dashboard_commands.ts
22255
22500
  import useSWR6 from "swr";
22501
+ import { useSWRConfig as useSWRConfig6 } from "swr";
22256
22502
  function useDashboardApiCommandsList(client) {
22257
22503
  return useSWR6(
22258
22504
  "cfg-dashboard-api-commands",
22259
22505
  () => getDashboardApiCommandsList(client)
22260
22506
  );
22261
22507
  }
22508
+ function useDashboardApiCommandsHelpRetrieve(id, client) {
22509
+ return useSWR6(
22510
+ ["cfg-dashboard-api-commands-help", id],
22511
+ () => getDashboardApiCommandsHelpRetrieve(id, client)
22512
+ );
22513
+ }
22514
+ function useCreateDashboardApiCommandsExecuteCreate() {
22515
+ const { mutate } = useSWRConfig6();
22516
+ return async (data, client) => {
22517
+ const result = await createDashboardApiCommandsExecuteCreate(data, client);
22518
+ mutate("cfg-dashboard-api-commands-execute");
22519
+ return result;
22520
+ };
22521
+ }
22262
22522
  function useDashboardApiCommandsSummaryRetrieve(client) {
22263
22523
  return useSWR6(
22264
22524
  "cfg-dashboard-api-commands-summary",
@@ -22312,9 +22572,9 @@ function useDashboardApiSystemMetricsRetrieve(client) {
22312
22572
  }
22313
22573
 
22314
22574
  // src/cfg/generated/_utils/hooks/cfg__leads__lead_submission.ts
22315
- import { useSWRConfig as useSWRConfig6 } from "swr";
22575
+ import { useSWRConfig as useSWRConfig7 } from "swr";
22316
22576
  function useCreateLeadsSubmitCreate() {
22317
- const { mutate } = useSWRConfig6();
22577
+ const { mutate } = useSWRConfig7();
22318
22578
  return async (data, client) => {
22319
22579
  const result = await createLeadsSubmitCreate(data, client);
22320
22580
  mutate("cfg-leads-submit");
@@ -22348,9 +22608,9 @@ function useNewsletterNewslettersRetrieve(id, client) {
22348
22608
 
22349
22609
  // src/cfg/generated/_utils/hooks/cfg__newsletter__subscriptions.ts
22350
22610
  import useSWR12 from "swr";
22351
- import { useSWRConfig as useSWRConfig7 } from "swr";
22611
+ import { useSWRConfig as useSWRConfig8 } from "swr";
22352
22612
  function useCreateNewsletterSubscribeCreate() {
22353
- const { mutate } = useSWRConfig7();
22613
+ const { mutate } = useSWRConfig8();
22354
22614
  return async (data, client) => {
22355
22615
  const result = await createNewsletterSubscribeCreate(data, client);
22356
22616
  mutate("cfg-newsletter-subscribe");
@@ -22364,7 +22624,7 @@ function useNewsletterSubscriptionsList(params, client) {
22364
22624
  );
22365
22625
  }
22366
22626
  function useCreateNewsletterUnsubscribeCreate() {
22367
- const { mutate } = useSWRConfig7();
22627
+ const { mutate } = useSWRConfig8();
22368
22628
  return async (data, client) => {
22369
22629
  const result = await createNewsletterUnsubscribeCreate(data, client);
22370
22630
  mutate("cfg-newsletter-unsubscribe");
@@ -22373,9 +22633,9 @@ function useCreateNewsletterUnsubscribeCreate() {
22373
22633
  }
22374
22634
 
22375
22635
  // src/cfg/generated/_utils/hooks/cfg__newsletter__testing.ts
22376
- import { useSWRConfig as useSWRConfig8 } from "swr";
22636
+ import { useSWRConfig as useSWRConfig9 } from "swr";
22377
22637
  function useCreateNewsletterTestCreate() {
22378
- const { mutate } = useSWRConfig8();
22638
+ const { mutate } = useSWRConfig9();
22379
22639
  return async (data, client) => {
22380
22640
  const result = await createNewsletterTestCreate(data, client);
22381
22641
  mutate("cfg-newsletter-test");
@@ -22385,7 +22645,7 @@ function useCreateNewsletterTestCreate() {
22385
22645
 
22386
22646
  // src/cfg/generated/_utils/hooks/cfg__accounts__user_profile.ts
22387
22647
  import useSWR13 from "swr";
22388
- import { useSWRConfig as useSWRConfig9 } from "swr";
22648
+ import { useSWRConfig as useSWRConfig10 } from "swr";
22389
22649
  function useAccountsProfileRetrieve(client) {
22390
22650
  return useSWR13(
22391
22651
  "cfg-accounts-profile",
@@ -22393,7 +22653,7 @@ function useAccountsProfileRetrieve(client) {
22393
22653
  );
22394
22654
  }
22395
22655
  function useCreateAccountsProfileAvatarCreate() {
22396
- const { mutate } = useSWRConfig9();
22656
+ const { mutate } = useSWRConfig10();
22397
22657
  return async (data, client) => {
22398
22658
  const result = await createAccountsProfileAvatarCreate(data, client);
22399
22659
  mutate("cfg-accounts-profile-avatar");
@@ -22401,7 +22661,7 @@ function useCreateAccountsProfileAvatarCreate() {
22401
22661
  };
22402
22662
  }
22403
22663
  function usePartialUpdateAccountsProfilePartialUpdate() {
22404
- const { mutate } = useSWRConfig9();
22664
+ const { mutate } = useSWRConfig10();
22405
22665
  return async (data, client) => {
22406
22666
  const result = await partialUpdateAccountsProfilePartialUpdate(data, client);
22407
22667
  mutate("cfg-accounts-profile-partial");
@@ -22409,7 +22669,7 @@ function usePartialUpdateAccountsProfilePartialUpdate() {
22409
22669
  };
22410
22670
  }
22411
22671
  function usePartialUpdateAccountsProfilePartialPartialUpdate() {
22412
- const { mutate } = useSWRConfig9();
22672
+ const { mutate } = useSWRConfig10();
22413
22673
  return async (data, client) => {
22414
22674
  const result = await partialUpdateAccountsProfilePartialPartialUpdate(data, client);
22415
22675
  mutate("cfg-accounts-profile-partial-partial");
@@ -22417,7 +22677,7 @@ function usePartialUpdateAccountsProfilePartialPartialUpdate() {
22417
22677
  };
22418
22678
  }
22419
22679
  function useUpdateAccountsProfileUpdateUpdate() {
22420
- const { mutate } = useSWRConfig9();
22680
+ const { mutate } = useSWRConfig10();
22421
22681
  return async (data, client) => {
22422
22682
  const result = await updateAccountsProfileUpdateUpdate(data, client);
22423
22683
  mutate("cfg-accounts-profile");
@@ -22425,7 +22685,7 @@ function useUpdateAccountsProfileUpdateUpdate() {
22425
22685
  };
22426
22686
  }
22427
22687
  function usePartialUpdateAccountsProfileUpdatePartialUpdate() {
22428
- const { mutate } = useSWRConfig9();
22688
+ const { mutate } = useSWRConfig10();
22429
22689
  return async (data, client) => {
22430
22690
  const result = await partialUpdateAccountsProfileUpdatePartialUpdate(data, client);
22431
22691
  mutate("cfg-accounts-profile-partial");
@@ -22434,9 +22694,9 @@ function usePartialUpdateAccountsProfileUpdatePartialUpdate() {
22434
22694
  }
22435
22695
 
22436
22696
  // src/cfg/generated/_utils/hooks/cfg__accounts.ts
22437
- import { useSWRConfig as useSWRConfig10 } from "swr";
22697
+ import { useSWRConfig as useSWRConfig11 } from "swr";
22438
22698
  function useCreateAccountsOtpRequestCreate() {
22439
- const { mutate } = useSWRConfig10();
22699
+ const { mutate } = useSWRConfig11();
22440
22700
  return async (data, client) => {
22441
22701
  const result = await createAccountsOtpRequestCreate(data, client);
22442
22702
  mutate("cfg-accounts-otp-request");
@@ -22444,7 +22704,7 @@ function useCreateAccountsOtpRequestCreate() {
22444
22704
  };
22445
22705
  }
22446
22706
  function useCreateAccountsOtpVerifyCreate() {
22447
- const { mutate } = useSWRConfig10();
22707
+ const { mutate } = useSWRConfig11();
22448
22708
  return async (data, client) => {
22449
22709
  const result = await createAccountsOtpVerifyCreate(data, client);
22450
22710
  mutate("cfg-accounts-otp-verify");
@@ -22505,7 +22765,7 @@ function useHealthDrfQuickRetrieve(client) {
22505
22765
 
22506
22766
  // src/cfg/generated/_utils/hooks/cfg__knowbase.ts
22507
22767
  import useSWR17 from "swr";
22508
- import { useSWRConfig as useSWRConfig11 } from "swr";
22768
+ import { useSWRConfig as useSWRConfig12 } from "swr";
22509
22769
  function useKnowbaseAdminChatList(params, client) {
22510
22770
  return useSWR17(
22511
22771
  params ? ["cfg-knowbase-admin-chat", params] : "cfg-knowbase-admin-chat",
@@ -22513,7 +22773,7 @@ function useKnowbaseAdminChatList(params, client) {
22513
22773
  );
22514
22774
  }
22515
22775
  function useCreateKnowbaseAdminChatCreate() {
22516
- const { mutate } = useSWRConfig11();
22776
+ const { mutate } = useSWRConfig12();
22517
22777
  return async (data, client) => {
22518
22778
  const result = await createKnowbaseAdminChatCreate(data, client);
22519
22779
  mutate("cfg-knowbase-admin-chat");
@@ -22527,7 +22787,7 @@ function useKnowbaseAdminChatRetrieve(id, client) {
22527
22787
  );
22528
22788
  }
22529
22789
  function useUpdateKnowbaseAdminChatUpdate() {
22530
- const { mutate } = useSWRConfig11();
22790
+ const { mutate } = useSWRConfig12();
22531
22791
  return async (id, data, client) => {
22532
22792
  const result = await updateKnowbaseAdminChatUpdate(id, data, client);
22533
22793
  mutate("cfg-knowbase-admin-chat");
@@ -22535,7 +22795,7 @@ function useUpdateKnowbaseAdminChatUpdate() {
22535
22795
  };
22536
22796
  }
22537
22797
  function usePartialUpdateKnowbaseAdminChatPartialUpdate() {
22538
- const { mutate } = useSWRConfig11();
22798
+ const { mutate } = useSWRConfig12();
22539
22799
  return async (id, data, client) => {
22540
22800
  const result = await partialUpdateKnowbaseAdminChatPartialUpdate(id, data, client);
22541
22801
  mutate("cfg-knowbase-admin-chat-partial");
@@ -22543,7 +22803,7 @@ function usePartialUpdateKnowbaseAdminChatPartialUpdate() {
22543
22803
  };
22544
22804
  }
22545
22805
  function useDeleteKnowbaseAdminChatDestroy() {
22546
- const { mutate } = useSWRConfig11();
22806
+ const { mutate } = useSWRConfig12();
22547
22807
  return async (id, client) => {
22548
22808
  const result = await deleteKnowbaseAdminChatDestroy(id, client);
22549
22809
  mutate("cfg-knowbase-admin-chat");
@@ -22557,7 +22817,7 @@ function useKnowbaseAdminChatHistoryRetrieve(id, client) {
22557
22817
  );
22558
22818
  }
22559
22819
  function useCreateKnowbaseAdminChatQueryCreate() {
22560
- const { mutate } = useSWRConfig11();
22820
+ const { mutate } = useSWRConfig12();
22561
22821
  return async (data, client) => {
22562
22822
  const result = await createKnowbaseAdminChatQueryCreate(data, client);
22563
22823
  mutate("cfg-knowbase-admin-chat-query");
@@ -22571,7 +22831,7 @@ function useKnowbaseAdminDocumentsList(params, client) {
22571
22831
  );
22572
22832
  }
22573
22833
  function useCreateKnowbaseAdminDocumentsCreate() {
22574
- const { mutate } = useSWRConfig11();
22834
+ const { mutate } = useSWRConfig12();
22575
22835
  return async (data, client) => {
22576
22836
  const result = await createKnowbaseAdminDocumentsCreate(data, client);
22577
22837
  mutate("cfg-knowbase-admin-documents");
@@ -22585,7 +22845,7 @@ function useKnowbaseAdminDocumentsRetrieve(id, client) {
22585
22845
  );
22586
22846
  }
22587
22847
  function useUpdateKnowbaseAdminDocumentsUpdate() {
22588
- const { mutate } = useSWRConfig11();
22848
+ const { mutate } = useSWRConfig12();
22589
22849
  return async (id, data, client) => {
22590
22850
  const result = await updateKnowbaseAdminDocumentsUpdate(id, data, client);
22591
22851
  mutate("cfg-knowbase-admin-documents");
@@ -22594,7 +22854,7 @@ function useUpdateKnowbaseAdminDocumentsUpdate() {
22594
22854
  };
22595
22855
  }
22596
22856
  function usePartialUpdateKnowbaseAdminDocumentsPartialUpdate() {
22597
- const { mutate } = useSWRConfig11();
22857
+ const { mutate } = useSWRConfig12();
22598
22858
  return async (id, data, client) => {
22599
22859
  const result = await partialUpdateKnowbaseAdminDocumentsPartialUpdate(id, data, client);
22600
22860
  mutate("cfg-knowbase-admin-documents-partial");
@@ -22602,7 +22862,7 @@ function usePartialUpdateKnowbaseAdminDocumentsPartialUpdate() {
22602
22862
  };
22603
22863
  }
22604
22864
  function useDeleteKnowbaseAdminDocumentsDestroy() {
22605
- const { mutate } = useSWRConfig11();
22865
+ const { mutate } = useSWRConfig12();
22606
22866
  return async (id, client) => {
22607
22867
  const result = await deleteKnowbaseAdminDocumentsDestroy(id, client);
22608
22868
  mutate("cfg-knowbase-admin-documents");
@@ -22611,7 +22871,7 @@ function useDeleteKnowbaseAdminDocumentsDestroy() {
22611
22871
  };
22612
22872
  }
22613
22873
  function useCreateKnowbaseAdminDocumentsReprocessCreate() {
22614
- const { mutate } = useSWRConfig11();
22874
+ const { mutate } = useSWRConfig12();
22615
22875
  return async (id, data, client) => {
22616
22876
  const result = await createKnowbaseAdminDocumentsReprocessCreate(id, data, client);
22617
22877
  mutate("cfg-knowbase-admin-documents-reprocess");
@@ -22637,7 +22897,7 @@ function useKnowbaseAdminSessionsList(params, client) {
22637
22897
  );
22638
22898
  }
22639
22899
  function useCreateKnowbaseAdminSessionsCreate() {
22640
- const { mutate } = useSWRConfig11();
22900
+ const { mutate } = useSWRConfig12();
22641
22901
  return async (data, client) => {
22642
22902
  const result = await createKnowbaseAdminSessionsCreate(data, client);
22643
22903
  mutate("cfg-knowbase-admin-sessions");
@@ -22651,7 +22911,7 @@ function useKnowbaseAdminSessionsRetrieve(id, client) {
22651
22911
  );
22652
22912
  }
22653
22913
  function useUpdateKnowbaseAdminSessionsUpdate() {
22654
- const { mutate } = useSWRConfig11();
22914
+ const { mutate } = useSWRConfig12();
22655
22915
  return async (id, data, client) => {
22656
22916
  const result = await updateKnowbaseAdminSessionsUpdate(id, data, client);
22657
22917
  mutate("cfg-knowbase-admin-sessions");
@@ -22660,7 +22920,7 @@ function useUpdateKnowbaseAdminSessionsUpdate() {
22660
22920
  };
22661
22921
  }
22662
22922
  function usePartialUpdateKnowbaseAdminSessionsPartialUpdate() {
22663
- const { mutate } = useSWRConfig11();
22923
+ const { mutate } = useSWRConfig12();
22664
22924
  return async (id, data, client) => {
22665
22925
  const result = await partialUpdateKnowbaseAdminSessionsPartialUpdate(id, data, client);
22666
22926
  mutate("cfg-knowbase-admin-sessions-partial");
@@ -22668,7 +22928,7 @@ function usePartialUpdateKnowbaseAdminSessionsPartialUpdate() {
22668
22928
  };
22669
22929
  }
22670
22930
  function useDeleteKnowbaseAdminSessionsDestroy() {
22671
- const { mutate } = useSWRConfig11();
22931
+ const { mutate } = useSWRConfig12();
22672
22932
  return async (id, client) => {
22673
22933
  const result = await deleteKnowbaseAdminSessionsDestroy(id, client);
22674
22934
  mutate("cfg-knowbase-admin-sessions");
@@ -22677,7 +22937,7 @@ function useDeleteKnowbaseAdminSessionsDestroy() {
22677
22937
  };
22678
22938
  }
22679
22939
  function useCreateKnowbaseAdminSessionsActivateCreate() {
22680
- const { mutate } = useSWRConfig11();
22940
+ const { mutate } = useSWRConfig12();
22681
22941
  return async (id, data, client) => {
22682
22942
  const result = await createKnowbaseAdminSessionsActivateCreate(id, data, client);
22683
22943
  mutate("cfg-knowbase-admin-sessions-activate");
@@ -22685,7 +22945,7 @@ function useCreateKnowbaseAdminSessionsActivateCreate() {
22685
22945
  };
22686
22946
  }
22687
22947
  function useCreateKnowbaseAdminSessionsArchiveCreate() {
22688
- const { mutate } = useSWRConfig11();
22948
+ const { mutate } = useSWRConfig12();
22689
22949
  return async (id, data, client) => {
22690
22950
  const result = await createKnowbaseAdminSessionsArchiveCreate(id, data, client);
22691
22951
  mutate("cfg-knowbase-admin-sessions-archive");
@@ -22723,7 +22983,7 @@ function useKnowbaseSystemArchivesList(params, client) {
22723
22983
  );
22724
22984
  }
22725
22985
  function useCreateKnowbaseSystemArchivesCreate() {
22726
- const { mutate } = useSWRConfig11();
22986
+ const { mutate } = useSWRConfig12();
22727
22987
  return async (data, client) => {
22728
22988
  const result = await createKnowbaseSystemArchivesCreate(data, client);
22729
22989
  mutate("cfg-knowbase-system-archives");
@@ -22737,7 +22997,7 @@ function useKnowbaseSystemArchivesRetrieve(id, client) {
22737
22997
  );
22738
22998
  }
22739
22999
  function useUpdateKnowbaseSystemArchivesUpdate() {
22740
- const { mutate } = useSWRConfig11();
23000
+ const { mutate } = useSWRConfig12();
22741
23001
  return async (id, data, client) => {
22742
23002
  const result = await updateKnowbaseSystemArchivesUpdate(id, data, client);
22743
23003
  mutate("cfg-knowbase-system-archives");
@@ -22746,7 +23006,7 @@ function useUpdateKnowbaseSystemArchivesUpdate() {
22746
23006
  };
22747
23007
  }
22748
23008
  function usePartialUpdateKnowbaseSystemArchivesPartialUpdate() {
22749
- const { mutate } = useSWRConfig11();
23009
+ const { mutate } = useSWRConfig12();
22750
23010
  return async (id, data, client) => {
22751
23011
  const result = await partialUpdateKnowbaseSystemArchivesPartialUpdate(id, data, client);
22752
23012
  mutate("cfg-knowbase-system-archives-partial");
@@ -22754,7 +23014,7 @@ function usePartialUpdateKnowbaseSystemArchivesPartialUpdate() {
22754
23014
  };
22755
23015
  }
22756
23016
  function useDeleteKnowbaseSystemArchivesDestroy() {
22757
- const { mutate } = useSWRConfig11();
23017
+ const { mutate } = useSWRConfig12();
22758
23018
  return async (id, client) => {
22759
23019
  const result = await deleteKnowbaseSystemArchivesDestroy(id, client);
22760
23020
  mutate("cfg-knowbase-system-archives");
@@ -22775,7 +23035,7 @@ function useKnowbaseSystemArchivesItemsList(id, params, client) {
22775
23035
  );
22776
23036
  }
22777
23037
  function useCreateKnowbaseSystemArchivesSearchCreate() {
22778
- const { mutate } = useSWRConfig11();
23038
+ const { mutate } = useSWRConfig12();
22779
23039
  return async (id, data, params, client) => {
22780
23040
  const result = await createKnowbaseSystemArchivesSearchCreate(id, data, params, client);
22781
23041
  mutate("cfg-knowbase-system-archives-search");
@@ -22783,7 +23043,7 @@ function useCreateKnowbaseSystemArchivesSearchCreate() {
22783
23043
  };
22784
23044
  }
22785
23045
  function useCreateKnowbaseSystemArchivesRevectorizeCreate() {
22786
- const { mutate } = useSWRConfig11();
23046
+ const { mutate } = useSWRConfig12();
22787
23047
  return async (data, client) => {
22788
23048
  const result = await createKnowbaseSystemArchivesRevectorizeCreate(data, client);
22789
23049
  mutate("cfg-knowbase-system-archives-revectorize");
@@ -22809,7 +23069,7 @@ function useKnowbaseSystemChunksList(params, client) {
22809
23069
  );
22810
23070
  }
22811
23071
  function useCreateKnowbaseSystemChunksCreate() {
22812
- const { mutate } = useSWRConfig11();
23072
+ const { mutate } = useSWRConfig12();
22813
23073
  return async (data, client) => {
22814
23074
  const result = await createKnowbaseSystemChunksCreate(data, client);
22815
23075
  mutate("cfg-knowbase-system-chunks");
@@ -22823,7 +23083,7 @@ function useKnowbaseSystemChunksRetrieve(id, client) {
22823
23083
  );
22824
23084
  }
22825
23085
  function useUpdateKnowbaseSystemChunksUpdate() {
22826
- const { mutate } = useSWRConfig11();
23086
+ const { mutate } = useSWRConfig12();
22827
23087
  return async (id, data, client) => {
22828
23088
  const result = await updateKnowbaseSystemChunksUpdate(id, data, client);
22829
23089
  mutate("cfg-knowbase-system-chunks");
@@ -22832,7 +23092,7 @@ function useUpdateKnowbaseSystemChunksUpdate() {
22832
23092
  };
22833
23093
  }
22834
23094
  function usePartialUpdateKnowbaseSystemChunksPartialUpdate() {
22835
- const { mutate } = useSWRConfig11();
23095
+ const { mutate } = useSWRConfig12();
22836
23096
  return async (id, data, client) => {
22837
23097
  const result = await partialUpdateKnowbaseSystemChunksPartialUpdate(id, data, client);
22838
23098
  mutate("cfg-knowbase-system-chunks-partial");
@@ -22840,7 +23100,7 @@ function usePartialUpdateKnowbaseSystemChunksPartialUpdate() {
22840
23100
  };
22841
23101
  }
22842
23102
  function useDeleteKnowbaseSystemChunksDestroy() {
22843
- const { mutate } = useSWRConfig11();
23103
+ const { mutate } = useSWRConfig12();
22844
23104
  return async (id, client) => {
22845
23105
  const result = await deleteKnowbaseSystemChunksDestroy(id, client);
22846
23106
  mutate("cfg-knowbase-system-chunks");
@@ -22855,7 +23115,7 @@ function useKnowbaseSystemChunksContextRetrieve(id, client) {
22855
23115
  );
22856
23116
  }
22857
23117
  function useCreateKnowbaseSystemChunksVectorizeCreate() {
22858
- const { mutate } = useSWRConfig11();
23118
+ const { mutate } = useSWRConfig12();
22859
23119
  return async (id, data, client) => {
22860
23120
  const result = await createKnowbaseSystemChunksVectorizeCreate(id, data, client);
22861
23121
  mutate("cfg-knowbase-system-chunks-vectorize");
@@ -22869,7 +23129,7 @@ function useKnowbaseSystemItemsList(params, client) {
22869
23129
  );
22870
23130
  }
22871
23131
  function useCreateKnowbaseSystemItemsCreate() {
22872
- const { mutate } = useSWRConfig11();
23132
+ const { mutate } = useSWRConfig12();
22873
23133
  return async (data, client) => {
22874
23134
  const result = await createKnowbaseSystemItemsCreate(data, client);
22875
23135
  mutate("cfg-knowbase-system-items");
@@ -22883,7 +23143,7 @@ function useKnowbaseSystemItemsRetrieve(id, client) {
22883
23143
  );
22884
23144
  }
22885
23145
  function useUpdateKnowbaseSystemItemsUpdate() {
22886
- const { mutate } = useSWRConfig11();
23146
+ const { mutate } = useSWRConfig12();
22887
23147
  return async (id, data, client) => {
22888
23148
  const result = await updateKnowbaseSystemItemsUpdate(id, data, client);
22889
23149
  mutate("cfg-knowbase-system-items");
@@ -22892,7 +23152,7 @@ function useUpdateKnowbaseSystemItemsUpdate() {
22892
23152
  };
22893
23153
  }
22894
23154
  function usePartialUpdateKnowbaseSystemItemsPartialUpdate() {
22895
- const { mutate } = useSWRConfig11();
23155
+ const { mutate } = useSWRConfig12();
22896
23156
  return async (id, data, client) => {
22897
23157
  const result = await partialUpdateKnowbaseSystemItemsPartialUpdate(id, data, client);
22898
23158
  mutate("cfg-knowbase-system-items-partial");
@@ -22900,7 +23160,7 @@ function usePartialUpdateKnowbaseSystemItemsPartialUpdate() {
22900
23160
  };
22901
23161
  }
22902
23162
  function useDeleteKnowbaseSystemItemsDestroy() {
22903
- const { mutate } = useSWRConfig11();
23163
+ const { mutate } = useSWRConfig12();
22904
23164
  return async (id, client) => {
22905
23165
  const result = await deleteKnowbaseSystemItemsDestroy(id, client);
22906
23166
  mutate("cfg-knowbase-system-items");
@@ -22923,7 +23183,7 @@ function useKnowbaseSystemItemsContentRetrieve(id, client) {
22923
23183
 
22924
23184
  // src/cfg/generated/_utils/hooks/cfg__leads.ts
22925
23185
  import useSWR18 from "swr";
22926
- import { useSWRConfig as useSWRConfig12 } from "swr";
23186
+ import { useSWRConfig as useSWRConfig13 } from "swr";
22927
23187
  function useLeadsList(params, client) {
22928
23188
  return useSWR18(
22929
23189
  params ? ["cfg-leads", params] : "cfg-leads",
@@ -22931,7 +23191,7 @@ function useLeadsList(params, client) {
22931
23191
  );
22932
23192
  }
22933
23193
  function useCreateLeadsCreate() {
22934
- const { mutate } = useSWRConfig12();
23194
+ const { mutate } = useSWRConfig13();
22935
23195
  return async (data, client) => {
22936
23196
  const result = await createLeadsCreate(data, client);
22937
23197
  mutate("cfg-leads");
@@ -22945,7 +23205,7 @@ function useLeadsRetrieve(id, client) {
22945
23205
  );
22946
23206
  }
22947
23207
  function useUpdateLeadsUpdate() {
22948
- const { mutate } = useSWRConfig12();
23208
+ const { mutate } = useSWRConfig13();
22949
23209
  return async (id, data, client) => {
22950
23210
  const result = await updateLeadsUpdate(id, data, client);
22951
23211
  mutate("cfg-leads");
@@ -22954,7 +23214,7 @@ function useUpdateLeadsUpdate() {
22954
23214
  };
22955
23215
  }
22956
23216
  function usePartialUpdateLeadsPartialUpdate() {
22957
- const { mutate } = useSWRConfig12();
23217
+ const { mutate } = useSWRConfig13();
22958
23218
  return async (id, data, client) => {
22959
23219
  const result = await partialUpdateLeadsPartialUpdate(id, data, client);
22960
23220
  mutate("cfg-leads-partial");
@@ -22962,7 +23222,7 @@ function usePartialUpdateLeadsPartialUpdate() {
22962
23222
  };
22963
23223
  }
22964
23224
  function useDeleteLeadsDestroy() {
22965
- const { mutate } = useSWRConfig12();
23225
+ const { mutate } = useSWRConfig13();
22966
23226
  return async (id, client) => {
22967
23227
  const result = await deleteLeadsDestroy(id, client);
22968
23228
  mutate("cfg-leads");
@@ -22972,9 +23232,9 @@ function useDeleteLeadsDestroy() {
22972
23232
  }
22973
23233
 
22974
23234
  // src/cfg/generated/_utils/hooks/cfg__newsletter.ts
22975
- import { useSWRConfig as useSWRConfig13 } from "swr";
23235
+ import { useSWRConfig as useSWRConfig14 } from "swr";
22976
23236
  function usePartialUpdateNewsletterCampaignsPartialUpdate() {
22977
- const { mutate } = useSWRConfig13();
23237
+ const { mutate } = useSWRConfig14();
22978
23238
  return async (id, data, client) => {
22979
23239
  const result = await partialUpdateNewsletterCampaignsPartialUpdate(id, data, client);
22980
23240
  mutate("cfg-newsletter-campaigns-partial");
@@ -22982,7 +23242,7 @@ function usePartialUpdateNewsletterCampaignsPartialUpdate() {
22982
23242
  };
22983
23243
  }
22984
23244
  function useUpdateNewsletterUnsubscribeUpdate() {
22985
- const { mutate } = useSWRConfig13();
23245
+ const { mutate } = useSWRConfig14();
22986
23246
  return async (data, client) => {
22987
23247
  const result = await updateNewsletterUnsubscribeUpdate(data, client);
22988
23248
  mutate("cfg-newsletter-unsubscribe");
@@ -22990,7 +23250,7 @@ function useUpdateNewsletterUnsubscribeUpdate() {
22990
23250
  };
22991
23251
  }
22992
23252
  function usePartialUpdateNewsletterUnsubscribePartialUpdate() {
22993
- const { mutate } = useSWRConfig13();
23253
+ const { mutate } = useSWRConfig14();
22994
23254
  return async (data, client) => {
22995
23255
  const result = await partialUpdateNewsletterUnsubscribePartialUpdate(data, client);
22996
23256
  mutate("cfg-newsletter-unsubscribe-partial");
@@ -23000,7 +23260,7 @@ function usePartialUpdateNewsletterUnsubscribePartialUpdate() {
23000
23260
 
23001
23261
  // src/cfg/generated/_utils/hooks/cfg__payments.ts
23002
23262
  import useSWR19 from "swr";
23003
- import { useSWRConfig as useSWRConfig14 } from "swr";
23263
+ import { useSWRConfig as useSWRConfig15 } from "swr";
23004
23264
  function usePaymentsBalanceRetrieve(client) {
23005
23265
  return useSWR19(
23006
23266
  "cfg-payments-balance",
@@ -23026,7 +23286,7 @@ function usePaymentsPaymentsRetrieve(id, client) {
23026
23286
  );
23027
23287
  }
23028
23288
  function useCreatePaymentsPaymentsConfirmCreate() {
23029
- const { mutate } = useSWRConfig14();
23289
+ const { mutate } = useSWRConfig15();
23030
23290
  return async (id, client) => {
23031
23291
  const result = await createPaymentsPaymentsConfirmCreate(id, client);
23032
23292
  mutate("cfg-payments-payments-confirm");
@@ -23040,7 +23300,7 @@ function usePaymentsPaymentsStatusRetrieve(id, client) {
23040
23300
  );
23041
23301
  }
23042
23302
  function useCreatePaymentsPaymentsCreateCreate() {
23043
- const { mutate } = useSWRConfig14();
23303
+ const { mutate } = useSWRConfig15();
23044
23304
  return async (client) => {
23045
23305
  const result = await createPaymentsPaymentsCreateCreate(client);
23046
23306
  mutate("cfg-payments-payments");
@@ -23056,7 +23316,7 @@ function usePaymentsTransactionsList(params, client) {
23056
23316
 
23057
23317
  // src/cfg/generated/_utils/hooks/cfg__support.ts
23058
23318
  import useSWR20 from "swr";
23059
- import { useSWRConfig as useSWRConfig15 } from "swr";
23319
+ import { useSWRConfig as useSWRConfig16 } from "swr";
23060
23320
  function useSupportTicketsList(params, client) {
23061
23321
  return useSWR20(
23062
23322
  params ? ["cfg-support-tickets", params] : "cfg-support-tickets",
@@ -23064,7 +23324,7 @@ function useSupportTicketsList(params, client) {
23064
23324
  );
23065
23325
  }
23066
23326
  function useCreateSupportTicketsCreate() {
23067
- const { mutate } = useSWRConfig15();
23327
+ const { mutate } = useSWRConfig16();
23068
23328
  return async (data, client) => {
23069
23329
  const result = await createSupportTicketsCreate(data, client);
23070
23330
  mutate("cfg-support-tickets");
@@ -23078,7 +23338,7 @@ function useSupportTicketsMessagesList(ticket_uuid, params, client) {
23078
23338
  );
23079
23339
  }
23080
23340
  function useCreateSupportTicketsMessagesCreate() {
23081
- const { mutate } = useSWRConfig15();
23341
+ const { mutate } = useSWRConfig16();
23082
23342
  return async (ticket_uuid, data, client) => {
23083
23343
  const result = await createSupportTicketsMessagesCreate(ticket_uuid, data, client);
23084
23344
  mutate("cfg-support-tickets-messages");
@@ -23092,7 +23352,7 @@ function useSupportTicketsMessagesRetrieve(ticket_uuid, uuid, client) {
23092
23352
  );
23093
23353
  }
23094
23354
  function useUpdateSupportTicketsMessagesUpdate() {
23095
- const { mutate } = useSWRConfig15();
23355
+ const { mutate } = useSWRConfig16();
23096
23356
  return async (ticket_uuid, uuid, data, client) => {
23097
23357
  const result = await updateSupportTicketsMessagesUpdate(ticket_uuid, uuid, data, client);
23098
23358
  mutate("cfg-support-tickets-messages");
@@ -23101,7 +23361,7 @@ function useUpdateSupportTicketsMessagesUpdate() {
23101
23361
  };
23102
23362
  }
23103
23363
  function usePartialUpdateSupportTicketsMessagesPartialUpdate() {
23104
- const { mutate } = useSWRConfig15();
23364
+ const { mutate } = useSWRConfig16();
23105
23365
  return async (ticket_uuid, uuid, data, client) => {
23106
23366
  const result = await partialUpdateSupportTicketsMessagesPartialUpdate(ticket_uuid, uuid, data, client);
23107
23367
  mutate("cfg-support-tickets-messages-partial");
@@ -23109,7 +23369,7 @@ function usePartialUpdateSupportTicketsMessagesPartialUpdate() {
23109
23369
  };
23110
23370
  }
23111
23371
  function useDeleteSupportTicketsMessagesDestroy() {
23112
- const { mutate } = useSWRConfig15();
23372
+ const { mutate } = useSWRConfig16();
23113
23373
  return async (ticket_uuid, uuid, client) => {
23114
23374
  const result = await deleteSupportTicketsMessagesDestroy(ticket_uuid, uuid, client);
23115
23375
  mutate("cfg-support-tickets-messages");
@@ -23124,7 +23384,7 @@ function useSupportTicketsRetrieve(uuid, client) {
23124
23384
  );
23125
23385
  }
23126
23386
  function useUpdateSupportTicketsUpdate() {
23127
- const { mutate } = useSWRConfig15();
23387
+ const { mutate } = useSWRConfig16();
23128
23388
  return async (uuid, data, client) => {
23129
23389
  const result = await updateSupportTicketsUpdate(uuid, data, client);
23130
23390
  mutate("cfg-support-tickets");
@@ -23133,7 +23393,7 @@ function useUpdateSupportTicketsUpdate() {
23133
23393
  };
23134
23394
  }
23135
23395
  function usePartialUpdateSupportTicketsPartialUpdate() {
23136
- const { mutate } = useSWRConfig15();
23396
+ const { mutate } = useSWRConfig16();
23137
23397
  return async (uuid, data, client) => {
23138
23398
  const result = await partialUpdateSupportTicketsPartialUpdate(uuid, data, client);
23139
23399
  mutate("cfg-support-tickets-partial");
@@ -23141,7 +23401,7 @@ function usePartialUpdateSupportTicketsPartialUpdate() {
23141
23401
  };
23142
23402
  }
23143
23403
  function useDeleteSupportTicketsDestroy() {
23144
- const { mutate } = useSWRConfig15();
23404
+ const { mutate } = useSWRConfig16();
23145
23405
  return async (uuid, client) => {
23146
23406
  const result = await deleteSupportTicketsDestroy(uuid, client);
23147
23407
  mutate("cfg-support-tickets");
@@ -23152,9 +23412,9 @@ function useDeleteSupportTicketsDestroy() {
23152
23412
 
23153
23413
  // src/cfg/generated/_utils/hooks/cfg__tasks.ts
23154
23414
  import useSWR21 from "swr";
23155
- import { useSWRConfig as useSWRConfig16 } from "swr";
23415
+ import { useSWRConfig as useSWRConfig17 } from "swr";
23156
23416
  function useCreateTasksApiClearCreate() {
23157
- const { mutate } = useSWRConfig16();
23417
+ const { mutate } = useSWRConfig17();
23158
23418
  return async (data, client) => {
23159
23419
  const result = await createTasksApiClearCreate(data, client);
23160
23420
  mutate("cfg-tasks-api-clear");
@@ -23162,7 +23422,7 @@ function useCreateTasksApiClearCreate() {
23162
23422
  };
23163
23423
  }
23164
23424
  function useCreateTasksApiClearQueuesCreate() {
23165
- const { mutate } = useSWRConfig16();
23425
+ const { mutate } = useSWRConfig17();
23166
23426
  return async (data, client) => {
23167
23427
  const result = await createTasksApiClearQueuesCreate(data, client);
23168
23428
  mutate("cfg-tasks-api-clear-queues");
@@ -23170,7 +23430,7 @@ function useCreateTasksApiClearQueuesCreate() {
23170
23430
  };
23171
23431
  }
23172
23432
  function useCreateTasksApiPurgeFailedCreate() {
23173
- const { mutate } = useSWRConfig16();
23433
+ const { mutate } = useSWRConfig17();
23174
23434
  return async (data, client) => {
23175
23435
  const result = await createTasksApiPurgeFailedCreate(data, client);
23176
23436
  mutate("cfg-tasks-api-purge-failed");
@@ -23178,7 +23438,7 @@ function useCreateTasksApiPurgeFailedCreate() {
23178
23438
  };
23179
23439
  }
23180
23440
  function useCreateTasksApiQueuesManageCreate() {
23181
- const { mutate } = useSWRConfig16();
23441
+ const { mutate } = useSWRConfig17();
23182
23442
  return async (data, client) => {
23183
23443
  const result = await createTasksApiQueuesManageCreate(data, client);
23184
23444
  mutate("cfg-tasks-api-queues-manage");
@@ -23192,7 +23452,7 @@ function useTasksApiQueuesStatusRetrieve(client) {
23192
23452
  );
23193
23453
  }
23194
23454
  function useCreateTasksApiSimulateCreate() {
23195
- const { mutate } = useSWRConfig16();
23455
+ const { mutate } = useSWRConfig17();
23196
23456
  return async (data, client) => {
23197
23457
  const result = await createTasksApiSimulateCreate(data, client);
23198
23458
  mutate("cfg-tasks-api-simulate");
@@ -23218,7 +23478,7 @@ function useTasksApiWorkersListRetrieve(client) {
23218
23478
  );
23219
23479
  }
23220
23480
  function useCreateTasksApiWorkersManageCreate() {
23221
- const { mutate } = useSWRConfig16();
23481
+ const { mutate } = useSWRConfig17();
23222
23482
  return async (data, client) => {
23223
23483
  const result = await createTasksApiWorkersManageCreate(data, client);
23224
23484
  mutate("cfg-tasks-api-workers-manage");
@@ -24335,11 +24595,11 @@ var NewsletterService = class extends BaseClient {
24335
24595
 
24336
24596
  // src/cfg/contexts/AccountsContext.tsx
24337
24597
  import { createContext, useContext } from "react";
24338
- import { SWRConfig, useSWRConfig as useSWRConfig17 } from "swr";
24598
+ import { SWRConfig, useSWRConfig as useSWRConfig18 } from "swr";
24339
24599
  import { jsx } from "react/jsx-runtime";
24340
24600
  var AccountsContext = createContext(void 0);
24341
24601
  function AccountsProvider({ children }) {
24342
- const { mutate } = useSWRConfig17();
24602
+ const { mutate } = useSWRConfig18();
24343
24603
  const swrConfig = {
24344
24604
  revalidateOnFocus: false,
24345
24605
  revalidateOnReconnect: false,
@@ -24423,7 +24683,7 @@ function useAccountsContext() {
24423
24683
 
24424
24684
  // src/cfg/contexts/NewsletterContext.tsx
24425
24685
  import { createContext as createContext2, useContext as useContext2 } from "react";
24426
- import { SWRConfig as SWRConfig2, useSWRConfig as useSWRConfig18 } from "swr";
24686
+ import { SWRConfig as SWRConfig2, useSWRConfig as useSWRConfig19 } from "swr";
24427
24687
  import { jsx as jsx2 } from "react/jsx-runtime";
24428
24688
  var NewsletterContext = createContext2(void 0);
24429
24689
  function NewsletterProvider({
@@ -24431,7 +24691,7 @@ function NewsletterProvider({
24431
24691
  page = 1,
24432
24692
  pageSize = 100
24433
24693
  }) {
24434
- const { mutate } = useSWRConfig18();
24694
+ const { mutate } = useSWRConfig19();
24435
24695
  const swrConfig = {
24436
24696
  revalidateOnFocus: false,
24437
24697
  revalidateOnReconnect: false,
@@ -25259,7 +25519,7 @@ function useKnowbaseSessionsContext() {
25259
25519
 
25260
25520
  // src/cfg/contexts/TasksContext.tsx
25261
25521
  import { createContext as createContext14, useContext as useContext14 } from "react";
25262
- import { useSWRConfig as useSWRConfig19 } from "swr";
25522
+ import { useSWRConfig as useSWRConfig20 } from "swr";
25263
25523
  import { jsx as jsx14 } from "react/jsx-runtime";
25264
25524
  var TasksContext = createContext14(void 0);
25265
25525
  function TasksProvider({
@@ -25267,7 +25527,7 @@ function TasksProvider({
25267
25527
  autoRefresh = false,
25268
25528
  refreshInterval = 5e3
25269
25529
  }) {
25270
- const { mutate } = useSWRConfig19();
25530
+ const { mutate } = useSWRConfig20();
25271
25531
  const {
25272
25532
  data: stats,
25273
25533
  error: statsError,
@@ -25466,6 +25726,7 @@ export {
25466
25726
  createCentrifugoTestingPublishTestCreate,
25467
25727
  createCentrifugoTestingPublishWithLoggingCreate,
25468
25728
  createCentrifugoTestingSendAckCreate,
25729
+ createDashboardApiCommandsExecuteCreate,
25469
25730
  createKnowbaseAdminChatCreate,
25470
25731
  createKnowbaseAdminChatQueryCreate,
25471
25732
  createKnowbaseAdminDocumentsCreate,
@@ -25526,6 +25787,7 @@ export {
25526
25787
  getDashboardApiChartsRecentUsersList,
25527
25788
  getDashboardApiChartsRegistrationsRetrieve,
25528
25789
  getDashboardApiChartsTrackerList,
25790
+ getDashboardApiCommandsHelpRetrieve,
25529
25791
  getDashboardApiCommandsList,
25530
25792
  getDashboardApiCommandsSummaryRetrieve,
25531
25793
  getDashboardApiOverviewOverviewRetrieve,