@knowledge-stack/ksapi 1.82.0 → 1.84.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 (172) hide show
  1. package/.openapi-generator/FILES +26 -0
  2. package/README.md +26 -2
  3. package/dist/apis/PathPartsApi.d.ts +110 -1
  4. package/dist/apis/PathPartsApi.js +111 -0
  5. package/dist/apis/WorkflowMemoryApi.d.ts +249 -0
  6. package/dist/apis/WorkflowMemoryApi.js +299 -0
  7. package/dist/apis/WorkflowRunsApi.d.ts +233 -1
  8. package/dist/apis/WorkflowRunsApi.js +236 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/esm/apis/PathPartsApi.d.ts +110 -1
  12. package/dist/esm/apis/PathPartsApi.js +112 -1
  13. package/dist/esm/apis/WorkflowMemoryApi.d.ts +249 -0
  14. package/dist/esm/apis/WorkflowMemoryApi.js +262 -0
  15. package/dist/esm/apis/WorkflowRunsApi.d.ts +233 -1
  16. package/dist/esm/apis/WorkflowRunsApi.js +237 -1
  17. package/dist/esm/apis/index.d.ts +1 -0
  18. package/dist/esm/apis/index.js +1 -0
  19. package/dist/esm/models/AppendEventRequest.d.ts +62 -0
  20. package/dist/esm/models/AppendEventRequest.js +51 -0
  21. package/dist/esm/models/AppendMemoryChunkRequest.d.ts +54 -0
  22. package/dist/esm/models/AppendMemoryChunkRequest.js +52 -0
  23. package/dist/esm/models/ChunkBulkResponse.d.ts +4 -4
  24. package/dist/esm/models/ChunkContentItem.d.ts +2 -2
  25. package/dist/esm/models/ChunkResponse.d.ts +4 -4
  26. package/dist/esm/models/CreateThreadMessageRequest.d.ts +2 -2
  27. package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +7 -1
  28. package/dist/esm/models/CreateWorkflowDefinitionRequest.js +2 -0
  29. package/dist/esm/models/DocumentVersionMetadata.d.ts +4 -4
  30. package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +2 -2
  31. package/dist/esm/models/EditMemoryChunkRequest.d.ts +47 -0
  32. package/dist/esm/models/EditMemoryChunkRequest.js +49 -0
  33. package/dist/esm/models/EventResponse.d.ts +83 -0
  34. package/dist/esm/models/EventResponse.js +64 -0
  35. package/dist/esm/models/ListMemoryChunksResponse.d.ts +48 -0
  36. package/dist/esm/models/ListMemoryChunksResponse.js +45 -0
  37. package/dist/esm/models/MemoryChunkResponse.d.ts +60 -0
  38. package/dist/esm/models/MemoryChunkResponse.js +53 -0
  39. package/dist/esm/models/MemoryKind.d.ts +29 -0
  40. package/dist/esm/models/MemoryKind.js +47 -0
  41. package/dist/esm/models/PaginatedResponseEventResponse.d.ts +66 -0
  42. package/dist/esm/models/PaginatedResponseEventResponse.js +70 -0
  43. package/dist/esm/models/PathPartApprovalDecision.d.ts +30 -0
  44. package/dist/esm/models/PathPartApprovalDecision.js +48 -0
  45. package/dist/esm/models/PathPartApprovalResponse.d.ts +111 -0
  46. package/dist/esm/models/PathPartApprovalResponse.js +85 -0
  47. package/dist/esm/models/RejectFileRequest.d.ts +47 -0
  48. package/dist/esm/models/RejectFileRequest.js +49 -0
  49. package/dist/esm/models/RunLockResponse.d.ts +59 -0
  50. package/dist/esm/models/RunLockResponse.js +52 -0
  51. package/dist/esm/models/ScoredChunkResponse.d.ts +4 -4
  52. package/dist/esm/models/SectionSystemMetadata.d.ts +1 -1
  53. package/dist/esm/models/TenantSettingsUpdate.d.ts +2 -2
  54. package/dist/esm/models/ThreadMessageDetailsInput.d.ts +2 -2
  55. package/dist/esm/models/ThreadMessageDetailsOutput.d.ts +2 -2
  56. package/dist/esm/models/ThreadMessageResponse.d.ts +2 -2
  57. package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +2 -2
  58. package/dist/esm/models/UpdateTenantRequest.d.ts +4 -4
  59. package/dist/esm/models/UpdateWorkflowDefinitionRequest.d.ts +7 -1
  60. package/dist/esm/models/UpdateWorkflowDefinitionRequest.js +2 -0
  61. package/dist/esm/models/WorkflowDefinitionResponse.d.ts +7 -1
  62. package/dist/esm/models/WorkflowDefinitionResponse.js +4 -0
  63. package/dist/esm/models/WorkflowRunSnapshot.d.ts +1 -1
  64. package/dist/esm/models/WorkflowRunStatus.d.ts +20 -2
  65. package/dist/esm/models/WorkflowRunStatus.js +20 -2
  66. package/dist/esm/models/index.d.ts +12 -0
  67. package/dist/esm/models/index.js +12 -0
  68. package/dist/models/AppendEventRequest.d.ts +62 -0
  69. package/dist/models/AppendEventRequest.js +59 -0
  70. package/dist/models/AppendMemoryChunkRequest.d.ts +54 -0
  71. package/dist/models/AppendMemoryChunkRequest.js +60 -0
  72. package/dist/models/ChunkBulkResponse.d.ts +4 -4
  73. package/dist/models/ChunkContentItem.d.ts +2 -2
  74. package/dist/models/ChunkResponse.d.ts +4 -4
  75. package/dist/models/CreateThreadMessageRequest.d.ts +2 -2
  76. package/dist/models/CreateWorkflowDefinitionRequest.d.ts +7 -1
  77. package/dist/models/CreateWorkflowDefinitionRequest.js +2 -0
  78. package/dist/models/DocumentVersionMetadata.d.ts +4 -4
  79. package/dist/models/DocumentVersionMetadataUpdate.d.ts +2 -2
  80. package/dist/models/EditMemoryChunkRequest.d.ts +47 -0
  81. package/dist/models/EditMemoryChunkRequest.js +57 -0
  82. package/dist/models/EventResponse.d.ts +83 -0
  83. package/dist/models/EventResponse.js +72 -0
  84. package/dist/models/ListMemoryChunksResponse.d.ts +48 -0
  85. package/dist/models/ListMemoryChunksResponse.js +53 -0
  86. package/dist/models/MemoryChunkResponse.d.ts +60 -0
  87. package/dist/models/MemoryChunkResponse.js +61 -0
  88. package/dist/models/MemoryKind.d.ts +29 -0
  89. package/dist/models/MemoryKind.js +55 -0
  90. package/dist/models/PaginatedResponseEventResponse.d.ts +66 -0
  91. package/dist/models/PaginatedResponseEventResponse.js +78 -0
  92. package/dist/models/PathPartApprovalDecision.d.ts +30 -0
  93. package/dist/models/PathPartApprovalDecision.js +56 -0
  94. package/dist/models/PathPartApprovalResponse.d.ts +111 -0
  95. package/dist/models/PathPartApprovalResponse.js +93 -0
  96. package/dist/models/RejectFileRequest.d.ts +47 -0
  97. package/dist/models/RejectFileRequest.js +57 -0
  98. package/dist/models/RunLockResponse.d.ts +59 -0
  99. package/dist/models/RunLockResponse.js +60 -0
  100. package/dist/models/ScoredChunkResponse.d.ts +4 -4
  101. package/dist/models/SectionSystemMetadata.d.ts +1 -1
  102. package/dist/models/TenantSettingsUpdate.d.ts +2 -2
  103. package/dist/models/ThreadMessageDetailsInput.d.ts +2 -2
  104. package/dist/models/ThreadMessageDetailsOutput.d.ts +2 -2
  105. package/dist/models/ThreadMessageResponse.d.ts +2 -2
  106. package/dist/models/UpdateChunkMetadataRequest.d.ts +2 -2
  107. package/dist/models/UpdateTenantRequest.d.ts +4 -4
  108. package/dist/models/UpdateWorkflowDefinitionRequest.d.ts +7 -1
  109. package/dist/models/UpdateWorkflowDefinitionRequest.js +2 -0
  110. package/dist/models/WorkflowDefinitionResponse.d.ts +7 -1
  111. package/dist/models/WorkflowDefinitionResponse.js +4 -0
  112. package/dist/models/WorkflowRunSnapshot.d.ts +1 -1
  113. package/dist/models/WorkflowRunStatus.d.ts +20 -2
  114. package/dist/models/WorkflowRunStatus.js +20 -2
  115. package/dist/models/index.d.ts +12 -0
  116. package/dist/models/index.js +12 -0
  117. package/docs/AppendEventRequest.md +37 -0
  118. package/docs/AppendMemoryChunkRequest.md +36 -0
  119. package/docs/CreateWorkflowDefinitionRequest.md +2 -0
  120. package/docs/EditMemoryChunkRequest.md +34 -0
  121. package/docs/EventResponse.md +45 -0
  122. package/docs/ListMemoryChunksResponse.md +34 -0
  123. package/docs/MemoryChunkResponse.md +39 -0
  124. package/docs/MemoryKind.md +33 -0
  125. package/docs/PaginatedResponseEventResponse.md +40 -0
  126. package/docs/PathPartApprovalDecision.md +33 -0
  127. package/docs/PathPartApprovalResponse.md +55 -0
  128. package/docs/PathPartsApi.md +171 -0
  129. package/docs/RejectFileRequest.md +35 -0
  130. package/docs/RunLockResponse.md +39 -0
  131. package/docs/UpdateWorkflowDefinitionRequest.md +2 -0
  132. package/docs/WorkflowDefinitionResponse.md +2 -0
  133. package/docs/WorkflowMemoryApi.md +390 -0
  134. package/docs/WorkflowRunStatus.md +1 -1
  135. package/docs/WorkflowRunsApi.md +387 -0
  136. package/package.json +1 -1
  137. package/src/apis/PathPartsApi.ts +234 -0
  138. package/src/apis/WorkflowMemoryApi.ts +522 -0
  139. package/src/apis/WorkflowRunsApi.ts +479 -0
  140. package/src/apis/index.ts +1 -0
  141. package/src/models/AppendEventRequest.ts +102 -0
  142. package/src/models/AppendMemoryChunkRequest.ts +105 -0
  143. package/src/models/ChunkBulkResponse.ts +4 -4
  144. package/src/models/ChunkContentItem.ts +2 -2
  145. package/src/models/ChunkResponse.ts +4 -4
  146. package/src/models/CreateThreadMessageRequest.ts +2 -2
  147. package/src/models/CreateWorkflowDefinitionRequest.ts +9 -1
  148. package/src/models/DocumentVersionMetadata.ts +4 -4
  149. package/src/models/DocumentVersionMetadataUpdate.ts +2 -2
  150. package/src/models/EditMemoryChunkRequest.ts +87 -0
  151. package/src/models/EventResponse.ts +132 -0
  152. package/src/models/ListMemoryChunksResponse.ts +91 -0
  153. package/src/models/MemoryChunkResponse.ts +111 -0
  154. package/src/models/MemoryKind.ts +57 -0
  155. package/src/models/PaginatedResponseEventResponse.ts +130 -0
  156. package/src/models/PathPartApprovalDecision.ts +58 -0
  157. package/src/models/PathPartApprovalResponse.ts +186 -0
  158. package/src/models/RejectFileRequest.ts +87 -0
  159. package/src/models/RunLockResponse.ts +101 -0
  160. package/src/models/ScoredChunkResponse.ts +4 -4
  161. package/src/models/SectionSystemMetadata.ts +1 -1
  162. package/src/models/TenantSettingsUpdate.ts +2 -2
  163. package/src/models/ThreadMessageDetailsInput.ts +2 -2
  164. package/src/models/ThreadMessageDetailsOutput.ts +2 -2
  165. package/src/models/ThreadMessageResponse.ts +2 -2
  166. package/src/models/UpdateChunkMetadataRequest.ts +2 -2
  167. package/src/models/UpdateTenantRequest.ts +4 -4
  168. package/src/models/UpdateWorkflowDefinitionRequest.ts +9 -1
  169. package/src/models/WorkflowDefinitionResponse.ts +10 -1
  170. package/src/models/WorkflowRunSnapshot.ts +1 -1
  171. package/src/models/WorkflowRunStatus.ts +20 -2
  172. package/src/models/index.ts +12 -0
