@knowledge-stack/ksapi 1.88.0 → 1.89.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 +38 -20
- package/README.md +30 -19
- package/dist/apis/DocumentCheckoutApi.d.ts +16 -13
- package/dist/apis/DocumentCheckoutApi.js +17 -14
- package/dist/apis/DocumentVersionsApi.d.ts +1 -4
- package/dist/apis/DocumentVersionsApi.js +0 -2
- package/dist/apis/DocumentsApi.d.ts +1 -4
- package/dist/apis/DocumentsApi.js +0 -2
- package/dist/apis/FoldersApi.d.ts +10 -13
- package/dist/apis/FoldersApi.js +2 -4
- package/dist/apis/PathPartApprovalsApi.d.ts +117 -0
- package/dist/apis/PathPartApprovalsApi.js +159 -0
- package/dist/apis/PathPartsApi.d.ts +4 -4
- package/dist/apis/PathPartsApi.js +2 -2
- package/dist/apis/WorkflowDefinitionsApi.d.ts +48 -42
- package/dist/apis/WorkflowDefinitionsApi.js +65 -43
- package/dist/apis/WorkflowMemoryApi.d.ts +12 -9
- package/dist/apis/WorkflowMemoryApi.js +7 -3
- package/dist/apis/WorkflowRunsApi.d.ts +115 -65
- package/dist/apis/WorkflowRunsApi.js +100 -53
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/DocumentCheckoutApi.d.ts +16 -13
- package/dist/esm/apis/DocumentCheckoutApi.js +17 -14
- package/dist/esm/apis/DocumentVersionsApi.d.ts +1 -4
- package/dist/esm/apis/DocumentVersionsApi.js +0 -2
- package/dist/esm/apis/DocumentsApi.d.ts +1 -4
- package/dist/esm/apis/DocumentsApi.js +0 -2
- package/dist/esm/apis/FoldersApi.d.ts +10 -13
- package/dist/esm/apis/FoldersApi.js +3 -5
- package/dist/esm/apis/PathPartApprovalsApi.d.ts +117 -0
- package/dist/esm/apis/PathPartApprovalsApi.js +122 -0
- package/dist/esm/apis/PathPartsApi.d.ts +4 -4
- package/dist/esm/apis/PathPartsApi.js +2 -2
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +48 -42
- package/dist/esm/apis/WorkflowDefinitionsApi.js +66 -44
- package/dist/esm/apis/WorkflowMemoryApi.d.ts +12 -9
- package/dist/esm/apis/WorkflowMemoryApi.js +8 -4
- package/dist/esm/apis/WorkflowRunsApi.d.ts +115 -65
- package/dist/esm/apis/WorkflowRunsApi.js +101 -54
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ChunkContentItem.d.ts +7 -0
- package/dist/esm/models/ChunkContentItem.js +5 -0
- package/dist/esm/models/CitedChunk.d.ts +86 -0
- package/dist/esm/models/CitedChunk.js +55 -0
- package/dist/esm/models/CloneWorkflowRunRequest.d.ts +54 -0
- package/dist/esm/models/CloneWorkflowRunRequest.js +44 -0
- package/dist/esm/models/CreateThreadMessageRequest.d.ts +1 -1
- package/dist/esm/models/CreateThreadRequest.d.ts +13 -1
- package/dist/esm/models/CreateThreadRequest.js +8 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -41
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +5 -35
- package/dist/esm/models/DocumentCheckoutResponse.d.ts +6 -5
- package/dist/esm/models/DocumentCheckoutResponse.js +7 -6
- package/dist/esm/models/DocumentResponse.d.ts +11 -3
- package/dist/esm/models/DocumentResponse.js +9 -3
- package/dist/esm/models/DocumentVersionMetadata.d.ts +7 -0
- package/dist/esm/models/DocumentVersionMetadata.js +3 -0
- package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +7 -0
- package/dist/esm/models/DocumentVersionMetadataUpdate.js +3 -0
- package/dist/esm/models/DocumentVersionResponse.d.ts +4 -3
- package/dist/esm/models/DocumentVersionResponse.js +4 -3
- package/dist/esm/models/DocxParagraphAnchorInput.d.ts +79 -0
- package/dist/esm/models/DocxParagraphAnchorInput.js +71 -0
- package/dist/esm/models/DocxParagraphAnchorOutput.d.ts +88 -0
- package/dist/esm/models/DocxParagraphAnchorOutput.js +74 -0
- package/dist/esm/models/FolderResponse.d.ts +7 -0
- package/dist/esm/models/FolderResponse.js +5 -0
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +33 -0
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js +57 -0
- package/dist/esm/models/InputSnapshot.d.ts +81 -0
- package/dist/esm/models/{ABCDPathSnapshot.js → InputSnapshot.js} +18 -12
- package/dist/esm/models/InstructionSnapshot.d.ts +16 -10
- package/dist/esm/models/InstructionSnapshot.js +11 -6
- package/dist/esm/models/MemoryChunkResponse.d.ts +1 -1
- package/dist/esm/models/MemoryKind.d.ts +1 -4
- package/dist/esm/models/MemoryKind.js +1 -4
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PaginatedResponseMemoryChunkResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseMemoryChunkResponse.js +70 -0
- package/dist/esm/models/PathPartApprovalDecision.d.ts +6 -5
- package/dist/esm/models/PathPartApprovalDecision.js +7 -6
- package/dist/esm/models/PathPartApprovalResponse.d.ts +2 -23
- package/dist/esm/models/PathPartApprovalResponse.js +3 -15
- package/dist/esm/models/PathPartApprovalState.d.ts +32 -0
- package/dist/esm/models/PathPartApprovalState.js +50 -0
- package/dist/esm/models/SectionContentItem.d.ts +7 -0
- package/dist/esm/models/SectionContentItem.js +5 -0
- package/dist/esm/models/SetApprovalStateRequest.d.ts +69 -0
- package/dist/esm/models/SetApprovalStateRequest.js +57 -0
- package/dist/esm/models/SetWorkflowRunApprovalRequest.d.ts +64 -0
- package/dist/esm/models/SetWorkflowRunApprovalRequest.js +56 -0
- package/dist/esm/models/ThreadMessageResponse.d.ts +7 -1
- package/dist/esm/models/ThreadMessageResponse.js +2 -0
- package/dist/esm/models/ThreadResponse.d.ts +1 -1
- package/dist/esm/models/UpdateThreadRequest.d.ts +1 -1
- package/dist/esm/models/UpdateWorkflowDefinitionRequest.d.ts +4 -41
- package/dist/esm/models/UpdateWorkflowDefinitionRequest.js +7 -38
- package/dist/esm/models/UpdateWorkflowRunRequest.d.ts +58 -0
- package/dist/esm/models/UpdateWorkflowRunRequest.js +53 -0
- package/dist/esm/models/UserInfo.d.ts +59 -0
- package/dist/esm/models/UserInfo.js +52 -0
- package/dist/esm/models/UserMessageRequest.d.ts +1 -1
- package/dist/esm/models/UserMessageResponse.d.ts +1 -1
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +42 -24
- package/dist/esm/models/WorkflowDefinitionResponse.js +31 -24
- package/dist/esm/models/WorkflowExecutionState.d.ts +42 -0
- package/dist/esm/models/WorkflowExecutionState.js +60 -0
- package/dist/esm/models/WorkflowRunResponse.d.ts +91 -18
- package/dist/esm/models/WorkflowRunResponse.js +59 -18
- package/dist/esm/models/WorkflowRunSnapshot.d.ts +14 -37
- package/dist/esm/models/WorkflowRunSnapshot.js +7 -28
- package/dist/esm/models/XlsxCellAnchorInput.d.ts +79 -0
- package/dist/esm/models/XlsxCellAnchorInput.js +67 -0
- package/dist/esm/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.d.ts +27 -0
- package/dist/esm/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.js +47 -0
- package/dist/esm/models/XlsxCellAnchorOutput.d.ts +90 -0
- package/dist/esm/models/XlsxCellAnchorOutput.js +70 -0
- package/dist/esm/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.d.ts +27 -0
- package/dist/esm/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.js +47 -0
- package/dist/esm/models/index.d.ts +18 -10
- package/dist/esm/models/index.js +18 -10
- package/dist/models/ChunkContentItem.d.ts +7 -0
- package/dist/models/ChunkContentItem.js +5 -0
- package/dist/models/CitedChunk.d.ts +86 -0
- package/dist/models/CitedChunk.js +63 -0
- package/dist/models/CloneWorkflowRunRequest.d.ts +54 -0
- package/dist/models/CloneWorkflowRunRequest.js +52 -0
- package/dist/models/CreateThreadMessageRequest.d.ts +1 -1
- package/dist/models/CreateThreadRequest.d.ts +13 -1
- package/dist/models/CreateThreadRequest.js +8 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -41
- package/dist/models/CreateWorkflowDefinitionRequest.js +5 -35
- package/dist/models/DocumentCheckoutResponse.d.ts +6 -5
- package/dist/models/DocumentCheckoutResponse.js +7 -6
- package/dist/models/DocumentResponse.d.ts +11 -3
- package/dist/models/DocumentResponse.js +9 -3
- package/dist/models/DocumentVersionMetadata.d.ts +7 -0
- package/dist/models/DocumentVersionMetadata.js +3 -0
- package/dist/models/DocumentVersionMetadataUpdate.d.ts +7 -0
- package/dist/models/DocumentVersionMetadataUpdate.js +3 -0
- package/dist/models/DocumentVersionResponse.d.ts +4 -3
- package/dist/models/DocumentVersionResponse.js +4 -3
- package/dist/models/DocxParagraphAnchorInput.d.ts +79 -0
- package/dist/models/DocxParagraphAnchorInput.js +79 -0
- package/dist/models/DocxParagraphAnchorOutput.d.ts +88 -0
- package/dist/models/DocxParagraphAnchorOutput.js +82 -0
- package/dist/models/FolderResponse.d.ts +7 -0
- package/dist/models/FolderResponse.js +5 -0
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +33 -0
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js +63 -0
- package/dist/models/InputSnapshot.d.ts +81 -0
- package/dist/models/{ABCDPathSnapshot.js → InputSnapshot.js} +24 -18
- package/dist/models/InstructionSnapshot.d.ts +16 -10
- package/dist/models/InstructionSnapshot.js +12 -7
- package/dist/models/MemoryChunkResponse.d.ts +1 -1
- package/dist/models/MemoryKind.d.ts +1 -4
- package/dist/models/MemoryKind.js +1 -4
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponseMemoryChunkResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseMemoryChunkResponse.js +78 -0
- package/dist/models/PathPartApprovalDecision.d.ts +6 -5
- package/dist/models/PathPartApprovalDecision.js +7 -6
- package/dist/models/PathPartApprovalResponse.d.ts +2 -23
- package/dist/models/PathPartApprovalResponse.js +3 -15
- package/dist/models/PathPartApprovalState.d.ts +32 -0
- package/dist/models/PathPartApprovalState.js +58 -0
- package/dist/models/SectionContentItem.d.ts +7 -0
- package/dist/models/SectionContentItem.js +5 -0
- package/dist/models/SetApprovalStateRequest.d.ts +69 -0
- package/dist/models/SetApprovalStateRequest.js +65 -0
- package/dist/models/SetWorkflowRunApprovalRequest.d.ts +64 -0
- package/dist/models/SetWorkflowRunApprovalRequest.js +64 -0
- package/dist/models/ThreadMessageResponse.d.ts +7 -1
- package/dist/models/ThreadMessageResponse.js +2 -0
- package/dist/models/ThreadResponse.d.ts +1 -1
- package/dist/models/UpdateThreadRequest.d.ts +1 -1
- package/dist/models/UpdateWorkflowDefinitionRequest.d.ts +4 -41
- package/dist/models/UpdateWorkflowDefinitionRequest.js +7 -38
- package/dist/models/UpdateWorkflowRunRequest.d.ts +58 -0
- package/dist/models/UpdateWorkflowRunRequest.js +61 -0
- package/dist/models/UserInfo.d.ts +59 -0
- package/dist/models/UserInfo.js +60 -0
- package/dist/models/UserMessageRequest.d.ts +1 -1
- package/dist/models/UserMessageResponse.d.ts +1 -1
- package/dist/models/WorkflowDefinitionResponse.d.ts +42 -24
- package/dist/models/WorkflowDefinitionResponse.js +32 -25
- package/dist/models/WorkflowExecutionState.d.ts +42 -0
- package/dist/models/WorkflowExecutionState.js +68 -0
- package/dist/models/WorkflowRunResponse.d.ts +91 -18
- package/dist/models/WorkflowRunResponse.js +60 -19
- package/dist/models/WorkflowRunSnapshot.d.ts +14 -37
- package/dist/models/WorkflowRunSnapshot.js +7 -28
- package/dist/models/XlsxCellAnchorInput.d.ts +79 -0
- package/dist/models/XlsxCellAnchorInput.js +75 -0
- package/dist/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.d.ts +27 -0
- package/dist/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.js +53 -0
- package/dist/models/XlsxCellAnchorOutput.d.ts +90 -0
- package/dist/models/XlsxCellAnchorOutput.js +78 -0
- package/dist/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.d.ts +27 -0
- package/dist/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.js +53 -0
- package/dist/models/index.d.ts +18 -10
- package/dist/models/index.js +18 -10
- package/docs/ChunkContentItem.md +2 -0
- package/docs/CitedChunk.md +45 -0
- package/docs/CloneWorkflowRunRequest.md +35 -0
- package/docs/CreateThreadMessageRequest.md +0 -1
- package/docs/CreateThreadRequest.md +4 -1
- package/docs/CreateWorkflowDefinitionRequest.md +3 -13
- package/docs/DocumentCheckoutApi.md +19 -16
- package/docs/DocumentCheckoutResponse.md +4 -4
- package/docs/DocumentResponse.md +4 -2
- package/docs/DocumentVersionMetadata.md +2 -0
- package/docs/DocumentVersionMetadataUpdate.md +2 -0
- package/docs/DocumentVersionResponse.md +2 -2
- package/docs/DocumentVersionsApi.md +0 -2
- package/docs/DocumentsApi.md +0 -2
- package/docs/{ABCDPathSnapshot.md → DocxParagraphAnchorInput.md} +15 -11
- package/docs/DocxParagraphAnchorOutput.md +45 -0
- package/docs/FolderResponse.md +2 -0
- package/docs/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.md +108 -0
- package/docs/FoldersApi.md +4 -6
- package/docs/InputSnapshot.md +39 -0
- package/docs/InstructionSnapshot.md +4 -4
- package/docs/MemoryChunkResponse.md +0 -1
- package/docs/MemoryKind.md +1 -1
- package/docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.md +40 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.md → PaginatedResponseMemoryChunkResponse.md} +5 -5
- package/docs/PathPartApprovalDecision.md +1 -1
- package/docs/PathPartApprovalResponse.md +3 -9
- package/docs/{InvokeWorkflowRequest.md → PathPartApprovalState.md} +5 -9
- package/docs/PathPartApprovalsApi.md +161 -0
- package/docs/PathPartsApi.md +1 -1
- package/docs/SectionContentItem.md +2 -0
- package/docs/SectionContentItemOrChunkContentItem.md +2 -0
- package/docs/SetApprovalStateRequest.md +37 -0
- package/docs/SetWorkflowRunApprovalRequest.md +37 -0
- package/docs/ThreadMessageResponse.md +2 -1
- package/docs/ThreadResponse.md +0 -1
- package/docs/UpdateThreadRequest.md +0 -1
- package/docs/UpdateWorkflowDefinitionRequest.md +3 -13
- package/docs/UpdateWorkflowRunRequest.md +37 -0
- package/docs/{RejectFileRequest.md → UserInfo.md} +11 -7
- package/docs/UserMessageRequest.md +0 -1
- package/docs/UserMessageResponse.md +0 -1
- package/docs/WorkflowDefinitionResponse.md +15 -13
- package/docs/WorkflowDefinitionsApi.md +38 -32
- package/docs/WorkflowExecutionState.md +33 -0
- package/docs/WorkflowMemoryApi.md +8 -4
- package/docs/WorkflowRunResponse.md +29 -9
- package/docs/WorkflowRunSnapshot.md +5 -15
- package/docs/WorkflowRunsApi.md +122 -42
- package/docs/{ListMemoryChunksResponse.md → XlsxCellAnchorInput.md} +15 -6
- package/docs/XlsxCellAnchorInputOrDocxParagraphAnchorInput.md +46 -0
- package/docs/XlsxCellAnchorOutput.md +45 -0
- package/docs/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.md +48 -0
- package/package.json +1 -1
- package/src/apis/DocumentCheckoutApi.ts +35 -28
- package/src/apis/DocumentVersionsApi.ts +1 -4
- package/src/apis/DocumentsApi.ts +1 -4
- package/src/apis/FoldersApi.ts +14 -17
- package/src/apis/PathPartApprovalsApi.ts +228 -0
- package/src/apis/PathPartsApi.ts +4 -4
- package/src/apis/WorkflowDefinitionsApi.ts +102 -78
- package/src/apis/WorkflowMemoryApi.ts +23 -12
- package/src/apis/WorkflowRunsApi.ts +198 -104
- package/src/apis/index.ts +1 -0
- package/src/models/ChunkContentItem.ts +16 -0
- package/src/models/CitedChunk.ts +141 -0
- package/src/models/CloneWorkflowRunRequest.ts +90 -0
- package/src/models/CreateThreadMessageRequest.ts +1 -1
- package/src/models/CreateThreadRequest.ts +21 -1
- package/src/models/CreateWorkflowDefinitionRequest.ts +11 -87
- package/src/models/DocumentCheckoutResponse.ts +19 -11
- package/src/models/DocumentResponse.ts +29 -6
- package/src/models/DocumentVersionMetadata.ts +15 -0
- package/src/models/DocumentVersionMetadataUpdate.ts +15 -0
- package/src/models/DocumentVersionResponse.ts +13 -6
- package/src/models/DocxParagraphAnchorInput.ts +142 -0
- package/src/models/DocxParagraphAnchorOutput.ts +153 -0
- package/src/models/FolderResponse.ts +16 -0
- package/src/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.ts +94 -0
- package/src/models/InputSnapshot.ts +126 -0
- package/src/models/InstructionSnapshot.ts +22 -22
- package/src/models/MemoryChunkResponse.ts +1 -1
- package/src/models/MemoryKind.ts +1 -4
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.ts} +25 -25
- package/src/models/PaginatedResponseMemoryChunkResponse.ts +130 -0
- package/src/models/PathPartApprovalDecision.ts +7 -6
- package/src/models/PathPartApprovalResponse.ts +5 -35
- package/src/models/PathPartApprovalState.ts +60 -0
- package/src/models/SectionContentItem.ts +17 -0
- package/src/models/SetApprovalStateRequest.ts +113 -0
- package/src/models/SetWorkflowRunApprovalRequest.ts +108 -0
- package/src/models/ThreadMessageResponse.ts +9 -1
- package/src/models/ThreadResponse.ts +1 -1
- package/src/models/UpdateThreadRequest.ts +1 -1
- package/src/models/UpdateWorkflowDefinitionRequest.ts +11 -90
- package/src/models/UpdateWorkflowRunRequest.ts +103 -0
- package/src/models/UserInfo.ts +101 -0
- package/src/models/UserMessageRequest.ts +1 -1
- package/src/models/UserMessageResponse.ts +1 -1
- package/src/models/WorkflowDefinitionResponse.ts +68 -53
- package/src/models/WorkflowExecutionState.ts +70 -0
- package/src/models/WorkflowRunResponse.ts +151 -44
- package/src/models/WorkflowRunSnapshot.ts +25 -71
- package/src/models/XlsxCellAnchorInput.ts +138 -0
- package/src/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.ts +72 -0
- package/src/models/XlsxCellAnchorOutput.ts +151 -0
- package/src/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.ts +72 -0
- package/src/models/index.ts +18 -10
- package/dist/esm/models/ABCDPathSnapshot.d.ts +0 -60
- package/dist/esm/models/FolderResponseOrDocumentResponse.d.ts +0 -27
- package/dist/esm/models/FolderResponseOrDocumentResponse.js +0 -47
- package/dist/esm/models/InvokeWorkflowRequest.d.ts +0 -53
- package/dist/esm/models/InvokeWorkflowRequest.js +0 -52
- package/dist/esm/models/ListMemoryChunksResponse.d.ts +0 -48
- package/dist/esm/models/ListMemoryChunksResponse.js +0 -45
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +0 -66
- package/dist/esm/models/RejectFileRequest.d.ts +0 -47
- package/dist/esm/models/RejectFileRequest.js +0 -49
- package/dist/esm/models/SelfHostedRunnerConfig.d.ts +0 -53
- package/dist/esm/models/SelfHostedRunnerConfig.js +0 -53
- package/dist/esm/models/SelfHostedRunnerConfigResponse.d.ts +0 -47
- package/dist/esm/models/SelfHostedRunnerConfigResponse.js +0 -49
- package/dist/esm/models/WorkflowRunStatus.d.ts +0 -45
- package/dist/esm/models/WorkflowRunStatus.js +0 -63
- package/dist/esm/models/WorkflowRunnerType.d.ts +0 -25
- package/dist/esm/models/WorkflowRunnerType.js +0 -43
- package/dist/models/ABCDPathSnapshot.d.ts +0 -60
- package/dist/models/FolderResponseOrDocumentResponse.d.ts +0 -27
- package/dist/models/FolderResponseOrDocumentResponse.js +0 -53
- package/dist/models/InvokeWorkflowRequest.d.ts +0 -53
- package/dist/models/InvokeWorkflowRequest.js +0 -60
- package/dist/models/ListMemoryChunksResponse.d.ts +0 -48
- package/dist/models/ListMemoryChunksResponse.js +0 -53
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.d.ts +0 -66
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseDiscriminator.js +0 -78
- package/dist/models/RejectFileRequest.d.ts +0 -47
- package/dist/models/RejectFileRequest.js +0 -57
- package/dist/models/SelfHostedRunnerConfig.d.ts +0 -53
- package/dist/models/SelfHostedRunnerConfig.js +0 -61
- package/dist/models/SelfHostedRunnerConfigResponse.d.ts +0 -47
- package/dist/models/SelfHostedRunnerConfigResponse.js +0 -57
- package/dist/models/WorkflowRunStatus.d.ts +0 -45
- package/dist/models/WorkflowRunStatus.js +0 -71
- package/dist/models/WorkflowRunnerType.d.ts +0 -25
- package/dist/models/WorkflowRunnerType.js +0 -51
- package/docs/FolderResponseOrDocumentResponse.md +0 -70
- package/docs/SelfHostedRunnerConfig.md +0 -37
- package/docs/SelfHostedRunnerConfigResponse.md +0 -35
- package/docs/WorkflowRunStatus.md +0 -33
- package/docs/WorkflowRunnerType.md +0 -33
- package/src/models/ABCDPathSnapshot.ts +0 -111
- package/src/models/FolderResponseOrDocumentResponse.ts +0 -72
- package/src/models/InvokeWorkflowRequest.ts +0 -97
- package/src/models/ListMemoryChunksResponse.ts +0 -91
- package/src/models/RejectFileRequest.ts +0 -87
- package/src/models/SelfHostedRunnerConfig.ts +0 -96
- package/src/models/SelfHostedRunnerConfigResponse.ts +0 -87
- package/src/models/WorkflowRunStatus.ts +0 -73
- package/src/models/WorkflowRunnerType.ts +0 -53
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CitedChunk } from './CitedChunk';
|
|
13
|
+
/**
|
|
14
|
+
* One citation anchored to a paragraph in a .docx deliverable.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DocxParagraphAnchorOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface DocxParagraphAnchorOutput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {DocxParagraphAnchorOutputTypeEnum}
|
|
22
|
+
* @memberof DocxParagraphAnchorOutput
|
|
23
|
+
*/
|
|
24
|
+
type?: DocxParagraphAnchorOutputTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
* 0-based position of the <w:p> in word/document.xml body.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof DocxParagraphAnchorOutput
|
|
29
|
+
*/
|
|
30
|
+
paragraphIndex: number;
|
|
31
|
+
/**
|
|
32
|
+
* w:id of the comment in word/comments.xml.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof DocxParagraphAnchorOutput
|
|
35
|
+
*/
|
|
36
|
+
commentId: number;
|
|
37
|
+
/**
|
|
38
|
+
* Cited chunks in the order they appeared in the comment body, each with the source-document snapshot resolved at save time.
|
|
39
|
+
* @type {Array<CitedChunk>}
|
|
40
|
+
* @memberof DocxParagraphAnchorOutput
|
|
41
|
+
*/
|
|
42
|
+
citations: Array<CitedChunk>;
|
|
43
|
+
/**
|
|
44
|
+
* Paragraph text at this anchor (first 160 chars), for FE display. NOT the cited quote.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof DocxParagraphAnchorOutput
|
|
47
|
+
*/
|
|
48
|
+
anchorText?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Flat projection of cited chunk_ids — kept for FE back-compat.
|
|
51
|
+
*
|
|
52
|
+
* Prefer ``citations`` for new code. See ``XlsxCellAnchor.chunk_ids``
|
|
53
|
+
* for the full rationale.
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof DocxParagraphAnchorOutput
|
|
56
|
+
*/
|
|
57
|
+
readonly chunkIds: Array<string>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @export
|
|
61
|
+
*/
|
|
62
|
+
export declare const DocxParagraphAnchorOutputTypeEnum: {
|
|
63
|
+
readonly DocxParagraph: "docx_paragraph";
|
|
64
|
+
};
|
|
65
|
+
export type DocxParagraphAnchorOutputTypeEnum = typeof DocxParagraphAnchorOutputTypeEnum[keyof typeof DocxParagraphAnchorOutputTypeEnum];
|
|
66
|
+
export declare const DocxParagraphAnchorOutputPropertyValidationAttributesMap: {
|
|
67
|
+
[property: string]: {
|
|
68
|
+
maxLength?: number;
|
|
69
|
+
minLength?: number;
|
|
70
|
+
pattern?: string;
|
|
71
|
+
maximum?: number;
|
|
72
|
+
exclusiveMaximum?: boolean;
|
|
73
|
+
minimum?: number;
|
|
74
|
+
exclusiveMinimum?: boolean;
|
|
75
|
+
multipleOf?: number;
|
|
76
|
+
maxItems?: number;
|
|
77
|
+
minItems?: number;
|
|
78
|
+
uniqueItems?: boolean;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the DocxParagraphAnchorOutput interface.
|
|
83
|
+
*/
|
|
84
|
+
export declare function instanceOfDocxParagraphAnchorOutput(value: object): value is DocxParagraphAnchorOutput;
|
|
85
|
+
export declare function DocxParagraphAnchorOutputFromJSON(json: any): DocxParagraphAnchorOutput;
|
|
86
|
+
export declare function DocxParagraphAnchorOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocxParagraphAnchorOutput;
|
|
87
|
+
export declare function DocxParagraphAnchorOutputToJSON(json: any): DocxParagraphAnchorOutput;
|
|
88
|
+
export declare function DocxParagraphAnchorOutputToJSONTyped(value?: Omit<DocxParagraphAnchorOutput, 'chunk_ids'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Knowledge Stack API
|
|
5
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { CitedChunkFromJSON, CitedChunkToJSON, } from './CitedChunk';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const DocxParagraphAnchorOutputTypeEnum = {
|
|
19
|
+
DocxParagraph: 'docx_paragraph'
|
|
20
|
+
};
|
|
21
|
+
export const DocxParagraphAnchorOutputPropertyValidationAttributesMap = {
|
|
22
|
+
paragraphIndex: {
|
|
23
|
+
minimum: 0,
|
|
24
|
+
exclusiveMinimum: false,
|
|
25
|
+
},
|
|
26
|
+
anchorText: {
|
|
27
|
+
maxLength: 160,
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the DocxParagraphAnchorOutput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfDocxParagraphAnchorOutput(value) {
|
|
34
|
+
if (!('paragraphIndex' in value) || value['paragraphIndex'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('commentId' in value) || value['commentId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('citations' in value) || value['citations'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('chunkIds' in value) || value['chunkIds'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
export function DocxParagraphAnchorOutputFromJSON(json) {
|
|
45
|
+
return DocxParagraphAnchorOutputFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function DocxParagraphAnchorOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
53
|
+
'paragraphIndex': json['paragraph_index'],
|
|
54
|
+
'commentId': json['comment_id'],
|
|
55
|
+
'citations': (json['citations'].map(CitedChunkFromJSON)),
|
|
56
|
+
'anchorText': json['anchor_text'] == null ? undefined : json['anchor_text'],
|
|
57
|
+
'chunkIds': json['chunk_ids'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function DocxParagraphAnchorOutputToJSON(json) {
|
|
61
|
+
return DocxParagraphAnchorOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function DocxParagraphAnchorOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'type': value['type'],
|
|
69
|
+
'paragraph_index': value['paragraphIndex'],
|
|
70
|
+
'comment_id': value['commentId'],
|
|
71
|
+
'citations': (value['citations'].map(CitedChunkToJSON)),
|
|
72
|
+
'anchor_text': value['anchorText'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { TagResponse } from './TagResponse';
|
|
13
|
+
import type { PathPartApprovalState } from './PathPartApprovalState';
|
|
13
14
|
/**
|
|
14
15
|
* Folder response model.
|
|
15
16
|
* @export
|
|
@@ -58,6 +59,12 @@ export interface FolderResponse {
|
|
|
58
59
|
* @memberof FolderResponse
|
|
59
60
|
*/
|
|
60
61
|
systemManaged: boolean;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {PathPartApprovalState}
|
|
65
|
+
* @memberof FolderResponse
|
|
66
|
+
*/
|
|
67
|
+
approvalState: PathPartApprovalState;
|
|
61
68
|
/**
|
|
62
69
|
* Direct exclusion flag on this folder's path part only. The effective exclusion also applies when any ancestor folder has the flag set — fetch the ancestry to determine effective state.
|
|
63
70
|
* @type {boolean}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { TagResponseFromJSON, TagResponseToJSON, } from './TagResponse';
|
|
15
|
+
import { PathPartApprovalStateFromJSON, PathPartApprovalStateToJSON, } from './PathPartApprovalState';
|
|
15
16
|
/**
|
|
16
17
|
* @export
|
|
17
18
|
*/
|
|
@@ -37,6 +38,8 @@ export function instanceOfFolderResponse(value) {
|
|
|
37
38
|
return false;
|
|
38
39
|
if (!('systemManaged' in value) || value['systemManaged'] === undefined)
|
|
39
40
|
return false;
|
|
41
|
+
if (!('approvalState' in value) || value['approvalState'] === undefined)
|
|
42
|
+
return false;
|
|
40
43
|
if (!('excludeFromQdrant' in value) || value['excludeFromQdrant'] === undefined)
|
|
41
44
|
return false;
|
|
42
45
|
if (!('tenantId' in value) || value['tenantId'] === undefined)
|
|
@@ -62,6 +65,7 @@ export function FolderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
62
65
|
'parentPathPartId': json['parent_path_part_id'],
|
|
63
66
|
'materializedPath': json['materialized_path'],
|
|
64
67
|
'systemManaged': json['system_managed'],
|
|
68
|
+
'approvalState': PathPartApprovalStateFromJSON(json['approval_state']),
|
|
65
69
|
'excludeFromQdrant': json['exclude_from_qdrant'],
|
|
66
70
|
'tenantId': json['tenant_id'],
|
|
67
71
|
'createdAt': (new Date(json['created_at'])),
|
|
@@ -85,6 +89,7 @@ export function FolderResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
85
89
|
'parent_path_part_id': value['parentPathPartId'],
|
|
86
90
|
'materialized_path': value['materializedPath'],
|
|
87
91
|
'system_managed': value['systemManaged'],
|
|
92
|
+
'approval_state': PathPartApprovalStateToJSON(value['approvalState']),
|
|
88
93
|
'exclude_from_qdrant': value['excludeFromQdrant'],
|
|
89
94
|
'tenant_id': value['tenantId'],
|
|
90
95
|
'created_at': value['createdAt'].toISOString(),
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DocumentResponse } from './DocumentResponse';
|
|
13
|
+
import type { FolderResponse } from './FolderResponse';
|
|
14
|
+
import type { WorkflowDefinitionResponse } from './WorkflowDefinitionResponse';
|
|
15
|
+
import type { WorkflowRunResponse } from './WorkflowRunResponse';
|
|
16
|
+
/**
|
|
17
|
+
* @type FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export type FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse = {
|
|
22
|
+
partType: 'DOCUMENT';
|
|
23
|
+
} & DocumentResponse | {
|
|
24
|
+
partType: 'FOLDER';
|
|
25
|
+
} & FolderResponse | {
|
|
26
|
+
partType: 'WORKFLOW_DEFINITION';
|
|
27
|
+
} & WorkflowDefinitionResponse | {
|
|
28
|
+
partType: 'WORKFLOW_RUN';
|
|
29
|
+
} & WorkflowRunResponse;
|
|
30
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseFromJSON(json: any): FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse;
|
|
31
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse;
|
|
32
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseToJSON(json: any): any;
|
|
33
|
+
export declare function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseToJSONTyped(value?: FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Knowledge Stack API
|
|
5
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { DocumentResponseFromJSONTyped, DocumentResponseToJSON, } from './DocumentResponse';
|
|
15
|
+
import { FolderResponseFromJSONTyped, FolderResponseToJSON, } from './FolderResponse';
|
|
16
|
+
import { WorkflowDefinitionResponseFromJSONTyped, WorkflowDefinitionResponseToJSON, } from './WorkflowDefinitionResponse';
|
|
17
|
+
import { WorkflowRunResponseFromJSONTyped, WorkflowRunResponseToJSON, } from './WorkflowRunResponse';
|
|
18
|
+
export function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseFromJSON(json) {
|
|
19
|
+
return FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
export function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if (json == null) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
switch (json['part_type']) {
|
|
26
|
+
case 'DOCUMENT':
|
|
27
|
+
return Object.assign({}, DocumentResponseFromJSONTyped(json, true), { partType: 'DOCUMENT' });
|
|
28
|
+
case 'FOLDER':
|
|
29
|
+
return Object.assign({}, FolderResponseFromJSONTyped(json, true), { partType: 'FOLDER' });
|
|
30
|
+
case 'WORKFLOW_DEFINITION':
|
|
31
|
+
return Object.assign({}, WorkflowDefinitionResponseFromJSONTyped(json, true), { partType: 'WORKFLOW_DEFINITION' });
|
|
32
|
+
case 'WORKFLOW_RUN':
|
|
33
|
+
return Object.assign({}, WorkflowRunResponseFromJSONTyped(json, true), { partType: 'WORKFLOW_RUN' });
|
|
34
|
+
default:
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseToJSON(json) {
|
|
39
|
+
return FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
switch (value['partType']) {
|
|
46
|
+
case 'DOCUMENT':
|
|
47
|
+
return Object.assign({}, DocumentResponseToJSON(value), { partType: 'DOCUMENT' });
|
|
48
|
+
case 'FOLDER':
|
|
49
|
+
return Object.assign({}, FolderResponseToJSON(value), { partType: 'FOLDER' });
|
|
50
|
+
case 'WORKFLOW_DEFINITION':
|
|
51
|
+
return Object.assign({}, WorkflowDefinitionResponseToJSON(value), { partType: 'WORKFLOW_DEFINITION' });
|
|
52
|
+
case 'WORKFLOW_RUN':
|
|
53
|
+
return Object.assign({}, WorkflowRunResponseToJSON(value), { partType: 'WORKFLOW_RUN' });
|
|
54
|
+
default:
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* One entry of a run's input scope, self-describing its pin semantics.
|
|
14
|
+
*
|
|
15
|
+
* ``part_type`` is the kind discriminator:
|
|
16
|
+
*
|
|
17
|
+
* * ``DOCUMENT_VERSION`` — a pinned document version. The DOCUMENT in
|
|
18
|
+
* the request scope was resolved to its active version at trigger
|
|
19
|
+
* time; ``path_part_id`` is that DOCUMENT_VERSION path_part and the
|
|
20
|
+
* entry does not float.
|
|
21
|
+
* * ``FOLDER`` — a live folder reference. ``path_part_id`` is the
|
|
22
|
+
* FOLDER path_part itself; its contents are NOT captured here and
|
|
23
|
+
* are enumerated live by the runner (see ``materialized_path`` for
|
|
24
|
+
* subtree scoping).
|
|
25
|
+
*
|
|
26
|
+
* The underlying PDO id (DocumentVersion or Folder) is resolved live at
|
|
27
|
+
* run time from ``path_part.metadata_obj_id``, not stored here.
|
|
28
|
+
* @export
|
|
29
|
+
* @interface InputSnapshot
|
|
30
|
+
*/
|
|
31
|
+
export interface InputSnapshot {
|
|
32
|
+
/**
|
|
33
|
+
* DOCUMENT_VERSION path_part of the pinned input version, or the FOLDER path_part of a live folder reference — see ``part_type``.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof InputSnapshot
|
|
36
|
+
*/
|
|
37
|
+
pathPartId: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof InputSnapshot
|
|
42
|
+
*/
|
|
43
|
+
materializedPath: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {InputSnapshotPartTypeEnum}
|
|
47
|
+
* @memberof InputSnapshot
|
|
48
|
+
*/
|
|
49
|
+
partType: InputSnapshotPartTypeEnum;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
*/
|
|
54
|
+
export declare const InputSnapshotPartTypeEnum: {
|
|
55
|
+
readonly DocumentVersion: "DOCUMENT_VERSION";
|
|
56
|
+
readonly Folder: "FOLDER";
|
|
57
|
+
};
|
|
58
|
+
export type InputSnapshotPartTypeEnum = typeof InputSnapshotPartTypeEnum[keyof typeof InputSnapshotPartTypeEnum];
|
|
59
|
+
export declare const InputSnapshotPropertyValidationAttributesMap: {
|
|
60
|
+
[property: string]: {
|
|
61
|
+
maxLength?: number;
|
|
62
|
+
minLength?: number;
|
|
63
|
+
pattern?: string;
|
|
64
|
+
maximum?: number;
|
|
65
|
+
exclusiveMaximum?: boolean;
|
|
66
|
+
minimum?: number;
|
|
67
|
+
exclusiveMinimum?: boolean;
|
|
68
|
+
multipleOf?: number;
|
|
69
|
+
maxItems?: number;
|
|
70
|
+
minItems?: number;
|
|
71
|
+
uniqueItems?: boolean;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the InputSnapshot interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfInputSnapshot(value: object): value is InputSnapshot;
|
|
78
|
+
export declare function InputSnapshotFromJSON(json: any): InputSnapshot;
|
|
79
|
+
export declare function InputSnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean): InputSnapshot;
|
|
80
|
+
export declare function InputSnapshotToJSON(json: any): InputSnapshot;
|
|
81
|
+
export declare function InputSnapshotToJSONTyped(value?: InputSnapshot | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,12 +11,18 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { PartTypeFromJSON, PartTypeToJSON, } from './PartType';
|
|
15
|
-
export const ABCDPathSnapshotPropertyValidationAttributesMap = {};
|
|
16
14
|
/**
|
|
17
|
-
*
|
|
15
|
+
* @export
|
|
18
16
|
*/
|
|
19
|
-
export
|
|
17
|
+
export const InputSnapshotPartTypeEnum = {
|
|
18
|
+
DocumentVersion: 'DOCUMENT_VERSION',
|
|
19
|
+
Folder: 'FOLDER'
|
|
20
|
+
};
|
|
21
|
+
export const InputSnapshotPropertyValidationAttributesMap = {};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the InputSnapshot interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfInputSnapshot(value) {
|
|
20
26
|
if (!('pathPartId' in value) || value['pathPartId'] === undefined)
|
|
21
27
|
return false;
|
|
22
28
|
if (!('materializedPath' in value) || value['materializedPath'] === undefined)
|
|
@@ -25,29 +31,29 @@ export function instanceOfABCDPathSnapshot(value) {
|
|
|
25
31
|
return false;
|
|
26
32
|
return true;
|
|
27
33
|
}
|
|
28
|
-
export function
|
|
29
|
-
return
|
|
34
|
+
export function InputSnapshotFromJSON(json) {
|
|
35
|
+
return InputSnapshotFromJSONTyped(json, false);
|
|
30
36
|
}
|
|
31
|
-
export function
|
|
37
|
+
export function InputSnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
38
|
if (json == null) {
|
|
33
39
|
return json;
|
|
34
40
|
}
|
|
35
41
|
return {
|
|
36
42
|
'pathPartId': json['path_part_id'],
|
|
37
43
|
'materializedPath': json['materialized_path'],
|
|
38
|
-
'partType':
|
|
44
|
+
'partType': json['part_type'],
|
|
39
45
|
};
|
|
40
46
|
}
|
|
41
|
-
export function
|
|
42
|
-
return
|
|
47
|
+
export function InputSnapshotToJSON(json) {
|
|
48
|
+
return InputSnapshotToJSONTyped(json, false);
|
|
43
49
|
}
|
|
44
|
-
export function
|
|
50
|
+
export function InputSnapshotToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
51
|
if (value == null) {
|
|
46
52
|
return value;
|
|
47
53
|
}
|
|
48
54
|
return {
|
|
49
55
|
'path_part_id': value['pathPartId'],
|
|
50
56
|
'materialized_path': value['materializedPath'],
|
|
51
|
-
'part_type':
|
|
57
|
+
'part_type': value['partType'],
|
|
52
58
|
};
|
|
53
59
|
}
|
|
@@ -9,20 +9,19 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PartType } from './PartType';
|
|
13
12
|
/**
|
|
14
13
|
* Snapshot of one instruction document, pinned at trigger time.
|
|
15
14
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* ``path_part_id`` is the pinned ``DOCUMENT_VERSION`` identity that
|
|
16
|
+
* audit replay keys off. The agent reads the body straight from
|
|
17
|
+
* ``source_s3_uri`` and resolves the version's PDO id live — no PDO id
|
|
18
|
+
* is stored here.
|
|
20
19
|
* @export
|
|
21
20
|
* @interface InstructionSnapshot
|
|
22
21
|
*/
|
|
23
22
|
export interface InstructionSnapshot {
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* DOCUMENT_VERSION path_part of the instruction version
|
|
26
25
|
* @type {string}
|
|
27
26
|
* @memberof InstructionSnapshot
|
|
28
27
|
*/
|
|
@@ -35,17 +34,24 @@ export interface InstructionSnapshot {
|
|
|
35
34
|
materializedPath: string;
|
|
36
35
|
/**
|
|
37
36
|
*
|
|
38
|
-
* @type {
|
|
37
|
+
* @type {InstructionSnapshotPartTypeEnum}
|
|
39
38
|
* @memberof InstructionSnapshot
|
|
40
39
|
*/
|
|
41
|
-
partType:
|
|
40
|
+
partType: InstructionSnapshotPartTypeEnum;
|
|
42
41
|
/**
|
|
43
|
-
*
|
|
42
|
+
* S3 URI of the instruction file's source bytes (flat UTF-8 markdown), read directly by the agent at startup. ``None`` when the instruction is empty — the run still starts and completes with empty output.
|
|
44
43
|
* @type {string}
|
|
45
44
|
* @memberof InstructionSnapshot
|
|
46
45
|
*/
|
|
47
|
-
|
|
46
|
+
sourceS3Uri: string | null;
|
|
48
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const InstructionSnapshotPartTypeEnum: {
|
|
52
|
+
readonly DocumentVersion: "DOCUMENT_VERSION";
|
|
53
|
+
};
|
|
54
|
+
export type InstructionSnapshotPartTypeEnum = typeof InstructionSnapshotPartTypeEnum[keyof typeof InstructionSnapshotPartTypeEnum];
|
|
49
55
|
export declare const InstructionSnapshotPropertyValidationAttributesMap: {
|
|
50
56
|
[property: string]: {
|
|
51
57
|
maxLength?: number;
|
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const InstructionSnapshotPartTypeEnum = {
|
|
18
|
+
DocumentVersion: 'DOCUMENT_VERSION'
|
|
19
|
+
};
|
|
15
20
|
export const InstructionSnapshotPropertyValidationAttributesMap = {};
|
|
16
21
|
/**
|
|
17
22
|
* Check if a given object implements the InstructionSnapshot interface.
|
|
@@ -23,7 +28,7 @@ export function instanceOfInstructionSnapshot(value) {
|
|
|
23
28
|
return false;
|
|
24
29
|
if (!('partType' in value) || value['partType'] === undefined)
|
|
25
30
|
return false;
|
|
26
|
-
if (!('
|
|
31
|
+
if (!('sourceS3Uri' in value) || value['sourceS3Uri'] === undefined)
|
|
27
32
|
return false;
|
|
28
33
|
return true;
|
|
29
34
|
}
|
|
@@ -37,8 +42,8 @@ export function InstructionSnapshotFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
42
|
return {
|
|
38
43
|
'pathPartId': json['path_part_id'],
|
|
39
44
|
'materializedPath': json['materialized_path'],
|
|
40
|
-
'partType':
|
|
41
|
-
'
|
|
45
|
+
'partType': json['part_type'],
|
|
46
|
+
'sourceS3Uri': json['source_s3_uri'],
|
|
42
47
|
};
|
|
43
48
|
}
|
|
44
49
|
export function InstructionSnapshotToJSON(json) {
|
|
@@ -51,7 +56,7 @@ export function InstructionSnapshotToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
51
56
|
return {
|
|
52
57
|
'path_part_id': value['pathPartId'],
|
|
53
58
|
'materialized_path': value['materializedPath'],
|
|
54
|
-
'part_type':
|
|
55
|
-
'
|
|
59
|
+
'part_type': value['partType'],
|
|
60
|
+
'source_s3_uri': value['sourceS3Uri'],
|
|
56
61
|
};
|
|
57
62
|
}
|
|
@@ -10,10 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* Stored inside the chunk's HTML-comment fence as ``kind=<value>``.
|
|
16
|
-
* Not a Postgres enum — memory is file-backed, not table-backed.
|
|
13
|
+
* Memory chunk kind inside a MEMORY.md document.
|
|
17
14
|
* @export
|
|
18
15
|
*/
|
|
19
16
|
export declare const MemoryKind: {
|
|
@@ -12,10 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* Stored inside the chunk's HTML-comment fence as ``kind=<value>``.
|
|
18
|
-
* Not a Postgres enum — memory is file-backed, not table-backed.
|
|
15
|
+
* Memory chunk kind inside a MEMORY.md document.
|
|
19
16
|
* @export
|
|
20
17
|
*/
|
|
21
18
|
export const MemoryKind = {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse } from './FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator {
|
|
19
|
+
/**
|
|
20
|
+
* List of items
|
|
21
|
+
* @type {Array<FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse>}
|
|
22
|
+
* @memberof PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator
|
|
23
|
+
*/
|
|
24
|
+
items: Array<FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Total number of items
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator
|
|
29
|
+
*/
|
|
30
|
+
total: number;
|
|
31
|
+
/**
|
|
32
|
+
* Number of items per page
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator
|
|
35
|
+
*/
|
|
36
|
+
limit: number;
|
|
37
|
+
/**
|
|
38
|
+
* Number of items to skip
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator
|
|
41
|
+
*/
|
|
42
|
+
offset: number;
|
|
43
|
+
}
|
|
44
|
+
export declare const PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminatorPropertyValidationAttributesMap: {
|
|
45
|
+
[property: string]: {
|
|
46
|
+
maxLength?: number;
|
|
47
|
+
minLength?: number;
|
|
48
|
+
pattern?: string;
|
|
49
|
+
maximum?: number;
|
|
50
|
+
exclusiveMaximum?: boolean;
|
|
51
|
+
minimum?: number;
|
|
52
|
+
exclusiveMinimum?: boolean;
|
|
53
|
+
multipleOf?: number;
|
|
54
|
+
maxItems?: number;
|
|
55
|
+
minItems?: number;
|
|
56
|
+
uniqueItems?: boolean;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfPaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator(value: object): value is PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator;
|
|
63
|
+
export declare function PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminatorFromJSON(json: any): PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator;
|
|
64
|
+
export declare function PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator;
|
|
65
|
+
export declare function PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminatorToJSON(json: any): PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator;
|
|
66
|
+
export declare function PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminatorToJSONTyped(value?: PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator | null, ignoreDiscriminator?: boolean): any;
|