@knowledge-stack/ksapi 1.23.4 → 1.24.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 (298) hide show
  1. package/.openapi-generator/FILES +125 -6
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +274 -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 +78 -4
  9. package/dist/apis/ChunksApi.js +85 -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 +54 -0
  21. package/dist/apis/PathPartsApi.js +56 -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 +172 -5
  27. package/dist/apis/TenantsApi.js +179 -31
  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 +78 -4
  43. package/dist/esm/apis/ChunksApi.js +85 -31
  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 +54 -0
  55. package/dist/esm/apis/PathPartsApi.js +56 -20
  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 +172 -5
  61. package/dist/esm/apis/TenantsApi.js +180 -32
  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/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
  73. package/dist/esm/models/{DocumentContentPathPart.js → ChunkContentItem.js} +17 -16
  74. package/dist/esm/models/ChunkResponse.d.ts +6 -0
  75. package/dist/esm/models/ChunkResponse.js +2 -0
  76. package/dist/esm/models/DocumentResponse.d.ts +13 -0
  77. package/dist/esm/models/DocumentResponse.js +8 -0
  78. package/dist/esm/models/FolderResponse.d.ts +13 -0
  79. package/dist/esm/models/FolderResponse.js +8 -0
  80. package/dist/esm/models/FolderResponseOrDocumentResponse.d.ts +27 -0
  81. package/dist/esm/models/FolderResponseOrDocumentResponse.js +47 -0
  82. package/dist/esm/models/InviteResponse.d.ts +7 -0
  83. package/dist/esm/models/InviteResponse.js +5 -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/PaginatedResponseTenantUserResponse.d.ts +66 -0
  89. package/dist/esm/models/{PaginatedResponseTenantUserInTenantResponse.js → PaginatedResponseTenantUserResponse.js} +12 -12
  90. package/dist/esm/models/ScoredChunkResponse.d.ts +6 -0
  91. package/dist/esm/models/ScoredChunkResponse.js +2 -0
  92. package/dist/esm/models/SectionContentItem.d.ts +114 -0
  93. package/dist/esm/models/SectionContentItem.js +86 -0
  94. package/dist/esm/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
  95. package/dist/esm/models/SectionContentItemOrChunkContentItem.js +47 -0
  96. package/dist/esm/models/TenantUserEditRequest.d.ts +48 -0
  97. package/dist/esm/models/TenantUserEditRequest.js +45 -0
  98. package/dist/esm/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
  99. package/dist/esm/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +13 -9
  100. package/dist/esm/models/index.d.ts +9 -6
  101. package/dist/esm/models/index.js +9 -6
  102. package/dist/models/{DocumentContentPathPart.d.ts → ChunkContentItem.d.ts} +37 -40
  103. package/dist/models/{DocumentContentPathPart.js → ChunkContentItem.js} +23 -22
  104. package/dist/models/ChunkResponse.d.ts +6 -0
  105. package/dist/models/ChunkResponse.js +2 -0
  106. package/dist/models/DocumentResponse.d.ts +13 -0
  107. package/dist/models/DocumentResponse.js +9 -1
  108. package/dist/models/FolderResponse.d.ts +13 -0
  109. package/dist/models/FolderResponse.js +9 -1
  110. package/dist/models/FolderResponseOrDocumentResponse.d.ts +27 -0
  111. package/dist/models/FolderResponseOrDocumentResponse.js +53 -0
  112. package/dist/models/InviteResponse.d.ts +7 -0
  113. package/dist/models/InviteResponse.js +5 -0
  114. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +66 -0
  115. package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +78 -0
  116. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.d.ts +66 -0
  117. package/dist/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.js +78 -0
  118. package/dist/models/PaginatedResponseTenantUserResponse.d.ts +66 -0
  119. package/dist/models/PaginatedResponseTenantUserResponse.js +78 -0
  120. package/dist/models/ScoredChunkResponse.d.ts +6 -0
  121. package/dist/models/ScoredChunkResponse.js +2 -0
  122. package/dist/models/SectionContentItem.d.ts +114 -0
  123. package/dist/models/SectionContentItem.js +94 -0
  124. package/dist/models/SectionContentItemOrChunkContentItem.d.ts +27 -0
  125. package/dist/models/SectionContentItemOrChunkContentItem.js +53 -0
  126. package/dist/models/TenantUserEditRequest.d.ts +48 -0
  127. package/dist/models/TenantUserEditRequest.js +53 -0
  128. package/dist/models/{TenantUserInTenantResponse.d.ts → TenantUserResponse.d.ts} +19 -13
  129. package/dist/models/{TenantUserInTenantResponse.js → TenantUserResponse.js} +19 -15
  130. package/dist/models/index.d.ts +9 -6
  131. package/dist/models/index.js +9 -6
  132. package/docs/AuthApi.md +707 -0
  133. package/docs/BulkTagRequest.md +35 -0
  134. package/docs/ChunkContentItem.md +59 -0
  135. package/docs/ChunkLineageResponse.md +41 -0
  136. package/docs/ChunkLineagesApi.md +230 -0
  137. package/docs/ChunkMetadataInput.md +37 -0
  138. package/docs/ChunkMetadataOutput.md +37 -0
  139. package/docs/ChunkResponse.md +63 -0
  140. package/docs/ChunkSearchRequest.md +47 -0
  141. package/docs/ChunkType.md +33 -0
  142. package/docs/ChunksApi.md +446 -0
  143. package/docs/ClearVersionContentsResponse.md +35 -0
  144. package/docs/CreateChunkLineageRequest.md +37 -0
  145. package/docs/CreateChunkRequest.md +43 -0
  146. package/docs/CreateDocumentRequest.md +41 -0
  147. package/docs/CreateFolderRequest.md +37 -0
  148. package/docs/CreatePasswordUserRequest.md +36 -0
  149. package/docs/CreatePermissionRequest.md +40 -0
  150. package/docs/CreateSectionRequest.md +41 -0
  151. package/docs/CreateTagRequest.md +39 -0
  152. package/docs/CreateTenantRequest.md +37 -0
  153. package/docs/CreateThreadMessageRequest.md +37 -0
  154. package/docs/CreateThreadRequest.md +37 -0
  155. package/docs/DefaultApi.md +128 -0
  156. package/docs/DocumentOrigin.md +33 -0
  157. package/docs/DocumentResponse.md +63 -0
  158. package/docs/DocumentType.md +33 -0
  159. package/docs/DocumentVersionMetadata.md +47 -0
  160. package/docs/DocumentVersionMetadataUpdate.md +47 -0
  161. package/docs/DocumentVersionResponse.md +57 -0
  162. package/docs/DocumentVersionsApi.md +530 -0
  163. package/docs/DocumentsApi.md +464 -0
  164. package/docs/EmailSentResponse.md +34 -0
  165. package/docs/EmailVerificationRequest.md +34 -0
  166. package/docs/EmbeddingModel.md +33 -0
  167. package/docs/FolderResponse.md +55 -0
  168. package/docs/FolderResponseOrDocumentResponse.md +62 -0
  169. package/docs/FoldersApi.md +473 -0
  170. package/docs/HTTPValidationError.md +34 -0
  171. package/docs/HealthCheckResponse.md +36 -0
  172. package/docs/IdpType.md +33 -0
  173. package/docs/IngestDocumentResponse.md +39 -0
  174. package/docs/InviteResponse.md +53 -0
  175. package/docs/InviteStatus.md +32 -0
  176. package/docs/InviteUserRequest.md +38 -0
  177. package/docs/InvitesApi.md +305 -0
  178. package/docs/LineageEdgeResponse.md +37 -0
  179. package/docs/LineageGraphResponse.md +37 -0
  180. package/docs/LineageNodeResponse.md +47 -0
  181. package/docs/LocationInner.md +32 -0
  182. package/docs/MessageRole.md +33 -0
  183. package/docs/OAuth2Config.md +41 -0
  184. package/docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md +40 -0
  185. package/docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md +40 -0
  186. package/docs/PaginatedResponseDocumentResponse.md +40 -0
  187. package/docs/PaginatedResponseDocumentVersionResponse.md +40 -0
  188. package/docs/PaginatedResponseFolderResponse.md +40 -0
  189. package/docs/PaginatedResponseInviteResponse.md +40 -0
  190. package/docs/PaginatedResponsePathPartResponse.md +40 -0
  191. package/docs/PaginatedResponsePermissionResponse.md +40 -0
  192. package/docs/PaginatedResponseTagResponse.md +40 -0
  193. package/docs/PaginatedResponseTenantResponse.md +40 -0
  194. package/docs/PaginatedResponseTenantUserResponse.md +40 -0
  195. package/docs/PaginatedResponseThreadMessageResponse.md +40 -0
  196. package/docs/PaginatedResponseThreadResponse.md +40 -0
  197. package/docs/PaginatedResponseWorkflowSummaryResponse.md +40 -0
  198. package/docs/PartType.md +33 -0
  199. package/docs/PasswordResetRequest.md +36 -0
  200. package/docs/PasswordResetWithTokenRequest.md +36 -0
  201. package/docs/PathOrder.md +33 -0
  202. package/docs/PathPartResponse.md +53 -0
  203. package/docs/PathPartTagsResponse.md +35 -0
  204. package/docs/PathPartsApi.md +314 -0
  205. package/docs/PermissionCapability.md +33 -0
  206. package/docs/PermissionResponse.md +48 -0
  207. package/docs/PipelineState.md +45 -0
  208. package/docs/PipelineStatus.md +33 -0
  209. package/docs/Polygon.md +41 -0
  210. package/docs/PolygonReference.md +37 -0
  211. package/docs/RootResponse.md +36 -0
  212. package/docs/ScoredChunkResponse.md +65 -0
  213. package/docs/SectionContentItem.md +55 -0
  214. package/docs/SectionContentItemOrChunkContentItem.md +60 -0
  215. package/docs/SectionResponse.md +57 -0
  216. package/docs/SectionsApi.md +299 -0
  217. package/docs/SignInRequest.md +38 -0
  218. package/docs/TagResponse.md +47 -0
  219. package/docs/TagsApi.md +374 -0
  220. package/docs/TenantResponse.md +39 -0
  221. package/docs/TenantUserEditRequest.md +35 -0
  222. package/docs/TenantUserResponse.md +43 -0
  223. package/docs/TenantUserRole.md +33 -0
  224. package/docs/TenantsApi.md +605 -0
  225. package/docs/ThreadMessageResponse.md +53 -0
  226. package/docs/ThreadMessagesApi.md +239 -0
  227. package/docs/ThreadResponse.md +49 -0
  228. package/docs/ThreadsApi.md +455 -0
  229. package/docs/UpdateChunkContentRequest.md +37 -0
  230. package/docs/UpdateChunkMetadataRequest.md +35 -0
  231. package/docs/UpdateDocumentRequest.md +39 -0
  232. package/docs/UpdateFolderRequest.md +37 -0
  233. package/docs/UpdatePermissionRequest.md +36 -0
  234. package/docs/UpdateSectionRequest.md +41 -0
  235. package/docs/UpdateTagRequest.md +39 -0
  236. package/docs/UpdateTenantRequest.md +37 -0
  237. package/docs/UpdateThreadRequest.md +37 -0
  238. package/docs/UpdateUserRequest.md +34 -0
  239. package/docs/UserPermissionsApi.md +314 -0
  240. package/docs/UserResponse.md +44 -0
  241. package/docs/UsersApi.md +149 -0
  242. package/docs/ValidationError.md +42 -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 +137 -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 +94 -20
  258. package/src/apis/SectionsApi.ts +89 -20
  259. package/src/apis/TagsApi.ts +112 -25
  260. package/src/apis/TenantsApi.ts +339 -37
  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/{DocumentContentPathPart.ts → ChunkContentItem.ts} +42 -53
  267. package/src/models/ChunkResponse.ts +8 -0
  268. package/src/models/DocumentResponse.ts +16 -0
  269. package/src/models/FolderResponse.ts +18 -0
  270. package/src/models/FolderResponseOrDocumentResponse.ts +72 -0
  271. package/src/models/InviteResponse.ts +19 -0
  272. package/src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts +130 -0
  273. package/src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts +130 -0
  274. package/src/models/{PaginatedResponseFolderDocumentResponse.ts → PaginatedResponseTenantUserResponse.ts} +25 -25
  275. package/src/models/ScoredChunkResponse.ts +8 -0
  276. package/src/models/SectionContentItem.ts +181 -0
  277. package/src/models/SectionContentItemOrChunkContentItem.ts +72 -0
  278. package/src/models/TenantUserEditRequest.ts +93 -0
  279. package/src/models/{TenantUserInTenantResponse.ts → TenantUserResponse.ts} +24 -15
  280. package/src/models/index.ts +9 -6
  281. package/dist/esm/models/FolderDocumentResponse.d.ts +0 -157
  282. package/dist/esm/models/FolderDocumentResponse.js +0 -99
  283. package/dist/esm/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
  284. package/dist/esm/models/PaginatedResponseDocumentContentPathPart.js +0 -70
  285. package/dist/esm/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
  286. package/dist/esm/models/PaginatedResponseFolderDocumentResponse.js +0 -70
  287. package/dist/esm/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
  288. package/dist/models/FolderDocumentResponse.d.ts +0 -157
  289. package/dist/models/FolderDocumentResponse.js +0 -107
  290. package/dist/models/PaginatedResponseDocumentContentPathPart.d.ts +0 -66
  291. package/dist/models/PaginatedResponseDocumentContentPathPart.js +0 -78
  292. package/dist/models/PaginatedResponseFolderDocumentResponse.d.ts +0 -66
  293. package/dist/models/PaginatedResponseFolderDocumentResponse.js +0 -78
  294. package/dist/models/PaginatedResponseTenantUserInTenantResponse.d.ts +0 -66
  295. package/dist/models/PaginatedResponseTenantUserInTenantResponse.js +0 -78
  296. package/src/models/FolderDocumentResponse.ts +0 -267
  297. package/src/models/PaginatedResponseDocumentContentPathPart.ts +0 -130
  298. package/src/models/PaginatedResponseTenantUserInTenantResponse.ts +0 -130