@@ -9,6 +9,8 @@ docs/AgentApi.md
9
9
  docs/AncestryResponse.md
10
10
  docs/ApiKeyResponse.md
11
11
  docs/ApiKeysApi.md
12
+ docs/AppendEventRequest.md
13
+ docs/AppendMemoryChunkRequest.md
12
14
  docs/Args.md
13
15
  docs/AskRequest.md
14
16
  docs/AskResponse.md
@@ -60,10 +62,12 @@ docs/DocumentVersionMetadataUpdate.md
60
62
  docs/DocumentVersionResponse.md
61
63
  docs/DocumentVersionsApi.md
62
64
  docs/DocumentsApi.md
65
+ docs/EditMemoryChunkRequest.md
63
66
  docs/EmailSentResponse.md
64
67
  docs/EmailVerificationRequest.md
65
68
  docs/EnrichedCitation.md
66
69
  docs/EnrichedThreadMessageContent.md
70
+ docs/EventResponse.md
67
71
  docs/ExtractRequest.md
68
72
  docs/ExtractResponse.md
69
73
  docs/FeaturesApi.md
@@ -100,8 +104,11 @@ docs/InvokeWorkflowRequest.md
100
104
  docs/LineageEdgeResponse.md
101
105
  docs/LineageGraphResponse.md
