@knowledge-stack/ksapi 1.19.5 → 1.20.1

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 (233) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/README.md +2 -2
  3. package/dist/apis/AuthApi.d.ts +9 -9
  4. package/dist/apis/ChunkLineagesApi.d.ts +3 -3
  5. package/dist/apis/ChunksApi.d.ts +6 -6
  6. package/dist/apis/DocumentVersionsApi.d.ts +37 -8
  7. package/dist/apis/DocumentVersionsApi.js +32 -0
  8. package/dist/apis/DocumentsApi.d.ts +14 -14
  9. package/dist/apis/DocumentsApi.js +6 -6
  10. package/dist/apis/FoldersApi.d.ts +11 -11
  11. package/dist/apis/FoldersApi.js +2 -2
  12. package/dist/apis/InvitesApi.d.ts +5 -5
  13. package/dist/apis/PathPartsApi.d.ts +3 -3
  14. package/dist/apis/SectionsApi.d.ts +4 -4
  15. package/dist/apis/TagsApi.d.ts +7 -7
  16. package/dist/apis/TenantsApi.d.ts +6 -6
  17. package/dist/apis/ThreadMessagesApi.d.ts +4 -4
  18. package/dist/apis/ThreadsApi.d.ts +6 -6
  19. package/dist/apis/UserPermissionsApi.d.ts +4 -4
  20. package/dist/apis/UsersApi.d.ts +2 -2
  21. package/dist/apis/WorkflowsApi.d.ts +3 -3
  22. package/dist/esm/apis/AuthApi.d.ts +9 -9
  23. package/dist/esm/apis/ChunkLineagesApi.d.ts +3 -3
  24. package/dist/esm/apis/ChunksApi.d.ts +6 -6
  25. package/dist/esm/apis/DocumentVersionsApi.d.ts +37 -8
  26. package/dist/esm/apis/DocumentVersionsApi.js +33 -1
  27. package/dist/esm/apis/DocumentsApi.d.ts +14 -14
  28. package/dist/esm/apis/DocumentsApi.js +6 -6
  29. package/dist/esm/apis/FoldersApi.d.ts +11 -11
  30. package/dist/esm/apis/FoldersApi.js +2 -2
  31. package/dist/esm/apis/InvitesApi.d.ts +5 -5
  32. package/dist/esm/apis/PathPartsApi.d.ts +3 -3
  33. package/dist/esm/apis/SectionsApi.d.ts +4 -4
  34. package/dist/esm/apis/TagsApi.d.ts +7 -7
  35. package/dist/esm/apis/TenantsApi.d.ts +6 -6
  36. package/dist/esm/apis/ThreadMessagesApi.d.ts +4 -4
  37. package/dist/esm/apis/ThreadsApi.d.ts +6 -6
  38. package/dist/esm/apis/UserPermissionsApi.d.ts +4 -4
  39. package/dist/esm/apis/UsersApi.d.ts +2 -2
  40. package/dist/esm/apis/WorkflowsApi.d.ts +3 -3
  41. package/dist/esm/models/ChunkMetadataInput.d.ts +6 -0
  42. package/dist/esm/models/ChunkMetadataInput.js +2 -0
  43. package/dist/esm/models/ChunkMetadataOutput.d.ts +6 -0
  44. package/dist/esm/models/ChunkMetadataOutput.js +2 -0
  45. package/dist/esm/models/ChunkResponse.d.ts +4 -4
  46. package/dist/esm/models/ChunkSearchRequest.d.ts +5 -9
  47. package/dist/esm/models/ChunkSearchRequest.js +0 -1
  48. package/dist/esm/models/ClearVersionContentsResponse.d.ts +47 -0
  49. package/dist/esm/models/ClearVersionContentsResponse.js +44 -0
  50. package/dist/esm/models/CreateChunkRequest.d.ts +3 -3
  51. package/dist/esm/models/CreateDocumentRequest.d.ts +2 -2
  52. package/dist/esm/models/CreateSectionRequest.d.ts +2 -2
  53. package/dist/esm/models/CreateTagRequest.d.ts +1 -1
  54. package/dist/esm/models/CreateTenantRequest.d.ts +1 -1
  55. package/dist/esm/models/CreateThreadMessageRequest.d.ts +5 -7
  56. package/dist/esm/models/CreateThreadMessageRequest.js +0 -1
  57. package/dist/esm/models/CreateThreadRequest.d.ts +1 -1
  58. package/dist/esm/models/DocumentContentPathPart.d.ts +5 -5
  59. package/dist/esm/models/DocumentResponse.d.ts +4 -4
  60. package/dist/esm/models/DocumentType.d.ts +1 -0
  61. package/dist/esm/models/DocumentType.js +1 -0
  62. package/dist/esm/models/DocumentVersionMetadata.d.ts +12 -7
  63. package/dist/esm/models/DocumentVersionMetadata.js +3 -18
  64. package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +6 -6
  65. package/dist/esm/models/DocumentVersionResponse.d.ts +3 -3
  66. package/dist/esm/models/FolderDocumentResponse.d.ts +9 -9
  67. package/dist/esm/models/FolderResponse.d.ts +1 -1
  68. package/dist/esm/models/InviteResponse.d.ts +2 -2
  69. package/dist/esm/models/LineageNodeResponse.d.ts +2 -2
  70. package/dist/esm/models/LocationInner.d.ts +41 -0
  71. package/dist/esm/models/LocationInner.js +32 -0
  72. package/dist/esm/models/OAuth2Config.d.ts +5 -0
  73. package/dist/esm/models/OAuth2Config.js +3 -12
  74. package/dist/esm/models/PathPartResponse.d.ts +3 -3
  75. package/dist/esm/models/PipelineState.d.ts +5 -5
  76. package/dist/esm/models/PolygonReference.d.ts +1 -1
  77. package/dist/esm/models/ScoredChunkResponse.d.ts +4 -4
  78. package/dist/esm/models/SectionResponse.d.ts +3 -3
  79. package/dist/esm/models/SignInRequest.d.ts +1 -1
  80. package/dist/esm/models/TagResponse.d.ts +1 -1
  81. package/dist/esm/models/TenantResponse.d.ts +1 -1
  82. package/dist/esm/models/TenantUserInTenantResponse.d.ts +2 -2
  83. package/dist/esm/models/ThreadMessageResponse.d.ts +5 -7
  84. package/dist/esm/models/ThreadMessageResponse.js +0 -1
  85. package/dist/esm/models/ThreadResponse.d.ts +1 -1
  86. package/dist/esm/models/UpdateChunkContentRequest.d.ts +1 -1
  87. package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +1 -1
  88. package/dist/esm/models/UpdateDocumentRequest.d.ts +3 -3
  89. package/dist/esm/models/UpdateFolderRequest.d.ts +2 -2
  90. package/dist/esm/models/UpdatePermissionRequest.d.ts +1 -1
  91. package/dist/esm/models/UpdateSectionRequest.d.ts +3 -3
  92. package/dist/esm/models/UpdateTagRequest.d.ts +3 -3
  93. package/dist/esm/models/UpdateTenantRequest.d.ts +2 -2
  94. package/dist/esm/models/UpdateThreadRequest.d.ts +2 -2
  95. package/dist/esm/models/UserResponse.d.ts +3 -3
  96. package/dist/esm/models/ValidationError.d.ts +3 -3
  97. package/dist/esm/models/ValidationError.js +3 -3
  98. package/dist/esm/models/WorkflowDetailResponse.d.ts +4 -4
  99. package/dist/esm/models/WorkflowSummaryResponse.d.ts +2 -2
  100. package/dist/esm/models/index.d.ts +2 -1
  101. package/dist/esm/models/index.js +2 -1
  102. package/dist/models/ChunkMetadataInput.d.ts +6 -0
  103. package/dist/models/ChunkMetadataInput.js +2 -0
  104. package/dist/models/ChunkMetadataOutput.d.ts +6 -0
  105. package/dist/models/ChunkMetadataOutput.js +2 -0
  106. package/dist/models/ChunkResponse.d.ts +4 -4
  107. package/dist/models/ChunkSearchRequest.d.ts +5 -9
  108. package/dist/models/ChunkSearchRequest.js +1 -2
  109. package/dist/models/ClearVersionContentsResponse.d.ts +47 -0
  110. package/dist/models/ClearVersionContentsResponse.js +52 -0
  111. package/dist/models/CreateChunkRequest.d.ts +3 -3
  112. package/dist/models/CreateDocumentRequest.d.ts +2 -2
  113. package/dist/models/CreateSectionRequest.d.ts +2 -2
  114. package/dist/models/CreateTagRequest.d.ts +1 -1
  115. package/dist/models/CreateTenantRequest.d.ts +1 -1
  116. package/dist/models/CreateThreadMessageRequest.d.ts +5 -7
  117. package/dist/models/CreateThreadMessageRequest.js +1 -2
  118. package/dist/models/CreateThreadRequest.d.ts +1 -1
  119. package/dist/models/DocumentContentPathPart.d.ts +5 -5
  120. package/dist/models/DocumentResponse.d.ts +4 -4
  121. package/dist/models/DocumentType.d.ts +1 -0
  122. package/dist/models/DocumentType.js +1 -0
  123. package/dist/models/DocumentVersionMetadata.d.ts +12 -7
  124. package/dist/models/DocumentVersionMetadata.js +4 -19
  125. package/dist/models/DocumentVersionMetadataUpdate.d.ts +6 -6
  126. package/dist/models/DocumentVersionResponse.d.ts +3 -3
  127. package/dist/models/FolderDocumentResponse.d.ts +9 -9
  128. package/dist/models/FolderResponse.d.ts +1 -1
  129. package/dist/models/InviteResponse.d.ts +2 -2
  130. package/dist/models/LineageNodeResponse.d.ts +2 -2
  131. package/dist/models/LocationInner.d.ts +41 -0
  132. package/dist/models/LocationInner.js +40 -0
  133. package/dist/models/OAuth2Config.d.ts +5 -0
  134. package/dist/models/OAuth2Config.js +4 -13
  135. package/dist/models/PathPartResponse.d.ts +3 -3
  136. package/dist/models/PipelineState.d.ts +5 -5
  137. package/dist/models/PolygonReference.d.ts +1 -1
  138. package/dist/models/ScoredChunkResponse.d.ts +4 -4
  139. package/dist/models/SectionResponse.d.ts +3 -3
  140. package/dist/models/SignInRequest.d.ts +1 -1
  141. package/dist/models/TagResponse.d.ts +1 -1
  142. package/dist/models/TenantResponse.d.ts +1 -1
  143. package/dist/models/TenantUserInTenantResponse.d.ts +2 -2
  144. package/dist/models/ThreadMessageResponse.d.ts +5 -7
  145. package/dist/models/ThreadMessageResponse.js +1 -2
  146. package/dist/models/ThreadResponse.d.ts +1 -1
  147. package/dist/models/UpdateChunkContentRequest.d.ts +1 -1
  148. package/dist/models/UpdateChunkMetadataRequest.d.ts +1 -1
  149. package/dist/models/UpdateDocumentRequest.d.ts +3 -3
  150. package/dist/models/UpdateFolderRequest.d.ts +2 -2
  151. package/dist/models/UpdatePermissionRequest.d.ts +1 -1
  152. package/dist/models/UpdateSectionRequest.d.ts +3 -3
  153. package/dist/models/UpdateTagRequest.d.ts +3 -3
  154. package/dist/models/UpdateTenantRequest.d.ts +2 -2
  155. package/dist/models/UpdateThreadRequest.d.ts +2 -2
  156. package/dist/models/UserResponse.d.ts +3 -3
  157. package/dist/models/ValidationError.d.ts +3 -3
  158. package/dist/models/ValidationError.js +3 -3
  159. package/dist/models/WorkflowDetailResponse.d.ts +4 -4
  160. package/dist/models/WorkflowSummaryResponse.d.ts +2 -2
  161. package/dist/models/index.d.ts +2 -1
  162. package/dist/models/index.js +2 -1
  163. package/package.json +1 -1
  164. package/src/apis/AuthApi.ts +9 -9
  165. package/src/apis/ChunkLineagesApi.ts +3 -3
  166. package/src/apis/ChunksApi.ts +6 -6
  167. package/src/apis/DocumentVersionsApi.ts +71 -7
  168. package/src/apis/DocumentsApi.ts +19 -19
  169. package/src/apis/FoldersApi.ts +11 -11
  170. package/src/apis/InvitesApi.ts +5 -5
  171. package/src/apis/PathPartsApi.ts +3 -3
  172. package/src/apis/SectionsApi.ts +4 -4
  173. package/src/apis/TagsApi.ts +7 -7
  174. package/src/apis/TenantsApi.ts +6 -6
  175. package/src/apis/ThreadMessagesApi.ts +4 -4
  176. package/src/apis/ThreadsApi.ts +6 -6
  177. package/src/apis/UserPermissionsApi.ts +4 -4
  178. package/src/apis/UsersApi.ts +2 -2
  179. package/src/apis/WorkflowsApi.ts +3 -3
  180. package/src/models/ChunkMetadataInput.ts +8 -0
  181. package/src/models/ChunkMetadataOutput.ts +8 -0
  182. package/src/models/ChunkResponse.ts +4 -4
  183. package/src/models/ChunkSearchRequest.ts +5 -8
  184. package/src/models/ClearVersionContentsResponse.ts +83 -0
  185. package/src/models/CreateChunkRequest.ts +3 -3
  186. package/src/models/CreateDocumentRequest.ts +2 -2
  187. package/src/models/CreateSectionRequest.ts +2 -2
  188. package/src/models/CreateTagRequest.ts +1 -1
  189. package/src/models/CreateTenantRequest.ts +1 -1
  190. package/src/models/CreateThreadMessageRequest.ts +3 -6
  191. package/src/models/CreateThreadRequest.ts +1 -1
  192. package/src/models/DocumentContentPathPart.ts +5 -5
  193. package/src/models/DocumentResponse.ts +4 -4
  194. package/src/models/DocumentType.ts +1 -0
  195. package/src/models/DocumentVersionMetadata.ts +13 -7
  196. package/src/models/DocumentVersionMetadataUpdate.ts +6 -6
  197. package/src/models/DocumentVersionResponse.ts +3 -3
  198. package/src/models/FolderDocumentResponse.ts +9 -9
  199. package/src/models/FolderResponse.ts +1 -1
  200. package/src/models/InviteResponse.ts +2 -2
  201. package/src/models/LineageNodeResponse.ts +2 -2
  202. package/src/models/LocationInner.ts +63 -0
  203. package/src/models/OAuth2Config.ts +6 -0
  204. package/src/models/PathPartResponse.ts +3 -3
  205. package/src/models/PipelineState.ts +5 -5
  206. package/src/models/PolygonReference.ts +1 -1
  207. package/src/models/ScoredChunkResponse.ts +4 -4
  208. package/src/models/SectionResponse.ts +3 -3
  209. package/src/models/SignInRequest.ts +1 -1
  210. package/src/models/TagResponse.ts +1 -1
  211. package/src/models/TenantResponse.ts +1 -1
  212. package/src/models/TenantUserInTenantResponse.ts +2 -2
  213. package/src/models/ThreadMessageResponse.ts +3 -6
  214. package/src/models/ThreadResponse.ts +1 -1
  215. package/src/models/UpdateChunkContentRequest.ts +1 -1
  216. package/src/models/UpdateChunkMetadataRequest.ts +1 -1
  217. package/src/models/UpdateDocumentRequest.ts +3 -3
  218. package/src/models/UpdateFolderRequest.ts +2 -2
  219. package/src/models/UpdatePermissionRequest.ts +1 -1
  220. package/src/models/UpdateSectionRequest.ts +3 -3
  221. package/src/models/UpdateTagRequest.ts +3 -3
  222. package/src/models/UpdateTenantRequest.ts +2 -2
  223. package/src/models/UpdateThreadRequest.ts +2 -2
  224. package/src/models/UserResponse.ts +3 -3
  225. package/src/models/ValidationError.ts +10 -10
  226. package/src/models/WorkflowDetailResponse.ts +4 -4
  227. package/src/models/WorkflowSummaryResponse.ts +2 -2
  228. package/src/models/index.ts +2 -1
  229. package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -41
  230. package/dist/esm/models/ValidationErrorLocInner.js +0 -32
  231. package/dist/models/ValidationErrorLocInner.d.ts +0 -41
  232. package/dist/models/ValidationErrorLocInner.js +0 -40
  233. package/src/models/ValidationErrorLocInner.ts +0 -63
