@knowledge-stack/ksapi 1.83.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.
- package/.openapi-generator/FILES +18 -0
- package/README.md +17 -2
- package/dist/apis/PathPartsApi.d.ts +110 -1
- package/dist/apis/PathPartsApi.js +111 -0
- package/dist/apis/WorkflowMemoryApi.d.ts +249 -0
- package/dist/apis/WorkflowMemoryApi.js +299 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/PathPartsApi.d.ts +110 -1
- package/dist/esm/apis/PathPartsApi.js +112 -1
- package/dist/esm/apis/WorkflowMemoryApi.d.ts +249 -0
- package/dist/esm/apis/WorkflowMemoryApi.js +262 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppendEventRequest.d.ts +62 -0
- package/dist/esm/models/AppendEventRequest.js +51 -0
- package/dist/esm/models/AppendMemoryChunkRequest.d.ts +54 -0
- package/dist/esm/models/AppendMemoryChunkRequest.js +52 -0
- package/dist/esm/models/ChunkBulkResponse.d.ts +4 -4
- package/dist/esm/models/ChunkContentItem.d.ts +2 -2
- package/dist/esm/models/ChunkResponse.d.ts +4 -4
- package/dist/esm/models/CreateThreadMessageRequest.d.ts +2 -2
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +1 -1
- package/dist/esm/models/DocumentVersionMetadata.d.ts +4 -4
- package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +2 -2
- package/dist/esm/models/EditMemoryChunkRequest.d.ts +47 -0
- package/dist/esm/models/EditMemoryChunkRequest.js +49 -0
- package/dist/esm/models/EventResponse.d.ts +83 -0
- package/dist/esm/models/EventResponse.js +64 -0
- package/dist/esm/models/ListMemoryChunksResponse.d.ts +48 -0
- package/dist/esm/models/ListMemoryChunksResponse.js +45 -0
- package/dist/esm/models/MemoryChunkResponse.d.ts +60 -0
- package/dist/esm/models/MemoryChunkResponse.js +53 -0
- package/dist/esm/models/MemoryKind.d.ts +29 -0
- package/dist/esm/models/MemoryKind.js +47 -0
- package/dist/esm/models/PaginatedResponseEventResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseEventResponse.js +70 -0
- package/dist/esm/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/esm/models/SectionSystemMetadata.d.ts +1 -1
- package/dist/esm/models/TenantSettingsUpdate.d.ts +2 -2
- package/dist/esm/models/ThreadMessageDetailsInput.d.ts +2 -2
- package/dist/esm/models/ThreadMessageDetailsOutput.d.ts +2 -2
- package/dist/esm/models/ThreadMessageResponse.d.ts +2 -2
- package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +2 -2
- package/dist/esm/models/UpdateTenantRequest.d.ts +4 -4
- package/dist/esm/models/UpdateWorkflowDefinitionRequest.d.ts +1 -1
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +1 -1
- package/dist/esm/models/WorkflowRunSnapshot.d.ts +1 -1
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/AppendEventRequest.d.ts +62 -0
- package/dist/models/AppendEventRequest.js +59 -0
- package/dist/models/AppendMemoryChunkRequest.d.ts +54 -0
- package/dist/models/AppendMemoryChunkRequest.js +60 -0
- package/dist/models/ChunkBulkResponse.d.ts +4 -4
- package/dist/models/ChunkContentItem.d.ts +2 -2
- package/dist/models/ChunkResponse.d.ts +4 -4
- package/dist/models/CreateThreadMessageRequest.d.ts +2 -2
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +1 -1
- package/dist/models/DocumentVersionMetadata.d.ts +4 -4
- package/dist/models/DocumentVersionMetadataUpdate.d.ts +2 -2
- package/dist/models/EditMemoryChunkRequest.d.ts +47 -0
- package/dist/models/EditMemoryChunkRequest.js +57 -0
- package/dist/models/EventResponse.d.ts +83 -0
- package/dist/models/EventResponse.js +72 -0
- package/dist/models/ListMemoryChunksResponse.d.ts +48 -0
- package/dist/models/ListMemoryChunksResponse.js +53 -0
- package/dist/models/MemoryChunkResponse.d.ts +60 -0
- package/dist/models/MemoryChunkResponse.js +61 -0
- package/dist/models/MemoryKind.d.ts +29 -0
- package/dist/models/MemoryKind.js +55 -0
- package/dist/models/PaginatedResponseEventResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseEventResponse.js +78 -0
- package/dist/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/models/SectionSystemMetadata.d.ts +1 -1
- package/dist/models/TenantSettingsUpdate.d.ts +2 -2
- package/dist/models/ThreadMessageDetailsInput.d.ts +2 -2
- package/dist/models/ThreadMessageDetailsOutput.d.ts +2 -2
- package/dist/models/ThreadMessageResponse.d.ts +2 -2
- package/dist/models/UpdateChunkMetadataRequest.d.ts +2 -2
- package/dist/models/UpdateTenantRequest.d.ts +4 -4
- package/dist/models/UpdateWorkflowDefinitionRequest.d.ts +1 -1
- package/dist/models/WorkflowDefinitionResponse.d.ts +1 -1
- package/dist/models/WorkflowRunSnapshot.d.ts +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/AppendEventRequest.md +37 -0
- package/docs/AppendMemoryChunkRequest.md +36 -0
- package/docs/EditMemoryChunkRequest.md +34 -0
- package/docs/EventResponse.md +45 -0
- package/docs/ListMemoryChunksResponse.md +34 -0
- package/docs/MemoryChunkResponse.md +39 -0
- package/docs/MemoryKind.md +33 -0
- package/docs/PaginatedResponseEventResponse.md +40 -0
- package/docs/PathPartsApi.md +171 -0
- package/docs/WorkflowMemoryApi.md +390 -0
- package/package.json +1 -1
- package/src/apis/PathPartsApi.ts +234 -0
- package/src/apis/WorkflowMemoryApi.ts +522 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppendEventRequest.ts +102 -0
- package/src/models/AppendMemoryChunkRequest.ts +105 -0
- package/src/models/ChunkBulkResponse.ts +4 -4
- package/src/models/ChunkContentItem.ts +2 -2
- package/src/models/ChunkResponse.ts +4 -4
- package/src/models/CreateThreadMessageRequest.ts +2 -2
- package/src/models/CreateWorkflowDefinitionRequest.ts +1 -1
- package/src/models/DocumentVersionMetadata.ts +4 -4
- package/src/models/DocumentVersionMetadataUpdate.ts +2 -2
- package/src/models/EditMemoryChunkRequest.ts +87 -0
- package/src/models/EventResponse.ts +132 -0
- package/src/models/ListMemoryChunksResponse.ts +91 -0
- package/src/models/MemoryChunkResponse.ts +111 -0
- package/src/models/MemoryKind.ts +57 -0
- package/src/models/PaginatedResponseEventResponse.ts +130 -0
- package/src/models/ScoredChunkResponse.ts +4 -4
- package/src/models/SectionSystemMetadata.ts +1 -1
- package/src/models/TenantSettingsUpdate.ts +2 -2
- package/src/models/ThreadMessageDetailsInput.ts +2 -2
- package/src/models/ThreadMessageDetailsOutput.ts +2 -2
- package/src/models/ThreadMessageResponse.ts +2 -2
- package/src/models/UpdateChunkMetadataRequest.ts +2 -2
- package/src/models/UpdateTenantRequest.ts +4 -4
- package/src/models/UpdateWorkflowDefinitionRequest.ts +1 -1
- package/src/models/WorkflowDefinitionResponse.ts +1 -1
- package/src/models/WorkflowRunSnapshot.ts +1 -1
- package/src/models/index.ts +8 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -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
|
|
@@ -223,6 +231,7 @@ docs/WorkflowCancelResponse.md
|
|
|
223
231
|
docs/WorkflowDefinitionResponse.md
|
|
224
232
|
docs/WorkflowDefinitionsApi.md
|
|
225
233
|
docs/WorkflowDetailResponse.md
|
|
234
|
+
docs/WorkflowMemoryApi.md
|
|
226
235
|
docs/WorkflowRunCallbackRequest.md
|
|
227
236
|
docs/WorkflowRunResponse.md
|
|
228
237
|
docs/WorkflowRunSnapshot.md
|
|
@@ -256,6 +265,7 @@ src/apis/ThreadsApi.ts
|
|
|
256
265
|
src/apis/UserPermissionsApi.ts
|
|
257
266
|
src/apis/UsersApi.ts
|
|
258
267
|
src/apis/WorkflowDefinitionsApi.ts
|
|
268
|
+
src/apis/WorkflowMemoryApi.ts
|
|
259
269
|
src/apis/WorkflowRunsApi.ts
|
|
260
270
|
src/apis/WorkflowsApi.ts
|
|
261
271
|
src/apis/index.ts
|
|
@@ -265,6 +275,8 @@ src/models/AcceptInviteResponse.ts
|
|
|
265
275
|
src/models/AddMemberRequest.ts
|
|
266
276
|
src/models/AncestryResponse.ts
|
|
267
277
|
src/models/ApiKeyResponse.ts
|
|
278
|
+
src/models/AppendEventRequest.ts
|
|
279
|
+
src/models/AppendMemoryChunkRequest.ts
|
|
268
280
|
src/models/Args.ts
|
|
269
281
|
src/models/AskRequest.ts
|
|
270
282
|
src/models/AskResponse.ts
|
|
@@ -310,10 +322,12 @@ src/models/DocumentVersionContentTypeFilter.ts
|
|
|
310
322
|
src/models/DocumentVersionMetadata.ts
|
|
311
323
|
src/models/DocumentVersionMetadataUpdate.ts
|
|
312
324
|
src/models/DocumentVersionResponse.ts
|
|
325
|
+
src/models/EditMemoryChunkRequest.ts
|
|
313
326
|
src/models/EmailSentResponse.ts
|
|
314
327
|
src/models/EmailVerificationRequest.ts
|
|
315
328
|
src/models/EnrichedCitation.ts
|
|
316
329
|
src/models/EnrichedThreadMessageContent.ts
|
|
330
|
+
src/models/EventResponse.ts
|
|
317
331
|
src/models/ExtractRequest.ts
|
|
318
332
|
src/models/ExtractResponse.ts
|
|
319
333
|
src/models/FeaturesResponse.ts
|
|
@@ -346,8 +360,11 @@ src/models/InvokeWorkflowRequest.ts
|
|
|
346
360
|
src/models/LineageEdgeResponse.ts
|
|
347
361
|
src/models/LineageGraphResponse.ts
|
|
348
362
|
src/models/LineageNodeResponse.ts
|
|
363
|
+
src/models/ListMemoryChunksResponse.ts
|
|
349
364
|
src/models/LocationInner.ts
|
|
350
365
|
src/models/MembershipResponse.ts
|
|
366
|
+
src/models/MemoryChunkResponse.ts
|
|
367
|
+
src/models/MemoryKind.ts
|
|
351
368
|
src/models/MessageRole.ts
|
|
352
369
|
src/models/MeteredQuotaStatus.ts
|
|
353
370
|
src/models/NonFilesystemReferenceType.ts
|
|
@@ -357,6 +374,7 @@ src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscrimi
|
|
|
357
374
|
src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts
|
|
358
375
|
src/models/PaginatedResponseDocumentResponse.ts
|
|
359
376
|
src/models/PaginatedResponseDocumentVersionResponse.ts
|
|
377
|
+
src/models/PaginatedResponseEventResponse.ts
|
|
360
378
|
src/models/PaginatedResponseFeedbackEventResponse.ts
|
|
361
379
|
src/models/PaginatedResponseFolderResponse.ts
|
|
362
380
|
src/models/PaginatedResponseGroupPermissionResponse.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
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,6 +193,11 @@ 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
|
|
194
201
|
*WorkflowRunsApi* | [**acquireWorkflowRunLock**](docs/WorkflowRunsApi.md#acquireworkflowrunlock) | **POST** /v1/workflow-runs/{run_id}/lock | Acquire Workflow Run Lock Handler
|
|
195
202
|
*WorkflowRunsApi* | [**approveWorkflowRunFile**](docs/WorkflowRunsApi.md#approveworkflowrunfile) | **POST** /v1/workflow-runs/{run_id}/files/{path_part_id}/approve | Approve Workflow Run File Handler
|
|
196
203
|
*WorkflowRunsApi* | [**deleteWorkflowRun**](docs/WorkflowRunsApi.md#deleteworkflowrun) | **DELETE** /v1/workflow-runs/{run_id} | Delete Workflow Run Handler
|
|
@@ -213,6 +220,8 @@ All URIs are relative to *http://localhost:8000*
|
|
|
213
220
|
- [AddMemberRequest](docs/AddMemberRequest.md)
|
|
214
221
|
- [AncestryResponse](docs/AncestryResponse.md)
|
|
215
222
|
- [ApiKeyResponse](docs/ApiKeyResponse.md)
|
|
223
|
+
- [AppendEventRequest](docs/AppendEventRequest.md)
|
|
224
|
+
- [AppendMemoryChunkRequest](docs/AppendMemoryChunkRequest.md)
|
|
216
225
|
- [Args](docs/Args.md)
|
|
217
226
|
- [AskRequest](docs/AskRequest.md)
|
|
218
227
|
- [AskResponse](docs/AskResponse.md)
|
|
@@ -258,10 +267,12 @@ All URIs are relative to *http://localhost:8000*
|
|
|
258
267
|
- [DocumentVersionMetadata](docs/DocumentVersionMetadata.md)
|
|
259
268
|
- [DocumentVersionMetadataUpdate](docs/DocumentVersionMetadataUpdate.md)
|
|
260
269
|
- [DocumentVersionResponse](docs/DocumentVersionResponse.md)
|
|
270
|
+
- [EditMemoryChunkRequest](docs/EditMemoryChunkRequest.md)
|
|
261
271
|
- [EmailSentResponse](docs/EmailSentResponse.md)
|
|
262
272
|
- [EmailVerificationRequest](docs/EmailVerificationRequest.md)
|
|
263
273
|
- [EnrichedCitation](docs/EnrichedCitation.md)
|
|
264
274
|
- [EnrichedThreadMessageContent](docs/EnrichedThreadMessageContent.md)
|
|
275
|
+
- [EventResponse](docs/EventResponse.md)
|
|
265
276
|
- [ExtractRequest](docs/ExtractRequest.md)
|
|
266
277
|
- [ExtractResponse](docs/ExtractResponse.md)
|
|
267
278
|
- [FeaturesResponse](docs/FeaturesResponse.md)
|
|
@@ -294,8 +305,11 @@ All URIs are relative to *http://localhost:8000*
|
|
|
294
305
|
- [LineageEdgeResponse](docs/LineageEdgeResponse.md)
|
|
295
306
|
- [LineageGraphResponse](docs/LineageGraphResponse.md)
|
|
296
307
|
- [LineageNodeResponse](docs/LineageNodeResponse.md)
|
|
308
|
+
- [ListMemoryChunksResponse](docs/ListMemoryChunksResponse.md)
|
|
297
309
|
- [LocationInner](docs/LocationInner.md)
|
|
298
310
|
- [MembershipResponse](docs/MembershipResponse.md)
|
|
311
|
+
- [MemoryChunkResponse](docs/MemoryChunkResponse.md)
|
|
312
|
+
- [MemoryKind](docs/MemoryKind.md)
|
|
299
313
|
- [MessageRole](docs/MessageRole.md)
|
|
300
314
|
- [MeteredQuotaStatus](docs/MeteredQuotaStatus.md)
|
|
301
315
|
- [NonFilesystemReferenceType](docs/NonFilesystemReferenceType.md)
|
|
@@ -305,6 +319,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
305
319
|
- [PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator](docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md)
|
|
306
320
|
- [PaginatedResponseDocumentResponse](docs/PaginatedResponseDocumentResponse.md)
|
|
307
321
|
- [PaginatedResponseDocumentVersionResponse](docs/PaginatedResponseDocumentVersionResponse.md)
|
|
322
|
+
- [PaginatedResponseEventResponse](docs/PaginatedResponseEventResponse.md)
|
|
308
323
|
- [PaginatedResponseFeedbackEventResponse](docs/PaginatedResponseFeedbackEventResponse.md)
|
|
309
324
|
- [PaginatedResponseFolderResponse](docs/PaginatedResponseFolderResponse.md)
|
|
310
325
|
- [PaginatedResponseGroupPermissionResponse](docs/PaginatedResponseGroupPermissionResponse.md)
|
|
@@ -424,7 +439,7 @@ and is automatically generated by the
|
|
|
424
439
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
425
440
|
|
|
426
441
|
- API version: `0.1.0`
|
|
427
|
-
- Package version: `1.
|
|
442
|
+
- Package version: `1.84.0`
|
|
428
443
|
- Generator version: `7.21.0`
|
|
429
444
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
430
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
|
*/
|