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