102
106
  docs/LineageNodeResponse.md
107
+ docs/ListMemoryChunksResponse.md
103
108
  docs/LocationInner.md
104
109
  docs/MembershipResponse.md
110
+ docs/MemoryChunkResponse.md
111
+ docs/MemoryKind.md
105
112
  docs/MessageRole.md
106
113
  docs/MeteredQuotaStatus.md
107
114
  docs/NonFilesystemReferenceType.md
@@ -111,6 +118,7 @@ docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.
111
118
  docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md
112
119
  docs/PaginatedResponseDocumentResponse.md
113
120
  docs/PaginatedResponseDocumentVersionResponse.md
121
+ docs/PaginatedResponseEventResponse.md
114
122
  docs/PaginatedResponseFeedbackEventResponse.md
115
123
  docs/PaginatedResponseFolderResponse.md
116
124
  docs/PaginatedResponseGroupPermissionResponse.md
@@ -132,6 +140,8 @@ docs/PasswordResetRequest.md
132
140
  docs/PasswordResetWithTokenRequest.md
133
141
  docs/PathOrder.md
134
142
  docs/PathPartAncestorItem.md
143
+ docs/PathPartApprovalDecision.md
144
+ docs/PathPartApprovalResponse.md
135
145
  docs/PathPartResponse.md
136
146
  docs/PathPartTagsResponse.md
137
147
  docs/PathPartsApi.md
@@ -143,9 +153,11 @@ docs/Polygon.md
143
153
  docs/PolygonReference.md
144
154
  docs/PublicApi.md
145
155
  docs/ReferenceType.md
156
+ docs/RejectFileRequest.md
146
157
  docs/ResolvedReferenceInput.md
147
158
  docs/ResolvedReferenceOutput.md
148
159
  docs/RootResponse.md
160
+ docs/RunLockResponse.md
149
161
  docs/SSOInitiateResponse.md
150
162
  docs/ScoredChunkResponse.md
151
163
  docs/SearchSortOrder.md
@@ -219,6 +231,7 @@ docs/WorkflowCancelResponse.md
219
231
  docs/WorkflowDefinitionResponse.md
220
232
  docs/WorkflowDefinitionsApi.md
221
233
  docs/WorkflowDetailResponse.md
234
+ docs/WorkflowMemoryApi.md
222
235
  docs/WorkflowRunCallbackRequest.md
223
236
  docs/WorkflowRunResponse.md
224
237
  docs/WorkflowRunSnapshot.md
@@ -252,6 +265,7 @@ src/apis/ThreadsApi.ts
252
265
  src/apis/UserPermissionsApi.ts
253
266
  src/apis/UsersApi.ts
254
267
  src/apis/WorkflowDefinitionsApi.ts
268
+ src/apis/WorkflowMemoryApi.ts
255
269
  src/apis/WorkflowRunsApi.ts
256
270
  src/apis/WorkflowsApi.ts
257
271
  src/apis/index.ts
@@ -261,6 +275,8 @@ src/models/AcceptInviteResponse.ts
261
275
  src/models/AddMemberRequest.ts
262
276
  src/models/AncestryResponse.ts
263
277
  src/models/ApiKeyResponse.ts
278
+ src/models/AppendEventRequest.ts
279
+ src/models/AppendMemoryChunkRequest.ts
264
280
  src/models/Args.ts
265
281
  src/models/AskRequest.ts
266
282
  src/models/AskResponse.ts
@@ -306,10 +322,12 @@ src/models/DocumentVersionContentTypeFilter.ts
306
322
  src/models/DocumentVersionMetadata.ts
307
323
  src/models/DocumentVersionMetadataUpdate.ts
308
324
  src/models/DocumentVersionResponse.ts
325
+ src/models/EditMemoryChunkRequest.ts
309
326
  src/models/EmailSentResponse.ts
310
327
  src/models/EmailVerificationRequest.ts
311
328
  src/models/EnrichedCitation.ts
312
329
  src/models/EnrichedThreadMessageContent.ts
330
+ src/models/EventResponse.ts
313
331
  src/models/ExtractRequest.ts
314
332
  src/models/ExtractResponse.ts
315
333
  src/models/FeaturesResponse.ts
@@ -342,8 +360,11 @@ src/models/InvokeWorkflowRequest.ts
342
360
  src/models/LineageEdgeResponse.ts
