@knowledge-stack/ksapi 1.88.1 → 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,64 @@
|
|
|
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
|
+
* Body for ``POST /v1/workflow-runs/{run_id}/approval``.
|
|
14
|
+
*
|
|
15
|
+
* Approves an entire completed run in one call — every output document
|
|
16
|
+
* under ``outputs/`` plus the run folder itself. ``reason`` is an
|
|
17
|
+
* optional reviewer note persisted on each approval audit row.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SetWorkflowRunApprovalRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SetWorkflowRunApprovalRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {SetWorkflowRunApprovalRequestStateEnum}
|
|
25
|
+
* @memberof SetWorkflowRunApprovalRequest
|
|
26
|
+
*/
|
|
27
|
+
state: SetWorkflowRunApprovalRequestStateEnum;
|
|
28
|
+
/**
|
|
29
|
+
* Optional reviewer note attached to the decision.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SetWorkflowRunApprovalRequest
|
|
32
|
+
*/
|
|
33
|
+
reason?: string | null;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
export declare const SetWorkflowRunApprovalRequestStateEnum: {
|
|
39
|
+
readonly Approved: "approved";
|
|
40
|
+
};
|
|
41
|
+
export type SetWorkflowRunApprovalRequestStateEnum = typeof SetWorkflowRunApprovalRequestStateEnum[keyof typeof SetWorkflowRunApprovalRequestStateEnum];
|
|
42
|
+
export declare const SetWorkflowRunApprovalRequestPropertyValidationAttributesMap: {
|
|
43
|
+
[property: string]: {
|
|
44
|
+
maxLength?: number;
|
|
45
|
+
minLength?: number;
|
|
46
|
+
pattern?: string;
|
|
47
|
+
maximum?: number;
|
|
48
|
+
exclusiveMaximum?: boolean;
|
|
49
|
+
minimum?: number;
|
|
50
|
+
exclusiveMinimum?: boolean;
|
|
51
|
+
multipleOf?: number;
|
|
52
|
+
maxItems?: number;
|
|
53
|
+
minItems?: number;
|
|
54
|
+
uniqueItems?: boolean;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the SetWorkflowRunApprovalRequest interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfSetWorkflowRunApprovalRequest(value: object): value is SetWorkflowRunApprovalRequest;
|
|
61
|
+
export declare function SetWorkflowRunApprovalRequestFromJSON(json: any): SetWorkflowRunApprovalRequest;
|
|
62
|
+
export declare function SetWorkflowRunApprovalRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetWorkflowRunApprovalRequest;
|
|
63
|
+
export declare function SetWorkflowRunApprovalRequestToJSON(json: any): SetWorkflowRunApprovalRequest;
|
|
64
|
+
export declare function SetWorkflowRunApprovalRequestToJSONTyped(value?: SetWorkflowRunApprovalRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SetWorkflowRunApprovalRequestStateEnum = {
|
|
18
|
+
Approved: 'approved'
|
|
19
|
+
};
|
|
20
|
+
export const SetWorkflowRunApprovalRequestPropertyValidationAttributesMap = {
|
|
21
|
+
reason: {
|
|
22
|
+
maxLength: 2048,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SetWorkflowRunApprovalRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export function instanceOfSetWorkflowRunApprovalRequest(value) {
|
|
29
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function SetWorkflowRunApprovalRequestFromJSON(json) {
|
|
34
|
+
return SetWorkflowRunApprovalRequestFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SetWorkflowRunApprovalRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'state': json['state'],
|
|
42
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SetWorkflowRunApprovalRequestToJSON(json) {
|
|
46
|
+
return SetWorkflowRunApprovalRequestToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SetWorkflowRunApprovalRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'state': value['state'],
|
|
54
|
+
'reason': value['reason'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -13,7 +13,7 @@ import type { EnrichedThreadMessageContent } from './EnrichedThreadMessageConten
|
|
|
13
13
|
import type { MessageRole } from './MessageRole';
|
|
14
14
|
import type { ThreadMessageDetailsOutput } from './ThreadMessageDetailsOutput';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
*
|
|
17
17
|
* @export
|
|
18
18
|
* @interface ThreadMessageResponse
|
|
19
19
|
*/
|
|
@@ -72,6 +72,12 @@ export interface ThreadMessageResponse {
|
|
|
72
72
|
* @memberof ThreadMessageResponse
|
|
73
73
|
*/
|
|
74
74
|
tenantId: string;
|
|
75
|
+
/**
|
|
76
|
+
* tenant_user.user_id of the sender for USER messages. NULL for ASSISTANT / SYSTEM rows and for legacy USER rows written before multi-user thread support landed.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof ThreadMessageResponse
|
|
79
|
+
*/
|
|
80
|
+
authorTenantUserId?: string | null;
|
|
75
81
|
/**
|
|
76
82
|
* Creation timestamp
|
|
77
83
|
* @type {Date}
|
|
@@ -58,6 +58,7 @@ export function ThreadMessageResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'parentPathId': json['parent_path_id'],
|
|
59
59
|
'materializedPath': json['materialized_path'],
|
|
60
60
|
'tenantId': json['tenant_id'],
|
|
61
|
+
'authorTenantUserId': json['author_tenant_user_id'] == null ? undefined : json['author_tenant_user_id'],
|
|
61
62
|
'createdAt': (new Date(json['created_at'])),
|
|
62
63
|
'updatedAt': (new Date(json['updated_at'])),
|
|
63
64
|
};
|
|
@@ -79,6 +80,7 @@ export function ThreadMessageResponseToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
79
80
|
'parent_path_id': value['parentPathId'],
|
|
80
81
|
'materialized_path': value['materializedPath'],
|
|
81
82
|
'tenant_id': value['tenantId'],
|
|
83
|
+
'author_tenant_user_id': value['authorTenantUserId'],
|
|
82
84
|
'created_at': value['createdAt'].toISOString(),
|
|
83
85
|
'updated_at': value['updatedAt'].toISOString(),
|
|
84
86
|
};
|
|
@@ -9,15 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SelfHostedRunnerConfig } from './SelfHostedRunnerConfig';
|
|
13
|
-
import type { WorkflowRunnerType } from './WorkflowRunnerType';
|
|
14
12
|
/**
|
|
15
13
|
* Full replacement (PUT semantics).
|
|
16
|
-
*
|
|
17
|
-
* ``instruction_path_part_ids``:
|
|
18
|
-
*
|
|
19
|
-
* - ``KS_INTERNAL``: must remain ``len == 1`` (the auto-provisioned doc).
|
|
20
|
-
* - ``SELF_HOSTED``: ``len ≥ 1``; callers may swap or add documents.
|
|
21
14
|
* @export
|
|
22
15
|
* @interface UpdateWorkflowDefinitionRequest
|
|
23
16
|
*/
|
|
@@ -34,18 +27,6 @@ export interface UpdateWorkflowDefinitionRequest {
|
|
|
34
27
|
* @memberof UpdateWorkflowDefinitionRequest
|
|
35
28
|
*/
|
|
36
29
|
description?: string | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {WorkflowRunnerType}
|
|
40
|
-
* @memberof UpdateWorkflowDefinitionRequest
|
|
41
|
-
*/
|
|
42
|
-
runnerType: WorkflowRunnerType;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {SelfHostedRunnerConfig}
|
|
46
|
-
* @memberof UpdateWorkflowDefinitionRequest
|
|
47
|
-
*/
|
|
48
|
-
runnerConfig?: SelfHostedRunnerConfig | null;
|
|
49
30
|
/**
|
|
50
31
|
*
|
|
51
32
|
* @type {number}
|
|
@@ -53,41 +34,23 @@ export interface UpdateWorkflowDefinitionRequest {
|
|
|
53
34
|
*/
|
|
54
35
|
maxRunDurationSeconds?: number;
|
|
55
36
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {Array<string>}
|
|
58
|
-
* @memberof UpdateWorkflowDefinitionRequest
|
|
59
|
-
*/
|
|
60
|
-
sourcePathPartIds: Array<string>;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {Array<string>}
|
|
64
|
-
* @memberof UpdateWorkflowDefinitionRequest
|
|
65
|
-
*/
|
|
66
|
-
instructionPathPartIds: Array<string>;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {Array<string>}
|
|
70
|
-
* @memberof UpdateWorkflowDefinitionRequest
|
|
71
|
-
*/
|
|
72
|
-
outputPathPartIds: Array<string>;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
37
|
+
* DOCUMENT path_part of the instruction document. Pass null (or omit) to retain the existing pinned instruction; pass a UUID to replace it. Never nulled out — the column is NOT NULL.
|
|
75
38
|
* @type {string}
|
|
76
39
|
* @memberof UpdateWorkflowDefinitionRequest
|
|
77
40
|
*/
|
|
78
|
-
|
|
41
|
+
instructionPathPartId?: string | null;
|
|
79
42
|
/**
|
|
80
43
|
*
|
|
81
44
|
* @type {boolean}
|
|
82
45
|
* @memberof UpdateWorkflowDefinitionRequest
|
|
83
46
|
*/
|
|
84
|
-
isActive
|
|
47
|
+
isActive: boolean;
|
|
85
48
|
/**
|
|
86
49
|
*
|
|
87
50
|
* @type {boolean}
|
|
88
51
|
* @memberof UpdateWorkflowDefinitionRequest
|
|
89
52
|
*/
|
|
90
|
-
approvalRequired
|
|
53
|
+
approvalRequired: boolean;
|
|
91
54
|
}
|
|
92
55
|
export declare const UpdateWorkflowDefinitionRequestPropertyValidationAttributesMap: {
|
|
93
56
|
[property: string]: {
|
|
@@ -11,33 +11,16 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { SelfHostedRunnerConfigFromJSON, SelfHostedRunnerConfigToJSON, } from './SelfHostedRunnerConfig';
|
|
15
|
-
import { WorkflowRunnerTypeFromJSON, WorkflowRunnerTypeToJSON, } from './WorkflowRunnerType';
|
|
16
14
|
export const UpdateWorkflowDefinitionRequestPropertyValidationAttributesMap = {
|
|
17
15
|
name: {
|
|
18
16
|
maxLength: 255,
|
|
19
17
|
},
|
|
20
18
|
maxRunDurationSeconds: {
|
|
21
|
-
maximum:
|
|
19
|
+
maximum: 7200,
|
|
22
20
|
exclusiveMaximum: false,
|
|
23
21
|
minimum: 60,
|
|
24
22
|
exclusiveMinimum: false,
|
|
25
23
|
},
|
|
26
|
-
sourcePathPartIds: {
|
|
27
|
-
maxItems: 20,
|
|
28
|
-
minItems: 1,
|
|
29
|
-
uniqueItems: false,
|
|
30
|
-
},
|
|
31
|
-
instructionPathPartIds: {
|
|
32
|
-
maxItems: 20,
|
|
33
|
-
minItems: 1,
|
|
34
|
-
uniqueItems: false,
|
|
35
|
-
},
|
|
36
|
-
outputPathPartIds: {
|
|
37
|
-
maxItems: 20,
|
|
38
|
-
minItems: 1,
|
|
39
|
-
uniqueItems: false,
|
|
40
|
-
},
|
|
41
24
|
};
|
|
42
25
|
/**
|
|
43
26
|
* Check if a given object implements the UpdateWorkflowDefinitionRequest interface.
|
|
@@ -45,13 +28,9 @@ export const UpdateWorkflowDefinitionRequestPropertyValidationAttributesMap = {
|
|
|
45
28
|
export function instanceOfUpdateWorkflowDefinitionRequest(value) {
|
|
46
29
|
if (!('name' in value) || value['name'] === undefined)
|
|
47
30
|
return false;
|
|
48
|
-
if (!('
|
|
49
|
-
return false;
|
|
50
|
-
if (!('sourcePathPartIds' in value) || value['sourcePathPartIds'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('instructionPathPartIds' in value) || value['instructionPathPartIds'] === undefined)
|
|
31
|
+
if (!('isActive' in value) || value['isActive'] === undefined)
|
|
53
32
|
return false;
|
|
54
|
-
if (!('
|
|
33
|
+
if (!('approvalRequired' in value) || value['approvalRequired'] === undefined)
|
|
55
34
|
return false;
|
|
56
35
|
return true;
|
|
57
36
|
}
|
|
@@ -65,15 +44,10 @@ export function UpdateWorkflowDefinitionRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
65
44
|
return {
|
|
66
45
|
'name': json['name'],
|
|
67
46
|
'description': json['description'] == null ? undefined : json['description'],
|
|
68
|
-
'runnerType': WorkflowRunnerTypeFromJSON(json['runner_type']),
|
|
69
|
-
'runnerConfig': json['runner_config'] == null ? undefined : SelfHostedRunnerConfigFromJSON(json['runner_config']),
|
|
70
47
|
'maxRunDurationSeconds': json['max_run_duration_seconds'] == null ? undefined : json['max_run_duration_seconds'],
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'templatePathPartId': json['template_path_part_id'] == null ? undefined : json['template_path_part_id'],
|
|
75
|
-
'isActive': json['is_active'] == null ? undefined : json['is_active'],
|
|
76
|
-
'approvalRequired': json['approval_required'] == null ? undefined : json['approval_required'],
|
|
48
|
+
'instructionPathPartId': json['instruction_path_part_id'] == null ? undefined : json['instruction_path_part_id'],
|
|
49
|
+
'isActive': json['is_active'],
|
|
50
|
+
'approvalRequired': json['approval_required'],
|
|
77
51
|
};
|
|
78
52
|
}
|
|
79
53
|
export function UpdateWorkflowDefinitionRequestToJSON(json) {
|
|
@@ -86,13 +60,8 @@ export function UpdateWorkflowDefinitionRequestToJSONTyped(value, ignoreDiscrimi
|
|
|
86
60
|
return {
|
|
87
61
|
'name': value['name'],
|
|
88
62
|
'description': value['description'],
|
|
89
|
-
'runner_type': WorkflowRunnerTypeToJSON(value['runnerType']),
|
|
90
|
-
'runner_config': SelfHostedRunnerConfigToJSON(value['runnerConfig']),
|
|
91
63
|
'max_run_duration_seconds': value['maxRunDurationSeconds'],
|
|
92
|
-
'
|
|
93
|
-
'instruction_path_part_ids': value['instructionPathPartIds'],
|
|
94
|
-
'output_path_part_ids': value['outputPathPartIds'],
|
|
95
|
-
'template_path_part_id': value['templatePathPartId'],
|
|
64
|
+
'instruction_path_part_id': value['instructionPathPartId'],
|
|
96
65
|
'is_active': value['isActive'],
|
|
97
66
|
'approval_required': value['approvalRequired'],
|
|
98
67
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* PATCH body for ``/v1/workflow-runs/{id}`` — NOT_STARTED runs only.
|
|
14
|
+
*
|
|
15
|
+
* Both fields are optional. A body with both ``None`` is rejected as 400
|
|
16
|
+
* (no-op PATCH). ``input_scope`` replaces the row's KB-ref list wholesale;
|
|
17
|
+
* ``name`` renames the run path_part (the trigger cascades
|
|
18
|
+
* ``materialized_path`` to every descendant).
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateWorkflowRunRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateWorkflowRunRequest {
|
|
23
|
+
/**
|
|
24
|
+
* New KB-reference scope (DOCUMENT + FOLDER pp_ids). Replaces the row's ``input_path_part_ids`` wholesale. Uploaded files live in ``inputs/`` and are walked at Start; they are not part of this list.
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof UpdateWorkflowRunRequest
|
|
27
|
+
*/
|
|
28
|
+
inputScope?: Array<string> | null;
|
|
29
|
+
/**
|
|
30
|
+
* New display name for the run (mirrors path_part.name).
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateWorkflowRunRequest
|
|
33
|
+
*/
|
|
34
|
+
name?: string | null;
|
|
35
|
+
}
|
|
36
|
+
export declare const UpdateWorkflowRunRequestPropertyValidationAttributesMap: {
|
|
37
|
+
[property: string]: {
|
|
38
|
+
maxLength?: number;
|
|
39
|
+
minLength?: number;
|
|
40
|
+
pattern?: string;
|
|
41
|
+
maximum?: number;
|
|
42
|
+
exclusiveMaximum?: boolean;
|
|
43
|
+
minimum?: number;
|
|
44
|
+
exclusiveMinimum?: boolean;
|
|
45
|
+
multipleOf?: number;
|
|
46
|
+
maxItems?: number;
|
|
47
|
+
minItems?: number;
|
|
48
|
+
uniqueItems?: boolean;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the UpdateWorkflowRunRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfUpdateWorkflowRunRequest(value: object): value is UpdateWorkflowRunRequest;
|
|
55
|
+
export declare function UpdateWorkflowRunRequestFromJSON(json: any): UpdateWorkflowRunRequest;
|
|
56
|
+
export declare function UpdateWorkflowRunRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateWorkflowRunRequest;
|
|
57
|
+
export declare function UpdateWorkflowRunRequestToJSON(json: any): UpdateWorkflowRunRequest;
|
|
58
|
+
export declare function UpdateWorkflowRunRequestToJSONTyped(value?: UpdateWorkflowRunRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 UpdateWorkflowRunRequestPropertyValidationAttributesMap = {
|
|
15
|
+
inputScope: {
|
|
16
|
+
maxItems: 50,
|
|
17
|
+
uniqueItems: false,
|
|
18
|
+
},
|
|
19
|
+
name: {
|
|
20
|
+
maxLength: 255,
|
|
21
|
+
minLength: 1,
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the UpdateWorkflowRunRequest interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfUpdateWorkflowRunRequest(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function UpdateWorkflowRunRequestFromJSON(json) {
|
|
31
|
+
return UpdateWorkflowRunRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function UpdateWorkflowRunRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'inputScope': json['input_scope'] == null ? undefined : json['input_scope'],
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function UpdateWorkflowRunRequestToJSON(json) {
|
|
43
|
+
return UpdateWorkflowRunRequestToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function UpdateWorkflowRunRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'input_scope': value['inputScope'],
|
|
51
|
+
'name': value['name'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
* Minimal user identity for embedding on other responses.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface UserInfo {
|
|
18
|
+
/**
|
|
19
|
+
* User ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserInfo
|
|
22
|
+
*/
|
|
23
|
+
userId: string;
|
|
24
|
+
/**
|
|
25
|
+
* First name (nullable on the user model)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserInfo
|
|
28
|
+
*/
|
|
29
|
+
firstName: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Last name (nullable on the user model)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserInfo
|
|
34
|
+
*/
|
|
35
|
+
lastName: string | null;
|
|
36
|
+
}
|
|
37
|
+
export declare const UserInfoPropertyValidationAttributesMap: {
|
|
38
|
+
[property: string]: {
|
|
39
|
+
maxLength?: number;
|
|
40
|
+
minLength?: number;
|
|
41
|
+
pattern?: string;
|
|
42
|
+
maximum?: number;
|
|
43
|
+
exclusiveMaximum?: boolean;
|
|
44
|
+
minimum?: number;
|
|
45
|
+
exclusiveMinimum?: boolean;
|
|
46
|
+
multipleOf?: number;
|
|
47
|
+
maxItems?: number;
|
|
48
|
+
minItems?: number;
|
|
49
|
+
uniqueItems?: boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the UserInfo interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfUserInfo(value: object): value is UserInfo;
|
|
56
|
+
export declare function UserInfoFromJSON(json: any): UserInfo;
|
|
57
|
+
export declare function UserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInfo;
|
|
58
|
+
export declare function UserInfoToJSON(json: any): UserInfo;
|
|
59
|
+
export declare function UserInfoToJSONTyped(value?: UserInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 UserInfoPropertyValidationAttributesMap = {};
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UserInfo interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUserInfo(value) {
|
|
19
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function UserInfoFromJSON(json) {
|
|
28
|
+
return UserInfoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function UserInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'userId': json['user_id'],
|
|
36
|
+
'firstName': json['first_name'],
|
|
37
|
+
'lastName': json['last_name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function UserInfoToJSON(json) {
|
|
41
|
+
return UserInfoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function UserInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'user_id': value['userId'],
|
|
49
|
+
'first_name': value['firstName'],
|
|
50
|
+
'last_name': value['lastName'],
|
|
51
|
+
};
|
|
52
|
+
}
|