@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,151 @@
|
|
|
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
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CitedChunk } from './CitedChunk';
|
|
17
|
+
import {
|
|
18
|
+
CitedChunkFromJSON,
|
|
19
|
+
CitedChunkFromJSONTyped,
|
|
20
|
+
CitedChunkToJSON,
|
|
21
|
+
CitedChunkToJSONTyped,
|
|
22
|
+
} from './CitedChunk';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* One citation anchored to a cell in an .xlsx deliverable.
|
|
26
|
+
* @export
|
|
27
|
+
* @interface XlsxCellAnchorOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface XlsxCellAnchorOutput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {XlsxCellAnchorOutputTypeEnum}
|
|
33
|
+
* @memberof XlsxCellAnchorOutput
|
|
34
|
+
*/
|
|
35
|
+
type?: XlsxCellAnchorOutputTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof XlsxCellAnchorOutput
|
|
40
|
+
*/
|
|
41
|
+
sheetName: string;
|
|
42
|
+
/**
|
|
43
|
+
* Coordinate like 'B23'.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof XlsxCellAnchorOutput
|
|
46
|
+
*/
|
|
47
|
+
cellAddress: string;
|
|
48
|
+
/**
|
|
49
|
+
* Cited chunks in the order they appeared in the comment body, each with the source-document snapshot resolved at save time.
|
|
50
|
+
* @type {Array<CitedChunk>}
|
|
51
|
+
* @memberof XlsxCellAnchorOutput
|
|
52
|
+
*/
|
|
53
|
+
citations: Array<CitedChunk>;
|
|
54
|
+
/**
|
|
55
|
+
* Cached cell value at this anchor, for FE display. NOT the cited quote. Empty when the cell holds a formula whose cache has not been refreshed.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof XlsxCellAnchorOutput
|
|
58
|
+
*/
|
|
59
|
+
anchorText?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Flat projection of cited chunk_ids — kept for FE back-compat.
|
|
62
|
+
*
|
|
63
|
+
* Prefer ``citations`` for new code: each entry already carries the
|
|
64
|
+
* source-document context the Citations panel needs, no follow-up
|
|
65
|
+
* ``/v1/chunks/bulk`` call required. Derived-only — ``citations`` is
|
|
66
|
+
* the single source of truth.
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof XlsxCellAnchorOutput
|
|
69
|
+
*/
|
|
70
|
+
readonly chunkIds: Array<string>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export const XlsxCellAnchorOutputTypeEnum = {
|
|
78
|
+
XlsxCell: 'xlsx_cell'
|
|
79
|
+
} as const;
|
|
80
|
+
export type XlsxCellAnchorOutputTypeEnum = typeof XlsxCellAnchorOutputTypeEnum[keyof typeof XlsxCellAnchorOutputTypeEnum];
|
|
81
|
+
|
|
82
|
+
export const XlsxCellAnchorOutputPropertyValidationAttributesMap: {
|
|
83
|
+
[property: string]: {
|
|
84
|
+
maxLength?: number,
|
|
85
|
+
minLength?: number,
|
|
86
|
+
pattern?: string,
|
|
87
|
+
maximum?: number,
|
|
88
|
+
exclusiveMaximum?: boolean,
|
|
89
|
+
minimum?: number,
|
|
90
|
+
exclusiveMinimum?: boolean,
|
|
91
|
+
multipleOf?: number,
|
|
92
|
+
maxItems?: number,
|
|
93
|
+
minItems?: number,
|
|
94
|
+
uniqueItems?: boolean
|
|
95
|
+
}
|
|
96
|
+
} = {
|
|
97
|
+
anchorText: {
|
|
98
|
+
maxLength: 160,
|
|
99
|
+
},
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the XlsxCellAnchorOutput interface.
|
|
105
|
+
*/
|
|
106
|
+
export function instanceOfXlsxCellAnchorOutput(value: object): value is XlsxCellAnchorOutput {
|
|
107
|
+
if (!('sheetName' in value) || value['sheetName'] === undefined) return false;
|
|
108
|
+
if (!('cellAddress' in value) || value['cellAddress'] === undefined) return false;
|
|
109
|
+
if (!('citations' in value) || value['citations'] === undefined) return false;
|
|
110
|
+
if (!('chunkIds' in value) || value['chunkIds'] === undefined) return false;
|
|
111
|
+
return true;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export function XlsxCellAnchorOutputFromJSON(json: any): XlsxCellAnchorOutput {
|
|
115
|
+
return XlsxCellAnchorOutputFromJSONTyped(json, false);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export function XlsxCellAnchorOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): XlsxCellAnchorOutput {
|
|
119
|
+
if (json == null) {
|
|
120
|
+
return json;
|
|
121
|
+
}
|
|
122
|
+
return {
|
|
123
|
+
|
|
124
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
125
|
+
'sheetName': json['sheet_name'],
|
|
126
|
+
'cellAddress': json['cell_address'],
|
|
127
|
+
'citations': ((json['citations'] as Array<any>).map(CitedChunkFromJSON)),
|
|
128
|
+
'anchorText': json['anchor_text'] == null ? undefined : json['anchor_text'],
|
|
129
|
+
'chunkIds': json['chunk_ids'],
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function XlsxCellAnchorOutputToJSON(json: any): XlsxCellAnchorOutput {
|
|
134
|
+
return XlsxCellAnchorOutputToJSONTyped(json, false);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function XlsxCellAnchorOutputToJSONTyped(value?: Omit<XlsxCellAnchorOutput, 'chunk_ids'> | null, ignoreDiscriminator: boolean = false): any {
|
|
138
|
+
if (value == null) {
|
|
139
|
+
return value;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
return {
|
|
143
|
+
|
|
144
|
+
'type': value['type'],
|
|
145
|
+
'sheet_name': value['sheetName'],
|
|
146
|
+
'cell_address': value['cellAddress'],
|
|
147
|
+
'citations': ((value['citations'] as Array<any>).map(CitedChunkToJSON)),
|
|
148
|
+
'anchor_text': value['anchorText'],
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
|
|
15
|
+
import type { DocxParagraphAnchorOutput } from './DocxParagraphAnchorOutput';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfDocxParagraphAnchorOutput,
|
|
18
|
+
DocxParagraphAnchorOutputFromJSON,
|
|
19
|
+
DocxParagraphAnchorOutputFromJSONTyped,
|
|
20
|
+
DocxParagraphAnchorOutputToJSON,
|
|
21
|
+
} from './DocxParagraphAnchorOutput';
|
|
22
|
+
import type { XlsxCellAnchorOutput } from './XlsxCellAnchorOutput';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfXlsxCellAnchorOutput,
|
|
25
|
+
XlsxCellAnchorOutputFromJSON,
|
|
26
|
+
XlsxCellAnchorOutputFromJSONTyped,
|
|
27
|
+
XlsxCellAnchorOutputToJSON,
|
|
28
|
+
} from './XlsxCellAnchorOutput';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type XlsxCellAnchorOutputOrDocxParagraphAnchorOutput
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export type XlsxCellAnchorOutputOrDocxParagraphAnchorOutput = { type: 'docx_paragraph' } & DocxParagraphAnchorOutput | { type: 'xlsx_cell' } & XlsxCellAnchorOutput;
|
|
36
|
+
|
|
37
|
+
export function XlsxCellAnchorOutputOrDocxParagraphAnchorOutputFromJSON(json: any): XlsxCellAnchorOutputOrDocxParagraphAnchorOutput {
|
|
38
|
+
return XlsxCellAnchorOutputOrDocxParagraphAnchorOutputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function XlsxCellAnchorOutputOrDocxParagraphAnchorOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): XlsxCellAnchorOutputOrDocxParagraphAnchorOutput {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
switch (json['type']) {
|
|
46
|
+
case 'docx_paragraph':
|
|
47
|
+
return Object.assign({}, DocxParagraphAnchorOutputFromJSONTyped(json, true), { type: 'docx_paragraph' } as const);
|
|
48
|
+
case 'xlsx_cell':
|
|
49
|
+
return Object.assign({}, XlsxCellAnchorOutputFromJSONTyped(json, true), { type: 'xlsx_cell' } as const);
|
|
50
|
+
default:
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function XlsxCellAnchorOutputOrDocxParagraphAnchorOutputToJSON(json: any): any {
|
|
56
|
+
return XlsxCellAnchorOutputOrDocxParagraphAnchorOutputToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function XlsxCellAnchorOutputOrDocxParagraphAnchorOutputToJSONTyped(value?: XlsxCellAnchorOutputOrDocxParagraphAnchorOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
switch (value['type']) {
|
|
64
|
+
case 'docx_paragraph':
|
|
65
|
+
return Object.assign({}, DocxParagraphAnchorOutputToJSON(value), { type: 'docx_paragraph' } as const);
|
|
66
|
+
case 'xlsx_cell':
|
|
67
|
+
return Object.assign({}, XlsxCellAnchorOutputToJSON(value), { type: 'xlsx_cell' } as const);
|
|
68
|
+
default:
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './ABCDPathSnapshot';
|
|
4
3
|
export * from './AcceptInviteResponse';
|
|
5
4
|
export * from './AddMemberRequest';
|
|
6
5
|
export * from './AncestryResponse';
|
|
@@ -26,7 +25,9 @@ export * from './ChunkResponse';
|
|
|
26
25
|
export * from './ChunkSearchRequest';
|
|
27
26
|
export * from './ChunkType';
|
|
28
27
|
export * from './Citation';
|
|
28
|
+
export * from './CitedChunk';
|
|
29
29
|
export * from './ClearVersionContentsResponse';
|
|
30
|
+
export * from './CloneWorkflowRunRequest';
|
|
30
31
|
export * from './CreateApiKeyRequest';
|
|
31
32
|
export * from './CreateApiKeyResponse';
|
|
32
33
|
export * from './CreateChunkLineageRequest';
|
|
@@ -55,6 +56,8 @@ export * from './DocumentVersionContentTypeFilter';
|
|
|
55
56
|
export * from './DocumentVersionMetadata';
|
|
56
57
|
export * from './DocumentVersionMetadataUpdate';
|
|
57
58
|
export * from './DocumentVersionResponse';
|
|
59
|
+
export * from './DocxParagraphAnchorInput';
|
|
60
|
+
export * from './DocxParagraphAnchorOutput';
|
|
58
61
|
export * from './EditMemoryChunkRequest';
|
|
59
62
|
export * from './EmailSentResponse';
|
|
60
63
|
export * from './EmailVerificationRequest';
|
|
@@ -71,7 +74,7 @@ export * from './FeedbackTargetType';
|
|
|
71
74
|
export * from './FolderAction';
|
|
72
75
|
export * from './FolderActionResponse';
|
|
73
76
|
export * from './FolderResponse';
|
|
74
|
-
export * from './
|
|
77
|
+
export * from './FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse';
|
|
75
78
|
export * from './GroupPermissionResponse';
|
|
76
79
|
export * from './GroupResponse';
|
|
77
80
|
export * from './HTTPValidationError';
|
|
@@ -83,17 +86,16 @@ export * from './ImageTaxonomy';
|
|
|
83
86
|
export * from './InformationStatistics';
|
|
84
87
|
export * from './IngestDocumentResponse';
|
|
85
88
|
export * from './IngestionMode';
|
|
89
|
+
export * from './InputSnapshot';
|
|
86
90
|
export * from './InstructionSnapshot';
|
|
87
91
|
export * from './InviteLinkSettingsRequest';
|
|
88
92
|
export * from './InviteLinkSettingsResponse';
|
|
89
93
|
export * from './InviteResponse';
|
|
90
94
|
export * from './InviteStatus';
|
|
91
95
|
export * from './InviteUserRequest';
|
|
92
|
-
export * from './InvokeWorkflowRequest';
|
|
93
96
|
export * from './LineageEdgeResponse';
|
|
94
97
|
export * from './LineageGraphResponse';
|
|
95
98
|
export * from './LineageNodeResponse';
|
|
96
|
-
export * from './ListMemoryChunksResponse';
|
|
97
99
|
export * from './LocationInner';
|
|
98
100
|
export * from './MembershipResponse';
|
|
99
101
|
export * from './MemoryChunkResponse';
|
|
@@ -103,7 +105,7 @@ export * from './MeteredQuotaStatus';
|
|
|
103
105
|
export * from './NonFilesystemReferenceType';
|
|
104
106
|
export * from './OnboardingCompanyRequest';
|
|
105
107
|
export * from './OnboardingProfileRequest';
|
|
106
|
-
export * from './
|
|
108
|
+
export * from './PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator';
|
|
107
109
|
export * from './PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator';
|
|
108
110
|
export * from './PaginatedResponseDocumentResponse';
|
|
109
111
|
export * from './PaginatedResponseDocumentVersionResponse';
|
|
@@ -114,6 +116,7 @@ export * from './PaginatedResponseGroupPermissionResponse';
|
|
|
114
116
|
export * from './PaginatedResponseGroupResponse';
|
|
115
117
|
export * from './PaginatedResponseInviteResponse';
|
|
116
118
|
export * from './PaginatedResponseMembershipResponse';
|
|
119
|
+
export * from './PaginatedResponseMemoryChunkResponse';
|
|
117
120
|
export * from './PaginatedResponsePathPartResponse';
|
|
118
121
|
export * from './PaginatedResponsePermissionResponse';
|
|
119
122
|
export * from './PaginatedResponseTagResponse';
|
|
@@ -132,6 +135,7 @@ export * from './PathOrder';
|
|
|
132
135
|
export * from './PathPartAncestorItem';
|
|
133
136
|
export * from './PathPartApprovalDecision';
|
|
134
137
|
export * from './PathPartApprovalResponse';
|
|
138
|
+
export * from './PathPartApprovalState';
|
|
135
139
|
export * from './PathPartResponse';
|
|
136
140
|
export * from './PathPartTagsResponse';
|
|
137
141
|
export * from './PermissionCapability';
|
|
@@ -143,7 +147,6 @@ export * from './PipelineStatus';
|
|
|
143
147
|
export * from './Polygon';
|
|
144
148
|
export * from './PolygonReference';
|
|
145
149
|
export * from './ReferenceType';
|
|
146
|
-
export * from './RejectFileRequest';
|
|
147
150
|
export * from './RequestPhoneChangeRequest';
|
|
148
151
|
export * from './ResolvedReferenceInput';
|
|
149
152
|
export * from './ResolvedReferenceOutput';
|
|
@@ -159,9 +162,9 @@ export * from './SectionContentItem';
|
|
|
159
162
|
export * from './SectionContentItemOrChunkContentItem';
|
|
160
163
|
export * from './SectionResponse';
|
|
161
164
|
export * from './SectionSystemMetadata';
|
|
162
|
-
export * from './SelfHostedRunnerConfig';
|
|
163
|
-
export * from './SelfHostedRunnerConfigResponse';
|
|
164
165
|
export * from './SendPasswordResetRequest';
|
|
166
|
+
export * from './SetApprovalStateRequest';
|
|
167
|
+
export * from './SetWorkflowRunApprovalRequest';
|
|
165
168
|
export * from './SignInRequest';
|
|
166
169
|
export * from './StepInput';
|
|
167
170
|
export * from './StepKind';
|
|
@@ -202,7 +205,9 @@ export * from './UpdateTenantRequest';
|
|
|
202
205
|
export * from './UpdateThreadRequest';
|
|
203
206
|
export * from './UpdateUserRequest';
|
|
204
207
|
export * from './UpdateWorkflowDefinitionRequest';
|
|
208
|
+
export * from './UpdateWorkflowRunRequest';
|
|
205
209
|
export * from './UsageMetric';
|
|
210
|
+
export * from './UserInfo';
|
|
206
211
|
export * from './UserMessageRequest';
|
|
207
212
|
export * from './UserMessageResponse';
|
|
208
213
|
export * from './UserResponse';
|
|
@@ -214,9 +219,12 @@ export * from './WorkflowCallbackResponse';
|
|
|
214
219
|
export * from './WorkflowCancelResponse';
|
|
215
220
|
export * from './WorkflowDefinitionResponse';
|
|
216
221
|
export * from './WorkflowDetailResponse';
|
|
222
|
+
export * from './WorkflowExecutionState';
|
|
217
223
|
export * from './WorkflowRunCallbackRequest';
|
|
218
224
|
export * from './WorkflowRunResponse';
|
|
219
225
|
export * from './WorkflowRunSnapshot';
|
|
220
|
-
export * from './WorkflowRunStatus';
|
|
221
|
-
export * from './WorkflowRunnerType';
|
|
222
226
|
export * from './WorkflowSummaryResponse';
|
|
227
|
+
export * from './XlsxCellAnchorInput';
|
|
228
|
+
export * from './XlsxCellAnchorInputOrDocxParagraphAnchorInput';
|
|
229
|
+
export * from './XlsxCellAnchorOutput';
|
|
230
|
+
export * from './XlsxCellAnchorOutputOrDocxParagraphAnchorOutput';
|
|
@@ -1,60 +0,0 @@
|
|
|
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 { PartType } from './PartType';
|
|
13
|
-
/**
|
|
14
|
-
* Snapshot of a single ABCD path reference at trigger time.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ABCDPathSnapshot
|
|
17
|
-
*/
|
|
18
|
-
export interface ABCDPathSnapshot {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ABCDPathSnapshot
|
|
23
|
-
*/
|
|
24
|
-
pathPartId: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ABCDPathSnapshot
|
|
29
|
-
*/
|
|
30
|
-
materializedPath: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {PartType}
|
|
34
|
-
* @memberof ABCDPathSnapshot
|
|
35
|
-
*/
|
|
36
|
-
partType: PartType;
|
|
37
|
-
}
|
|
38
|
-
export declare const ABCDPathSnapshotPropertyValidationAttributesMap: {
|
|
39
|
-
[property: string]: {
|
|
40
|
-
maxLength?: number;
|
|
41
|
-
minLength?: number;
|
|
42
|
-
pattern?: string;
|
|
43
|
-
maximum?: number;
|
|
44
|
-
exclusiveMaximum?: boolean;
|
|
45
|
-
minimum?: number;
|
|
46
|
-
exclusiveMinimum?: boolean;
|
|
47
|
-
multipleOf?: number;
|
|
48
|
-
maxItems?: number;
|
|
49
|
-
minItems?: number;
|
|
50
|
-
uniqueItems?: boolean;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Check if a given object implements the ABCDPathSnapshot interface.
|
|
55
|
-
*/
|
|
56
|
-
export declare function instanceOfABCDPathSnapshot(value: object): value is ABCDPathSnapshot;
|
|
57
|
-
export declare function ABCDPathSnapshotFromJSON(json: any): ABCDPathSnapshot;
|
|
58
|
-
export declare function ABCDPathSnapshotFromJSONTyped(json: any, ignoreDiscriminator: boolean): ABCDPathSnapshot;
|
|
59
|
-
export declare function ABCDPathSnapshotToJSON(json: any): ABCDPathSnapshot;
|
|
60
|
-
export declare function ABCDPathSnapshotToJSONTyped(value?: ABCDPathSnapshot | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
/**
|
|
15
|
-
* @type FolderResponseOrDocumentResponse
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export type FolderResponseOrDocumentResponse = {
|
|
20
|
-
partType: 'DOCUMENT';
|
|
21
|
-
} & DocumentResponse | {
|
|
22
|
-
partType: 'FOLDER';
|
|
23
|
-
} & FolderResponse;
|
|
24
|
-
export declare function FolderResponseOrDocumentResponseFromJSON(json: any): FolderResponseOrDocumentResponse;
|
|
25
|
-
export declare function FolderResponseOrDocumentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FolderResponseOrDocumentResponse;
|
|
26
|
-
export declare function FolderResponseOrDocumentResponseToJSON(json: any): any;
|
|
27
|
-
export declare function FolderResponseOrDocumentResponseToJSONTyped(value?: FolderResponseOrDocumentResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
export function FolderResponseOrDocumentResponseFromJSON(json) {
|
|
17
|
-
return FolderResponseOrDocumentResponseFromJSONTyped(json, false);
|
|
18
|
-
}
|
|
19
|
-
export function FolderResponseOrDocumentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
20
|
-
if (json == null) {
|
|
21
|
-
return json;
|
|
22
|
-
}
|
|
23
|
-
switch (json['part_type']) {
|
|
24
|
-
case 'DOCUMENT':
|
|
25
|
-
return Object.assign({}, DocumentResponseFromJSONTyped(json, true), { partType: 'DOCUMENT' });
|
|
26
|
-
case 'FOLDER':
|
|
27
|
-
return Object.assign({}, FolderResponseFromJSONTyped(json, true), { partType: 'FOLDER' });
|
|
28
|
-
default:
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export function FolderResponseOrDocumentResponseToJSON(json) {
|
|
33
|
-
return FolderResponseOrDocumentResponseToJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
export function FolderResponseOrDocumentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
-
if (value == null) {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
switch (value['partType']) {
|
|
40
|
-
case 'DOCUMENT':
|
|
41
|
-
return Object.assign({}, DocumentResponseToJSON(value), { partType: 'DOCUMENT' });
|
|
42
|
-
case 'FOLDER':
|
|
43
|
-
return Object.assign({}, FolderResponseToJSON(value), { partType: 'FOLDER' });
|
|
44
|
-
default:
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
* Request body for invoking a workflow definition.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface InvokeWorkflowRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface InvokeWorkflowRequest {
|
|
18
|
-
/**
|
|
19
|
-
* Optional key to prevent duplicate runs from retries
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof InvokeWorkflowRequest
|
|
22
|
-
*/
|
|
23
|
-
idempotencyKey?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
* Path part IDs of input documents to pin to this run. Each path_part must be a DOCUMENT readable by the caller. Active document_version_id is captured at trigger time.
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof InvokeWorkflowRequest
|
|
28
|
-
*/
|
|
29
|
-
inputPathPartIds?: Array<string>;
|
|
30
|
-
}
|
|
31
|
-
export declare const InvokeWorkflowRequestPropertyValidationAttributesMap: {
|
|
32
|
-
[property: string]: {
|
|
33
|
-
maxLength?: number;
|
|
34
|
-
minLength?: number;
|
|
35
|
-
pattern?: string;
|
|
36
|
-
maximum?: number;
|
|
37
|
-
exclusiveMaximum?: boolean;
|
|
38
|
-
minimum?: number;
|
|
39
|
-
exclusiveMinimum?: boolean;
|
|
40
|
-
multipleOf?: number;
|
|
41
|
-
maxItems?: number;
|
|
42
|
-
minItems?: number;
|
|
43
|
-
uniqueItems?: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the InvokeWorkflowRequest interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfInvokeWorkflowRequest(value: object): value is InvokeWorkflowRequest;
|
|
50
|
-
export declare function InvokeWorkflowRequestFromJSON(json: any): InvokeWorkflowRequest;
|
|
51
|
-
export declare function InvokeWorkflowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvokeWorkflowRequest;
|
|
52
|
-
export declare function InvokeWorkflowRequestToJSON(json: any): InvokeWorkflowRequest;
|
|
53
|
-
export declare function InvokeWorkflowRequestToJSONTyped(value?: InvokeWorkflowRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
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
|
-
export const InvokeWorkflowRequestPropertyValidationAttributesMap = {
|
|
15
|
-
idempotencyKey: {
|
|
16
|
-
maxLength: 255,
|
|
17
|
-
},
|
|
18
|
-
inputPathPartIds: {
|
|
19
|
-
maxItems: 50,
|
|
20
|
-
uniqueItems: false,
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* Check if a given object implements the InvokeWorkflowRequest interface.
|
|
25
|
-
*/
|
|
26
|
-
export function instanceOfInvokeWorkflowRequest(value) {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
export function InvokeWorkflowRequestFromJSON(json) {
|
|
30
|
-
return InvokeWorkflowRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
export function InvokeWorkflowRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'idempotencyKey': json['idempotency_key'] == null ? undefined : json['idempotency_key'],
|
|
38
|
-
'inputPathPartIds': json['input_path_part_ids'] == null ? undefined : json['input_path_part_ids'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export function InvokeWorkflowRequestToJSON(json) {
|
|
42
|
-
return InvokeWorkflowRequestToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
export function InvokeWorkflowRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'idempotency_key': value['idempotencyKey'],
|
|
50
|
-
'input_path_part_ids': value['inputPathPartIds'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
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 { MemoryChunkResponse } from './MemoryChunkResponse';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListMemoryChunksResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ListMemoryChunksResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<MemoryChunkResponse>}
|
|
22
|
-
* @memberof ListMemoryChunksResponse
|
|
23
|
-
*/
|
|
24
|
-
chunks: Array<MemoryChunkResponse>;
|
|
25
|
-
}
|
|
26
|
-
export declare const ListMemoryChunksResponsePropertyValidationAttributesMap: {
|
|
27
|
-
[property: string]: {
|
|
28
|
-
maxLength?: number;
|
|
29
|
-
minLength?: number;
|
|
30
|
-
pattern?: string;
|
|
31
|
-
maximum?: number;
|
|
32
|
-
exclusiveMaximum?: boolean;
|
|
33
|
-
minimum?: number;
|
|
34
|
-
exclusiveMinimum?: boolean;
|
|
35
|
-
multipleOf?: number;
|
|
36
|
-
maxItems?: number;
|
|
37
|
-
minItems?: number;
|
|
38
|
-
uniqueItems?: boolean;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Check if a given object implements the ListMemoryChunksResponse interface.
|
|
43
|
-
*/
|
|
44
|
-
export declare function instanceOfListMemoryChunksResponse(value: object): value is ListMemoryChunksResponse;
|
|
45
|
-
export declare function ListMemoryChunksResponseFromJSON(json: any): ListMemoryChunksResponse;
|
|
46
|
-
export declare function ListMemoryChunksResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListMemoryChunksResponse;
|
|
47
|
-
export declare function ListMemoryChunksResponseToJSON(json: any): ListMemoryChunksResponse;
|
|
48
|
-
export declare function ListMemoryChunksResponseToJSONTyped(value?: ListMemoryChunksResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,45 +0,0 @@
|
|
|
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 { MemoryChunkResponseFromJSON, MemoryChunkResponseToJSON, } from './MemoryChunkResponse';
|
|
15
|
-
export const ListMemoryChunksResponsePropertyValidationAttributesMap = {};
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the ListMemoryChunksResponse interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfListMemoryChunksResponse(value) {
|
|
20
|
-
if (!('chunks' in value) || value['chunks'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function ListMemoryChunksResponseFromJSON(json) {
|
|
25
|
-
return ListMemoryChunksResponseFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function ListMemoryChunksResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'chunks': (json['chunks'].map(MemoryChunkResponseFromJSON)),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export function ListMemoryChunksResponseToJSON(json) {
|
|
36
|
-
return ListMemoryChunksResponseToJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function ListMemoryChunksResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
-
if (value == null) {
|
|
40
|
-
return value;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'chunks': (value['chunks'].map(MemoryChunkResponseToJSON)),
|
|
44
|
-
};
|
|
45
|
-
}
|