@djangocfg/ext-knowbase 1.0.23 → 1.0.25

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.
Files changed (71) hide show
  1. package/dist/config.cjs +1 -1
  2. package/dist/config.js +1 -1
  3. package/dist/hooks.cjs +118 -118
  4. package/dist/hooks.js +118 -118
  5. package/dist/i18n.cjs +34 -34
  6. package/dist/i18n.js +35 -35
  7. package/dist/index.cjs +84 -84
  8. package/dist/index.js +84 -84
  9. package/package.json +11 -11
  10. package/src/api/generated/ext_knowbase/_utils/fetchers/ext_knowbase__knowbase.ts +114 -47
  11. package/src/api/generated/ext_knowbase/_utils/hooks/ext_knowbase__knowbase.ts +4 -3
  12. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItem.schema.ts +3 -2
  13. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemChunk.schema.ts +3 -2
  14. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemChunkDetail.schema.ts +3 -2
  15. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemChunkRequest.schema.ts +3 -2
  16. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemDetail.schema.ts +3 -2
  17. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveItemRequest.schema.ts +1 -1
  18. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveProcessingResult.schema.ts +1 -1
  19. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveSearchRequestRequest.schema.ts +1 -1
  20. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveSearchResult.schema.ts +3 -2
  21. package/src/api/generated/ext_knowbase/_utils/schemas/ArchiveStatistics.schema.ts +1 -1
  22. package/src/api/generated/ext_knowbase/_utils/schemas/CfgKnowbaseSystemArchivesCreateRequest.schema.ts +1 -1
  23. package/src/api/generated/ext_knowbase/_utils/schemas/ChatHistory.schema.ts +3 -2
  24. package/src/api/generated/ext_knowbase/_utils/schemas/ChatMessage.schema.ts +3 -2
  25. package/src/api/generated/ext_knowbase/_utils/schemas/ChatQueryRequest.schema.ts +1 -1
  26. package/src/api/generated/ext_knowbase/_utils/schemas/ChatResponse.schema.ts +3 -2
  27. package/src/api/generated/ext_knowbase/_utils/schemas/ChatResponseRequest.schema.ts +3 -2
  28. package/src/api/generated/ext_knowbase/_utils/schemas/ChatSession.schema.ts +1 -1
  29. package/src/api/generated/ext_knowbase/_utils/schemas/ChatSessionCreateRequest.schema.ts +1 -1
  30. package/src/api/generated/ext_knowbase/_utils/schemas/ChatSessionRequest.schema.ts +1 -1
  31. package/src/api/generated/ext_knowbase/_utils/schemas/ChatSource.schema.ts +1 -1
  32. package/src/api/generated/ext_knowbase/_utils/schemas/ChatSourceRequest.schema.ts +1 -1
  33. package/src/api/generated/ext_knowbase/_utils/schemas/ChunkRevectorizationRequestRequest.schema.ts +1 -1
  34. package/src/api/generated/ext_knowbase/_utils/schemas/Document.schema.ts +1 -1
  35. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentArchive.schema.ts +4 -3
  36. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentArchiveDetail.schema.ts +5 -4
  37. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentArchiveList.schema.ts +4 -3
  38. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentArchiveRequest.schema.ts +1 -1
  39. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentCategory.schema.ts +1 -1
  40. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentCategoryRequest.schema.ts +1 -1
  41. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentCreateRequest.schema.ts +1 -1
  42. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentProcessingStatus.schema.ts +1 -1
  43. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentRequest.schema.ts +1 -1
  44. package/src/api/generated/ext_knowbase/_utils/schemas/DocumentStats.schema.ts +1 -1
  45. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedArchiveItemChunkList.schema.ts +3 -2
  46. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedArchiveItemList.schema.ts +3 -2
  47. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedArchiveSearchResultList.schema.ts +3 -2
  48. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedChatResponseList.schema.ts +3 -2
  49. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedChatSessionList.schema.ts +3 -2
  50. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedDocumentArchiveListList.schema.ts +3 -2
  51. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedDocumentList.schema.ts +3 -2
  52. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedPublicCategoryList.schema.ts +3 -2
  53. package/src/api/generated/ext_knowbase/_utils/schemas/PaginatedPublicDocumentListList.schema.ts +3 -2
  54. package/src/api/generated/ext_knowbase/_utils/schemas/PatchedArchiveItemChunkRequest.schema.ts +3 -2
  55. package/src/api/generated/ext_knowbase/_utils/schemas/PatchedArchiveItemRequest.schema.ts +1 -1
  56. package/src/api/generated/ext_knowbase/_utils/schemas/PatchedChatResponseRequest.schema.ts +3 -2
  57. package/src/api/generated/ext_knowbase/_utils/schemas/PatchedChatSessionRequest.schema.ts +1 -1
  58. package/src/api/generated/ext_knowbase/_utils/schemas/PatchedDocumentArchiveRequest.schema.ts +1 -1
  59. package/src/api/generated/ext_knowbase/_utils/schemas/PatchedDocumentRequest.schema.ts +1 -1
  60. package/src/api/generated/ext_knowbase/_utils/schemas/PublicCategory.schema.ts +1 -1
  61. package/src/api/generated/ext_knowbase/_utils/schemas/PublicDocument.schema.ts +3 -2
  62. package/src/api/generated/ext_knowbase/_utils/schemas/PublicDocumentList.schema.ts +3 -2
  63. package/src/api/generated/ext_knowbase/_utils/schemas/VectorizationResult.schema.ts +1 -1
  64. package/src/api/generated/ext_knowbase/_utils/schemas/VectorizationStatistics.schema.ts +1 -1
  65. package/src/api/generated/ext_knowbase/api-instance.ts +1 -1
  66. package/src/api/generated/ext_knowbase/client.ts +5 -6
  67. package/src/api/generated/ext_knowbase/ext_knowbase__knowbase/client.ts +1 -2
  68. package/src/api/generated/ext_knowbase/ext_knowbase__knowbase/models.ts +1 -1
  69. package/src/api/generated/ext_knowbase/index.ts +6 -8
  70. package/src/api/generated/ext_knowbase/retry.ts +1 -0
  71. package/src/i18n/useKnowbaseT.ts +3 -3
