@knowledge-stack/ksapi 1.23.5 → 1.25.0

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 (294) hide show
  1. package/.openapi-generator/FILES +130 -4
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +282 -28
  4. package/dist/apis/AuthApi.d.ts +117 -0
  5. package/dist/apis/AuthApi.js +137 -47
  6. package/dist/apis/ChunkLineagesApi.d.ts +38 -0
  7. package/dist/apis/ChunkLineagesApi.js +42 -15
  8. package/dist/apis/ChunksApi.d.ts +161 -5
  9. package/dist/apis/ChunksApi.js +168 -31
  10. package/dist/apis/DefaultApi.d.ts +20 -0
  11. package/dist/apis/DefaultApi.js +28 -10
  12. package/dist/apis/DocumentVersionsApi.d.ts +99 -9
  13. package/dist/apis/DocumentVersionsApi.js +100 -37
  14. package/dist/apis/DocumentsApi.d.ts +80 -0
  15. package/dist/apis/DocumentsApi.js +84 -30
  16. package/dist/apis/FoldersApi.d.ts +92 -9
  17. package/dist/apis/FoldersApi.js +86 -32
  18. package/dist/apis/InvitesApi.d.ts +51 -0
  19. package/dist/apis/InvitesApi.js +56 -20
  20. package/dist/apis/PathPartsApi.d.ts +140 -1
  21. package/dist/apis/PathPartsApi.js +141 -20
  22. package/dist/apis/SectionsApi.d.ts +49 -0
  23. package/dist/apis/SectionsApi.js +56 -20
  24. package/dist/apis/TagsApi.d.ts +62 -0
  25. package/dist/apis/TagsApi.js +70 -25
  26. package/dist/apis/TenantsApi.d.ts +103 -0
  27. package/dist/apis/TenantsApi.js +112 -40
  28. package/dist/apis/ThreadMessagesApi.d.ts +41 -0
  29. package/dist/apis/ThreadMessagesApi.js +42 -15
  30. package/dist/apis/ThreadsApi.d.ts +77 -0
  31. package/dist/apis/ThreadsApi.js +84 -30
  32. package/dist/apis/UserPermissionsApi.d.ts +54 -0
  33. package/dist/apis/UserPermissionsApi.js +56 -20
  34. package/dist/apis/UsersApi.d.ts +23 -0
  35. package/dist/apis/UsersApi.js +28 -10
  36. package/dist/apis/WorkflowsApi.d.ts +38 -0
  37. package/dist/apis/WorkflowsApi.js +42 -15
  38. package/dist/esm/apis/AuthApi.d.ts +117 -0
  39. package/dist/esm/apis/AuthApi.js +137 -47
  40. package/dist/esm/apis/ChunkLineagesApi.d.ts +38 -0
  41. package/dist/esm/apis/ChunkLineagesApi.js +42 -15
  42. package/dist/esm/apis/ChunksApi.d.ts +161 -5
  43. package/dist/esm/apis/ChunksApi.js +169 -32
  44. package/dist/esm/apis/DefaultApi.d.ts +20 -0
  45. package/dist/esm/apis/DefaultApi.js +28 -10
  46. package/dist/esm/apis/DocumentVersionsApi.d.ts +99 -9
  47. package/dist/esm/apis/DocumentVersionsApi.js +101 -38
  48. package/dist/esm/apis/DocumentsApi.d.ts +80 -0
  49. package/dist/esm/apis/DocumentsApi.js +84 -30
  50. package/dist/esm/apis/FoldersApi.d.ts +92 -9
  51. package/dist/esm/apis/FoldersApi.js +87 -33
  52. package/dist/esm/apis/InvitesApi.d.ts +51 -0
  53. package/dist/esm/apis/InvitesApi.js +56 -20
  54. package/dist/esm/apis/PathPartsApi.d.ts +140 -1
  55. package/dist/esm/apis/PathPartsApi.js +142 -21
  56. package/dist/esm/apis/SectionsApi.d.ts +49 -0
  57. package/dist/esm/apis/SectionsApi.js +56 -20
  58. package/dist/esm/apis/TagsApi.d.ts +62 -0
  59. package/dist/esm/apis/TagsApi.js +70 -25
  60. package/dist/esm/apis/TenantsApi.d.ts +103 -0
  61. package/dist/esm/apis/TenantsApi.js +112 -40
  62. package/dist/esm/apis/ThreadMessagesApi.d.ts +41 -0
  63. package/dist/esm/apis/ThreadMessagesApi.js +42 -15
  64. package/dist/esm/apis/ThreadsApi.d.ts +77 -0
  65. package/dist/esm/apis/ThreadsApi.js +84 -30
  66. package/dist/esm/apis/UserPermissionsApi.d.ts +54 -0
  67. package/dist/esm/apis/UserPermissionsApi.js +56 -20
  68. package/dist/esm/apis/UsersApi.d.ts +23 -0
  69. package/dist/esm/apis/UsersApi.js +28 -10
  70. package/dist/esm/apis/WorkflowsApi.d.ts +38 -0
  71. package/dist/esm/apis/WorkflowsApi.js +42 -15
  72. package/dist/esm/models/ChunkBulkResponse.d.ts +139 -0
  73. package/dist/esm/models/ChunkBulkResponse.js +100 -0
  74. package/dist/esm/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
  75. package/dist/esm/models/{DocumentContentPathPart.js → ChunkContentItem.js} +19 -16
  76. package/dist/esm/models/ChunkSearchRequest.d.ts +14 -2
  77. package/dist/esm/models/ChunkSearchRequest.js +6 -2
  78. package/dist/esm/models/DocumentResponse.d.ts +13 -0
  79. package/dist/esm/models/DocumentResponse.js +10 -0
  80. package/dist/esm/models/FolderResponse.d.ts +13 -0
  81. package/dist/esm/models/FolderResponse.js +10 -0
  82. package/dist/esm/models/FolderResponseOrDocumentResponse.d.ts +27 -0
  83. package/dist/esm/models/FolderResponseOrDocumentResponse.js +47 -0
  84. package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
  85. package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +70 -0
  86. package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
  87. package/dist/esm/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +70 -0
  88. package/dist/esm/models/SectionContentItem.d.ts +114 -0
  89. package/dist/esm/models/SectionContentItem.js +88 -0
  90. package/dist/esm/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
  91. package/dist/esm/models/SectionContentItemOrChunkContentItem.js +47 -0
  92. package/dist/esm/models/SubtreeChunkGroup.d.ts +62 -0
  93. package/dist/esm/models/SubtreeChunkGroup.js +52 -0
  94. package/dist/esm/models/SubtreeChunksResponse.d.ts +48 -0
  95. package/dist/esm/models/SubtreeChunksResponse.js +45 -0
  96. package/dist/esm/models/VersionChunkIdsResponse.d.ts +47 -0
  97. package/dist/esm/models/VersionChunkIdsResponse.js +44 -0
  98. package/dist/esm/models/index.d.ts +10 -4
  99. package/dist/esm/models/index.js +10 -4
  100. package/dist/models/ChunkBulkResponse.d.ts +139 -0
  101. package/dist/models/ChunkBulkResponse.js +108 -0
  102. package/dist/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
  103. package/dist/models/{DocumentContentPathPart.js → ChunkContentItem.js} +25 -22
  104. package/dist/models/ChunkSearchRequest.d.ts +14 -2
  105. package/dist/models/ChunkSearchRequest.js +6 -2
  106. package/dist/models/DocumentResponse.d.ts +13 -0
  107. package/dist/models/DocumentResponse.js +11 -1
  108. package/dist/models/FolderResponse.d.ts +13 -0
  109. package/dist/models/FolderResponse.js +11 -1
  110. package/dist/models/FolderResponseOrDocumentResponse.d.ts +27 -0
  111. package/dist/models/FolderResponseOrDocumentResponse.js +53 -0
  112. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
  113. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +78 -0
  114. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
  115. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +78 -0
  116. package/dist/models/SectionContentItem.d.ts +114 -0
  117. package/dist/models/SectionContentItem.js +96 -0
  118. package/dist/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
  119. package/dist/models/SectionContentItemOrChunkContentItem.js +53 -0
  120. package/dist/models/SubtreeChunkGroup.d.ts +62 -0
  121. package/dist/models/SubtreeChunkGroup.js +60 -0
  122. package/dist/models/SubtreeChunksResponse.d.ts +48 -0
  123. package/dist/models/SubtreeChunksResponse.js +53 -0
  124. package/dist/models/VersionChunkIdsResponse.d.ts +47 -0
  125. package/dist/models/VersionChunkIdsResponse.js +52 -0
  126. package/dist/models/index.d.ts +10 -4
  127. package/dist/models/index.js +10 -4
  128. package/docs/AuthApi.md +707 -0
  129. package/docs/BulkTagRequest.md +35 -0
  130. package/docs/ChunkBulkResponse.md +65 -0
  131. package/docs/ChunkContentItem.md +59 -0
  132. package/docs/ChunkLineageResponse.md +41 -0
  133. package/docs/ChunkLineagesApi.md +230 -0
  134. package/docs/ChunkMetadataInput.md +37 -0
  135. package/docs/ChunkMetadataOutput.md +37 -0
  136. package/docs/ChunkResponse.md +63 -0
  137. package/docs/ChunkSearchRequest.md +51 -0
  138. package/docs/ChunkType.md +33 -0
  139. package/docs/ChunksApi.md +590 -0
  140. package/docs/ClearVersionContentsResponse.md +35 -0
  141. package/docs/CreateChunkLineageRequest.md +37 -0
  142. package/docs/CreateChunkRequest.md +43 -0
  143. package/docs/CreateDocumentRequest.md +41 -0
  144. package/docs/CreateFolderRequest.md +37 -0
  145. package/docs/CreatePasswordUserRequest.md +36 -0
  146. package/docs/CreatePermissionRequest.md +40 -0
  147. package/docs/CreateSectionRequest.md +41 -0
  148. package/docs/CreateTagRequest.md +39 -0
  149. package/docs/CreateTenantRequest.md +37 -0
  150. package/docs/CreateThreadMessageRequest.md +37 -0
  151. package/docs/CreateThreadRequest.md +37 -0
  152. package/docs/DefaultApi.md +128 -0
  153. package/docs/DocumentOrigin.md +33 -0
  154. package/docs/DocumentResponse.md +63 -0
  155. package/docs/DocumentType.md +33 -0
  156. package/docs/DocumentVersionMetadata.md +47 -0
  157. package/docs/DocumentVersionMetadataUpdate.md +47 -0
  158. package/docs/DocumentVersionResponse.md +57 -0
  159. package/docs/DocumentVersionsApi.md +530 -0
  160. package/docs/DocumentsApi.md +464 -0
  161. package/docs/EmailSentResponse.md +34 -0
  162. package/docs/EmailVerificationRequest.md +34 -0
  163. package/docs/EmbeddingModel.md +33 -0
  164. package/docs/FolderResponse.md +55 -0
  165. package/docs/FolderResponseOrDocumentResponse.md +62 -0
  166. package/docs/FoldersApi.md +473 -0
  167. package/docs/HTTPValidationError.md +34 -0
  168. package/docs/HealthCheckResponse.md +36 -0
  169. package/docs/IdpType.md +33 -0
  170. package/docs/IngestDocumentResponse.md +39 -0
  171. package/docs/InviteResponse.md +53 -0
  172. package/docs/InviteStatus.md +32 -0
  173. package/docs/InviteUserRequest.md +38 -0
  174. package/docs/InvitesApi.md +305 -0
  175. package/docs/LineageEdgeResponse.md +37 -0
  176. package/docs/LineageGraphResponse.md +37 -0
  177. package/docs/LineageNodeResponse.md +47 -0
  178. package/docs/LocationInner.md +32 -0
  179. package/docs/MessageRole.md +33 -0
  180. package/docs/OAuth2Config.md +41 -0
  181. package/docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md +40 -0
  182. package/docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md +40 -0
  183. package/docs/PaginatedResponseDocumentResponse.md +40 -0
  184. package/docs/PaginatedResponseDocumentVersionResponse.md +40 -0
  185. package/docs/PaginatedResponseFolderResponse.md +40 -0
  186. package/docs/PaginatedResponseInviteResponse.md +40 -0
  187. package/docs/PaginatedResponsePathPartResponse.md +40 -0
  188. package/docs/PaginatedResponsePermissionResponse.md +40 -0
  189. package/docs/PaginatedResponseTagResponse.md +40 -0
  190. package/docs/PaginatedResponseTenantResponse.md +40 -0
  191. package/docs/PaginatedResponseTenantUserResponse.md +40 -0
  192. package/docs/PaginatedResponseThreadMessageResponse.md +40 -0
  193. package/docs/PaginatedResponseThreadResponse.md +40 -0
  194. package/docs/PaginatedResponseWorkflowSummaryResponse.md +40 -0
  195. package/docs/PartType.md +33 -0
  196. package/docs/PasswordResetRequest.md +36 -0
  197. package/docs/PasswordResetWithTokenRequest.md +36 -0
  198. package/docs/PathOrder.md +33 -0
  199. package/docs/PathPartResponse.md +53 -0
  200. package/docs/PathPartTagsResponse.md +35 -0
  201. package/docs/PathPartsApi.md +461 -0
  202. package/docs/PermissionCapability.md +33 -0
  203. package/docs/PermissionResponse.md +48 -0
  204. package/docs/PipelineState.md +45 -0
  205. package/docs/PipelineStatus.md +33 -0
  206. package/docs/Polygon.md +41 -0
  207. package/docs/PolygonReference.md +37 -0
  208. package/docs/RootResponse.md +36 -0
  209. package/docs/ScoredChunkResponse.md +65 -0
  210. package/docs/SectionContentItem.md +55 -0
  211. package/docs/SectionContentItemOrChunkContentItem.md +60 -0
  212. package/docs/SectionResponse.md +57 -0
  213. package/docs/SectionsApi.md +299 -0
  214. package/docs/SignInRequest.md +38 -0
  215. package/docs/SubtreeChunkGroup.md +39 -0
  216. package/docs/SubtreeChunksResponse.md +35 -0
  217. package/docs/TagResponse.md +47 -0
  218. package/docs/TagsApi.md +374 -0
  219. package/docs/TenantResponse.md +39 -0
  220. package/docs/TenantUserEditRequest.md +35 -0
  221. package/docs/TenantUserResponse.md +43 -0
  222. package/docs/TenantUserRole.md +33 -0
  223. package/docs/TenantsApi.md +605 -0
  224. package/docs/ThreadMessageResponse.md +53 -0
  225. package/docs/ThreadMessagesApi.md +239 -0
  226. package/docs/ThreadResponse.md +49 -0
  227. package/docs/ThreadsApi.md +455 -0
  228. package/docs/UpdateChunkContentRequest.md +37 -0
  229. package/docs/UpdateChunkMetadataRequest.md +35 -0
  230. package/docs/UpdateDocumentRequest.md +39 -0
  231. package/docs/UpdateFolderRequest.md +37 -0
  232. package/docs/UpdatePermissionRequest.md +36 -0
  233. package/docs/UpdateSectionRequest.md +41 -0
  234. package/docs/UpdateTagRequest.md +39 -0
  235. package/docs/UpdateTenantRequest.md +37 -0
  236. package/docs/UpdateThreadRequest.md +37 -0
  237. package/docs/UpdateUserRequest.md +34 -0
  238. package/docs/UserPermissionsApi.md +314 -0
  239. package/docs/UserResponse.md +44 -0
  240. package/docs/UsersApi.md +149 -0
  241. package/docs/ValidationError.md +42 -0
  242. package/docs/VersionChunkIdsResponse.md +35 -0
  243. package/docs/WorkflowAction.md +33 -0
  244. package/docs/WorkflowActionResponse.md +39 -0
  245. package/docs/WorkflowDetailResponse.md +63 -0
  246. package/docs/WorkflowSummaryResponse.md +49 -0
  247. package/docs/WorkflowsApi.md +230 -0
  248. package/package.json +1 -1
  249. package/src/apis/AuthApi.ts +214 -47
  250. package/src/apis/ChunkLineagesApi.ts +68 -15
  251. package/src/apis/ChunksApi.ts +298 -33
  252. package/src/apis/DefaultApi.ts +40 -10
  253. package/src/apis/DocumentVersionsApi.ts +170 -45
  254. package/src/apis/DocumentsApi.ts +140 -30
  255. package/src/apis/FoldersApi.ts +153 -40
  256. package/src/apis/InvitesApi.ts +91 -20
  257. package/src/apis/PathPartsApi.ts +260 -20
  258. package/src/apis/SectionsApi.ts +89 -20
  259. package/src/apis/TagsApi.ts +112 -25
  260. package/src/apis/TenantsApi.ts +183 -40
  261. package/src/apis/ThreadMessagesApi.ts +71 -15
  262. package/src/apis/ThreadsApi.ts +137 -30
  263. package/src/apis/UserPermissionsApi.ts +94 -20
  264. package/src/apis/UsersApi.ts +43 -10
  265. package/src/apis/WorkflowsApi.ts +68 -15
  266. package/src/models/ChunkBulkResponse.ts +232 -0
  267. package/src/models/{DocumentContentPathPart.ts → ChunkContentItem.ts} +43 -53
  268. package/src/models/ChunkSearchRequest.ts +20 -4
  269. package/src/models/DocumentResponse.ts +17 -0
  270. package/src/models/FolderResponse.ts +19 -0
  271. package/src/models/FolderResponseOrDocumentResponse.ts +72 -0
  272. package/src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts +130 -0
  273. package/src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts +130 -0
  274. package/src/models/SectionContentItem.ts +182 -0
  275. package/src/models/SectionContentItemOrChunkContentItem.ts +72 -0
  276. package/src/models/SubtreeChunkGroup.ts +104 -0
  277. package/src/models/SubtreeChunksResponse.ts +91 -0
  278. package/src/models/VersionChunkIdsResponse.ts +83 -0
  279. package/src/models/index.ts +10 -4
  280. package/dist/esm/models/FolderDocumentResponse.d.ts +0 -157
  281. package/dist/esm/models/FolderDocumentResponse.js +0 -99
  282. package/dist/esm/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
  283. package/dist/esm/models/PaginatedResponseDocumentContentPathPart.js +0 -70
  284. package/dist/esm/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
  285. package/dist/esm/models/PaginatedResponseFolderDocumentResponse.js +0 -70
  286. package/dist/models/FolderDocumentResponse.d.ts +0 -157
  287. package/dist/models/FolderDocumentResponse.js +0 -107
  288. package/dist/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
  289. package/dist/models/PaginatedResponseDocumentContentPathPart.js +0 -78
  290. package/dist/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
  291. package/dist/models/PaginatedResponseFolderDocumentResponse.js +0 -78
  292. package/src/models/FolderDocumentResponse.ts +0 -267
  293. package/src/models/PaginatedResponseDocumentContentPathPart.ts +0 -130
  294. package/src/models/PaginatedResponseFolderDocumentResponse.ts +0 -130