@@ -27,9 +27,9 @@ import { CreatePasswordUserRequestToJSON, EmailSentResponseFromJSON, EmailVerifi
27
27
  */
28
28
  export class AuthApi extends runtime.BaseAPI {
29
29
  /**
30
- * Create Password User Handler
30
+ * Creates request options for createPasswordUser without sending the request
31
31
  */
32
- createPasswordUserRaw(requestParameters, initOverrides) {
32
+ createPasswordUserRequestOpts(requestParameters) {
33
33
  return __awaiter(this, void 0, void 0, function* () {
34
34
  if (requestParameters['createPasswordUserRequest'] == null) {
35
35
  throw new runtime.RequiredError('createPasswordUserRequest', 'Required parameter "createPasswordUserRequest" was null or undefined when calling createPasswordUser().');
@@ -38,13 +38,22 @@ export class AuthApi extends runtime.BaseAPI {
38
38
  const headerParameters = {};
39
39
  headerParameters['Content-Type'] = 'application/json';
40
40
  let urlPath = `/v1/auth/pw/user`;
41
- const response = yield this.request({
41
+ return {
42
42
  path: urlPath,
43
43
  method: 'POST',
44
44
  headers: headerParameters,
45
45
  query: queryParameters,
46
46
  body: CreatePasswordUserRequestToJSON(requestParameters['createPasswordUserRequest']),
47
- }, initOverrides);
47
+ };
48
+ });
49
+ }
50
+ /**
51
+ * Create Password User Handler
52
+ */
53
+ createPasswordUserRaw(requestParameters, initOverrides) {
54
+ return __awaiter(this, void 0, void 0, function* () {
55
+ const requestOptions = yield this.createPasswordUserRequestOpts(requestParameters);
56
+ const response = yield this.request(requestOptions, initOverrides);
48
57
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
49
58
  });
50
59
  }
@@ -58,10 +67,9 @@ export class AuthApi extends runtime.BaseAPI {
58
67
  });
59
68
  }
60
69
  /**
61
- * Initiate SSO with the given provider and tenant ID.
62
- * Initiate Sso Handler
70
+ * Creates request options for initiateSso without sending the request
63
71
  */
64
- initiateSsoRaw(requestParameters, initOverrides) {
72
+ initiateSsoRequestOpts(requestParameters) {
65
73
  return __awaiter(this, void 0, void 0, function* () {
66
74
  if (requestParameters['provider'] == null) {
67
75
  throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling initiateSso().');
@@ -75,12 +83,22 @@ export class AuthApi extends runtime.BaseAPI {
75
83
  }
76
84
  const headerParameters = {};
77
85
  let urlPath = `/v1/auth/sso/initiate`;
78
- const response = yield this.request({
86
+ return {
79
87
  path: urlPath,
80
88
  method: 'POST',
81
89
  headers: headerParameters,
82
90
  query: queryParameters,
83
- }, initOverrides);
91
+ };
92
+ });
93
+ }
94
+ /**
95
+ * Initiate SSO with the given provider and tenant ID.
96
+ * Initiate Sso Handler
97
+ */
98
+ initiateSsoRaw(requestParameters, initOverrides) {
99
+ return __awaiter(this, void 0, void 0, function* () {
100
+ const requestOptions = yield this.initiateSsoRequestOpts(requestParameters);
101
+ const response = yield this.request(requestOptions, initOverrides);
84
102
  if (this.isJsonMime(response.headers.get('content-type'))) {
85
103
  return new runtime.JSONApiResponse(response);
86
104
  }
@@ -100,10 +118,9 @@ export class AuthApi extends runtime.BaseAPI {
100
118
  });
101
119
  }
102
120
  /**
103
- * Handle OAuth2 callback from the given OAuth client.
104
- * Oauth2 Callback Handler
121
+ * Creates request options for oauth2Callback without sending the request
105
122
  */
106
- oauth2CallbackRaw(requestParameters, initOverrides) {
123
+ oauth2CallbackRequestOpts(requestParameters) {
107
124
  return __awaiter(this, void 0, void 0, function* () {
108
125
  if (requestParameters['provider'] == null) {
109
126
  throw new runtime.RequiredError('provider', 'Required parameter "provider" was null or undefined when calling oauth2Callback().');
@@ -129,12 +146,22 @@ export class AuthApi extends runtime.BaseAPI {
129
146
  }
130
147
  const headerParameters = {};
131
148
  let urlPath = `/v1/auth/sso/oauth2/callback`;
132
- const response = yield this.request({
149
+ return {
133
150
  path: urlPath,
134
151
  method: 'GET',
135
152
  headers: headerParameters,
136
153
  query: queryParameters,
137
- }, initOverrides);
154
+ };
155
+ });
156
+ }
157
+ /**
158
+ * Handle OAuth2 callback from the given OAuth client.
159
+ * Oauth2 Callback Handler
160
+ */
161
+ oauth2CallbackRaw(requestParameters, initOverrides) {
162
+ return __awaiter(this, void 0, void 0, function* () {
163
+ const requestOptions = yield this.oauth2CallbackRequestOpts(requestParameters);
164
+ const response = yield this.request(requestOptions, initOverrides);
138
165
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
139
166
  });
140
167
  }
@@ -149,10 +176,9 @@ export class AuthApi extends runtime.BaseAPI {
149
176
  });
150
177
  }
151
178
  /**
152
- * Send password user email verification email. This endpoint is the first step in the password user creation process. The user receives an email with a link to create their account.
153
- * Pw Email Verification Handler
179
+ * Creates request options for pwEmailVerification without sending the request
154
180
  */
155
- pwEmailVerificationRaw(requestParameters, initOverrides) {
181
+ pwEmailVerificationRequestOpts(requestParameters) {
156
182
  return __awaiter(this, void 0, void 0, function* () {
157
183
  if (requestParameters['emailVerificationRequest'] == null) {
158
184
  throw new runtime.RequiredError('emailVerificationRequest', 'Required parameter "emailVerificationRequest" was null or undefined when calling pwEmailVerification().');
@@ -161,13 +187,23 @@ export class AuthApi extends runtime.BaseAPI {
161
187
  const headerParameters = {};
162
188
  headerParameters['Content-Type'] = 'application/json';
163
189
  let urlPath = `/v1/auth/pw/email_verification`;
164
- const response = yield this.request({
190
+ return {
165
191
  path: urlPath,
166
192
  method: 'POST',
167
193
  headers: headerParameters,
168
194
  query: queryParameters,
169
195
  body: EmailVerificationRequestToJSON(requestParameters['emailVerificationRequest']),
170
- }, initOverrides);
196
+ };
197
+ });
198
+ }
199
+ /**
200
+ * Send password user email verification email. This endpoint is the first step in the password user creation process. The user receives an email with a link to create their account.
201
+ * Pw Email Verification Handler
202
+ */
203
+ pwEmailVerificationRaw(requestParameters, initOverrides) {
204
+ return __awaiter(this, void 0, void 0, function* () {
205
+ const requestOptions = yield this.pwEmailVerificationRequestOpts(requestParameters);
206
+ const response = yield this.request(requestOptions, initOverrides);
171
207
  return new runtime.JSONApiResponse(response, (jsonValue) => EmailSentResponseFromJSON(jsonValue));
172
208
  });
173
209
  }
@@ -182,10 +218,9 @@ export class AuthApi extends runtime.BaseAPI {
182
218
  });
183
219
  }
184
220
  /**
185
- * Validate password credentials and redirect to callback. This endpoint validates the user\'s credentials and stores the user ID in the session, then redirects to /auth/callback?method=pw to maintain consistency with OAuth flows.
186
- * Signin Handler
221
+ * Creates request options for pwSignin without sending the request
187
222
  */
188
- pwSigninRaw(requestParameters, initOverrides) {
223
+ pwSigninRequestOpts(requestParameters) {
189
224
  return __awaiter(this, void 0, void 0, function* () {
190
225
  if (requestParameters['signInRequest'] == null) {
191
226
  throw new runtime.RequiredError('signInRequest', 'Required parameter "signInRequest" was null or undefined when calling pwSignin().');
@@ -194,13 +229,23 @@ export class AuthApi extends runtime.BaseAPI {
194
229
  const headerParameters = {};
195
230
  headerParameters['Content-Type'] = 'application/json';
196
231
  let urlPath = `/v1/auth/pw/signin`;
197
- const response = yield this.request({
232
+ return {
198
233
  path: urlPath,
199
234
  method: 'POST',
200
235
  headers: headerParameters,
201
236
  query: queryParameters,
202
237
  body: SignInRequestToJSON(requestParameters['signInRequest']),
203
- }, initOverrides);
238
+ };
239
+ });
240
+ }
241
+ /**
242
+ * Validate password credentials and redirect to callback. This endpoint validates the user\'s credentials and stores the user ID in the session, then redirects to /auth/callback?method=pw to maintain consistency with OAuth flows.
243
+ * Signin Handler
244
+ */
245
+ pwSigninRaw(requestParameters, initOverrides) {
246
+ return __awaiter(this, void 0, void 0, function* () {
247
+ const requestOptions = yield this.pwSigninRequestOpts(requestParameters);
248
+ const response = yield this.request(requestOptions, initOverrides);
204
249
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
205
250
  });
206
251
  }
@@ -215,10 +260,9 @@ export class AuthApi extends runtime.BaseAPI {
215
260
  });
216
261
  }
217
262
  /**
218
- * Refresh or switch the user\'s active tenant token.
219
- * Refresh Uat Handler
263
+ * Creates request options for refreshUat without sending the request
220
264
  */
221
- refreshUatRaw(requestParameters, initOverrides) {
265
+ refreshUatRequestOpts(requestParameters) {
222
266
  return __awaiter(this, void 0, void 0, function* () {
223
267
  const queryParameters = {};
224
268
  if (requestParameters['tenantId'] != null) {
@@ -226,12 +270,22 @@ export class AuthApi extends runtime.BaseAPI {
226
270
  }
227
271
  const headerParameters = {};
228
272
  let urlPath = `/v1/auth/uat`;
229
- const response = yield this.request({
273
+ return {
230
274
  path: urlPath,
231
275
  method: 'POST',
232
276
  headers: headerParameters,
233
277
  query: queryParameters,
234
- }, initOverrides);
278
+ };
279
+ });
280
+ }
281
+ /**
282
+ * Refresh or switch the user\'s active tenant token.
283
+ * Refresh Uat Handler
284
+ */
285
+ refreshUatRaw(requestParameters, initOverrides) {
286
+ return __awaiter(this, void 0, void 0, function* () {
287
+ const requestOptions = yield this.refreshUatRequestOpts(requestParameters);
288
+ const response = yield this.request(requestOptions, initOverrides);
235
289
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
236
290
  });
237
291
  }
@@ -246,10 +300,9 @@ export class AuthApi extends runtime.BaseAPI {
246
300
  });
247
301
  }
248
302
  /**
249
- * Reset password for the authenticated user
250
- * Reset Password Handler
303
+ * Creates request options for resetPassword without sending the request
251
304
  */
252
- resetPasswordRaw(requestParameters, initOverrides) {
305
+ resetPasswordRequestOpts(requestParameters) {
253
306
  return __awaiter(this, void 0, void 0, function* () {
254
307
  if (requestParameters['passwordResetRequest'] == null) {
255
308
  throw new runtime.RequiredError('passwordResetRequest', 'Required parameter "passwordResetRequest" was null or undefined when calling resetPassword().');
@@ -258,13 +311,23 @@ export class AuthApi extends runtime.BaseAPI {
258
311
  const headerParameters = {};
259
312
  headerParameters['Content-Type'] = 'application/json';
260
313
  let urlPath = `/v1/auth/pw/reset`;
261
- const response = yield this.request({
314
+ return {
262
315
  path: urlPath,
263
316
  method: 'POST',
264
317
  headers: headerParameters,
265
318
  query: queryParameters,
266
319
  body: PasswordResetRequestToJSON(requestParameters['passwordResetRequest']),
267
- }, initOverrides);
320
+ };
321
+ });
322
+ }
323
+ /**
324
+ * Reset password for the authenticated user
325
+ * Reset Password Handler
326
+ */
327
+ resetPasswordRaw(requestParameters, initOverrides) {
328
+ return __awaiter(this, void 0, void 0, function* () {
329
+ const requestOptions = yield this.resetPasswordRequestOpts(requestParameters);
330
+ const response = yield this.request(requestOptions, initOverrides);
268
331
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
269
332
  });
270
333
  }
@@ -279,10 +342,9 @@ export class AuthApi extends runtime.BaseAPI {
279
342
  });
280
343
  }
281
344
  /**
282
- * Reset password with email verification token
283
- * Reset Password With Token Handler
345
+ * Creates request options for resetPasswordWithToken without sending the request
284
346
  */
285
- resetPasswordWithTokenRaw(requestParameters, initOverrides) {
347
+ resetPasswordWithTokenRequestOpts(requestParameters) {
286
348
  return __awaiter(this, void 0, void 0, function* () {
287
349
  if (requestParameters['passwordResetWithTokenRequest'] == null) {
288
350
  throw new runtime.RequiredError('passwordResetWithTokenRequest', 'Required parameter "passwordResetWithTokenRequest" was null or undefined when calling resetPasswordWithToken().');
@@ -291,13 +353,23 @@ export class AuthApi extends runtime.BaseAPI {
291
353
  const headerParameters = {};
292
354
  headerParameters['Content-Type'] = 'application/json';
293
355
  let urlPath = `/v1/auth/pw/reset_with_token`;
294
- const response = yield this.request({
356
+ return {
295
357
  path: urlPath,
296
358
  method: 'POST',
297
359
  headers: headerParameters,
298
360
  query: queryParameters,
299
361
  body: PasswordResetWithTokenRequestToJSON(requestParameters['passwordResetWithTokenRequest']),
300
- }, initOverrides);
362
+ };
363
+ });
364
+ }
365
+ /**
366
+ * Reset password with email verification token
367
+ * Reset Password With Token Handler
368
+ */
369
+ resetPasswordWithTokenRaw(requestParameters, initOverrides) {
370
+ return __awaiter(this, void 0, void 0, function* () {
371
+ const requestOptions = yield this.resetPasswordWithTokenRequestOpts(requestParameters);
372
+ const response = yield this.request(requestOptions, initOverrides);
301
373
  return new runtime.JSONApiResponse(response, (jsonValue) => UserResponseFromJSON(jsonValue));
302
374
  });
303
375
  }
@@ -312,9 +384,9 @@ export class AuthApi extends runtime.BaseAPI {
312
384
  });
313
385
  }
314
386
  /**
315
- * Send Pw Reset Email Handler
387
+ * Creates request options for sendPwResetEmail without sending the request
316
388
  */
317
- sendPwResetEmailRaw(requestParameters, initOverrides) {
389
+ sendPwResetEmailRequestOpts(requestParameters) {
318
390
  return __awaiter(this, void 0, void 0, function* () {
319
391
  if (requestParameters['emailVerificationRequest'] == null) {
320
392
  throw new runtime.RequiredError('emailVerificationRequest', 'Required parameter "emailVerificationRequest" was null or undefined when calling sendPwResetEmail().');
@@ -323,13 +395,22 @@ export class AuthApi extends runtime.BaseAPI {
323
395
  const headerParameters = {};
324
396
  headerParameters['Content-Type'] = 'application/json';
325
397
  let urlPath = `/v1/auth/pw/send_reset_email`;
326
- const response = yield this.request({
398
+ return {
327
399
  path: urlPath,
328
400
  method: 'POST',
329
401
  headers: headerParameters,
330
402
  query: queryParameters,
331
403
  body: EmailVerificationRequestToJSON(requestParameters['emailVerificationRequest']),
332
- }, initOverrides);
404
+ };
405
+ });
406
+ }
407
+ /**
408
+ * Send Pw Reset Email Handler
409
+ */
410
+ sendPwResetEmailRaw(requestParameters, initOverrides) {
411
+ return __awaiter(this, void 0, void 0, function* () {
412
+ const requestOptions = yield this.sendPwResetEmailRequestOpts(requestParameters);
413
+ const response = yield this.request(requestOptions, initOverrides);
333
414
  return new runtime.JSONApiResponse(response, (jsonValue) => EmailSentResponseFromJSON(jsonValue));
334
415
  });
335
416
  }
@@ -343,19 +424,28 @@ export class AuthApi extends runtime.BaseAPI {
343
424
  });
344
425
  }
345
426
  /**
346
- * Signout Handler
427
+ * Creates request options for signout without sending the request
347
428
  */
348
- signoutRaw(initOverrides) {
429
+ signoutRequestOpts() {
349
430
  return __awaiter(this, void 0, void 0, function* () {
350
431
  const queryParameters = {};
351
432
  const headerParameters = {};
352
433
  let urlPath = `/v1/auth/signout`;
353
- const response = yield this.request({
434
+ return {
354
435
  path: urlPath,
355
436
  method: 'POST',
356
437
  headers: headerParameters,
357
438
  query: queryParameters,
358
- }, initOverrides);
439
+ };
440
+ });
441
+ }
442
+ /**
443
+ * Signout Handler
444
+ */
445
+ signoutRaw(initOverrides) {
446
+ return __awaiter(this, void 0, void 0, function* () {
447
+ const requestOptions = yield this.signoutRequestOpts();
448
+ const response = yield this.request(requestOptions, initOverrides);
359
449
  if (this.isJsonMime(response.headers.get('content-type'))) {
360
450
  return new runtime.JSONApiResponse(response);
361
451
  }
@@ -32,6 +32,14 @@ export interface GetChunkLineageRequest {
32
32
  * @interface ChunkLineagesApiInterface
33
33
  */
34
34
  export interface ChunkLineagesApiInterface {
35
+ /**
36
+ * Creates request options for createChunkLineage without sending the request
37
+ * @param {CreateChunkLineageRequest} createChunkLineageRequest
38
+ * @param {string} [ksUat]
39
+ * @throws {RequiredError}
40
+ * @memberof ChunkLineagesApiInterface
41
+ */
42
+ createChunkLineageRequestOpts(requestParameters: CreateChunkLineageOperationRequest): Promise<runtime.RequestOpts>;
35
43
  /**
36
44
  * Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
37
45
  * @summary Create Chunk Lineage Handler
@@ -47,6 +55,15 @@ export interface ChunkLineagesApiInterface {
47
55
  * Create Chunk Lineage Handler
48
56
  */
49
57
  createChunkLineage(requestParameters: CreateChunkLineageOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ChunkLineageResponse>>;
58
+ /**
59
+ * Creates request options for deleteChunkLineage without sending the request
60
+ * @param {string} parentChunkId Parent chunk ID
61
+ * @param {string} chunkId Child chunk ID
62
+ * @param {string} [ksUat]
63
+ * @throws {RequiredError}
64
+ * @memberof ChunkLineagesApiInterface
65
+ */
66
+ deleteChunkLineageRequestOpts(requestParameters: DeleteChunkLineageRequest): Promise<runtime.RequestOpts>;
50
67
  /**
51
68
  * Delete a single lineage edge between parent and child chunks.
52
69
  * @summary Delete Chunk Lineage Handler
@@ -63,6 +80,15 @@ export interface ChunkLineagesApiInterface {
63
80
  * Delete Chunk Lineage Handler
64
81
  */
65
82
  deleteChunkLineage(requestParameters: DeleteChunkLineageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
83
+ /**
84
+ * Creates request options for getChunkLineage without sending the request
85
+ * @param {string} chunkId
86
+ * @param {number} [maxDepth]
87
+ * @param {string} [ksUat]
88
+ * @throws {RequiredError}
89
+ * @memberof ChunkLineagesApiInterface
90
+ */
91
+ getChunkLineageRequestOpts(requestParameters: GetChunkLineageRequest): Promise<runtime.RequestOpts>;
66
92
  /**
67
93
  * Get lineage graph for a chunk. Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
68
94
  * @summary Get Chunk Lineage Handler
@@ -84,6 +110,10 @@ export interface ChunkLineagesApiInterface {
84
110
  *
85
111
  */
86
112
  export declare class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLineagesApiInterface {
113
+ /**
114
+ * Creates request options for createChunkLineage without sending the request
115
+ */
116
+ createChunkLineageRequestOpts(requestParameters: CreateChunkLineageOperationRequest): Promise<runtime.RequestOpts>;
87
117
  /**
88
118
  * Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
89
119
  * Create Chunk Lineage Handler
@@ -94,6 +124,10 @@ export declare class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLi
94
124
  * Create Chunk Lineage Handler
95
125
  */
96
126
  createChunkLineage(requestParameters: CreateChunkLineageOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ChunkLineageResponse>>;
127
+ /**
128
+ * Creates request options for deleteChunkLineage without sending the request
129
+ */
130
+ deleteChunkLineageRequestOpts(requestParameters: DeleteChunkLineageRequest): Promise<runtime.RequestOpts>;
97
131
  /**
98
132
  * Delete a single lineage edge between parent and child chunks.
99
133
  * Delete Chunk Lineage Handler
@@ -104,6 +138,10 @@ export declare class ChunkLineagesApi extends runtime.BaseAPI implements ChunkLi
104
138
  * Delete Chunk Lineage Handler
105
139
  */
106
140
  deleteChunkLineage(requestParameters: DeleteChunkLineageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
141
+ /**
142
+ * Creates request options for getChunkLineage without sending the request
143
+ */
144
+ getChunkLineageRequestOpts(requestParameters: GetChunkLineageRequest): Promise<runtime.RequestOpts>;
107
145
  /**
108
146
  * Get lineage graph for a chunk. Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
109
147
  * Get Chunk Lineage Handler
@@ -27,10 +27,9 @@ import { ChunkLineageResponseFromJSON, CreateChunkLineageRequestToJSON, LineageG
27
27
  */
28
28
  export class ChunkLineagesApi extends runtime.BaseAPI {
29
29
  /**
30
- * Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
31
- * Create Chunk Lineage Handler
30
+ * Creates request options for createChunkLineage without sending the request
32
31
  */
33
- createChunkLineageRaw(requestParameters, initOverrides) {
32
+ createChunkLineageRequestOpts(requestParameters) {
34
33
  return __awaiter(this, void 0, void 0, function* () {
35
34
  if (requestParameters['createChunkLineageRequest'] == null) {
36
35
  throw new runtime.RequiredError('createChunkLineageRequest', 'Required parameter "createChunkLineageRequest" was null or undefined when calling createChunkLineage().');
@@ -39,13 +38,23 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
39
38
  const headerParameters = {};
40
39
  headerParameters['Content-Type'] = 'application/json';
41
40
  let urlPath = `/v1/chunk-lineages`;
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: CreateChunkLineageRequestToJSON(requestParameters['createChunkLineageRequest']),
48
- }, initOverrides);
47
+ };
48
+ });
49
+ }
50
+ /**
51
+ * Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
52
+ * Create Chunk Lineage Handler
53
+ */
54
+ createChunkLineageRaw(requestParameters, initOverrides) {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ const requestOptions = yield this.createChunkLineageRequestOpts(requestParameters);
57
+ const response = yield this.request(requestOptions, initOverrides);
49
58
  return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ChunkLineageResponseFromJSON));
50
59
  });
51
60
  }
@@ -60,10 +69,9 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
60
69
  });
61
70
  }
62
71
  /**
63
- * Delete a single lineage edge between parent and child chunks.
64
- * Delete Chunk Lineage Handler
72
+ * Creates request options for deleteChunkLineage without sending the request
65
73
  */
66
- deleteChunkLineageRaw(requestParameters, initOverrides) {
74
+ deleteChunkLineageRequestOpts(requestParameters) {
67
75
  return __awaiter(this, void 0, void 0, function* () {
68
76
  if (requestParameters['parentChunkId'] == null) {
69
77
  throw new runtime.RequiredError('parentChunkId', 'Required parameter "parentChunkId" was null or undefined when calling deleteChunkLineage().');
@@ -80,12 +88,22 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
80
88
  }
81
89
  const headerParameters = {};
82
90
  let urlPath = `/v1/chunk-lineages`;
83
- const response = yield this.request({
91
+ return {
84
92
  path: urlPath,
85
93
  method: 'DELETE',
86
94
  headers: headerParameters,
87
95
  query: queryParameters,
88
- }, initOverrides);
96
+ };
97
+ });
98
+ }
99
+ /**
100
+ * Delete a single lineage edge between parent and child chunks.
101
+ * Delete Chunk Lineage Handler
102
+ */
103
+ deleteChunkLineageRaw(requestParameters, initOverrides) {
104
+ return __awaiter(this, void 0, void 0, function* () {
105
+ const requestOptions = yield this.deleteChunkLineageRequestOpts(requestParameters);
106
+ const response = yield this.request(requestOptions, initOverrides);
89
107
  return new runtime.VoidApiResponse(response);
90
108
  });
91
109
  }
@@ -99,10 +117,9 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
99
117
  });
100
118
  }
101
119
  /**
102
- * Get lineage graph for a chunk. Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
103
- * Get Chunk Lineage Handler
120
+ * Creates request options for getChunkLineage without sending the request
104
121
  */
105
- getChunkLineageRaw(requestParameters, initOverrides) {
122
+ getChunkLineageRequestOpts(requestParameters) {
106
123
  return __awaiter(this, void 0, void 0, function* () {
107
124
  if (requestParameters['chunkId'] == null) {
108
125
  throw new runtime.RequiredError('chunkId', 'Required parameter "chunkId" was null or undefined when calling getChunkLineage().');
@@ -114,12 +131,22 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
114
131
  const headerParameters = {};
115
132
  let urlPath = `/v1/chunk-lineages/{chunk_id}`;
116
133
  urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
117
- const response = yield this.request({
134
+ return {
118
135
  path: urlPath,
119
136
  method: 'GET',
120
137
  headers: headerParameters,
121
138
  query: queryParameters,
122
- }, initOverrides);
139
+ };
140
+ });
141
+ }
142
+ /**
143
+ * Get lineage graph for a chunk. Traverses both ancestors and descendants up to max_depth, returning enriched nodes and edges.
144
+ * Get Chunk Lineage Handler
145
+ */
146
+ getChunkLineageRaw(requestParameters, initOverrides) {
147
+ return __awaiter(this, void 0, void 0, function* () {
148
+ const requestOptions = yield this.getChunkLineageRequestOpts(requestParameters);
149
+ const response = yield this.request(requestOptions, initOverrides);
123
150
  return new runtime.JSONApiResponse(response, (jsonValue) => LineageGraphResponseFromJSON(jsonValue));
124
151
  });
125
152
  }