@@ -30,53 +30,120 @@
30
30
  * const users = await getUsers({ page: 1 }, api)
31
31
  * ```
32
32
  */
33
- import { consola } from 'consola'
34
- import { ArchiveItemSchema, type ArchiveItem } from '../schemas/ArchiveItem.schema'
35
- import { ArchiveItemChunkSchema, type ArchiveItemChunk } from '../schemas/ArchiveItemChunk.schema'
36
- import { ArchiveItemChunkDetailSchema, type ArchiveItemChunkDetail } from '../schemas/ArchiveItemChunkDetail.schema'
37
- import { ArchiveItemChunkRequestSchema, type ArchiveItemChunkRequest } from '../schemas/ArchiveItemChunkRequest.schema'
38
- import { ArchiveItemDetailSchema, type ArchiveItemDetail } from '../schemas/ArchiveItemDetail.schema'
39
- import { ArchiveItemRequestSchema, type ArchiveItemRequest } from '../schemas/ArchiveItemRequest.schema'
40
- import { ArchiveProcessingResultSchema, type ArchiveProcessingResult } from '../schemas/ArchiveProcessingResult.schema'
41
- import { ArchiveSearchRequestRequestSchema, type ArchiveSearchRequestRequest } from '../schemas/ArchiveSearchRequestRequest.schema'
42
- import { ArchiveStatisticsSchema, type ArchiveStatistics } from '../schemas/ArchiveStatistics.schema'
43
- import { CfgKnowbaseSystemArchivesCreateRequestSchema, type CfgKnowbaseSystemArchivesCreateRequest } from '../schemas/CfgKnowbaseSystemArchivesCreateRequest.schema'
44
- import { ChatHistorySchema, type ChatHistory } from '../schemas/ChatHistory.schema'
45
- import { ChatQueryRequestSchema, type ChatQueryRequest } from '../schemas/ChatQueryRequest.schema'
46
- import { ChatResponseSchema, type ChatResponse } from '../schemas/ChatResponse.schema'
47
- import { ChatResponseRequestSchema, type ChatResponseRequest } from '../schemas/ChatResponseRequest.schema'
48
- import { ChatSessionSchema, type ChatSession } from '../schemas/ChatSession.schema'
49
- import { ChatSessionCreateRequestSchema, type ChatSessionCreateRequest } from '../schemas/ChatSessionCreateRequest.schema'
50
- import { ChatSessionRequestSchema, type ChatSessionRequest } from '../schemas/ChatSessionRequest.schema'
51
- import { ChunkRevectorizationRequestRequestSchema, type ChunkRevectorizationRequestRequest } from '../schemas/ChunkRevectorizationRequestRequest.schema'
52
- import { DocumentSchema, type Document } from '../schemas/Document.schema'
53
- import { DocumentArchiveSchema, type DocumentArchive } from '../schemas/DocumentArchive.schema'
54
- import { DocumentArchiveDetailSchema, type DocumentArchiveDetail } from '../schemas/DocumentArchiveDetail.schema'
55
- import { DocumentArchiveRequestSchema, type DocumentArchiveRequest } from '../schemas/DocumentArchiveRequest.schema'
56
- import { DocumentCreateRequestSchema, type DocumentCreateRequest } from '../schemas/DocumentCreateRequest.schema'
57
- import { DocumentProcessingStatusSchema, type DocumentProcessingStatus } from '../schemas/DocumentProcessingStatus.schema'
58
- import { DocumentRequestSchema, type DocumentRequest } from '../schemas/DocumentRequest.schema'
59
- import { DocumentStatsSchema, type DocumentStats } from '../schemas/DocumentStats.schema'
60
- import { PaginatedArchiveItemChunkListSchema, type PaginatedArchiveItemChunkList } from '../schemas/PaginatedArchiveItemChunkList.schema'
61
- import { PaginatedArchiveItemListSchema, type PaginatedArchiveItemList } from '../schemas/PaginatedArchiveItemList.schema'
62
- import { PaginatedArchiveSearchResultListSchema, type PaginatedArchiveSearchResultList } from '../schemas/PaginatedArchiveSearchResultList.schema'
63
- import { PaginatedChatResponseListSchema, type PaginatedChatResponseList } from '../schemas/PaginatedChatResponseList.schema'
64
- import { PaginatedChatSessionListSchema, type PaginatedChatSessionList } from '../schemas/PaginatedChatSessionList.schema'
65
- import { PaginatedDocumentArchiveListListSchema, type PaginatedDocumentArchiveListList } from '../schemas/PaginatedDocumentArchiveListList.schema'
66
- import { PaginatedDocumentListSchema, type PaginatedDocumentList } from '../schemas/PaginatedDocumentList.schema'
67
- import { PaginatedPublicCategoryListSchema, type PaginatedPublicCategoryList } from '../schemas/PaginatedPublicCategoryList.schema'
68
- import { PaginatedPublicDocumentListListSchema, type PaginatedPublicDocumentListList } from '../schemas/PaginatedPublicDocumentListList.schema'
69
- import { PatchedArchiveItemChunkRequestSchema, type PatchedArchiveItemChunkRequest } from '../schemas/PatchedArchiveItemChunkRequest.schema'
70
- import { PatchedArchiveItemRequestSchema, type PatchedArchiveItemRequest } from '../schemas/PatchedArchiveItemRequest.schema'
71
- import { PatchedChatResponseRequestSchema, type PatchedChatResponseRequest } from '../schemas/PatchedChatResponseRequest.schema'
72
- import { PatchedChatSessionRequestSchema, type PatchedChatSessionRequest } from '../schemas/PatchedChatSessionRequest.schema'
73
- import { PatchedDocumentArchiveRequestSchema, type PatchedDocumentArchiveRequest } from '../schemas/PatchedDocumentArchiveRequest.schema'
74
- import { PatchedDocumentRequestSchema, type PatchedDocumentRequest } from '../schemas/PatchedDocumentRequest.schema'
75
- import { PublicCategorySchema, type PublicCategory } from '../schemas/PublicCategory.schema'
76
- import { PublicDocumentSchema, type PublicDocument } from '../schemas/PublicDocument.schema'
77
- import { VectorizationResultSchema, type VectorizationResult } from '../schemas/VectorizationResult.schema'
78
- import { VectorizationStatisticsSchema, type VectorizationStatistics } from '../schemas/VectorizationStatistics.schema'
79
- import { getAPIInstance } from '../../api-instance'
33
+ import { consola } from 'consola';
34
+
35
+ import { getAPIInstance } from '../../api-instance';
36
+ import { type ArchiveItem, ArchiveItemSchema } from '../schemas/ArchiveItem.schema';
37
+ import { type ArchiveItemChunk, ArchiveItemChunkSchema } from '../schemas/ArchiveItemChunk.schema';
38
+ import {
39
+ type ArchiveItemChunkDetail, ArchiveItemChunkDetailSchema
40
+ } from '../schemas/ArchiveItemChunkDetail.schema';
41
+ import {
42
+ type ArchiveItemChunkRequest, ArchiveItemChunkRequestSchema
43
+ } from '../schemas/ArchiveItemChunkRequest.schema';
44
+ import {
45
+ type ArchiveItemDetail, ArchiveItemDetailSchema
46
+ } from '../schemas/ArchiveItemDetail.schema';
47
+ import {
48
+ type ArchiveItemRequest, ArchiveItemRequestSchema
49
+ } from '../schemas/ArchiveItemRequest.schema';
50
+ import {
51
+ type ArchiveProcessingResult, ArchiveProcessingResultSchema
52
+ } from '../schemas/ArchiveProcessingResult.schema';
53
+ import {
54
+ type ArchiveSearchRequestRequest, ArchiveSearchRequestRequestSchema
55
+ } from '../schemas/ArchiveSearchRequestRequest.schema';
56
+ import {
57
+ type ArchiveStatistics, ArchiveStatisticsSchema
58
+ } from '../schemas/ArchiveStatistics.schema';
59
+ import {
60
+ type CfgKnowbaseSystemArchivesCreateRequest, CfgKnowbaseSystemArchivesCreateRequestSchema
61
+ } from '../schemas/CfgKnowbaseSystemArchivesCreateRequest.schema';
62
+ import { type ChatHistory, ChatHistorySchema } from '../schemas/ChatHistory.schema';
63
+ import { type ChatQueryRequest, ChatQueryRequestSchema } from '../schemas/ChatQueryRequest.schema';
64
+ import { type ChatResponse, ChatResponseSchema } from '../schemas/ChatResponse.schema';
65
+ import {
66
+ type ChatResponseRequest, ChatResponseRequestSchema
67
+ } from '../schemas/ChatResponseRequest.schema';
68
+ import { type ChatSession, ChatSessionSchema } from '../schemas/ChatSession.schema';
69
+ import {
70
+ type ChatSessionCreateRequest, ChatSessionCreateRequestSchema
71
+ } from '../schemas/ChatSessionCreateRequest.schema';
72
+ import {
73
+ type ChatSessionRequest, ChatSessionRequestSchema
74
+ } from '../schemas/ChatSessionRequest.schema';
75
+ import {
76
+ type ChunkRevectorizationRequestRequest, ChunkRevectorizationRequestRequestSchema
77
+ } from '../schemas/ChunkRevectorizationRequestRequest.schema';
78
+ import { type Document, DocumentSchema } from '../schemas/Document.schema';
79
+ import { type DocumentArchive, DocumentArchiveSchema } from '../schemas/DocumentArchive.schema';
80
+ import {
81
+ type DocumentArchiveDetail, DocumentArchiveDetailSchema
82
+ } from '../schemas/DocumentArchiveDetail.schema';
83
+ import {
84
+ type DocumentArchiveRequest, DocumentArchiveRequestSchema
85
+ } from '../schemas/DocumentArchiveRequest.schema';
86
+ import {
87
+ type DocumentCreateRequest, DocumentCreateRequestSchema
88
+ } from '../schemas/DocumentCreateRequest.schema';
89
+ import {
90
+ type DocumentProcessingStatus, DocumentProcessingStatusSchema
91
+ } from '../schemas/DocumentProcessingStatus.schema';
92
+ import { type DocumentRequest, DocumentRequestSchema } from '../schemas/DocumentRequest.schema';
93
+ import { type DocumentStats, DocumentStatsSchema } from '../schemas/DocumentStats.schema';
94
+ import {
95
+ type PaginatedArchiveItemChunkList, PaginatedArchiveItemChunkListSchema
96
+ } from '../schemas/PaginatedArchiveItemChunkList.schema';
97
+ import {
98
+ type PaginatedArchiveItemList, PaginatedArchiveItemListSchema
99
+ } from '../schemas/PaginatedArchiveItemList.schema';
100
+ import {
101
+ type PaginatedArchiveSearchResultList, PaginatedArchiveSearchResultListSchema
102
+ } from '../schemas/PaginatedArchiveSearchResultList.schema';
103
+ import {
104
+ type PaginatedChatResponseList, PaginatedChatResponseListSchema
105
+ } from '../schemas/PaginatedChatResponseList.schema';
106
+ import {
107
+ type PaginatedChatSessionList, PaginatedChatSessionListSchema
108
+ } from '../schemas/PaginatedChatSessionList.schema';
109
+ import {
110
+ type PaginatedDocumentArchiveListList, PaginatedDocumentArchiveListListSchema
111
+ } from '../schemas/PaginatedDocumentArchiveListList.schema';
112
+ import {
113
+ type PaginatedDocumentList, PaginatedDocumentListSchema
114
+ } from '../schemas/PaginatedDocumentList.schema';
115
+ import {
116
+ type PaginatedPublicCategoryList, PaginatedPublicCategoryListSchema
117
+ } from '../schemas/PaginatedPublicCategoryList.schema';
118
+ import {
119
+ type PaginatedPublicDocumentListList, PaginatedPublicDocumentListListSchema
120
+ } from '../schemas/PaginatedPublicDocumentListList.schema';
121
+ import {
122
+ type PatchedArchiveItemChunkRequest, PatchedArchiveItemChunkRequestSchema
123
+ } from '../schemas/PatchedArchiveItemChunkRequest.schema';
124
+ import {
125
+ type PatchedArchiveItemRequest, PatchedArchiveItemRequestSchema
126
+ } from '../schemas/PatchedArchiveItemRequest.schema';
127
+ import {
128
+ type PatchedChatResponseRequest, PatchedChatResponseRequestSchema
129
+ } from '../schemas/PatchedChatResponseRequest.schema';
130
+ import {
131
+ type PatchedChatSessionRequest, PatchedChatSessionRequestSchema
132
+ } from '../schemas/PatchedChatSessionRequest.schema';
133
+ import {
134
+ type PatchedDocumentArchiveRequest, PatchedDocumentArchiveRequestSchema
135
+ } from '../schemas/PatchedDocumentArchiveRequest.schema';
136
+ import {
137
+ type PatchedDocumentRequest, PatchedDocumentRequestSchema
138
+ } from '../schemas/PatchedDocumentRequest.schema';
139
+ import { type PublicCategory, PublicCategorySchema } from '../schemas/PublicCategory.schema';
140
+ import { type PublicDocument, PublicDocumentSchema } from '../schemas/PublicDocument.schema';
141
+ import {
142
+ type VectorizationResult, VectorizationResultSchema
143
+ } from '../schemas/VectorizationResult.schema';
144
+ import {
145
+ type VectorizationStatistics, VectorizationStatisticsSchema
146
+ } from '../schemas/VectorizationStatistics.schema';
80
147
 
81
148
  /**
82
149
  * API operation
@@ -17,9 +17,10 @@
17
17
  * await createUser({ name: 'John', email: 'john@example.com' })
18
18
  * ```