@@ -27,10 +27,9 @@ import { CreatePermissionRequestToJSON, PaginatedResponsePermissionResponseFromJ
27
27
  */
28
28
  export class UserPermissionsApi extends runtime.BaseAPI {
29
29
  /**
30
- * Create a path permission for a user in a tenant (admin/owner only).
31
- * Create User Permission Handler
30
+ * Creates request options for createUserPermission without sending the request
32
31
  */
33
- createUserPermissionRaw(requestParameters, initOverrides) {
32
+ createUserPermissionRequestOpts(requestParameters) {
34
33
  return __awaiter(this, void 0, void 0, function* () {
35
34
  if (requestParameters['createPermissionRequest'] == null) {
36
35
  throw new runtime.RequiredError('createPermissionRequest', 'Required parameter "createPermissionRequest" was null or undefined when calling createUserPermission().');
@@ -39,13 +38,23 @@ export class UserPermissionsApi extends runtime.BaseAPI {
39
38
  const headerParameters = {};
40
39
  headerParameters['Content-Type'] = 'application/json';
41
40
  let urlPath = `/v1/user-permissions`;
42
- const response = yield this.request({
41
+ return {
43
42
  path: urlPath,
44
43
  method: 'POST',
45
44
  headers: headerParameters,
46
45
  query: queryParameters,
47
46
  body: CreatePermissionRequestToJSON(requestParameters['createPermissionRequest']),
48
- }, initOverrides);
47
+ };
48
+ });
49
+ }
50
+ /**
51
+ * Create a path permission for a user in a tenant (admin/owner only).
52
+ * Create User Permission Handler
53
+ */
54
+ createUserPermissionRaw(requestParameters, initOverrides) {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ const requestOptions = yield this.createUserPermissionRequestOpts(requestParameters);
57
+ const response = yield this.request(requestOptions, initOverrides);
49
58
  return new runtime.JSONApiResponse(response, (jsonValue) => PermissionResponseFromJSON(jsonValue));
50
59
  });
51
60
  }
@@ -60,10 +69,9 @@ export class UserPermissionsApi extends runtime.BaseAPI {
60
69
  });
61
70
  }
62
71
  /**
63
- * Delete a path permission (admin/owner only).
64
- * Delete User Permission Handler
72
+ * Creates request options for deleteUserPermission without sending the request
65
73
  */
66
- deleteUserPermissionRaw(requestParameters, initOverrides) {
74
+ deleteUserPermissionRequestOpts(requestParameters) {
67
75
  return __awaiter(this, void 0, void 0, function* () {
68
76
  if (requestParameters['permissionId'] == null) {
69
77
  throw new runtime.RequiredError('permissionId', 'Required parameter "permissionId" was null or undefined when calling deleteUserPermission().');
@@ -78,12 +86,22 @@ export class UserPermissionsApi extends runtime.BaseAPI {
78
86
  const headerParameters = {};
79
87
  let urlPath = `/v1/user-permissions/{permission_id}`;
80
88
  urlPath = urlPath.replace(`{${"permission_id"}}`, encodeURIComponent(String(requestParameters['permissionId'])));
81
- const response = yield this.request({
89
+ return {
82
90
  path: urlPath,
83
91
  method: 'DELETE',
84
92
  headers: headerParameters,
85
93
  query: queryParameters,
86
- }, initOverrides);
94
+ };
95
+ });
96
+ }
97
+ /**
98
+ * Delete a path permission (admin/owner only).
99
+ * Delete User Permission Handler
100
+ */
101
+ deleteUserPermissionRaw(requestParameters, initOverrides) {
102
+ return __awaiter(this, void 0, void 0, function* () {
103
+ const requestOptions = yield this.deleteUserPermissionRequestOpts(requestParameters);
104
+ const response = yield this.request(requestOptions, initOverrides);
87
105
  return new runtime.VoidApiResponse(response);
88
106
  });
89
107
  }
@@ -97,10 +115,9 @@ export class UserPermissionsApi extends runtime.BaseAPI {
97
115
  });
98
116
  }
99
117
  /**
100
- * List path permissions for a user in a tenant (admin/owner only).
101
- * List User Permissions Handler
118
+ * Creates request options for listUserPermissions without sending the request
102
119
  */
103
- listUserPermissionsRaw(requestParameters, initOverrides) {
120
+ listUserPermissionsRequestOpts(requestParameters) {
104
121
  return __awaiter(this, void 0, void 0, function* () {
105
122
  if (requestParameters['tenantId'] == null) {
106
123
  throw new runtime.RequiredError('tenantId', 'Required parameter "tenantId" was null or undefined when calling listUserPermissions().');
@@ -123,12 +140,22 @@ export class UserPermissionsApi extends runtime.BaseAPI {
123
140
  }
124
141
  const headerParameters = {};
125
142
  let urlPath = `/v1/user-permissions`;
126
- const response = yield this.request({
143
+ return {
127
144
  path: urlPath,
128
145
  method: 'GET',
129
146
  headers: headerParameters,
130
147
  query: queryParameters,
131
- }, initOverrides);
148
+ };
149
+ });
150
+ }
151
+ /**
152
+ * List path permissions for a user in a tenant (admin/owner only).
153
+ * List User Permissions Handler
154
+ */
155
+ listUserPermissionsRaw(requestParameters, initOverrides) {
156
+ return __awaiter(this, void 0, void 0, function* () {
157
+ const requestOptions = yield this.listUserPermissionsRequestOpts(requestParameters);
158
+ const response = yield this.request(requestOptions, initOverrides);
132
159
  return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResponsePermissionResponseFromJSON(jsonValue));
133
160
  });
134
161
  }
@@ -143,10 +170,9 @@ export class UserPermissionsApi extends runtime.BaseAPI {
143
170
  });
144
171
  }
145
172
  /**
146
- * Update a path permission (admin/owner only).
147
- * Update User Permission Handler
173
+ * Creates request options for updateUserPermission without sending the request
148
174
  */
149
- updateUserPermissionRaw(requestParameters, initOverrides) {
175
+ updateUserPermissionRequestOpts(requestParameters) {
150
176
  return __awaiter(this, void 0, void 0, function* () {
151
177
  if (requestParameters['permissionId'] == null) {
152
178
  throw new runtime.RequiredError('permissionId', 'Required parameter "permissionId" was null or undefined when calling updateUserPermission().');
@@ -165,13 +191,23 @@ export class UserPermissionsApi extends runtime.BaseAPI {
165
191
  headerParameters['Content-Type'] = 'application/json';
166
192
  let urlPath = `/v1/user-permissions/{permission_id}`;
167
193
  urlPath = urlPath.replace(`{${"permission_id"}}`, encodeURIComponent(String(requestParameters['permissionId'])));
168
- const response = yield this.request({
194
+ return {
169
195
  path: urlPath,
170
196
  method: 'PATCH',
171
197
  headers: headerParameters,
172
198
  query: queryParameters,
173
199
  body: UpdatePermissionRequestToJSON(requestParameters['updatePermissionRequest']),
174
- }, initOverrides);
200
+ };
201
+ });
202
+ }
203
+ /**
204
+ * Update a path permission (admin/owner only).
205
+ * Update User Permission Handler
206
+ */
207
+ updateUserPermissionRaw(requestParameters, initOverrides) {
208
+ return __awaiter(this, void 0, void 0, function* () {
209
+ const requestOptions = yield this.updateUserPermissionRequestOpts(requestParameters);
210
+ const response = yield this.request(requestOptions, initOverrides);
175
211
  return new runtime.JSONApiResponse(response, (jsonValue) => PermissionResponseFromJSON(jsonValue));
176
212
  });
177
213
  }
@@ -25,6 +25,13 @@ export interface UpdateMeRequest {
25
25
  * @interface UsersApiInterface
26
26
  */
27
27
  export interface UsersApiInterface {
28
+ /**
29
+ * Creates request options for getMe without sending the request
30
+ * @param {string} [ksUat]
31
+ * @throws {RequiredError}
32
+ * @memberof UsersApiInterface
33
+ */
34
+ getMeRequestOpts(requestParameters: GetMeRequest): Promise<runtime.RequestOpts>;
28
35
  /**
29
36
  * Get current user information including current tenant context. Returns the authenticated user\'s profile along with their current tenant ID (from the UAT token) and default tenant ID (from user record).
30
37
  * @summary Get Me Handler
@@ -39,6 +46,14 @@ export interface UsersApiInterface {
39
46
  * Get Me Handler
40
47
  */
41
48
  getMe(requestParameters: GetMeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
49
+ /**
50
+ * Creates request options for updateMe without sending the request
51
+ * @param {UpdateUserRequest} updateUserRequest
52
+ * @param {string} [ksUat]
53
+ * @throws {RequiredError}
54
+ * @memberof UsersApiInterface
55
+ */
56
+ updateMeRequestOpts(requestParameters: UpdateMeRequest): Promise<runtime.RequestOpts>;
42
57
  /**
43
58
  * Update the user\'s default tenant. The user must belong to the specified tenant.
44
59
  * @summary Update Me Handler
@@ -59,6 +74,10 @@ export interface UsersApiInterface {
59
74
  *
60
75
  */
61
76
  export declare class UsersApi extends runtime.BaseAPI implements UsersApiInterface {
77
+ /**
78
+ * Creates request options for getMe without sending the request
79
+ */
80
+ getMeRequestOpts(requestParameters: GetMeRequest): Promise<runtime.RequestOpts>;
62
81
  /**
63
82
  * Get current user information including current tenant context. Returns the authenticated user\'s profile along with their current tenant ID (from the UAT token) and default tenant ID (from user record).
64
83
  * Get Me Handler
@@ -69,6 +88,10 @@ export declare class UsersApi extends runtime.BaseAPI implements UsersApiInterfa
69
88
  * Get Me Handler
70
89
  */
71
90
  getMe(requestParameters?: GetMeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserResponse>;
91
+ /**
92
+ * Creates request options for updateMe without sending the request
93
+ */
94
+ updateMeRequestOpts(requestParameters: UpdateMeRequest): Promise<runtime.RequestOpts>;
72
95
  /**
73
96
  * Update the user\'s default tenant. The user must belong to the specified tenant.
74
97
  * Update Me Handler
@@ -27,20 +27,29 @@ import { UpdateUserRequestToJSON, UserResponseFromJSON, } from '../models/index'
27
27
  */
28
28
  export class UsersApi extends runtime.BaseAPI {
29
29
  /**
30
- * Get current user information including current tenant context. Returns the authenticated user\'s profile along with their current tenant ID (from the UAT token) and default tenant ID (from user record).
31
- * Get Me Handler
30
+ * Creates request options for getMe without sending the request
32
31
  */
33
- getMeRaw(requestParameters, initOverrides) {
32
+ getMeRequestOpts(requestParameters) {
34
33
  return __awaiter(this, void 0, void 0, function* () {
35
34
  const queryParameters = {};
36
35
  const headerParameters = {};
37
36
  let urlPath = `/v1/users/me`;
38
- const response = yield this.request({
37
+ return {
39
38
  path: urlPath,
40
39
  method: 'GET',
41
40
  headers: headerParameters,
42
41
  query: queryParameters,
43
- }, initOverrides);
42
+ };
43
+ });
44
+ }
45
+ /**
46
+ * Get current user information including current tenant context. Returns the authenticated user\'s profile along with their current tenant ID (from the UAT token) and default tenant ID (from user record).
47
+ * Get Me Handler
48
+ */
49
+ getMeRaw(requestParameters, initOverrides) {
50
+ return __awaiter(this, void 0, void 0, function* () {
51
+ const requestOptions = yield this.getMeRequestOpts(requestParameters);
52
+ const response = yield this.request(requestOptions, initOverrides);
44
53
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
45
54
  });
46
55
  }
@@ -55,10 +64,9 @@ export class UsersApi extends runtime.BaseAPI {
55
64
  });
56
65
  }
57
66
  /**
58
- * Update the user\'s default tenant. The user must belong to the specified tenant.
59
- * Update Me Handler
67
+ * Creates request options for updateMe without sending the request
60
68
  */
61
- updateMeRaw(requestParameters, initOverrides) {
69
+ updateMeRequestOpts(requestParameters) {
62
70
  return __awaiter(this, void 0, void 0, function* () {
63
71
  if (requestParameters['updateUserRequest'] == null) {
64
72
  throw new runtime.RequiredError('updateUserRequest', 'Required parameter "updateUserRequest" was null or undefined when calling updateMe().');
@@ -67,13 +75,23 @@ export class UsersApi extends runtime.BaseAPI {
67
75
  const headerParameters = {};
68
76
  headerParameters['Content-Type'] = 'application/json';
69
77
  let urlPath = `/v1/users`;
70
- const response = yield this.request({
78
+ return {
71
79
  path: urlPath,
72
80
  method: 'PATCH',
73
81
  headers: headerParameters,
74
82
  query: queryParameters,
75
83
  body: UpdateUserRequestToJSON(requestParameters['updateUserRequest']),
76
- }, initOverrides);
84
+ };
85
+ });
86
+ }
87
+ /**
88
+ * Update the user\'s default tenant. The user must belong to the specified tenant.
89
+ * Update Me Handler
90
+ */
91
+ updateMeRaw(requestParameters, initOverrides) {
92
+ return __awaiter(this, void 0, void 0, function* () {
93
+ const requestOptions = yield this.updateMeRequestOpts(requestParameters);
94
+ const response = yield this.request(requestOptions, initOverrides);
77
95
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
78
96
  });
79
97
  }
@@ -32,6 +32,14 @@ export interface WorkflowActionRequest {
32
32
  * @interface WorkflowsApiInterface
33
33
  */
34
34
  export interface WorkflowsApiInterface {
35
+ /**
36
+ * Creates request options for getWorkflow without sending the request
37
+ * @param {string} workflowId
38
+ * @param {string} [ksUat]
39
+ * @throws {RequiredError}
40
+ * @memberof WorkflowsApiInterface
41
+ */
42
+ getWorkflowRequestOpts(requestParameters: GetWorkflowRequest): Promise<runtime.RequestOpts>;
35
43
  /**
36
44
  * Get single workflow detail with live Temporal status.
37
45
  * @summary Get Workflow Handler
@@ -47,6 +55,15 @@ export interface WorkflowsApiInterface {
47
55
  * Get Workflow Handler
48
56
  */
49
57
  getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
58
+ /**
59
+ * Creates request options for listWorkflows without sending the request
60
+ * @param {number} [limit] Number of items per page
61
+ * @param {number} [offset] Number of items to skip
62
+ * @param {string} [ksUat]
63
+ * @throws {RequiredError}
64
+ * @memberof WorkflowsApiInterface
65
+ */
66
+ listWorkflowsRequestOpts(requestParameters: ListWorkflowsRequest): Promise<runtime.RequestOpts>;
50
67
  /**
51
68
  * List all workflows for the current tenant (paginated, DB-backed).
52
69
  * @summary List Workflows Handler
@@ -63,6 +80,15 @@ export interface WorkflowsApiInterface {
63
80
  * List Workflows Handler
64
81
  */
65
82
  listWorkflows(requestParameters: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
83
+ /**
84
+ * Creates request options for workflowAction without sending the request
85
+ * @param {string} workflowId
86
+ * @param {WorkflowAction} action Action to perform
87
+ * @param {string} [ksUat]
88
+ * @throws {RequiredError}
89
+ * @memberof WorkflowsApiInterface
90
+ */
91
+ workflowActionRequestOpts(requestParameters: WorkflowActionRequest): Promise<runtime.RequestOpts>;
66
92
  /**
67
93
  * Cancel or rerun a workflow (OWNER/ADMIN only).
68
94
  * @summary Workflow Action Handler
@@ -84,6 +110,10 @@ export interface WorkflowsApiInterface {
84
110
  *
85
111
  */
86
112
  export declare class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterface {
113
+ /**
114
+ * Creates request options for getWorkflow without sending the request
115
+ */
116
+ getWorkflowRequestOpts(requestParameters: GetWorkflowRequest): Promise<runtime.RequestOpts>;
87
117
  /**
88
118
  * Get single workflow detail with live Temporal status.
89
119
  * Get Workflow Handler
@@ -94,6 +124,10 @@ export declare class WorkflowsApi extends runtime.BaseAPI implements WorkflowsAp
94
124
  * Get Workflow Handler
95
125
  */
96
126
  getWorkflow(requestParameters: GetWorkflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowDetailResponse>;
127
+ /**
128
+ * Creates request options for listWorkflows without sending the request
129
+ */
130
+ listWorkflowsRequestOpts(requestParameters: ListWorkflowsRequest): Promise<runtime.RequestOpts>;
97
131
  /**
98
132
  * List all workflows for the current tenant (paginated, DB-backed).
99
133
  * List Workflows Handler
@@ -104,6 +138,10 @@ export declare class WorkflowsApi extends runtime.BaseAPI implements WorkflowsAp
104
138
  * List Workflows Handler
105
139
  */
106
140
  listWorkflows(requestParameters?: ListWorkflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseWorkflowSummaryResponse>;
141
+ /**
142
+ * Creates request options for workflowAction without sending the request
143
+ */
144
+ workflowActionRequestOpts(requestParameters: WorkflowActionRequest): Promise<runtime.RequestOpts>;
107
145
  /**
108
146
  * Cancel or rerun a workflow (OWNER/ADMIN only).
109
147
  * Workflow Action Handler
@@ -27,10 +27,9 @@ import { PaginatedResponseWorkflowSummaryResponseFromJSON, WorkflowActionRespons
27
27
  */
28
28
  export class WorkflowsApi extends runtime.BaseAPI {
29
29
  /**
30
- * Get single workflow detail with live Temporal status.
31
- * Get Workflow Handler
30
+ * Creates request options for getWorkflow without sending the request
32
31
  */
33
- getWorkflowRaw(requestParameters, initOverrides) {
32
+ getWorkflowRequestOpts(requestParameters) {
34
33
  return __awaiter(this, void 0, void 0, function* () {
35
34
  if (requestParameters['workflowId'] == null) {
36
35
  throw new runtime.RequiredError('workflowId', 'Required parameter "workflowId" was null or undefined when calling getWorkflow().');
@@ -39,12 +38,22 @@ export class WorkflowsApi extends runtime.BaseAPI {
39
38
  const headerParameters = {};
40
39
  let urlPath = `/v1/workflows/{workflow_id}`;
41
40
  urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
42
- const response = yield this.request({
41
+ return {
43
42
  path: urlPath,
44
43
  method: 'GET',
45
44
  headers: headerParameters,
46
45
  query: queryParameters,
47
- }, initOverrides);
46
+ };
47
+ });
48
+ }
49
+ /**
50
+ * Get single workflow detail with live Temporal status.
51
+ * Get Workflow Handler
52
+ */
53
+ getWorkflowRaw(requestParameters, initOverrides) {
54
+ return __awaiter(this, void 0, void 0, function* () {
55
+ const requestOptions = yield this.getWorkflowRequestOpts(requestParameters);
56
+ const response = yield this.request(requestOptions, initOverrides);
48
57
  return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
49
58
  });
50
59
  }
@@ -59,10 +68,9 @@ export class WorkflowsApi extends runtime.BaseAPI {
59
68
  });
60
69
  }
61
70
  /**
62
- * List all workflows for the current tenant (paginated, DB-backed).
63
- * List Workflows Handler
71
+ * Creates request options for listWorkflows without sending the request
64
72
  */
65
- listWorkflowsRaw(requestParameters, initOverrides) {
73
+ listWorkflowsRequestOpts(requestParameters) {
66
74
  return __awaiter(this, void 0, void 0, function* () {
67
75
  const queryParameters = {};
68
76
  if (requestParameters['limit'] != null) {
@@ -73,12 +81,22 @@ export class WorkflowsApi extends runtime.BaseAPI {
73
81
  }
74
82
  const headerParameters = {};
75
83
  let urlPath = `/v1/workflows`;
76
- const response = yield this.request({
84
+ return {
77
85
  path: urlPath,
78
86
  method: 'GET',
79
87
  headers: headerParameters,
80
88
  query: queryParameters,
81
- }, initOverrides);
89
+ };
90
+ });
91
+ }
92
+ /**
93
+ * List all workflows for the current tenant (paginated, DB-backed).
94
+ * List Workflows Handler
95
+ */
96
+ listWorkflowsRaw(requestParameters, initOverrides) {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ const requestOptions = yield this.listWorkflowsRequestOpts(requestParameters);
99
+ const response = yield this.request(requestOptions, initOverrides);
82
100
  return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResponseWorkflowSummaryResponseFromJSON(jsonValue));
83
101
  });
84
102
  }
@@ -93,10 +111,9 @@ export class WorkflowsApi extends runtime.BaseAPI {
93
111
  });
94
112
  }
95
113
  /**
96
- * Cancel or rerun a workflow (OWNER/ADMIN only).
97
- * Workflow Action Handler
114
+ * Creates request options for workflowAction without sending the request
98
115
  */
99
- workflowActionRaw(requestParameters, initOverrides) {
116
+ workflowActionRequestOpts(requestParameters) {
100
117
  return __awaiter(this, void 0, void 0, function* () {
101
118
  if (requestParameters['workflowId'] == null) {
102
119
  throw new runtime.RequiredError('workflowId', 'Required parameter "workflowId" was null or undefined when calling workflowAction().');
@@ -111,12 +128,22 @@ export class WorkflowsApi extends runtime.BaseAPI {
111
128
  const headerParameters = {};
112
129
  let urlPath = `/v1/workflows/{workflow_id}`;
113
130
  urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
114
- const response = yield this.request({
131
+ return {
115
132
  path: urlPath,
116
133
  method: 'POST',
117
134
  headers: headerParameters,
118
135
  query: queryParameters,
119
- }, initOverrides);
136
+ };
137
+ });
138
+ }
139
+ /**
140
+ * Cancel or rerun a workflow (OWNER/ADMIN only).
141
+ * Workflow Action Handler
142
+ */
143
+ workflowActionRaw(requestParameters, initOverrides) {
144
+ return __awaiter(this, void 0, void 0, function* () {
145
+ const requestOptions = yield this.workflowActionRequestOpts(requestParameters);
146
+ const response = yield this.request(requestOptions, initOverrides);
120
147
  return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowActionResponseFromJSON(jsonValue));
121
148
  });
122
149
  }
@@ -0,0 +1,139 @@
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
+ import type { ChunkMetadataOutput } from './ChunkMetadataOutput';
13
+ import type { ChunkType } from './ChunkType';
14
+ /**
15
+ * Chunk response with ancestor path part IDs for Qdrant payload construction.
16
+ * @export
17
+ * @interface ChunkBulkResponse
18
+ */
19
+ export interface ChunkBulkResponse {
20
+ /**
21
+ * Chunk ID
22
+ * @type {string}
23
+ * @memberof ChunkBulkResponse
24
+ */
25
+ id: string;
26
+ /**
27
+ * PathPart ID
28
+ * @type {string}
29
+ * @memberof ChunkBulkResponse
30
+ */
31
+ pathPartId: string;
32
+ /**
33
+ * ChunkContent ID
34
+ * @type {string}
35
+ * @memberof ChunkBulkResponse
36
+ */
37
+ contentId: string;
38
+ /**
39
+ * Chunk text content
40
+ * @type {string}
41
+ * @memberof ChunkBulkResponse
42
+ */
43
+ content: string;
44
+ /**
45
+ *
46
+ * @type {ChunkType}
47
+ * @memberof ChunkBulkResponse
48
+ */
49
+ chunkType: ChunkType;
50
+ /**
51
+ *
52
+ * @type {ChunkMetadataOutput}
53
+ * @memberof ChunkBulkResponse
54
+ */
55
+ chunkMetadata: ChunkMetadataOutput;
56
+ /**
57
+ * Parent PathPart ID
58
+ * @type {string}
59
+ * @memberof ChunkBulkResponse
60
+ */
61
+ parentPathId: string;
62
+ /**
63
+ * Previous sibling PathPart ID
64
+ * @type {string}
65
+ * @memberof ChunkBulkResponse
66
+ */
67
+ prevSiblingPathId?: string | null;
68
+ /**
69
+ * Next sibling PathPart ID
70
+ * @type {string}
71
+ * @memberof ChunkBulkResponse
72
+ */
73
+ nextSiblingPathId?: string | null;
74
+ /**
75
+ * Full materialized path from root
76
+ * @type {string}
77
+ * @memberof ChunkBulkResponse
78
+ */
79
+ materializedPath: string;
80
+ /**
81
+ * Whether this chunk is system-managed
82
+ * @type {boolean}
83
+ * @memberof ChunkBulkResponse
84
+ */
85
+ systemManaged: boolean;
86
+ /**
87
+ * Tenant ID
88
+ * @type {string}
89
+ * @memberof ChunkBulkResponse
90
+ */
91
+ tenantId: string;
92
+ /**
93
+ * Creation timestamp
94
+ * @type {Date}
95
+ * @memberof ChunkBulkResponse
96
+ */
97
+ createdAt: Date;
98
+ /**
99
+ * Last update timestamp
100
+ * @type {Date}
101
+ * @memberof ChunkBulkResponse
102
+ */
103
+ updatedAt: Date;
104
+ /**
105
+ * Presigned URL to download the chunk's visual asset (6-hour validity)
106
+ * @type {string}
107
+ * @memberof ChunkBulkResponse
108
+ */
109
+ assetS3Url?: string | null;
110
+ /**
111
+ * Ordered ancestor PathPart IDs from root to chunk
112
+ * @type {Array<string>}
113
+ * @memberof ChunkBulkResponse
114
+ */
115
+ pathPartIdSegments: Array<string>;
116
+ }
117
+ /**
118
+ * Check if a given object implements the ChunkBulkResponse interface.
119
+ */
120
+ export declare function instanceOfChunkBulkResponse(value: object): value is ChunkBulkResponse;
121
+ export declare function ChunkBulkResponseFromJSON(json: any): ChunkBulkResponse;
122
+ export declare function ChunkBulkResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChunkBulkResponse;
123
+ export declare function ChunkBulkResponseToJSON(json: any): ChunkBulkResponse;
124
+ export declare function ChunkBulkResponseToJSONTyped(value?: ChunkBulkResponse | null, ignoreDiscriminator?: boolean): any;
125
+ export declare const ChunkBulkResponsePropertyValidationAttributesMap: {
126
+ [property: string]: {
127
+ maxLength?: number;
128
+ minLength?: number;
129
+ pattern?: string;
130
+ maximum?: number;
131
+ exclusiveMaximum?: boolean;
132
+ minimum?: number;
133
+ exclusiveMinimum?: boolean;
134
+ multipleOf?: number;
135
+ maxItems?: number;
136
+ minItems?: number;
137
+ uniqueItems?: boolean;
138
+ };
139
+ };