343
361
  src/models/LineageGraphResponse.ts
344
362
  src/models/LineageNodeResponse.ts
363
+ src/models/ListMemoryChunksResponse.ts
345
364
  src/models/LocationInner.ts
346
365
  src/models/MembershipResponse.ts
366
+ src/models/MemoryChunkResponse.ts
367
+ src/models/MemoryKind.ts
347
368
  src/models/MessageRole.ts
348
369
  src/models/MeteredQuotaStatus.ts
349
370
  src/models/NonFilesystemReferenceType.ts
@@ -353,6 +374,7 @@ src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscrimi
353
374
  src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts
354
375
  src/models/PaginatedResponseDocumentResponse.ts
355
376
  src/models/PaginatedResponseDocumentVersionResponse.ts
377
+ src/models/PaginatedResponseEventResponse.ts
356
378
  src/models/PaginatedResponseFeedbackEventResponse.ts
357
379
  src/models/PaginatedResponseFolderResponse.ts
358
380
  src/models/PaginatedResponseGroupPermissionResponse.ts
@@ -374,6 +396,8 @@ src/models/PasswordResetRequest.ts
374
396
  src/models/PasswordResetWithTokenRequest.ts
375
397
  src/models/PathOrder.ts
376
398
  src/models/PathPartAncestorItem.ts
399
+ src/models/PathPartApprovalDecision.ts
400
+ src/models/PathPartApprovalResponse.ts
377
401
  src/models/PathPartResponse.ts
378
402
  src/models/PathPartTagsResponse.ts
379
403
  src/models/PermissionCapability.ts
@@ -383,9 +407,11 @@ src/models/PipelineStatus.ts
383
407
  src/models/Polygon.ts
384
408
  src/models/PolygonReference.ts
385
409
  src/models/ReferenceType.ts
410
+ src/models/RejectFileRequest.ts
386
411
  src/models/ResolvedReferenceInput.ts
387
412
  src/models/ResolvedReferenceOutput.ts
388
413
  src/models/RootResponse.ts
414
+ src/models/RunLockResponse.ts
389
415
  src/models/SSOInitiateResponse.ts
390
416
  src/models/ScoredChunkResponse.ts
391
417
  src/models/SearchSortOrder.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.82.0