19
19
  */
20
- import useSWR from 'swr'
21
- import { useSWRConfig } from 'swr'
22
- import * as Fetchers from '../fetchers/ext_knowbase__knowbase'
20
+ import useSWR, { useSWRConfig } from 'swr';
21
+
22
+ import * as Fetchers from '../fetchers/ext_knowbase__knowbase';
23
+
23
24
  import type { API } from '../../index'
24
25
  import type { ArchiveItem } from '../schemas/ArchiveItem.schema'
25
26
  import type { ArchiveItemChunk } from '../schemas/ArchiveItemChunk.schema'
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive item serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
9
10
 
10
11
  /**
11
12
  * Archive item serializer.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive item chunk serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
9
10
 
10
11
  /**
11
12
  * Archive item chunk serializer.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Detailed chunk serializer with full context.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
9
10
 
10
11
  /**
11
12
  * Detailed chunk serializer with full context.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive item chunk serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
9
10
 
10
11
  /**
11
12
  * Archive item chunk serializer.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Detailed archive item serializer with content.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
9
10
 
10
11
  /**
11
12
  * Detailed archive item serializer with content.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive item serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Archive item serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive processing result serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Archive processing result serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive search request serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Archive search request serializer.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive search result serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import { ArchiveItemChunkSchema } from './ArchiveItemChunk.schema'
7
+ import { z } from 'zod';
8
+
9
+ import { ArchiveItemChunkSchema } from './ArchiveItemChunk.schema';
9
10
 
10
11
  /**
11
12
  * Archive search result serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Archive statistics serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Archive statistics serializer.
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * This schema provides runtime validation and type inference.
5
5
  * */
