@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
@@ -16,15 +16,15 @@ export interface CreatePasswordUserOperationRequest {
16
16
  }
17
17
  export interface InitiateSsoRequest {
18
18
  provider: IdpType;
19
- tenantId?: string;
19
+ tenantId?: string | null;
20
20
  }
21
21
  export interface Oauth2CallbackRequest {
22
22
  provider: IdpType;
23
- code?: string;
24
- state?: string;
25
- error?: string;
26
- errorDescription?: string;
27
- tenantId?: string;
23
+ code?: string | null;
24
+ state?: string | null;
25
+ error?: string | null;
26
+ errorDescription?: string | null;
27
+ tenantId?: string | null;
28
28
  }
29
29
  export interface PwEmailVerificationRequest {
30
30
  emailVerificationRequest: EmailVerificationRequest;
@@ -33,12 +33,12 @@ export interface PwSigninRequest {
33
33
  signInRequest: SignInRequest;
34
34
  }
35
35
  export interface RefreshUatRequest {
36
- tenantId?: string;
37
- ksUat?: string;
36
+ tenantId?: string | null;
37
+ ksUat?: string | null;
38
38
  }
39
39
  export interface ResetPasswordRequest {
40
40
  passwordResetRequest: PasswordResetRequest;
41
- ksUat?: string;
41
+ ksUat?: string | null;
42
42
  }
43
43
  export interface ResetPasswordWithTokenRequest {
44
44
  passwordResetWithTokenRequest: PasswordResetWithTokenRequest;
@@ -13,17 +13,17 @@ import * as runtime from '../runtime';
13
13
  import type { ChunkLineageResponse, CreateChunkLineageRequest, LineageGraphResponse } from '../models/index';
14
14
  export interface CreateChunkLineageOperationRequest {
15
15
  createChunkLineageRequest: CreateChunkLineageRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteChunkLineageRequest {
19
19
  parentChunkId: string;
20
20
  chunkId: string;
21
- ksUat?: string;
21
+ ksUat?: string | null;
22
22
  }
23
23
  export interface GetChunkLineageRequest {
24
24
  chunkId: string;
25
25
  maxDepth?: number;
26
- ksUat?: string;
26
+ ksUat?: string | null;
27
27
  }
28
28
  /**
29
29
  * ChunkLineagesApi - interface
@@ -13,29 +13,29 @@ import * as runtime from '../runtime';
13
13
  import type { ChunkResponse, ChunkSearchRequest, CreateChunkRequest, ScoredChunkResponse, UpdateChunkContentRequest, UpdateChunkMetadataRequest } from '../models/index';
14
14
  export interface CreateChunkOperationRequest {
15
15
  createChunkRequest: CreateChunkRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteChunkRequest {
19
19
  chunkId: string;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface GetChunkRequest {
23
23
  chunkId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface SearchChunksRequest {
27
27
  chunkSearchRequest: ChunkSearchRequest;
28
- ksUat?: string;
28
+ ksUat?: string | null;
29
29
  }
30
30
  export interface UpdateChunkContentOperationRequest {
31
31
  chunkId: string;
32
32
  updateChunkContentRequest: UpdateChunkContentRequest;
33
- ksUat?: string;
33
+ ksUat?: string | null;
34
34
  }
35
35
  export interface UpdateChunkMetadataOperationRequest {
36
36
  chunkId: string;
37
37
  updateChunkMetadataRequest: UpdateChunkMetadataRequest;
38
- ksUat?: string;
38
+ ksUat?: string | null;
39
39
  }
40
40
  /**
41
41
  * ChunksApi - interface
@@ -13,37 +13,37 @@ import * as runtime from '../runtime';
13
13
  import type { ClearVersionContentsResponse, DocumentVersionMetadataUpdate, DocumentVersionResponse, PaginatedResponseDocumentContentPathPart, PaginatedResponseDocumentVersionResponse } from '../models/index';
14
14
  export interface ClearDocumentVersionContentsRequest {
15
15
  versionId: string;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface CreateDocumentVersionRequest {
19
19
  documentId: string;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface DeleteDocumentVersionRequest {
23
23
  versionId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface GetDocumentVersionRequest {
27
27
  versionId: string;
28
- ksUat?: string;
28
+ ksUat?: string | null;
29
29
  }
30
30
  export interface GetDocumentVersionContentsRequest {
31
31
  versionId: string;
32
- sectionId?: string;
32
+ sectionId?: string | null;
33
33
  limit?: number;
34
34
  offset?: number;
35
- ksUat?: string;
35
+ ksUat?: string | null;
36
36
  }
37
37
  export interface ListDocumentVersionsRequest {
38
38
  documentId: string;
39
39
  limit?: number;
40
40
  offset?: number;
41
- ksUat?: string;
41
+ ksUat?: string | null;
42
42
  }
43
43
  export interface UpdateDocumentVersionMetadataRequest {
44
44
  versionId: string;
45
45
  documentVersionMetadataUpdate: DocumentVersionMetadataUpdate;
46
- ksUat?: string;
46
+ ksUat?: string | null;
47
47
  }
48
48
  /**
49
49
  * DocumentVersionsApi - interface
@@ -13,33 +13,33 @@ import * as runtime from '../runtime';
13
13
  import type { CreateDocumentRequest, DocumentResponse, IngestDocumentResponse, PaginatedResponseDocumentResponse, PathOrder, UpdateDocumentRequest } from '../models/index';
14
14
  export interface CreateDocumentOperationRequest {
15
15
  createDocumentRequest: CreateDocumentRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteDocumentRequest {
19
19
  documentId: string;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface GetDocumentRequest {
23
23
  documentId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface IngestDocumentRequest {
27
27
  file: Blob;
28
28
  pathPartId: string;
29
- ksUat?: string;
30
- name?: string;
29
+ ksUat?: string | null;
30
+ name?: string | null;
31
31
  }
32
32
  export interface ListDocumentsRequest {
33
- parentPathPartId?: string;
33
+ parentPathPartId?: string | null;
34
34
  sortOrder?: PathOrder;
35
35
  limit?: number;
36
36
  offset?: number;
37
- ksUat?: string;
37
+ ksUat?: string | null;
38
38
  }
39
39
  export interface UpdateDocumentOperationRequest {
40
40
  documentId: string;
41
41
  updateDocumentRequest: UpdateDocumentRequest;
42
- ksUat?: string;
42
+ ksUat?: string | null;
43
43
  }
44
44
  /**
45
45
  * DocumentsApi - interface
@@ -111,7 +111,7 @@ export interface DocumentsApiInterface {
111
111
  */
112
112
  ingestDocument(requestParameters: IngestDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IngestDocumentResponse>;
113
113
  /**
114
- * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents in the root folder.
114
+ * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
115
115
  * @summary List Documents Handler
116
116
  * @param {string} [parentPathPartId] Parent PathPart ID (defaults to root)
117
117
  * @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
@@ -124,7 +124,7 @@ export interface DocumentsApiInterface {
124
124
  */
125
125
  listDocumentsRaw(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseDocumentResponse>>;
126
126
  /**
127
- * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents in the root folder.
127
+ * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
128
128
  * List Documents Handler
129
129
  */
130
130
  listDocuments(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseDocumentResponse>;
@@ -190,12 +190,12 @@ export declare class DocumentsApi extends runtime.BaseAPI implements DocumentsAp
190
190
  */
191
191
  ingestDocument(requestParameters: IngestDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IngestDocumentResponse>;
192
192
  /**
193
- * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents in the root folder.
193
+ * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
194
194
  * List Documents Handler
195
195
  */
196
196
  listDocumentsRaw(requestParameters: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseDocumentResponse>>;
197
197
  /**
198
- * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents in the root folder.
198
+ * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
199
199
  * List Documents Handler
200
200
  */
201
201
  listDocuments(requestParameters?: ListDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseDocumentResponse>;
@@ -182,7 +182,7 @@ export class DocumentsApi extends runtime.BaseAPI {
182
182
  });
183
183
  }
184
184
  /**
185
- * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents in the root folder.
185
+ * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
186
186
  * List Documents Handler
187
187
  */
188
188
  listDocumentsRaw(requestParameters, initOverrides) {
@@ -212,7 +212,7 @@ export class DocumentsApi extends runtime.BaseAPI {
212
212
  });
213
213
  }
214
214
  /**
215
- * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists documents in the root folder.
215
+ * List documents in a folder. Returns only direct child documents (depth=1) of the specified parent folder. If parent_path_part_id is not provided, lists top-level documents.
216
216
  * List Documents Handler
217
217
  */
218
218
  listDocuments() {
@@ -13,15 +13,15 @@ import * as runtime from '../runtime';
13
13
  import type { CreateFolderRequest, FolderResponse, PaginatedResponseFolderDocumentResponse, PaginatedResponseFolderResponse, PathOrder, UpdateFolderRequest } from '../models/index';
14
14
  export interface CreateFolderOperationRequest {
15
15
  createFolderRequest: CreateFolderRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteFolderRequest {
19
19
  folderId: string;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface GetFolderRequest {
23
23
  folderId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface ListFolderContentsRequest {
27
27
  folderId: string;
@@ -29,19 +29,19 @@ export interface ListFolderContentsRequest {
29
29
  sortOrder?: PathOrder;
30
30
  limit?: number;
31
31
  offset?: number;
32
- ksUat?: string;
32
+ ksUat?: string | null;
33
33
  }
34
34
  export interface ListFoldersRequest {
35
- parentPathPartId?: string;
35
+ parentPathPartId?: string | null;
36
36
  sortOrder?: PathOrder;
37
37
  limit?: number;
38
38
  offset?: number;
39
- ksUat?: string;
39
+ ksUat?: string | null;
40
40
  }
41
41
  export interface UpdateFolderOperationRequest {
42
42
  folderId: string;
43
43
  updateFolderRequest: UpdateFolderRequest;
44
- ksUat?: string;
44
+ ksUat?: string | null;
45
45
  }
46
46
  /**
47
47
  * FoldersApi - interface
@@ -115,7 +115,7 @@ export interface FoldersApiInterface {
115
115
  */
116
116
  listFolderContents(requestParameters: ListFolderContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderDocumentResponse>;
117
117
  /**
118
- * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders in the root folder.
118
+ * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
119
119
  * @summary List Folders Handler
120
120
  * @param {string} [parentPathPartId] Parent PathPart ID (defaults to root)
121
121
  * @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
@@ -128,7 +128,7 @@ export interface FoldersApiInterface {
128
128
  */
129
129
  listFoldersRaw(requestParameters: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseFolderResponse>>;
130
130
  /**
131
- * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders in the root folder.
131
+ * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
132
132
  * List Folders Handler
133
133
  */
134
134
  listFolders(requestParameters: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderResponse>;
@@ -194,12 +194,12 @@ export declare class FoldersApi extends runtime.BaseAPI implements FoldersApiInt
194
194
  */
195
195
  listFolderContents(requestParameters: ListFolderContentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderDocumentResponse>;
196
196
  /**
197
- * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders in the root folder.
197
+ * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
198
198
  * List Folders Handler
199
199
  */
200
200
  listFoldersRaw(requestParameters: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseFolderResponse>>;
201
201
  /**
202
- * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders in the root folder.
202
+ * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
203
203
  * List Folders Handler
204
204
  */
205
205
  listFolders(requestParameters?: ListFoldersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseFolderResponse>;
@@ -167,7 +167,7 @@ export class FoldersApi extends runtime.BaseAPI {
167
167
  });
168
168
  }
169
169
  /**
170
- * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders in the root folder.
170
+ * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
171
171
  * List Folders Handler
172
172
  */
173
173
  listFoldersRaw(requestParameters, initOverrides) {
@@ -197,7 +197,7 @@ export class FoldersApi extends runtime.BaseAPI {
197
197
  });
198
198
  }
199
199
  /**
200
- * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists folders in the root folder.
200
+ * List child folders of a parent folder. Returns only direct child folders (depth=1) of the specified parent. If parent_path_part_id is not provided, lists top-level folders. At root level, the /users folder is hidden and replaced with the current user\'s personal folder (/users/{user_id}) displayed as \"Personal\".
201
201
  * List Folders Handler
202
202
  */
203
203
  listFolders() {
@@ -13,22 +13,22 @@ import * as runtime from '../runtime';
13
13
  import type { InviteResponse, InviteStatus, InviteUserRequest, PaginatedResponseInviteResponse } from '../models/index';
14
14
  export interface AcceptInviteRequest {
15
15
  inviteId: string;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface CreateInviteRequest {
19
19
  inviteUserRequest: InviteUserRequest;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface DeleteInviteRequest {
23
23
  inviteId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface ListInvitesRequest {
27
- email?: string;
27
+ email?: string | null;
28
28
  status?: InviteStatus;
29
29
  limit?: number;
30
30
  offset?: number;
31
- ksUat?: string;
31
+ ksUat?: string | null;
32
32
  }
33
33
  /**
34
34
  * InvitesApi - interface
@@ -13,15 +13,15 @@ import * as runtime from '../runtime';
13
13
  import type { PaginatedResponsePathPartResponse, PathOrder, PathPartResponse } from '../models/index';
14
14
  export interface GetPathPartRequest {
15
15
  pathPartId: string;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface ListPathPartsRequest {
19
- parentPathId?: string;
19
+ parentPathId?: string | null;
20
20
  maxDepth?: number;
21
21
  sortOrder?: PathOrder;
22
22
  limit?: number;
23
23
  offset?: number;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  /**
27
27
  * PathPartsApi - interface
@@ -13,20 +13,20 @@ import * as runtime from '../runtime';
13
13
  import type { CreateSectionRequest, SectionResponse, UpdateSectionRequest } from '../models/index';
14
14
  export interface CreateSectionOperationRequest {
15
15
  createSectionRequest: CreateSectionRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteSectionRequest {
19
19
  sectionId: string;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface GetSectionRequest {
23
23
  sectionId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface UpdateSectionOperationRequest {
27
27
  sectionId: string;
28
28
  updateSectionRequest: UpdateSectionRequest;
29
- ksUat?: string;
29
+ ksUat?: string | null;
30
30
  }
31
31
  /**
32
32
  * SectionsApi - interface
@@ -14,34 +14,34 @@ import type { CreateTagRequest, PaginatedResponseTagResponse, TagPathPartRequest
14
14
  export interface AttachTagToPathPartRequest {
15
15
  tagId: string;
16
16
  tagPathPartRequest: TagPathPartRequest;
17
- ksUat?: string;
17
+ ksUat?: string | null;
18
18
  }
19
19
  export interface CreateTagOperationRequest {
20
20
  createTagRequest: CreateTagRequest;
21
- ksUat?: string;
21
+ ksUat?: string | null;
22
22
  }
23
23
  export interface DeleteTagRequest {
24
24
  tagId: string;
25
- ksUat?: string;
25
+ ksUat?: string | null;
26
26
  }
27
27
  export interface DetachTagFromPathPartRequest {
28
28
  tagId: string;
29
29
  pathPartId: string;
30
- ksUat?: string;
30
+ ksUat?: string | null;
31
31
  }
32
32
  export interface GetTagRequest {
33
33
  tagId: string;
34
- ksUat?: string;
34
+ ksUat?: string | null;
35
35
  }
36
36
  export interface ListTagsRequest {
37
37
  limit?: number;
38
38
  offset?: number;
39
- ksUat?: string;
39
+ ksUat?: string | null;
40
40
  }
41
41
  export interface UpdateTagOperationRequest {
42
42
  tagId: string;
43
43
  updateTagRequest: UpdateTagRequest;
44
- ksUat?: string;
44
+ ksUat?: string | null;
45
45
  }
46
46
  /**
47
47
  * TagsApi - interface
@@ -13,31 +13,31 @@ import * as runtime from '../runtime';
13
13
  import type { CreateTenantRequest, PaginatedResponseTenantResponse, PaginatedResponseTenantUserInTenantResponse, TenantResponse, UpdateTenantRequest } from '../models/index';
14
14
  export interface CreateTenantOperationRequest {
15
15
  createTenantRequest: CreateTenantRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteTenantRequest {
19
19
  tenantId: string;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface GetTenantRequest {
23
23
  tenantId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface ListTenantUsersRequest {
27
27
  tenantId: string;
28
28
  limit?: number;
29
29
  offset?: number;
30
- ksUat?: string;
30
+ ksUat?: string | null;
31
31
  }
32
32
  export interface ListTenantsRequest {
33
33
  limit?: number;
34
34
  offset?: number;
35
- ksUat?: string;
35
+ ksUat?: string | null;
36
36
  }
37
37
  export interface UpdateTenantOperationRequest {
38
38
  tenantId: string;
39
39
  updateTenantRequest: UpdateTenantRequest;
40
- ksUat?: string;
40
+ ksUat?: string | null;
41
41
  }
42
42
  /**
43
43
  * TenantsApi - interface
@@ -14,19 +14,19 @@ import type { CreateThreadMessageRequest, PaginatedResponseThreadMessageResponse
14
14
  export interface CreateThreadMessageOperationRequest {
15
15
  threadId: string;
16
16
  createThreadMessageRequest: CreateThreadMessageRequest;
17
- ksUat?: string;
17
+ ksUat?: string | null;
18
18
  }
19
19
  export interface GetThreadMessageRequest {
20
20
  threadId: string;
21
21
  messageId: string;
22
- ksUat?: string;
22
+ ksUat?: string | null;
23
23
  }
24
24
  export interface ListThreadMessagesRequest {
25
25
  threadId: string;
26
- before?: Date;
26
+ before?: Date | null;
27
27
  limit?: number;
28
28
  offset?: number;
29
- ksUat?: string;
29
+ ksUat?: string | null;
30
30
  }
31
31
  /**
32
32
  * ThreadMessagesApi - interface
@@ -13,26 +13,26 @@ import * as runtime from '../runtime';
13
13
  import type { CreateThreadRequest, PaginatedResponseThreadResponse, ThreadResponse, UpdateThreadRequest } from '../models/index';
14
14
  export interface CreateThreadOperationRequest {
15
15
  createThreadRequest: CreateThreadRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteThreadRequest {
19
19
  threadId: string;
20
- ksUat?: string;
20
+ ksUat?: string | null;
21
21
  }
22
22
  export interface GetThreadRequest {
23
23
  threadId: string;
24
- ksUat?: string;
24
+ ksUat?: string | null;
25
25
  }
26
26
  export interface ListThreadsRequest {
27
- parentPathPartId?: string;
27
+ parentPathPartId?: string | null;
28
28
  limit?: number;
29
29
  offset?: number;
30
- ksUat?: string;
30
+ ksUat?: string | null;
31
31
  }
32
32
  export interface UpdateThreadOperationRequest {
33
33
  threadId: string;
34
34
  updateThreadRequest: UpdateThreadRequest;
35
- ksUat?: string;
35
+ ksUat?: string | null;
36
36
  }
37
37
  /**
38
38
  * ThreadsApi - interface
@@ -13,25 +13,25 @@ import * as runtime from '../runtime';
13
13
  import type { CreatePermissionRequest, PaginatedResponsePermissionResponse, PermissionResponse, UpdatePermissionRequest } from '../models/index';
14
14
  export interface CreateUserPermissionRequest {
15
15
  createPermissionRequest: CreatePermissionRequest;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface DeleteUserPermissionRequest {
19
19
  permissionId: string;
20
20
  tenantId: string;
21
- ksUat?: string;
21
+ ksUat?: string | null;
22
22
  }
23
23
  export interface ListUserPermissionsRequest {
24
24
  tenantId: string;
25
25
  userId: string;
26
26
  limit?: number;
27
27
  offset?: number;
28
- ksUat?: string;
28
+ ksUat?: string | null;
29
29
  }
30
30
  export interface UpdateUserPermissionRequest {
31
31
  permissionId: string;
32
32
  tenantId: string;
33
33
  updatePermissionRequest: UpdatePermissionRequest;
34
- ksUat?: string;
34
+ ksUat?: string | null;
35
35
  }
36
36
  /**
37
37
  * UserPermissionsApi - interface
@@ -12,11 +12,11 @@
12
12
  import * as runtime from '../runtime';
13
13
  import type { UpdateUserRequest, UserResponse } from '../models/index';
14
14
  export interface GetMeRequest {
15
- ksUat?: string;
15
+ ksUat?: string | null;
16
16
  }
17
17
  export interface UpdateMeRequest {
18
18
  updateUserRequest: UpdateUserRequest;
19
- ksUat?: string;
19
+ ksUat?: string | null;
20
20
  }
21
21
  /**
22
22
  * UsersApi - interface
@@ -13,17 +13,17 @@ import * as runtime from '../runtime';
13
13
  import type { PaginatedResponseWorkflowSummaryResponse, WorkflowAction, WorkflowActionResponse, WorkflowDetailResponse } from '../models/index';
14
14
  export interface GetWorkflowRequest {
15
15
  workflowId: string;
16
- ksUat?: string;
16
+ ksUat?: string | null;
17
17
  }
18
18
  export interface ListWorkflowsRequest {
19
19
  limit?: number;
20
20
  offset?: number;
21
- ksUat?: string;
21
+ ksUat?: string | null;
22
22
  }
23
23
  export interface WorkflowActionRequest {
24
24
  workflowId: string;
25
25
  action: WorkflowAction;
26
- ksUat?: string;
26
+ ksUat?: string | null;
27
27
  }
28
28
  /**
29
29
  * WorkflowsApi - interface
@@ -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.