1
+ # @knowledge-stack/ksapi@1.84.0
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -119,11 +119,13 @@ All URIs are relative to *http://localhost:8000*
119
119
  *InvitesApi* | [**deleteInvite**](docs/InvitesApi.md#deleteinvite) | **DELETE** /v1/invites/{invite_id} | Delete Invite
120
120
  *InvitesApi* | [**listInvites**](docs/InvitesApi.md#listinvites) | **GET** /v1/invites | List Invites Handler
121
121
  *InvitesApi* | [**updateInvite**](docs/InvitesApi.md#updateinviteoperation) | **PATCH** /v1/invites/{invite_id} | Update Invite Handler
122
+ *PathPartsApi* | [**appendPathPartEvent**](docs/PathPartsApi.md#appendpathpartevent) | **POST** /v1/path-parts/{path_part_id}/events | Append Path Part Event Handler
122
123
  *PathPartsApi* | [**bulkRemovePathPartTags**](docs/PathPartsApi.md#bulkremovepathparttags) | **DELETE** /v1/path-parts/{path_part_id}/tags | Bulk Remove Path Part Tags Handler
123
124
  *PathPartsApi* | [**getPathPart**](docs/PathPartsApi.md#getpathpart) | **GET** /v1/path-parts/{path_part_id} | Get Path Part Handler
124
125
  *PathPartsApi* | [**getPathPartAncestry**](docs/PathPartsApi.md#getpathpartancestry) | **GET** /v1/path-parts/{path_part_id}/ancestry | Get Path Part Ancestry Handler
125
126
  *PathPartsApi* | [**getPathPartSubtreeChunks**](docs/PathPartsApi.md#getpathpartsubtreechunks) | **GET** /v1/path-parts/{path_part_id}/subtree_chunks | Get Path Part Subtree Chunks Handler
126
127
  *PathPartsApi* | [**getPathPartTags**](docs/PathPartsApi.md#getpathparttags) | **GET** /v1/path-parts/{path_part_id}/tags | Get Path Part Tags Handler
128
+ *PathPartsApi* | [**listPathPartEvents**](docs/PathPartsApi.md#listpathpartevents) | **GET** /v1/path-parts/{path_part_id}/events | List Path Part Events Handler
127
129
  *PathPartsApi* | [**listPathParts**](docs/PathPartsApi.md#listpathparts) | **GET** /v1/path-parts | List Path Parts Handler
128
130
  *PathPartsApi* | [**setPathPartTags**](docs/PathPartsApi.md#setpathparttags) | **POST** /v1/path-parts/{path_part_id}/tags | Set Path Part Tags Handler
129
131
  *PublicApi* | [**listPublicSubscriptions**](docs/PublicApi.md#listpublicsubscriptions) | **GET** /public/subscriptions | List Public Subscriptions Handler
@@ -191,8 +193,18 @@ All URIs are relative to *http://localhost:8000*
191
193
  *WorkflowDefinitionsApi* | [**listWorkflowDefinitions**](docs/WorkflowDefinitionsApi.md#listworkflowdefinitions) | **GET** /v1/workflow-definitions | List Workflow Definitions Handler
192
194
  *WorkflowDefinitionsApi* | [**listWorkflowRuns**](docs/WorkflowDefinitionsApi.md#listworkflowruns) | **GET** /v1/workflow-definitions/{definition_id}/runs | List Workflow Runs Handler
193
195
  *WorkflowDefinitionsApi* | [**updateWorkflowDefinition**](docs/WorkflowDefinitionsApi.md#updateworkflowdefinitionoperation) | **PUT** /v1/workflow-definitions/{definition_id} | Update Workflow Definition Handler
196
+ *WorkflowMemoryApi* | [**appendWorkflowMemoryChunk**](docs/WorkflowMemoryApi.md#appendworkflowmemorychunk) | **POST** /v1/workflow-definitions/{definition_id}/memory/chunks | Append Workflow Memory Chunk Handler
197
+ *WorkflowMemoryApi* | [**editWorkflowMemoryChunk**](docs/WorkflowMemoryApi.md#editworkflowmemorychunk) | **PATCH** /v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id} | Edit Workflow Memory Chunk Handler
198
+ *WorkflowMemoryApi* | [**forgetWorkflowMemoryChunk**](docs/WorkflowMemoryApi.md#forgetworkflowmemorychunk) | **DELETE** /v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id} | Forget Workflow Memory Chunk Handler
199
+ *WorkflowMemoryApi* | [**getWorkflowMemoryChunk**](docs/WorkflowMemoryApi.md#getworkflowmemorychunk) | **GET** /v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id} | Get Workflow Memory Chunk Handler
200
+ *WorkflowMemoryApi* | [**listWorkflowMemoryChunks**](docs/WorkflowMemoryApi.md#listworkflowmemorychunks) | **GET** /v1/workflow-definitions/{definition_id}/memory | List Workflow Memory Chunks Handler
201
+ *WorkflowRunsApi* | [**acquireWorkflowRunLock**](docs/WorkflowRunsApi.md#acquireworkflowrunlock) | **POST** /v1/workflow-runs/{run_id}/lock | Acquire Workflow Run Lock Handler
202
+ *WorkflowRunsApi* | [**approveWorkflowRunFile**](docs/WorkflowRunsApi.md#approveworkflowrunfile) | **POST** /v1/workflow-runs/{run_id}/files/{path_part_id}/approve | Approve Workflow Run File Handler
194
203
  *WorkflowRunsApi* | [**deleteWorkflowRun**](docs/WorkflowRunsApi.md#deleteworkflowrun) | **DELETE** /v1/workflow-runs/{run_id} | Delete Workflow Run Handler
195
204
  *WorkflowRunsApi* | [**getWorkflowRun**](docs/WorkflowRunsApi.md#getworkflowrun) | **GET** /v1/workflow-runs/{run_id} | Get Workflow Run Handler
205
+ *WorkflowRunsApi* | [**rejectWorkflowRunFile**](docs/WorkflowRunsApi.md#rejectworkflowrunfile) | **POST** /v1/workflow-runs/{run_id}/files/{path_part_id}/reject | Reject Workflow Run File Handler
206
+ *WorkflowRunsApi* | [**releaseWorkflowRunLock**](docs/WorkflowRunsApi.md#releaseworkflowrunlock) | **DELETE** /v1/workflow-runs/{run_id}/lock | Release Workflow Run Lock Handler
207
+ *WorkflowRunsApi* | [**unapproveWorkflowRunFile**](docs/WorkflowRunsApi.md#unapproveworkflowrunfile) | **POST** /v1/workflow-runs/{run_id}/files/{path_part_id}/unapprove | Unapprove Workflow Run File Handler
196
208
  *WorkflowRunsApi* | [**workflowRunCallback**](docs/WorkflowRunsApi.md#workflowruncallbackoperation) | **POST** /v1/workflow-runs/{run_id}/callback | Workflow Run Callback Handler
197
209
  *WorkflowsApi* | [**cancelTemporalWorkflow**](docs/WorkflowsApi.md#canceltemporalworkflow) | **DELETE** /v1/workflows/{workflow_id} | Cancel Temporal Workflow Handler
198
210
  *WorkflowsApi* | [**dvWorkflowRerun**](docs/WorkflowsApi.md#dvworkflowrerun) | **POST** /v1/workflows/document_versions/{workflow_id} | Dv Workflow Rerun Handler
@@ -208,6 +220,8 @@ All URIs are relative to *http://localhost:8000*
208
220
  - [AddMemberRequest](docs/AddMemberRequest.md)
209
221
  - [AncestryResponse](docs/AncestryResponse.md)
210
222
  - [ApiKeyResponse](docs/ApiKeyResponse.md)
223
+ - [AppendEventRequest](docs/AppendEventRequest.md)
224
+ - [AppendMemoryChunkRequest](docs/AppendMemoryChunkRequest.md)
211
225
  - [Args](docs/Args.md)
212
226
  - [AskRequest](docs/AskRequest.md)
213
227
  - [AskResponse](docs/AskResponse.md)
@@ -253,10 +267,12 @@ All URIs are relative to *http://localhost:8000*
253
267
  - [DocumentVersionMetadata](docs/DocumentVersionMetadata.md)
254
268
  - [DocumentVersionMetadataUpdate](docs/DocumentVersionMetadataUpdate.md)
255
269
  - [DocumentVersionResponse](docs/DocumentVersionResponse.md)
270
+ - [EditMemoryChunkRequest](docs/EditMemoryChunkRequest.md)
256
271
  - [EmailSentResponse](docs/EmailSentResponse.md)
257
272
  - [EmailVerificationRequest](docs/EmailVerificationRequest.md)
258
273
  - [EnrichedCitation](docs/EnrichedCitation.md)
259
274
  - [EnrichedThreadMessageContent](docs/EnrichedThreadMessageContent.md)
275
+ - [EventResponse](docs/EventResponse.md)
260
276
  - [ExtractRequest](docs/ExtractRequest.md)
261
277
  - [ExtractResponse](docs/ExtractResponse.md)
262
278
  - [FeaturesResponse](docs/FeaturesResponse.md)
@@ -289,8 +305,11 @@ All URIs are relative to *http://localhost:8000*
289
305
  - [LineageEdgeResponse](docs/LineageEdgeResponse.md)
290
306
  - [LineageGraphResponse](docs/LineageGraphResponse.md)
291
307
  - [LineageNodeResponse](docs/LineageNodeResponse.md)
308
+ - [ListMemoryChunksResponse](docs/ListMemoryChunksResponse.md)
292
309
  - [LocationInner](docs/LocationInner.md)
293
310
  - [MembershipResponse](docs/MembershipResponse.md)
311
+ - [MemoryChunkResponse](docs/MemoryChunkResponse.md)
312
+ - [MemoryKind](docs/MemoryKind.md)
294
313
  - [MessageRole](docs/MessageRole.md)
295
314
  - [MeteredQuotaStatus](docs/MeteredQuotaStatus.md)
296
315
  - [NonFilesystemReferenceType](docs/NonFilesystemReferenceType.md)
@@ -300,6 +319,7 @@ All URIs are relative to *http://localhost:8000*
300
319
  - [PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator](docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md)
301
320
  - [PaginatedResponseDocumentResponse](docs/PaginatedResponseDocumentResponse.md)
302
321
  - [PaginatedResponseDocumentVersionResponse](docs/PaginatedResponseDocumentVersionResponse.md)
322
+ - [PaginatedResponseEventResponse](docs/PaginatedResponseEventResponse.md)
303
323
  - [PaginatedResponseFeedbackEventResponse](docs/PaginatedResponseFeedbackEventResponse.md)
304
324
  - [PaginatedResponseFolderResponse](docs/PaginatedResponseFolderResponse.md)
305
325
  - [PaginatedResponseGroupPermissionResponse](docs/PaginatedResponseGroupPermissionResponse.md)
@@ -321,6 +341,8 @@ All URIs are relative to *http://localhost:8000*
321
341
  - [PasswordResetWithTokenRequest](docs/PasswordResetWithTokenRequest.md)
322
342
  - [PathOrder](docs/PathOrder.md)
323
343
  - [PathPartAncestorItem](docs/PathPartAncestorItem.md)
344
+ - [PathPartApprovalDecision](docs/PathPartApprovalDecision.md)
345
+ - [PathPartApprovalResponse](docs/PathPartApprovalResponse.md)
324
346
  - [PathPartResponse](docs/PathPartResponse.md)
325
347
  - [PathPartTagsResponse](docs/PathPartTagsResponse.md)
326
348
  - [PermissionCapability](docs/PermissionCapability.md)
@@ -330,9 +352,11 @@ All URIs are relative to *http://localhost:8000*
330
352
  - [Polygon](docs/Polygon.md)
331
353
  - [PolygonReference](docs/PolygonReference.md)
332
354
  - [ReferenceType](docs/ReferenceType.md)
355
+ - [RejectFileRequest](docs/RejectFileRequest.md)
333
356
  - [ResolvedReferenceInput](docs/ResolvedReferenceInput.md)
334
357
  - [ResolvedReferenceOutput](docs/ResolvedReferenceOutput.md)
335
358
  - [RootResponse](docs/RootResponse.md)
359
+ - [RunLockResponse](docs/RunLockResponse.md)
336
360
  - [SSOInitiateResponse](docs/SSOInitiateResponse.md)
337
361
  - [ScoredChunkResponse](docs/ScoredChunkResponse.md)
338
362
  - [SearchSortOrder](docs/SearchSortOrder.md)
@@ -415,7 +439,7 @@ and is automatically generated by the
415
439
  [OpenAPI Generator](https://openapi-generator.tech) project:
416
440
 
417
441
  - API version: `0.1.0`
418
- - Package version: `1.82.0`
442
+ - Package version: `1.84.0`
419
443
  - Generator version: `7.21.0`
420
444
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
421
445
 
@@ -10,7 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AncestryResponse, BulkTagRequest, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, SubtreeChunksResponse } from '../models/index';
13
+ import type { AncestryResponse, AppendEventRequest, BulkTagRequest, EventResponse, PaginatedResponseEventResponse, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, SubtreeChunksResponse } from '../models/index';
14
+ export interface AppendPathPartEventRequest {
15
+ pathPartId: string;
16
+ appendEventRequest: AppendEventRequest;
17
+ authorization?: string | null;
18
+ ksUat?: string | null;
19
+ }
14
20
  export interface BulkRemovePathPartTagsRequest {
15
21
  pathPartId: string;
16
22
  bulkTagRequest: BulkTagRequest;
@@ -38,6 +44,17 @@ export interface GetPathPartTagsRequest {
38
44
  authorization?: string | null;
39
45
  ksUat?: string | null;
40
46
  }
47
+ export interface ListPathPartEventsRequest {
48
+ pathPartId: string;
49
+ kind?: string | null;
50
+ since?: Date | null;
51
+ until?: Date | null;
52
+ recursive?: boolean;
53
+ limit?: number;
54
+ offset?: number;
55
+ authorization?: string | null;
56
+ ksUat?: string | null;
57
+ }
41
58
  export interface ListPathPartsRequest {
42
59
  parentPathId?: string | null;
43
60
  maxDepth?: number;
@@ -60,6 +77,33 @@ export interface SetPathPartTagsRequest {
60
77
  * @interface PathPartsApiInterface
61
78
  */
62
79
  export interface PathPartsApiInterface {
80
+ /**
81
+ * Creates request options for appendPathPartEvent without sending the request
82
+ * @param {string} pathPartId
83
+ * @param {AppendEventRequest} appendEventRequest
84
+ * @param {string} [authorization]
85
+ * @param {string} [ksUat]
86
+ * @throws {RequiredError}
87
+ * @memberof PathPartsApiInterface
88
+ */
89
+ appendPathPartEventRequestOpts(requestParameters: AppendPathPartEventRequest): Promise<runtime.RequestOpts>;
90
+ /**
91
+ * Record an event for a subject path_part from the frontend. Auth: caller must hold ``can_write`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Server stamps ``actor_user_id`` from the caller\'s identity — callers cannot impersonate other users on the audit trail. ``kind`` is free-form text but reserved server namespaces (``workflow.``, ``document.``, ``folder.``, ``permission.``, ``connector.``, ``query.``, ``auth.``, ``tenant.``) are rejected at 422 so clients cannot forge server-emitted audit events. Clients should namespace under ``client.*``. ``payload`` is capped at 64KB encoded JSON.
92
+ * @summary Append Path Part Event Handler
93
+ * @param {string} pathPartId
94
+ * @param {AppendEventRequest} appendEventRequest
95
+ * @param {string} [authorization]
96
+ * @param {string} [ksUat]
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ * @memberof PathPartsApiInterface
100
+ */
101
+ appendPathPartEventRaw(requestParameters: AppendPathPartEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EventResponse>>;
102
+ /**
103
+ * Record an event for a subject path_part from the frontend. Auth: caller must hold ``can_write`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Server stamps ``actor_user_id`` from the caller\'s identity — callers cannot impersonate other users on the audit trail. ``kind`` is free-form text but reserved server namespaces (``workflow.``, ``document.``, ``folder.``, ``permission.``, ``connector.``, ``query.``, ``auth.``, ``tenant.``) are rejected at 422 so clients cannot forge server-emitted audit events. Clients should namespace under ``client.*``. ``payload`` is capped at 64KB encoded JSON.
104
+ * Append Path Part Event Handler
105
+ */
106
+ appendPathPartEvent(requestParameters: AppendPathPartEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EventResponse>;
63
107
  /**
64
108
  * Creates request options for bulkRemovePathPartTags without sending the request
65
109
  * @param {string} pathPartId
@@ -189,6 +233,43 @@ export interface PathPartsApiInterface {
189
233
  * Get Path Part Tags Handler
190
234
  */
191
235
  getPathPartTags(requestParameters: GetPathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
236
+ /**
237
+ * Creates request options for listPathPartEvents without sending the request
238
+ * @param {string} pathPartId
239
+ * @param {string} [kind] Filter to a single event kind
240
+ * @param {Date} [since] Only events at or after this timestamp
241
+ * @param {Date} [until] Only events strictly before this timestamp
242
+ * @param {boolean} [recursive] Include events from descendant path_parts as well as the subject itself
243
+ * @param {number} [limit] Number of items per page
244
+ * @param {number} [offset] Number of items to skip
245
+ * @param {string} [authorization]
246
+ * @param {string} [ksUat]
247
+ * @throws {RequiredError}
248
+ * @memberof PathPartsApiInterface
249
+ */
250
+ listPathPartEventsRequestOpts(requestParameters: ListPathPartEventsRequest): Promise<runtime.RequestOpts>;
251
+ /**
252
+ * List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
253
+ * @summary List Path Part Events Handler
254
+ * @param {string} pathPartId
255
+ * @param {string} [kind] Filter to a single event kind
256
+ * @param {Date} [since] Only events at or after this timestamp
257
+ * @param {Date} [until] Only events strictly before this timestamp
258
+ * @param {boolean} [recursive] Include events from descendant path_parts as well as the subject itself
259
+ * @param {number} [limit] Number of items per page
260
+ * @param {number} [offset] Number of items to skip
261
+ * @param {string} [authorization]
262
+ * @param {string} [ksUat]
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ * @memberof PathPartsApiInterface
266
+ */
267
+ listPathPartEventsRaw(requestParameters: ListPathPartEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseEventResponse>>;
268
+ /**
269
+ * List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
270
+ * List Path Part Events Handler
271
+ */
272
+ listPathPartEvents(requestParameters: ListPathPartEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseEventResponse>;
192
273
  /**
193
274
  * Creates request options for listPathParts without sending the request
194
275
  * @param {string} [parentPathId] Parent PathPart ID (defaults to root)
@@ -254,6 +335,20 @@ export interface PathPartsApiInterface {
254
335
  *
255
336
  */
256
337
  export declare class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterface {
338
+ /**
339
+ * Creates request options for appendPathPartEvent without sending the request
340
+ */
341
+ appendPathPartEventRequestOpts(requestParameters: AppendPathPartEventRequest): Promise<runtime.RequestOpts>;
342
+ /**
343
+ * Record an event for a subject path_part from the frontend. Auth: caller must hold ``can_write`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Server stamps ``actor_user_id`` from the caller\'s identity — callers cannot impersonate other users on the audit trail. ``kind`` is free-form text but reserved server namespaces (``workflow.``, ``document.``, ``folder.``, ``permission.``, ``connector.``, ``query.``, ``auth.``, ``tenant.``) are rejected at 422 so clients cannot forge server-emitted audit events. Clients should namespace under ``client.*``. ``payload`` is capped at 64KB encoded JSON.
344
+ * Append Path Part Event Handler
345
+ */
346
+ appendPathPartEventRaw(requestParameters: AppendPathPartEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EventResponse>>;
347
+ /**
348
+ * Record an event for a subject path_part from the frontend. Auth: caller must hold ``can_write`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Server stamps ``actor_user_id`` from the caller\'s identity — callers cannot impersonate other users on the audit trail. ``kind`` is free-form text but reserved server namespaces (``workflow.``, ``document.``, ``folder.``, ``permission.``, ``connector.``, ``query.``, ``auth.``, ``tenant.``) are rejected at 422 so clients cannot forge server-emitted audit events. Clients should namespace under ``client.*``. ``payload`` is capped at 64KB encoded JSON.
349
+ * Append Path Part Event Handler
350
+ */
351
+ appendPathPartEvent(requestParameters: AppendPathPartEventRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EventResponse>;
257
352
  /**
258
353
  * Creates request options for bulkRemovePathPartTags without sending the request
259
354
  */
@@ -324,6 +419,20 @@ export declare class PathPartsApi extends runtime.BaseAPI implements PathPartsAp
324
419
  * Get Path Part Tags Handler
325
420
  */
326
421
  getPathPartTags(requestParameters: GetPathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
422
+ /**
423
+ * Creates request options for listPathPartEvents without sending the request
424
+ */
425
+ listPathPartEventsRequestOpts(requestParameters: ListPathPartEventsRequest): Promise<runtime.RequestOpts>;
426
+ /**
427
+ * List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
428
+ * List Path Part Events Handler
429
+ */
430
+ listPathPartEventsRaw(requestParameters: ListPathPartEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseEventResponse>>;
431
+ /**
432
+ * List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
433
+ * List Path Part Events Handler
434
+ */
435
+ listPathPartEvents(requestParameters: ListPathPartEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseEventResponse>;
327
436
  /**
328
437
  * Creates request options for listPathParts without sending the request
329
438
  */
@@ -62,6 +62,55 @@ const index_1 = require("../models/index");
62
62
  *
63
63
  */
64
64
  class PathPartsApi extends runtime.BaseAPI {
65
+ /**
66
+ * Creates request options for appendPathPartEvent without sending the request
67
+ */
68
+ appendPathPartEventRequestOpts(requestParameters) {
69
+ return __awaiter(this, void 0, void 0, function* () {
70
+ if (requestParameters['pathPartId'] == null) {
71
+ throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling appendPathPartEvent().');
72
+ }
73
+ if (requestParameters['appendEventRequest'] == null) {
74
+ throw new runtime.RequiredError('appendEventRequest', 'Required parameter "appendEventRequest" was null or undefined when calling appendPathPartEvent().');
75
+ }
76
+ const queryParameters = {};
77
+ const headerParameters = {};
78
+ headerParameters['Content-Type'] = 'application/json';
79
+ if (requestParameters['authorization'] != null) {
80
+ headerParameters['authorization'] = String(requestParameters['authorization']);
81
+ }
82
+ let urlPath = `/v1/path-parts/{path_part_id}/events`;
83
+ urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
84
+ return {
85
+ path: urlPath,
86
+ method: 'POST',
87
+ headers: headerParameters,
88
+ query: queryParameters,
89
+ body: (0, index_1.AppendEventRequestToJSON)(requestParameters['appendEventRequest']),
90
+ };
91
+ });
92
+ }
93
+ /**
94
+ * Record an event for a subject path_part from the frontend. Auth: caller must hold ``can_write`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Server stamps ``actor_user_id`` from the caller\'s identity — callers cannot impersonate other users on the audit trail. ``kind`` is free-form text but reserved server namespaces (``workflow.``, ``document.``, ``folder.``, ``permission.``, ``connector.``, ``query.``, ``auth.``, ``tenant.``) are rejected at 422 so clients cannot forge server-emitted audit events. Clients should namespace under ``client.*``. ``payload`` is capped at 64KB encoded JSON.
95
+ * Append Path Part Event Handler
96
+ */
97
+ appendPathPartEventRaw(requestParameters, initOverrides) {
98
+ return __awaiter(this, void 0, void 0, function* () {
99
+ const requestOptions = yield this.appendPathPartEventRequestOpts(requestParameters);
100
+ const response = yield this.request(requestOptions, initOverrides);
101
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.EventResponseFromJSON)(jsonValue));
102
+ });
103
+ }
104
+ /**
105
+ * Record an event for a subject path_part from the frontend. Auth: caller must hold ``can_write`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Server stamps ``actor_user_id`` from the caller\'s identity — callers cannot impersonate other users on the audit trail. ``kind`` is free-form text but reserved server namespaces (``workflow.``, ``document.``, ``folder.``, ``permission.``, ``connector.``, ``query.``, ``auth.``, ``tenant.``) are rejected at 422 so clients cannot forge server-emitted audit events. Clients should namespace under ``client.*``. ``payload`` is capped at 64KB encoded JSON.
106
+ * Append Path Part Event Handler
107
+ */
108
+ appendPathPartEvent(requestParameters, initOverrides) {
109
+ return __awaiter(this, void 0, void 0, function* () {
110
+ const response = yield this.appendPathPartEventRaw(requestParameters, initOverrides);
111
+ return yield response.value();
112
+ });
113
+ }
65
114
  /**
66
115
  * Creates request options for bulkRemovePathPartTags without sending the request
67
116
  */
@@ -290,6 +339,68 @@ class PathPartsApi extends runtime.BaseAPI {
290
339
  return yield response.value();
291
340
  });
292
341
  }
342
+ /**
343
+ * Creates request options for listPathPartEvents without sending the request
344
+ */
345
+ listPathPartEventsRequestOpts(requestParameters) {
346
+ return __awaiter(this, void 0, void 0, function* () {
347
+ if (requestParameters['pathPartId'] == null) {
348
+ throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling listPathPartEvents().');
349
+ }
350
+ const queryParameters = {};
351
+ if (requestParameters['kind'] != null) {
352
+ queryParameters['kind'] = requestParameters['kind'];
353
+ }
354
+ if (requestParameters['since'] != null) {
355
+ queryParameters['since'] = requestParameters['since'].toISOString();
356
+ }
357
+ if (requestParameters['until'] != null) {
358
+ queryParameters['until'] = requestParameters['until'].toISOString();
359
+ }
360
+ if (requestParameters['recursive'] != null) {
361
+ queryParameters['recursive'] = requestParameters['recursive'];
362
+ }
363
+ if (requestParameters['limit'] != null) {
364
+ queryParameters['limit'] = requestParameters['limit'];
365
+ }
366
+ if (requestParameters['offset'] != null) {
367
+ queryParameters['offset'] = requestParameters['offset'];
368
+ }
369
+ const headerParameters = {};
370
+ if (requestParameters['authorization'] != null) {
371
+ headerParameters['authorization'] = String(requestParameters['authorization']);
372
+ }
373
+ let urlPath = `/v1/path-parts/{path_part_id}/events`;
374
+ urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
375
+ return {
376
+ path: urlPath,
377
+ method: 'GET',
378
+ headers: headerParameters,
379
+ query: queryParameters,
380
+ };
381
+ });
382
+ }
383
+ /**
384
+ * List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
385
+ * List Path Part Events Handler
386
+ */
387
+ listPathPartEventsRaw(requestParameters, initOverrides) {
388
+ return __awaiter(this, void 0, void 0, function* () {
389
+ const requestOptions = yield this.listPathPartEventsRequestOpts(requestParameters);
390
+ const response = yield this.request(requestOptions, initOverrides);
391
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PaginatedResponseEventResponseFromJSON)(jsonValue));
392
+ });
393
+ }
394
+ /**
395
+ * List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject\'s materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
396
+ * List Path Part Events Handler
397
+ */
398
+ listPathPartEvents(requestParameters, initOverrides) {
399
+ return __awaiter(this, void 0, void 0, function* () {
400
+ const response = yield this.listPathPartEventsRaw(requestParameters, initOverrides);
401
+ return yield response.value();
402
+ });
403
+ }
293
404
  /**
294
405
  * Creates request options for listPathParts without sending the request
295
406
  */