@@ -34,7 +34,7 @@ export interface PolygonReference {
34
34
  */
35
35
  page: number;
36
36
  /**
37
- * The bounding box of the polygon.
37
+ *
38
38
  * @type {Polygon}
39
39
  * @memberof PolygonReference
40
40
  */
@@ -59,13 +59,13 @@ export interface ScoredChunkResponse {
59
59
  */
60
60
  content: string;
61
61
  /**
62
- * Type of chunk content
62
+ *
63
63
  * @type {ChunkType}
64
64
  * @memberof ScoredChunkResponse
65
65
  */
66
66
  chunkType: ChunkType;
67
67
  /**
68
- * Chunk metadata
68
+ *
69
69
  * @type {ChunkMetadataOutput}
70
70
  * @memberof ScoredChunkResponse
71
71
  */
@@ -81,13 +81,13 @@ export interface ScoredChunkResponse {
81
81
  * @type {string}
82
82
  * @memberof ScoredChunkResponse
83
83
  */
84
- prevSiblingPathId?: string;
84
+ prevSiblingPathId?: string | null;
85
85
  /**
86
86
  * Next sibling PathPart ID
87
87
  * @type {string}
88
88
  * @memberof ScoredChunkResponse
89
89
  */
90
- nextSiblingPathId?: string;
90
+ nextSiblingPathId?: string | null;
91
91
  /**
92
92
  * Full materialized path from root
93
93
  * @type {string}
@@ -42,7 +42,7 @@ export interface SectionResponse {
42
42
  * @type {number}
43
43
  * @memberof SectionResponse
44
44
  */
45
- pageNumber?: number;
45
+ pageNumber?: number | null;
46
46
  /**
47
47
  * Parent PathPart ID
48
48
  * @type {string}
@@ -54,13 +54,13 @@ export interface SectionResponse {
54
54
  * @type {string}
55
55
  * @memberof SectionResponse
56
56
  */
57
- prevSiblingPathId?: string;
57
+ prevSiblingPathId?: string | null;
58
58
  /**
59
59
  * Next sibling PathPart ID
60
60
  * @type {string}
61
61
  * @memberof SectionResponse
62
62
  */
63
- nextSiblingPathId?: string;
63
+ nextSiblingPathId?: string | null;
64
64
  /**
65
65
  * Full materialized path from root
66
66
  * @type {string}
@@ -36,7 +36,7 @@ export interface SignInRequest {
36
36
  * @type {string}
37
37
  * @memberof SignInRequest
38
38
  */
39
- tenantId?: string;
39
+ tenantId?: string | null;
40
40
  }
41
41
 
42
42
  /**
@@ -42,7 +42,7 @@ export interface TagResponse {
42
42
  * @type {string}
43
43
  * @memberof TagResponse
44
44
  */
45
- description?: string;
45
+ description?: string | null;
46
46
  /**
47
47
  * Tenant ID
48
48
  * @type {string}
@@ -36,7 +36,7 @@ export interface TenantResponse {
36
36
  * @type {{ [key: string]: string; }}
37
37
  * @memberof TenantResponse
38
38
  */
39
- idpConfig?: { [key: string]: string; };
39
+ idpConfig?: { [key: string]: string; } | null;
40
40
  }
41
41
 
42
42
  /**
@@ -38,9 +38,9 @@ export interface TenantUserInTenantResponse {
38
38
  * @type {string}
39
39
  * @memberof TenantUserInTenantResponse
40
40
  */
41
- email?: string;
41
+ email?: string | null;
42
42
  /**
43
- * User role within the tenant
43
+ *
44
44
  * @type {TenantUserRole}
45
45
  * @memberof TenantUserInTenantResponse
46
46
  */
@@ -46,17 +46,17 @@ export interface ThreadMessageResponse {
46
46
  */
47
47
  sequence: number;
48
48
  /**
49
- * Message role
49
+ *
50
50
  * @type {MessageRole}
51
51
  * @memberof ThreadMessageResponse
52
52
  */
53
53
  role: MessageRole;
54
54
  /**
55
55
  * Structured message content
56
- * @type {object}
56
+ * @type {{ [key: string]: any; }}
57
57
  * @memberof ThreadMessageResponse
58
58
  */
59
- content: object;
59
+ content: { [key: string]: any; };
60
60
  /**
61
61
  * Thread's PathPart ID
62
62
  * @type {string}
@@ -172,6 +172,3 @@ export const ThreadMessageResponsePropertyValidationAttributesMap: {
172
172
  } = {
173
173
  }
174
174
 
175
- export const ThreadMessageResponseAdditionalPropertiesValidationAttributes: { maxProperties?: number, minProperties?: number } = {
176
- }
177
-
@@ -42,7 +42,7 @@ export interface ThreadResponse {
42
42
  * @type {string}
43
43
  * @memberof ThreadResponse
44
44
  */
45
- parentThreadId?: string;
45
+ parentThreadId?: string | null;
46
46
  /**
47
47
  * Full materialized path from root
48
48
  * @type {string}
@@ -34,7 +34,7 @@ export interface UpdateChunkContentRequest {
34
34
  */
35
35
  content: string;
36
36
  /**
37
- * New chunk type (null = keep existing type)
37
+ *
38
38
  * @type {ChunkType}
39
39
  * @memberof UpdateChunkContentRequest
40
40
  */
@@ -28,7 +28,7 @@ import {
28
28
  */
29
29
  export interface UpdateChunkMetadataRequest {
30
30
  /**
31
- * Metadata to merge into existing chunk_metadata
31
+ *
32
32
  * @type {ChunkMetadataInput}
33
33
  * @memberof UpdateChunkMetadataRequest
34
34
  */
@@ -24,19 +24,19 @@ export interface UpdateDocumentRequest {
24
24
  * @type {string}
25
25
  * @memberof UpdateDocumentRequest
26
26
  */
27
- name?: string;
27
+ name?: string | null;
28
28
  /**
29
29
  * New parent PathPart ID for move (must be a FOLDER type)
30
30
  * @type {string}
31
31
  * @memberof UpdateDocumentRequest
32
32
  */
33
- parentPathPartId?: string;
33
+ parentPathPartId?: string | null;
34
34
  /**
35
35
  * New active version ID
36
36
  * @type {string}
37
37
  * @memberof UpdateDocumentRequest
38
38
  */
39
- activeVersionId?: string;
39
+ activeVersionId?: string | null;
40
40
  }
41
41
 
42
42
  /**
@@ -24,13 +24,13 @@ export interface UpdateFolderRequest {
24
24
  * @type {string}
25
25
  * @memberof UpdateFolderRequest
26
26
  */
27
- name?: string;
27
+ name?: string | null;
28
28
  /**
29
29
  * New parent PathPart ID for move (must be a FOLDER type)
30
30
  * @type {string}
31
31
  * @memberof UpdateFolderRequest
32
32
  */
33
- parentPathPartId?: string;
33
+ parentPathPartId?: string | null;
34
34
  }
35
35
 
36
36
  /**
@@ -32,7 +32,7 @@ export interface UpdatePermissionRequest {
32
32
  * @type {string}
33
33
  * @memberof UpdatePermissionRequest
34
34
  */
35
- pathPartId?: string;
35
+ pathPartId?: string | null;
36
36
  /**
37
37
  *
38
38
  * @type {PermissionCapability}
@@ -24,19 +24,19 @@ export interface UpdateSectionRequest {
24
24
  * @type {string}
25
25
  * @memberof UpdateSectionRequest
26
26
  */
27
- name?: string;
27
+ name?: string | null;
28
28
  /**
29
29
  * New page number (must be > 0)
30
30
  * @type {number}
31
31
  * @memberof UpdateSectionRequest
32
32
  */
33
- pageNumber?: number;
33
+ pageNumber?: number | null;
34
34
  /**
35
35
  * Move after this sibling PathPart ID
36
36
  * @type {string}
37
37
  * @memberof UpdateSectionRequest
38
38
  */
39
- prevSiblingPathId?: string;
39
+ prevSiblingPathId?: string | null;
40
40
  /**
41
41
  * Set to true to move to head of sibling list. This is needed since prev_sibling_path_id = None means no update
42
42
  * @type {boolean}
@@ -24,19 +24,19 @@ export interface UpdateTagRequest {
24
24
  * @type {string}
25
25
  * @memberof UpdateTagRequest
26
26
  */
27
- name?: string;
27
+ name?: string | null;
28
28
  /**
29
29
  * New tag color as 6-character hex string
30
30
  * @type {string}
31
31
  * @memberof UpdateTagRequest
32
32
  */
33
- color?: string;
33
+ color?: string | null;
34
34
  /**
35
35
  * New tag description (empty string to clear)
36
36
  * @type {string}
37
37
  * @memberof UpdateTagRequest
38
38
  */
39
- description?: string;
39
+ description?: string | null;
40
40
  }
41
41
 
42
42
  /**
@@ -32,9 +32,9 @@ export interface UpdateTenantRequest {
32
32
  * @type {string}
33
33
  * @memberof UpdateTenantRequest
34
34
  */
35
- name?: string;
35
+ name?: string | null;
36
36
  /**
37
- * Optional external IdP configuration to update
37
+ *
38
38
  * @type {OAuth2Config}
39
39
  * @memberof UpdateTenantRequest
40
40
  */
@@ -24,13 +24,13 @@ export interface UpdateThreadRequest {
24
24
  * @type {string}
25
25
  * @memberof UpdateThreadRequest
26
26
  */
27
- title?: string;
27
+ title?: string | null;
28
28
  /**
29
29
  * Parent thread ID. Set to a UUID to link, or null to clear.
30
30
  * @type {string}
31
31
  * @memberof UpdateThreadRequest
32
32
  */
33
- parentThreadId?: string;
33
+ parentThreadId?: string | null;
34
34
  }
35
35
 
36
36
  /**
@@ -45,9 +45,9 @@ export interface UserResponse {
45
45
  * @type {string}
46
46
  * @memberof UserResponse
47
47
  */
48
- email: string;
48
+ email: string | null;
49
49
  /**
50
- * Identity provider type of the user
50
+ *
51
51
  * @type {IdpType}
52
52
  * @memberof UserResponse
53
53
  */
@@ -59,7 +59,7 @@ export interface UserResponse {
59
59
  */
60
60
  currentTenantId: string;
61
61
  /**
62
- * Current tenant role of the user
62
+ *
63
63
  * @type {TenantUserRole}
64
64
  * @memberof UserResponse
65
65
  */
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { ValidationErrorLocInner } from './ValidationErrorLocInner';
16
+ import type { LocationInner } from './LocationInner';
17
17
  import {
18
- ValidationErrorLocInnerFromJSON,
19
- ValidationErrorLocInnerFromJSONTyped,
20
- ValidationErrorLocInnerToJSON,
21
- ValidationErrorLocInnerToJSONTyped,
22
- } from './ValidationErrorLocInner';
18
+ LocationInnerFromJSON,
19
+ LocationInnerFromJSONTyped,
20
+ LocationInnerToJSON,
21
+ LocationInnerToJSONTyped,
22
+ } from './LocationInner';
23
23
 
24
24
  /**
25
25
  *
@@ -29,10 +29,10 @@ import {
29
29
  export interface ValidationError {
30
30
  /**
31
31
  *
32
- * @type {Array<ValidationErrorLocInner>}
32
+ * @type {Array<LocationInner>}
33
33
  * @memberof ValidationError
34
34
  */
35
- loc: Array<ValidationErrorLocInner>;
35
+ loc: Array<LocationInner>;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -79,7 +79,7 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
79
79
  }
80
80
  return {
81
81
 
82
- 'loc': ((json['loc'] as Array<any>).map(ValidationErrorLocInnerFromJSON)),
82
+ 'loc': ((json['loc'] as Array<any>).map(LocationInnerFromJSON)),
83
83
  'msg': json['msg'],
84
84
  'type': json['type'],
85
85
  'input': json['input'] == null ? undefined : json['input'],
@@ -98,7 +98,7 @@ export function ValidationErrorToJSONTyped(value?: ValidationError | null, ignor
98
98
 
99
99
  return {
100
100
 
101
- 'loc': ((value['loc'] as Array<any>).map(ValidationErrorLocInnerToJSON)),
101
+ 'loc': ((value['loc'] as Array<any>).map(LocationInnerToJSON)),
102
102
  'msg': value['msg'],
103
103
  'type': value['type'],
104
104
  'input': value['input'],
@@ -56,13 +56,13 @@ export interface WorkflowDetailResponse {
56
56
  * @type {string}
57
57
  * @memberof WorkflowDetailResponse
58
58
  */
59
- lastActivity?: string;
59
+ lastActivity?: string | null;
60
60
  /**
61
61
  *
62
62
  * @type {string}
63
63
  * @memberof WorkflowDetailResponse
64
64
  */
65
- error?: string;
65
+ error?: string | null;
66
66
  /**
67
67
  *
68
68
  * @type {Date}
@@ -92,7 +92,7 @@ export interface WorkflowDetailResponse {
92
92
  * @type {Date}
93
93
  * @memberof WorkflowDetailResponse
94
94
  */
95
- closeTime?: Date;
95
+ closeTime?: Date | null;
96
96
  /**
97
97
  *
98
98
  * @type {string}
@@ -116,7 +116,7 @@ export interface WorkflowDetailResponse {
116
116
  * @type {number}
117
117
  * @memberof WorkflowDetailResponse
118
118
  */
119
- chunksProcessed?: number;
119
+ chunksProcessed?: number | null;
120
120
  }
121
121
 
122
122
 
@@ -56,13 +56,13 @@ export interface WorkflowSummaryResponse {
56
56
  * @type {string}
57
57
  * @memberof WorkflowSummaryResponse
58
58
  */
59
- lastActivity?: string;
59
+ lastActivity?: string | null;
60
60
  /**
61
61
  *
62
62
  * @type {string}
63
63
  * @memberof WorkflowSummaryResponse
64
64
  */
65
- error?: string;
65
+ error?: string | null;
66
66
  /**
67
67
  *
68
68
  * @type {Date}
@@ -6,6 +6,7 @@ export * from './ChunkMetadataOutput';
6
6
  export * from './ChunkResponse';
7
7
  export * from './ChunkSearchRequest';
8
8
  export * from './ChunkType';
9
+ export * from './ClearVersionContentsResponse';
9
10
  export * from './CreateChunkLineageRequest';
10
11
  export * from './CreateChunkRequest';
11
12
  export * from './CreateDocumentRequest';
@@ -39,6 +40,7 @@ export * from './InviteUserRequest';
39
40
  export * from './LineageEdgeResponse';
40
41
  export * from './LineageGraphResponse';
41
42
  export * from './LineageNodeResponse';
43
+ export * from './LocationInner';
42
44
  export * from './MessageRole';
43
45
  export * from './OAuth2Config';
44
46
  export * from './PaginatedResponseDocumentContentPathPart';
@@ -89,7 +91,6 @@ export * from './UpdateThreadRequest';
89
91
  export * from './UpdateUserRequest';
90
92
  export * from './UserResponse';
91
93
  export * from './ValidationError';
92
- export * from './ValidationErrorLocInner';
93
94
  export * from './WorkflowAction';
94
95
  export * from './WorkflowActionResponse';
95
96
  export * from './WorkflowDetailResponse';
@@ -1,41 +0,0 @@
1
- /**
2
- * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
4
- *
5
- * The version of the OpenAPI document: 0.1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ValidationErrorLocInner
16
- */
17
- export interface ValidationErrorLocInner {
18
- }
19
- /**
20
- * Check if a given object implements the ValidationErrorLocInner interface.
21
- */
22
- export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
23
- export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
24
- export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
25
- export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
26
- export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
27
- export declare const ValidationErrorLocInnerPropertyValidationAttributesMap: {
28
- [property: string]: {
29
- maxLength?: number;
30
- minLength?: number;
31
- pattern?: string;
32
- maximum?: number;
33
- exclusiveMaximum?: boolean;
34
- minimum?: number;
35
- exclusiveMinimum?: boolean;
36
- multipleOf?: number;
37
- maxItems?: number;
38
- minItems?: number;
39
- uniqueItems?: boolean;
40
- };
41
- };
@@ -1,32 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
6
- *
7
- * The version of the OpenAPI document: 0.1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the ValidationErrorLocInner interface.
16
- */
17
- export function instanceOfValidationErrorLocInner(value) {
18
- return true;
19
- }
20
- export function ValidationErrorLocInnerFromJSON(json) {
21
- return ValidationErrorLocInnerFromJSONTyped(json, false);
22
- }
23
- export function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
24
- return json;
25
- }
26
- export function ValidationErrorLocInnerToJSON(json) {
27
- return ValidationErrorLocInnerToJSONTyped(json, false);
28
- }
29
- export function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
30
- return value;
31
- }
32
- export const ValidationErrorLocInnerPropertyValidationAttributesMap = {};
@@ -1,41 +0,0 @@
1
- /**
2
- * Knowledge Stack API
3
- * Knowledge Stack backend API for authentication and knowledge management
4
- *
5
- * The version of the OpenAPI document: 0.1.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ValidationErrorLocInner
16
- */
17
- export interface ValidationErrorLocInner {
18
- }
19
- /**
20
- * Check if a given object implements the ValidationErrorLocInner interface.
21
- */
22
- export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
23
- export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
24
- export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
25
- export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
26
- export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
27
- export declare const ValidationErrorLocInnerPropertyValidationAttributesMap: {
28
- [property: string]: {
29
- maxLength?: number;
30
- minLength?: number;
31
- pattern?: string;
32
- maximum?: number;
33
- exclusiveMaximum?: boolean;
34
- minimum?: number;
35
- exclusiveMinimum?: boolean;
36
- multipleOf?: number;
37
- maxItems?: number;
38
- minItems?: number;
39
- uniqueItems?: boolean;
40
- };
41
- };
@@ -1,40 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Knowledge Stack API
6
- * Knowledge Stack backend API for authentication and knowledge management
7
- *
8
- * The version of the OpenAPI document: 0.1.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ValidationErrorLocInnerPropertyValidationAttributesMap = void 0;
17
- exports.instanceOfValidationErrorLocInner = instanceOfValidationErrorLocInner;
18
- exports.ValidationErrorLocInnerFromJSON = ValidationErrorLocInnerFromJSON;
19
- exports.ValidationErrorLocInnerFromJSONTyped = ValidationErrorLocInnerFromJSONTyped;
20
- exports.ValidationErrorLocInnerToJSON = ValidationErrorLocInnerToJSON;
21
- exports.ValidationErrorLocInnerToJSONTyped = ValidationErrorLocInnerToJSONTyped;
22
- /**
23
- * Check if a given object implements the ValidationErrorLocInner interface.
24
- */
25
- function instanceOfValidationErrorLocInner(value) {
26
- return true;
27
- }
28
- function ValidationErrorLocInnerFromJSON(json) {
29
- return ValidationErrorLocInnerFromJSONTyped(json, false);
30
- }
31
- function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
32
- return json;
33
- }
34
- function ValidationErrorLocInnerToJSON(json) {
35
- return ValidationErrorLocInnerToJSONTyped(json, false);
36
- }
37
- function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
38
- return value;
39
- }
40
- exports.ValidationErrorLocInnerPropertyValidationAttributesMap = {};
@@ -1,63 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Knowledge Stack API
5
- * Knowledge Stack backend API for authentication and knowledge management
6
- *
7
- * The version of the OpenAPI document: 0.1.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ValidationErrorLocInner
20
- */
21
- export interface ValidationErrorLocInner {
22
- }
23
-
24
- /**
25
- * Check if a given object implements the ValidationErrorLocInner interface.
26
- */
27
- export function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner {
28
- return true;
29
- }
30
-
31
- export function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner {
32
- return ValidationErrorLocInnerFromJSONTyped(json, false);
33
- }
34
-
35
- export function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner {
36
- return json;
37
- }
38
-
39
- export function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner {
40
- return ValidationErrorLocInnerToJSONTyped(json, false);
41
- }
42
-
43
- export function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator: boolean = false): any {
44
- return value;
45
- }
46
-
47
- export const ValidationErrorLocInnerPropertyValidationAttributesMap: {
48
- [property: string]: {
49
- maxLength?: number,
50
- minLength?: number,
51
- pattern?: string,
52
- maximum?: number,
53
- exclusiveMaximum?: boolean,
54
- minimum?: number,
55
- exclusiveMinimum?: boolean,
56
- multipleOf?: number,
57
- maxItems?: number,
58
- minItems?: number,
59
- uniqueItems?: boolean
60
- }
61
- } = {
62
- }
63
-