6
- import { z } from 'zod'
6
+ import { z } from 'zod';
7
7
 
8
8
  export const CfgKnowbaseSystemArchivesCreateRequestSchema = z.object({
9
9
  file: z.union([z.instanceof(File), z.instanceof(Blob)]).optional(),
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat history response serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import { ChatMessageSchema } from './ChatMessage.schema'
7
+ import { z } from 'zod';
8
+
9
+ import { ChatMessageSchema } from './ChatMessage.schema';
9
10
 
10
11
  /**
11
12
  * Chat history response serializer.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat message response serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
9
10
 
10
11
  /**
11
12
  * Chat message response serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat query request serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Chat query request serializer.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat response serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import { ChatSourceSchema } from './ChatSource.schema'
7
+ import { z } from 'zod';
8
+
9
+ import { ChatSourceSchema } from './ChatSource.schema';
9
10
 
10
11
  /**
11
12
  * Chat response serializer.
@@ -4,8 +4,9 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat response serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import { ChatSourceRequestSchema } from './ChatSourceRequest.schema'
7
+ import { z } from 'zod';
8
+
9
+ import { ChatSourceRequestSchema } from './ChatSourceRequest.schema';
9
10
 
10
11
  /**
11
12
  * Chat response serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat session response serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Chat session response serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat session creation request serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Chat session creation request serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat session response serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Chat session response serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat source document information serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Chat source document information serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chat source document information serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Chat source document information serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Chunk re-vectorization request serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Chunk re-vectorization request serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document response serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document response serializer.
@@ -4,9 +4,10 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document archive serializer.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
9
- import { DocumentCategorySchema } from './DocumentCategory.schema'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
10
+ import { DocumentCategorySchema } from './DocumentCategory.schema';
10
11
 
11
12
  /**
12
13
  * Document archive serializer.
@@ -4,10 +4,11 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Detailed archive serializer with items.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
9
- import { ArchiveItemSchema } from './ArchiveItem.schema'
10
- import { DocumentCategorySchema } from './DocumentCategory.schema'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
10
+ import { ArchiveItemSchema } from './ArchiveItem.schema';
11
+ import { DocumentCategorySchema } from './DocumentCategory.schema';
11
12
 
12
13
  /**
13
14
  * Detailed archive serializer with items.
@@ -4,9 +4,10 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Simplified archive serializer for list views.
6
6
  * */
7
- import { z } from 'zod'
8
- import * as Enums from '../../enums'
9
- import { DocumentCategorySchema } from './DocumentCategory.schema'
7
+ import { z } from 'zod';
8
+
9
+ import * as Enums from '../../enums';
10
+ import { DocumentCategorySchema } from './DocumentCategory.schema';
10
11
 
11
12
  /**
12
13
  * Simplified archive serializer for list views.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document archive serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document archive serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document category serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document category serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document category serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document category serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document creation request serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document creation request serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document processing status serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document processing status serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document response serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document response serializer.
@@ -4,7 +4,7 @@
4
4
  * This schema provides runtime validation and type inference.
5
5
  * * Document processing statistics serializer.
6
6
  * */
7
- import { z } from 'zod'
7
+ import { z } from 'zod';
8
8
 
9
9
  /**
10
10
  * Document processing statistics serializer.
@@ -3,8 +3,9 @@
3
3
  *
4
4
  * This schema provides runtime validation and type inference.
5
5
  * */
6
- import { z } from 'zod'
7
- import { ArchiveItemChunkSchema } from './ArchiveItemChunk.schema'
6
+ import { z } from 'zod';
7
+
8
+ import { ArchiveItemChunkSchema } from './ArchiveItemChunk.schema';
8
9
 
9
10
  export const PaginatedArchiveItemChunkListSchema = z.object({
10
11
  count: z.int(),
@@ -3,8 +3,9 @@
3
3
  *
4
4
  * This schema provides runtime validation and type inference.
5
5
  * */
6
- import { z } from 'zod'
7
- import { ArchiveItemSchema } from './ArchiveItem.schema'
6
+ import { z } from 'zod';
7
+
8
+ import { ArchiveItemSchema } from './ArchiveItem.schema';
8
9
 
9
10
  export const PaginatedArchiveItemListSchema = z.object({
10
11
  count: z.int(),
@@ -3,8 +3,9 @@
3
3
  *
4
4
  * This schema provides runtime validation and type inference.
5
5
  * */
6
- import { z } from 'zod'
7
- import { ArchiveSearchResultSchema } from './ArchiveSearchResult.schema'
6
+ import { z } from 'zod';
7
+
8
+ import { ArchiveSearchResultSchema } from './ArchiveSearchResult.schema';
8
9
 
9
10
  export const PaginatedArchiveSearchResultListSchema = z.object({
10
11
  count: z.int(),
@@ -3,8 +3,9 @@
3
3
  *
4
4
  * This schema provides runtime validation and type inference.
5
5
  * */
6
- import { z } from 'zod'
7
- import { ChatResponseSchema } from './ChatResponse.schema'
6
+ import { z } from 'zod';
7
+
8
+ import { ChatResponseSchema } from './ChatResponse.schema';
8
9
 
9
10
  export const PaginatedChatResponseListSchema = z.object({
10
11
  count: z.int(),
@@ -3,8 +3,9 @@
3
3
  *
4
4
  * This schema provides runtime validation and type inference.
5
5
  * */
6
- import { z } from 'zod'
7
- import { ChatSessionSchema } from './ChatSession.schema'
6
+ import { z } from 'zod';
7
+
8
+ import { ChatSessionSchema } from './ChatSession.schema';
8
9
 
9
10
  export const PaginatedChatSessionListSchema = z.object({
10
11
  count: z.int(),