@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
package/.openapi-generator/FILES
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
.npmignore
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
|
-
docs/ABCDPathSnapshot.md
|
|
6
5
|
docs/AcceptInviteResponse.md
|
|
7
6
|
docs/AddMemberRequest.md
|
|
8
7
|
docs/AgentApi.md
|
|
@@ -33,7 +32,9 @@ docs/ChunkSearchRequest.md
|
|
|
33
32
|
docs/ChunkType.md
|
|
34
33
|
docs/ChunksApi.md
|
|
35
34
|
docs/Citation.md
|
|
35
|
+
docs/CitedChunk.md
|
|
36
36
|
docs/ClearVersionContentsResponse.md
|
|
37
|
+
docs/CloneWorkflowRunRequest.md
|
|
37
38
|
docs/CreateApiKeyRequest.md
|
|
38
39
|
docs/CreateApiKeyResponse.md
|
|
39
40
|
docs/CreateChunkLineageRequest.md
|
|
@@ -66,6 +67,8 @@ docs/DocumentVersionMetadataUpdate.md
|
|
|
66
67
|
docs/DocumentVersionResponse.md
|
|
67
68
|
docs/DocumentVersionsApi.md
|
|
68
69
|
docs/DocumentsApi.md
|
|
70
|
+
docs/DocxParagraphAnchorInput.md
|
|
71
|
+
docs/DocxParagraphAnchorOutput.md
|
|
69
72
|
docs/EditMemoryChunkRequest.md
|
|
70
73
|
docs/EmailSentResponse.md
|
|
71
74
|
docs/EmailVerificationRequest.md
|
|
@@ -84,7 +87,7 @@ docs/FeedbackTargetType.md
|
|
|
84
87
|
docs/FolderAction.md
|
|
85
88
|
docs/FolderActionResponse.md
|
|
86
89
|
docs/FolderResponse.md
|
|
87
|
-
docs/
|
|
90
|
+
docs/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.md
|
|
88
91
|
docs/FoldersApi.md
|
|
89
92
|
docs/GroupPermissionResponse.md
|
|
90
93
|
docs/GroupResponse.md
|
|
@@ -97,6 +100,7 @@ docs/ImageTaxonomy.md
|
|
|
97
100
|
docs/InformationStatistics.md
|
|
98
101
|
docs/IngestDocumentResponse.md
|
|
99
102
|
docs/IngestionMode.md
|
|
103
|
+
docs/InputSnapshot.md
|
|
100
104
|
docs/InstructionSnapshot.md
|
|
101
105
|
docs/InviteLinkSettingsRequest.md
|
|
102
106
|
docs/InviteLinkSettingsResponse.md
|
|
@@ -104,11 +108,9 @@ docs/InviteResponse.md
|
|
|
104
108
|
docs/InviteStatus.md
|
|
105
109
|
docs/InviteUserRequest.md
|
|
106
110
|
docs/InvitesApi.md
|
|
107
|
-
docs/InvokeWorkflowRequest.md
|
|
108
111
|
docs/LineageEdgeResponse.md
|
|
109
112
|
docs/LineageGraphResponse.md
|
|
110
113
|
docs/LineageNodeResponse.md
|
|
111
|
-
docs/ListMemoryChunksResponse.md
|
|
112
114
|
docs/LocationInner.md
|
|
113
115
|
docs/MembershipResponse.md
|
|
114
116
|
docs/MemoryChunkResponse.md
|
|
@@ -118,7 +120,7 @@ docs/MeteredQuotaStatus.md
|
|
|
118
120
|
docs/NonFilesystemReferenceType.md
|
|
119
121
|
docs/OnboardingCompanyRequest.md
|
|
120
122
|
docs/OnboardingProfileRequest.md
|
|
121
|
-
docs/
|
|
123
|
+
docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.md
|
|
122
124
|
docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md
|
|
123
125
|
docs/PaginatedResponseDocumentResponse.md
|
|
124
126
|
docs/PaginatedResponseDocumentVersionResponse.md
|
|
@@ -129,6 +131,7 @@ docs/PaginatedResponseGroupPermissionResponse.md
|
|
|
129
131
|
docs/PaginatedResponseGroupResponse.md
|
|
130
132
|
docs/PaginatedResponseInviteResponse.md
|
|
131
133
|
docs/PaginatedResponseMembershipResponse.md
|
|
134
|
+
docs/PaginatedResponseMemoryChunkResponse.md
|
|
132
135
|
docs/PaginatedResponsePathPartResponse.md
|
|
133
136
|
docs/PaginatedResponsePermissionResponse.md
|
|
134
137
|
docs/PaginatedResponseTagResponse.md
|
|
@@ -147,6 +150,8 @@ docs/PathOrder.md
|
|
|
147
150
|
docs/PathPartAncestorItem.md
|
|
148
151
|
docs/PathPartApprovalDecision.md
|
|
149
152
|
docs/PathPartApprovalResponse.md
|
|
153
|
+
docs/PathPartApprovalState.md
|
|
154
|
+
docs/PathPartApprovalsApi.md
|
|
150
155
|
docs/PathPartResponse.md
|
|
151
156
|
docs/PathPartTagsResponse.md
|
|
152
157
|
docs/PathPartsApi.md
|
|
@@ -160,7 +165,6 @@ docs/Polygon.md
|
|
|
160
165
|
docs/PolygonReference.md
|
|
161
166
|
docs/PublicApi.md
|
|
162
167
|
docs/ReferenceType.md
|
|
163
|
-
docs/RejectFileRequest.md
|
|
164
168
|
docs/RequestPhoneChangeRequest.md
|
|
165
169
|
docs/ResolvedReferenceInput.md
|
|
166
170
|
docs/ResolvedReferenceOutput.md
|
|
@@ -177,9 +181,9 @@ docs/SectionContentItemOrChunkContentItem.md
|
|
|
177
181
|
docs/SectionResponse.md
|
|
178
182
|
docs/SectionSystemMetadata.md
|
|
179
183
|
docs/SectionsApi.md
|
|
180
|
-
docs/SelfHostedRunnerConfig.md
|
|
181
|
-
docs/SelfHostedRunnerConfigResponse.md
|
|
182
184
|
docs/SendPasswordResetRequest.md
|
|
185
|
+
docs/SetApprovalStateRequest.md
|
|
186
|
+
docs/SetWorkflowRunApprovalRequest.md
|
|
183
187
|
docs/SignInRequest.md
|
|
184
188
|
docs/StepInput.md
|
|
185
189
|
docs/StepKind.md
|
|
@@ -226,7 +230,9 @@ docs/UpdateTenantRequest.md
|
|
|
226
230
|
docs/UpdateThreadRequest.md
|
|
227
231
|
docs/UpdateUserRequest.md
|
|
228
232
|
docs/UpdateWorkflowDefinitionRequest.md
|
|
233
|
+
docs/UpdateWorkflowRunRequest.md
|
|
229
234
|
docs/UsageMetric.md
|
|
235
|
+
docs/UserInfo.md
|
|
230
236
|
docs/UserMessageRequest.md
|
|
231
237
|
docs/UserMessageResponse.md
|
|
232
238
|
docs/UserPermissionsApi.md
|
|
@@ -241,15 +247,18 @@ docs/WorkflowCancelResponse.md
|
|
|
241
247
|
docs/WorkflowDefinitionResponse.md
|
|
242
248
|
docs/WorkflowDefinitionsApi.md
|
|
243
249
|
docs/WorkflowDetailResponse.md
|
|
250
|
+
docs/WorkflowExecutionState.md
|
|
244
251
|
docs/WorkflowMemoryApi.md
|
|
245
252
|
docs/WorkflowRunCallbackRequest.md
|
|
246
253
|
docs/WorkflowRunResponse.md
|
|
247
254
|
docs/WorkflowRunSnapshot.md
|
|
248
|
-
docs/WorkflowRunStatus.md
|
|
249
|
-
docs/WorkflowRunnerType.md
|
|
250
255
|
docs/WorkflowRunsApi.md
|
|
251
256
|
docs/WorkflowSummaryResponse.md
|
|
252
257
|
docs/WorkflowsApi.md
|
|
258
|
+
docs/XlsxCellAnchorInput.md
|
|
259
|
+
docs/XlsxCellAnchorInputOrDocxParagraphAnchorInput.md
|
|
260
|
+
docs/XlsxCellAnchorOutput.md
|
|
261
|
+
docs/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.md
|
|
253
262
|
package.json
|
|
254
263
|
src/apis/AgentApi.ts
|
|
255
264
|
src/apis/ApiKeysApi.ts
|
|
@@ -264,6 +273,7 @@ src/apis/FeaturesApi.ts
|
|
|
264
273
|
src/apis/FeedbackApi.ts
|
|
265
274
|
src/apis/FoldersApi.ts
|
|
266
275
|
src/apis/InvitesApi.ts
|
|
276
|
+
src/apis/PathPartApprovalsApi.ts
|
|
267
277
|
src/apis/PathPartsApi.ts
|
|
268
278
|
src/apis/PublicApi.ts
|
|
269
279
|
src/apis/SectionsApi.ts
|
|
@@ -281,7 +291,6 @@ src/apis/WorkflowRunsApi.ts
|
|
|
281
291
|
src/apis/WorkflowsApi.ts
|
|
282
292
|
src/apis/index.ts
|
|
283
293
|
src/index.ts
|
|
284
|
-
src/models/ABCDPathSnapshot.ts
|
|
285
294
|
src/models/AcceptInviteResponse.ts
|
|
286
295
|
src/models/AddMemberRequest.ts
|
|
287
296
|
src/models/AncestryResponse.ts
|
|
@@ -307,7 +316,9 @@ src/models/ChunkResponse.ts
|
|
|
307
316
|
src/models/ChunkSearchRequest.ts
|
|
308
317
|
src/models/ChunkType.ts
|
|
309
318
|
src/models/Citation.ts
|
|
319
|
+
src/models/CitedChunk.ts
|
|
310
320
|
src/models/ClearVersionContentsResponse.ts
|
|
321
|
+
src/models/CloneWorkflowRunRequest.ts
|
|
311
322
|
src/models/CreateApiKeyRequest.ts
|
|
312
323
|
src/models/CreateApiKeyResponse.ts
|
|
313
324
|
src/models/CreateChunkLineageRequest.ts
|
|
@@ -336,6 +347,8 @@ src/models/DocumentVersionContentTypeFilter.ts
|
|
|
336
347
|
src/models/DocumentVersionMetadata.ts
|
|
337
348
|
src/models/DocumentVersionMetadataUpdate.ts
|
|
338
349
|
src/models/DocumentVersionResponse.ts
|
|
350
|
+
src/models/DocxParagraphAnchorInput.ts
|
|
351
|
+
src/models/DocxParagraphAnchorOutput.ts
|
|
339
352
|
src/models/EditMemoryChunkRequest.ts
|
|
340
353
|
src/models/EmailSentResponse.ts
|
|
341
354
|
src/models/EmailVerificationRequest.ts
|
|
@@ -352,7 +365,7 @@ src/models/FeedbackTargetType.ts
|
|
|
352
365
|
src/models/FolderAction.ts
|
|
353
366
|
src/models/FolderActionResponse.ts
|
|
354
367
|
src/models/FolderResponse.ts
|
|
355
|
-
src/models/
|
|
368
|
+
src/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.ts
|
|
356
369
|
src/models/GroupPermissionResponse.ts
|
|
357
370
|
src/models/GroupResponse.ts
|
|
358
371
|
src/models/HTTPValidationError.ts
|
|
@@ -364,17 +377,16 @@ src/models/ImageTaxonomy.ts
|
|
|
364
377
|
src/models/InformationStatistics.ts
|
|
365
378
|
src/models/IngestDocumentResponse.ts
|
|
366
379
|
src/models/IngestionMode.ts
|
|
380
|
+
src/models/InputSnapshot.ts
|
|
367
381
|
src/models/InstructionSnapshot.ts
|
|
368
382
|
src/models/InviteLinkSettingsRequest.ts
|
|
369
383
|
src/models/InviteLinkSettingsResponse.ts
|
|
370
384
|
src/models/InviteResponse.ts
|
|
371
385
|
src/models/InviteStatus.ts
|
|
372
386
|
src/models/InviteUserRequest.ts
|
|
373
|
-
src/models/InvokeWorkflowRequest.ts
|
|
374
387
|
src/models/LineageEdgeResponse.ts
|
|
375
388
|
src/models/LineageGraphResponse.ts
|
|
376
389
|
src/models/LineageNodeResponse.ts
|
|
377
|
-
src/models/ListMemoryChunksResponse.ts
|
|
378
390
|
src/models/LocationInner.ts
|
|
379
391
|
src/models/MembershipResponse.ts
|
|
380
392
|
src/models/MemoryChunkResponse.ts
|
|
@@ -384,7 +396,7 @@ src/models/MeteredQuotaStatus.ts
|
|
|
384
396
|
src/models/NonFilesystemReferenceType.ts
|
|
385
397
|
src/models/OnboardingCompanyRequest.ts
|
|
386
398
|
src/models/OnboardingProfileRequest.ts
|
|
387
|
-
src/models/
|
|
399
|
+
src/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.ts
|
|
388
400
|
src/models/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.ts
|
|
389
401
|
src/models/PaginatedResponseDocumentResponse.ts
|
|
390
402
|
src/models/PaginatedResponseDocumentVersionResponse.ts
|
|
@@ -395,6 +407,7 @@ src/models/PaginatedResponseGroupPermissionResponse.ts
|
|
|
395
407
|
src/models/PaginatedResponseGroupResponse.ts
|
|
396
408
|
src/models/PaginatedResponseInviteResponse.ts
|
|
397
409
|
src/models/PaginatedResponseMembershipResponse.ts
|
|
410
|
+
src/models/PaginatedResponseMemoryChunkResponse.ts
|
|
398
411
|
src/models/PaginatedResponsePathPartResponse.ts
|
|
399
412
|
src/models/PaginatedResponsePermissionResponse.ts
|
|
400
413
|
src/models/PaginatedResponseTagResponse.ts
|
|
@@ -413,6 +426,7 @@ src/models/PathOrder.ts
|
|
|
413
426
|
src/models/PathPartAncestorItem.ts
|
|
414
427
|
src/models/PathPartApprovalDecision.ts
|
|
415
428
|
src/models/PathPartApprovalResponse.ts
|
|
429
|
+
src/models/PathPartApprovalState.ts
|
|
416
430
|
src/models/PathPartResponse.ts
|
|
417
431
|
src/models/PathPartTagsResponse.ts
|
|
418
432
|
src/models/PermissionCapability.ts
|
|
@@ -424,7 +438,6 @@ src/models/PipelineStatus.ts
|
|
|
424
438
|
src/models/Polygon.ts
|
|
425
439
|
src/models/PolygonReference.ts
|
|
426
440
|
src/models/ReferenceType.ts
|
|
427
|
-
src/models/RejectFileRequest.ts
|
|
428
441
|
src/models/RequestPhoneChangeRequest.ts
|
|
429
442
|
src/models/ResolvedReferenceInput.ts
|
|
430
443
|
src/models/ResolvedReferenceOutput.ts
|
|
@@ -440,9 +453,9 @@ src/models/SectionContentItem.ts
|
|
|
440
453
|
src/models/SectionContentItemOrChunkContentItem.ts
|
|
441
454
|
src/models/SectionResponse.ts
|
|
442
455
|
src/models/SectionSystemMetadata.ts
|
|
443
|
-
src/models/SelfHostedRunnerConfig.ts
|
|
444
|
-
src/models/SelfHostedRunnerConfigResponse.ts
|
|
445
456
|
src/models/SendPasswordResetRequest.ts
|
|
457
|
+
src/models/SetApprovalStateRequest.ts
|
|
458
|
+
src/models/SetWorkflowRunApprovalRequest.ts
|
|
446
459
|
src/models/SignInRequest.ts
|
|
447
460
|
src/models/StepInput.ts
|
|
448
461
|
src/models/StepKind.ts
|
|
@@ -483,7 +496,9 @@ src/models/UpdateTenantRequest.ts
|
|
|
483
496
|
src/models/UpdateThreadRequest.ts
|
|
484
497
|
src/models/UpdateUserRequest.ts
|
|
485
498
|
src/models/UpdateWorkflowDefinitionRequest.ts
|
|
499
|
+
src/models/UpdateWorkflowRunRequest.ts
|
|
486
500
|
src/models/UsageMetric.ts
|
|
501
|
+
src/models/UserInfo.ts
|
|
487
502
|
src/models/UserMessageRequest.ts
|
|
488
503
|
src/models/UserMessageResponse.ts
|
|
489
504
|
src/models/UserResponse.ts
|
|
@@ -495,12 +510,15 @@ src/models/WorkflowCallbackResponse.ts
|
|
|
495
510
|
src/models/WorkflowCancelResponse.ts
|
|
496
511
|
src/models/WorkflowDefinitionResponse.ts
|
|
497
512
|
src/models/WorkflowDetailResponse.ts
|
|
513
|
+
src/models/WorkflowExecutionState.ts
|
|
498
514
|
src/models/WorkflowRunCallbackRequest.ts
|
|
499
515
|
src/models/WorkflowRunResponse.ts
|
|
500
516
|
src/models/WorkflowRunSnapshot.ts
|
|
501
|
-
src/models/WorkflowRunStatus.ts
|
|
502
|
-
src/models/WorkflowRunnerType.ts
|
|
503
517
|
src/models/WorkflowSummaryResponse.ts
|
|
518
|
+
src/models/XlsxCellAnchorInput.ts
|
|
519
|
+
src/models/XlsxCellAnchorInputOrDocxParagraphAnchorInput.ts
|
|
520
|
+
src/models/XlsxCellAnchorOutput.ts
|
|
521
|
+
src/models/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.ts
|
|
504
522
|
src/models/index.ts
|
|
505
523
|
src/runtime.ts
|
|
506
524
|
tsconfig.esm.json
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
1
|
+
# @knowledge-stack/ksapi@1.89.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -92,9 +92,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
92
92
|
*ChunksApi* | [**updateChunkMetadata**](docs/ChunksApi.md#updatechunkmetadataoperation) | **PATCH** /v1/chunks/{chunk_id} | Update Chunk Metadata Handler
|
|
93
93
|
*DefaultApi* | [**healthCheck**](docs/DefaultApi.md#healthcheck) | **GET** /healthz | Health Check Handler
|
|
94
94
|
*DefaultApi* | [**hello**](docs/DefaultApi.md#hello) | **GET** / | Root Handler
|
|
95
|
-
*DocumentCheckoutApi* | [**acquireDocumentCheckout**](docs/DocumentCheckoutApi.md#acquiredocumentcheckout) | **POST** /v1/documents/{
|
|
96
|
-
*DocumentCheckoutApi* | [**getDocumentCheckout**](docs/DocumentCheckoutApi.md#getdocumentcheckout) | **GET** /v1/documents/{
|
|
97
|
-
*DocumentCheckoutApi* | [**releaseDocumentCheckout**](docs/DocumentCheckoutApi.md#releasedocumentcheckout) | **DELETE** /v1/documents/{
|
|
95
|
+
*DocumentCheckoutApi* | [**acquireDocumentCheckout**](docs/DocumentCheckoutApi.md#acquiredocumentcheckout) | **POST** /v1/documents/{document_id}/checkout | Acquire Document Checkout Handler
|
|
96
|
+
*DocumentCheckoutApi* | [**getDocumentCheckout**](docs/DocumentCheckoutApi.md#getdocumentcheckout) | **GET** /v1/documents/{document_id}/checkout | Get Document Checkout Handler
|
|
97
|
+
*DocumentCheckoutApi* | [**releaseDocumentCheckout**](docs/DocumentCheckoutApi.md#releasedocumentcheckout) | **DELETE** /v1/documents/{document_id}/checkout | Release Document Checkout Handler
|
|
98
98
|
*DocumentVersionsApi* | [**clearDocumentVersionContents**](docs/DocumentVersionsApi.md#cleardocumentversioncontents) | **DELETE** /v1/document_versions/{version_id}/contents | Clear Document Version Contents Handler
|
|
99
99
|
*DocumentVersionsApi* | [**createDocumentVersion**](docs/DocumentVersionsApi.md#createdocumentversion) | **POST** /v1/documents/{document_id}/versions | Create Document Version Handler
|
|
100
100
|
*DocumentVersionsApi* | [**deleteDocumentVersion**](docs/DocumentVersionsApi.md#deletedocumentversion) | **DELETE** /v1/document_versions/{version_id} | Delete Document Version Handler
|
|
@@ -127,6 +127,8 @@ All URIs are relative to *http://localhost:8000*
|
|
|
127
127
|
*InvitesApi* | [**deleteInvite**](docs/InvitesApi.md#deleteinvite) | **DELETE** /v1/invites/{invite_id} | Delete Invite
|
|
128
128
|
*InvitesApi* | [**listInvites**](docs/InvitesApi.md#listinvites) | **GET** /v1/invites | List Invites Handler
|
|
129
129
|
*InvitesApi* | [**updateInvite**](docs/InvitesApi.md#updateinviteoperation) | **PATCH** /v1/invites/{invite_id} | Update Invite Handler
|
|
130
|
+
*PathPartApprovalsApi* | [**getPathPartApproval**](docs/PathPartApprovalsApi.md#getpathpartapproval) | **GET** /v1/path-parts/{path_part_id}/approval | Get Path Part Approval Handler
|
|
131
|
+
*PathPartApprovalsApi* | [**setPathPartApproval**](docs/PathPartApprovalsApi.md#setpathpartapproval) | **POST** /v1/path-parts/{path_part_id}/approval | Set Path Part Approval Handler
|
|
130
132
|
*PathPartsApi* | [**appendPathPartEvent**](docs/PathPartsApi.md#appendpathpartevent) | **POST** /v1/path-parts/{path_part_id}/events | Append Path Part Event Handler
|
|
131
133
|
*PathPartsApi* | [**bulkRemovePathPartTags**](docs/PathPartsApi.md#bulkremovepathparttags) | **DELETE** /v1/path-parts/{path_part_id}/tags | Bulk Remove Path Part Tags Handler
|
|
132
134
|
*PathPartsApi* | [**getPathPart**](docs/PathPartsApi.md#getpathpart) | **GET** /v1/path-parts/{path_part_id} | Get Path Part Handler
|
|
@@ -195,9 +197,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
195
197
|
*UsersApi* | [**updateOnboardingCompany**](docs/UsersApi.md#updateonboardingcompany) | **PATCH** /v1/users/me/onboarding/company | Update Onboarding Company Handler
|
|
196
198
|
*UsersApi* | [**updateOnboardingProfile**](docs/UsersApi.md#updateonboardingprofile) | **PATCH** /v1/users/me/onboarding/profile | Update Onboarding Profile Handler
|
|
197
199
|
*WorkflowDefinitionsApi* | [**createWorkflowDefinition**](docs/WorkflowDefinitionsApi.md#createworkflowdefinitionoperation) | **POST** /v1/workflow-definitions | Create Workflow Definition Handler
|
|
200
|
+
*WorkflowDefinitionsApi* | [**createWorkflowRun**](docs/WorkflowDefinitionsApi.md#createworkflowrun) | **POST** /v1/workflow-definitions/{definition_id}/runs | Create Workflow Run Handler
|
|
198
201
|
*WorkflowDefinitionsApi* | [**deleteWorkflowDefinition**](docs/WorkflowDefinitionsApi.md#deleteworkflowdefinition) | **DELETE** /v1/workflow-definitions/{definition_id} | Delete Workflow Definition Handler
|
|
199
202
|
*WorkflowDefinitionsApi* | [**getWorkflowDefinition**](docs/WorkflowDefinitionsApi.md#getworkflowdefinition) | **GET** /v1/workflow-definitions/{definition_id} | Get Workflow Definition Handler
|
|
200
|
-
*WorkflowDefinitionsApi* | [**invokeWorkflow**](docs/WorkflowDefinitionsApi.md#invokeworkflowoperation) | **POST** /v1/workflow-definitions/{definition_id}/invoke | Invoke Workflow Handler
|
|
201
203
|
*WorkflowDefinitionsApi* | [**listWorkflowDefinitions**](docs/WorkflowDefinitionsApi.md#listworkflowdefinitions) | **GET** /v1/workflow-definitions | List Workflow Definitions Handler
|
|
202
204
|
*WorkflowDefinitionsApi* | [**listWorkflowRuns**](docs/WorkflowDefinitionsApi.md#listworkflowruns) | **GET** /v1/workflow-definitions/{definition_id}/runs | List Workflow Runs Handler
|
|
203
205
|
*WorkflowDefinitionsApi* | [**updateWorkflowDefinition**](docs/WorkflowDefinitionsApi.md#updateworkflowdefinitionoperation) | **PUT** /v1/workflow-definitions/{definition_id} | Update Workflow Definition Handler
|
|
@@ -206,11 +208,12 @@ All URIs are relative to *http://localhost:8000*
|
|
|
206
208
|
*WorkflowMemoryApi* | [**forgetWorkflowMemoryChunk**](docs/WorkflowMemoryApi.md#forgetworkflowmemorychunk) | **DELETE** /v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id} | Forget Workflow Memory Chunk Handler
|
|
207
209
|
*WorkflowMemoryApi* | [**getWorkflowMemoryChunk**](docs/WorkflowMemoryApi.md#getworkflowmemorychunk) | **GET** /v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id} | Get Workflow Memory Chunk Handler
|
|
208
210
|
*WorkflowMemoryApi* | [**listWorkflowMemoryChunks**](docs/WorkflowMemoryApi.md#listworkflowmemorychunks) | **GET** /v1/workflow-definitions/{definition_id}/memory | List Workflow Memory Chunks Handler
|
|
209
|
-
*WorkflowRunsApi* | [**
|
|
211
|
+
*WorkflowRunsApi* | [**cloneWorkflowRun**](docs/WorkflowRunsApi.md#cloneworkflowrunoperation) | **POST** /v1/workflow-runs/{run_id}/clone | Clone Workflow Run Handler
|
|
210
212
|
*WorkflowRunsApi* | [**deleteWorkflowRun**](docs/WorkflowRunsApi.md#deleteworkflowrun) | **DELETE** /v1/workflow-runs/{run_id} | Delete Workflow Run Handler
|
|
211
213
|
*WorkflowRunsApi* | [**getWorkflowRun**](docs/WorkflowRunsApi.md#getworkflowrun) | **GET** /v1/workflow-runs/{run_id} | Get Workflow Run Handler
|
|
212
|
-
*WorkflowRunsApi* | [**
|
|
213
|
-
*WorkflowRunsApi* | [**
|
|
214
|
+
*WorkflowRunsApi* | [**setWorkflowRunApproval**](docs/WorkflowRunsApi.md#setworkflowrunapprovaloperation) | **POST** /v1/workflow-runs/{run_id}/approval | Set Workflow Run Approval Handler
|
|
215
|
+
*WorkflowRunsApi* | [**startWorkflowRun**](docs/WorkflowRunsApi.md#startworkflowrun) | **POST** /v1/workflow-runs/{run_id}/start | Start Workflow Run Handler
|
|
216
|
+
*WorkflowRunsApi* | [**updateWorkflowRun**](docs/WorkflowRunsApi.md#updateworkflowrunoperation) | **PATCH** /v1/workflow-runs/{run_id} | Update Workflow Run Handler
|
|
214
217
|
*WorkflowRunsApi* | [**workflowRunCallback**](docs/WorkflowRunsApi.md#workflowruncallbackoperation) | **POST** /v1/workflow-runs/{run_id}/callback | Workflow Run Callback Handler
|
|
215
218
|
*WorkflowsApi* | [**cancelTemporalWorkflow**](docs/WorkflowsApi.md#canceltemporalworkflow) | **DELETE** /v1/workflows/{workflow_id} | Cancel Temporal Workflow Handler
|
|
216
219
|
*WorkflowsApi* | [**dvWorkflowRerun**](docs/WorkflowsApi.md#dvworkflowrerun) | **POST** /v1/workflows/document_versions/{workflow_id} | Dv Workflow Rerun Handler
|
|
@@ -221,7 +224,6 @@ All URIs are relative to *http://localhost:8000*
|
|
|
221
224
|
|
|
222
225
|
### Models
|
|
223
226
|
|
|
224
|
-
- [ABCDPathSnapshot](docs/ABCDPathSnapshot.md)
|
|
225
227
|
- [AcceptInviteResponse](docs/AcceptInviteResponse.md)
|
|
226
228
|
- [AddMemberRequest](docs/AddMemberRequest.md)
|
|
227
229
|
- [AncestryResponse](docs/AncestryResponse.md)
|
|
@@ -247,7 +249,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
247
249
|
- [ChunkSearchRequest](docs/ChunkSearchRequest.md)
|
|
248
250
|
- [ChunkType](docs/ChunkType.md)
|
|
249
251
|
- [Citation](docs/Citation.md)
|
|
252
|
+
- [CitedChunk](docs/CitedChunk.md)
|
|
250
253
|
- [ClearVersionContentsResponse](docs/ClearVersionContentsResponse.md)
|
|
254
|
+
- [CloneWorkflowRunRequest](docs/CloneWorkflowRunRequest.md)
|
|
251
255
|
- [CreateApiKeyRequest](docs/CreateApiKeyRequest.md)
|
|
252
256
|
- [CreateApiKeyResponse](docs/CreateApiKeyResponse.md)
|
|
253
257
|
- [CreateChunkLineageRequest](docs/CreateChunkLineageRequest.md)
|
|
@@ -276,6 +280,8 @@ All URIs are relative to *http://localhost:8000*
|
|
|
276
280
|
- [DocumentVersionMetadata](docs/DocumentVersionMetadata.md)
|
|
277
281
|
- [DocumentVersionMetadataUpdate](docs/DocumentVersionMetadataUpdate.md)
|
|
278
282
|
- [DocumentVersionResponse](docs/DocumentVersionResponse.md)
|
|
283
|
+
- [DocxParagraphAnchorInput](docs/DocxParagraphAnchorInput.md)
|
|
284
|
+
- [DocxParagraphAnchorOutput](docs/DocxParagraphAnchorOutput.md)
|
|
279
285
|
- [EditMemoryChunkRequest](docs/EditMemoryChunkRequest.md)
|
|
280
286
|
- [EmailSentResponse](docs/EmailSentResponse.md)
|
|
281
287
|
- [EmailVerificationRequest](docs/EmailVerificationRequest.md)
|
|
@@ -292,7 +298,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
292
298
|
- [FolderAction](docs/FolderAction.md)
|
|
293
299
|
- [FolderActionResponse](docs/FolderActionResponse.md)
|
|
294
300
|
- [FolderResponse](docs/FolderResponse.md)
|
|
295
|
-
- [
|
|
301
|
+
- [FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse](docs/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.md)
|
|
296
302
|
- [GroupPermissionResponse](docs/GroupPermissionResponse.md)
|
|
297
303
|
- [GroupResponse](docs/GroupResponse.md)
|
|
298
304
|
- [HTTPValidationError](docs/HTTPValidationError.md)
|
|
@@ -304,17 +310,16 @@ All URIs are relative to *http://localhost:8000*
|
|
|
304
310
|
- [InformationStatistics](docs/InformationStatistics.md)
|
|
305
311
|
- [IngestDocumentResponse](docs/IngestDocumentResponse.md)
|
|
306
312
|
- [IngestionMode](docs/IngestionMode.md)
|
|
313
|
+
- [InputSnapshot](docs/InputSnapshot.md)
|
|
307
314
|
- [InstructionSnapshot](docs/InstructionSnapshot.md)
|
|
308
315
|
- [InviteLinkSettingsRequest](docs/InviteLinkSettingsRequest.md)
|
|
309
316
|
- [InviteLinkSettingsResponse](docs/InviteLinkSettingsResponse.md)
|
|
310
317
|
- [InviteResponse](docs/InviteResponse.md)
|
|
311
318
|
- [InviteStatus](docs/InviteStatus.md)
|
|
312
319
|
- [InviteUserRequest](docs/InviteUserRequest.md)
|
|
313
|
-
- [InvokeWorkflowRequest](docs/InvokeWorkflowRequest.md)
|
|
314
320
|
- [LineageEdgeResponse](docs/LineageEdgeResponse.md)
|
|
315
321
|
- [LineageGraphResponse](docs/LineageGraphResponse.md)
|
|
316
322
|
- [LineageNodeResponse](docs/LineageNodeResponse.md)
|
|
317
|
-
- [ListMemoryChunksResponse](docs/ListMemoryChunksResponse.md)
|
|
318
323
|
- [LocationInner](docs/LocationInner.md)
|
|
319
324
|
- [MembershipResponse](docs/MembershipResponse.md)
|
|
320
325
|
- [MemoryChunkResponse](docs/MemoryChunkResponse.md)
|
|
@@ -324,7 +329,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
324
329
|
- [NonFilesystemReferenceType](docs/NonFilesystemReferenceType.md)
|
|
325
330
|
- [OnboardingCompanyRequest](docs/OnboardingCompanyRequest.md)
|
|
326
331
|
- [OnboardingProfileRequest](docs/OnboardingProfileRequest.md)
|
|
327
|
-
- [
|
|
332
|
+
- [PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator](docs/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.md)
|
|
328
333
|
- [PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator](docs/PaginatedResponseAnnotatedUnionSectionContentItemChunkContentItemDiscriminator.md)
|
|
329
334
|
- [PaginatedResponseDocumentResponse](docs/PaginatedResponseDocumentResponse.md)
|
|
330
335
|
- [PaginatedResponseDocumentVersionResponse](docs/PaginatedResponseDocumentVersionResponse.md)
|
|
@@ -335,6 +340,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
335
340
|
- [PaginatedResponseGroupResponse](docs/PaginatedResponseGroupResponse.md)
|
|
336
341
|
- [PaginatedResponseInviteResponse](docs/PaginatedResponseInviteResponse.md)
|
|
337
342
|
- [PaginatedResponseMembershipResponse](docs/PaginatedResponseMembershipResponse.md)
|
|
343
|
+
- [PaginatedResponseMemoryChunkResponse](docs/PaginatedResponseMemoryChunkResponse.md)
|
|
338
344
|
- [PaginatedResponsePathPartResponse](docs/PaginatedResponsePathPartResponse.md)
|
|
339
345
|
- [PaginatedResponsePermissionResponse](docs/PaginatedResponsePermissionResponse.md)
|
|
340
346
|
- [PaginatedResponseTagResponse](docs/PaginatedResponseTagResponse.md)
|
|
@@ -353,6 +359,7 @@ All URIs are relative to *http://localhost:8000*
|
|
|
353
359
|
- [PathPartAncestorItem](docs/PathPartAncestorItem.md)
|
|
354
360
|
- [PathPartApprovalDecision](docs/PathPartApprovalDecision.md)
|
|
355
361
|
- [PathPartApprovalResponse](docs/PathPartApprovalResponse.md)
|
|
362
|
+
- [PathPartApprovalState](docs/PathPartApprovalState.md)
|
|
356
363
|
- [PathPartResponse](docs/PathPartResponse.md)
|
|
357
364
|
- [PathPartTagsResponse](docs/PathPartTagsResponse.md)
|
|
358
365
|
- [PermissionCapability](docs/PermissionCapability.md)
|
|
@@ -364,7 +371,6 @@ All URIs are relative to *http://localhost:8000*
|
|
|
364
371
|
- [Polygon](docs/Polygon.md)
|
|
365
372
|
- [PolygonReference](docs/PolygonReference.md)
|
|
366
373
|
- [ReferenceType](docs/ReferenceType.md)
|
|
367
|
-
- [RejectFileRequest](docs/RejectFileRequest.md)
|
|
368
374
|
- [RequestPhoneChangeRequest](docs/RequestPhoneChangeRequest.md)
|
|
369
375
|
- [ResolvedReferenceInput](docs/ResolvedReferenceInput.md)
|
|
370
376
|
- [ResolvedReferenceOutput](docs/ResolvedReferenceOutput.md)
|
|
@@ -380,9 +386,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
380
386
|
- [SectionContentItemOrChunkContentItem](docs/SectionContentItemOrChunkContentItem.md)
|
|
381
387
|
- [SectionResponse](docs/SectionResponse.md)
|
|
382
388
|
- [SectionSystemMetadata](docs/SectionSystemMetadata.md)
|
|
383
|
-
- [SelfHostedRunnerConfig](docs/SelfHostedRunnerConfig.md)
|
|
384
|
-
- [SelfHostedRunnerConfigResponse](docs/SelfHostedRunnerConfigResponse.md)
|
|
385
389
|
- [SendPasswordResetRequest](docs/SendPasswordResetRequest.md)
|
|
390
|
+
- [SetApprovalStateRequest](docs/SetApprovalStateRequest.md)
|
|
391
|
+
- [SetWorkflowRunApprovalRequest](docs/SetWorkflowRunApprovalRequest.md)
|
|
386
392
|
- [SignInRequest](docs/SignInRequest.md)
|
|
387
393
|
- [StepInput](docs/StepInput.md)
|
|
388
394
|
- [StepKind](docs/StepKind.md)
|
|
@@ -423,7 +429,9 @@ All URIs are relative to *http://localhost:8000*
|
|
|
423
429
|
- [UpdateThreadRequest](docs/UpdateThreadRequest.md)
|
|
424
430
|
- [UpdateUserRequest](docs/UpdateUserRequest.md)
|
|
425
431
|
- [UpdateWorkflowDefinitionRequest](docs/UpdateWorkflowDefinitionRequest.md)
|
|
432
|
+
- [UpdateWorkflowRunRequest](docs/UpdateWorkflowRunRequest.md)
|
|
426
433
|
- [UsageMetric](docs/UsageMetric.md)
|
|
434
|
+
- [UserInfo](docs/UserInfo.md)
|
|
427
435
|
- [UserMessageRequest](docs/UserMessageRequest.md)
|
|
428
436
|
- [UserMessageResponse](docs/UserMessageResponse.md)
|
|
429
437
|
- [UserResponse](docs/UserResponse.md)
|
|
@@ -435,12 +443,15 @@ All URIs are relative to *http://localhost:8000*
|
|
|
435
443
|
- [WorkflowCancelResponse](docs/WorkflowCancelResponse.md)
|
|
436
444
|
- [WorkflowDefinitionResponse](docs/WorkflowDefinitionResponse.md)
|
|
437
445
|
- [WorkflowDetailResponse](docs/WorkflowDetailResponse.md)
|
|
446
|
+
- [WorkflowExecutionState](docs/WorkflowExecutionState.md)
|
|
438
447
|
- [WorkflowRunCallbackRequest](docs/WorkflowRunCallbackRequest.md)
|
|
439
448
|
- [WorkflowRunResponse](docs/WorkflowRunResponse.md)
|
|
440
449
|
- [WorkflowRunSnapshot](docs/WorkflowRunSnapshot.md)
|
|
441
|
-
- [WorkflowRunStatus](docs/WorkflowRunStatus.md)
|
|
442
|
-
- [WorkflowRunnerType](docs/WorkflowRunnerType.md)
|
|
443
450
|
- [WorkflowSummaryResponse](docs/WorkflowSummaryResponse.md)
|
|
451
|
+
- [XlsxCellAnchorInput](docs/XlsxCellAnchorInput.md)
|
|
452
|
+
- [XlsxCellAnchorInputOrDocxParagraphAnchorInput](docs/XlsxCellAnchorInputOrDocxParagraphAnchorInput.md)
|
|
453
|
+
- [XlsxCellAnchorOutput](docs/XlsxCellAnchorOutput.md)
|
|
454
|
+
- [XlsxCellAnchorOutputOrDocxParagraphAnchorOutput](docs/XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.md)
|
|
444
455
|
|
|
445
456
|
### Authorization
|
|
446
457
|
|
|
@@ -454,7 +465,7 @@ and is automatically generated by the
|
|
|
454
465
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
455
466
|
|
|
456
467
|
- API version: `0.1.0`
|
|
457
|
-
- Package version: `1.
|
|
468
|
+
- Package version: `1.89.0`
|
|
458
469
|
- Generator version: `7.21.0`
|
|
459
470
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
460
471
|
|
|
@@ -12,17 +12,18 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { DocumentCheckoutResponse } from '../models/index';
|
|
14
14
|
export interface AcquireDocumentCheckoutRequest {
|
|
15
|
-
|
|
15
|
+
documentId: string;
|
|
16
|
+
force?: boolean;
|
|
16
17
|
authorization?: string | null;
|
|
17
18
|
ksUat?: string | null;
|
|
18
19
|
}
|
|
19
20
|
export interface GetDocumentCheckoutRequest {
|
|
20
|
-
|
|
21
|
+
documentId: string;
|
|
21
22
|
authorization?: string | null;
|
|
22
23
|
ksUat?: string | null;
|
|
23
24
|
}
|
|
24
25
|
export interface ReleaseDocumentCheckoutRequest {
|
|
25
|
-
|
|
26
|
+
documentId: string;
|
|
26
27
|
authorization?: string | null;
|
|
27
28
|
ksUat?: string | null;
|
|
28
29
|
}
|
|
@@ -35,7 +36,8 @@ export interface ReleaseDocumentCheckoutRequest {
|
|
|
35
36
|
export interface DocumentCheckoutApiInterface {
|
|
36
37
|
/**
|
|
37
38
|
* Creates request options for acquireDocumentCheckout without sending the request
|
|
38
|
-
* @param {string}
|
|
39
|
+
* @param {string} documentId Document ID
|
|
40
|
+
* @param {boolean} [force] OWNER/ADMIN only — atomically take the checkout regardless of the current holder. Sealed docs are still refused.
|
|
39
41
|
* @param {string} [authorization]
|
|
40
42
|
* @param {string} [ksUat]
|
|
41
43
|
* @throws {RequiredError}
|
|
@@ -43,9 +45,10 @@ export interface DocumentCheckoutApiInterface {
|
|
|
43
45
|
*/
|
|
44
46
|
acquireDocumentCheckoutRequestOpts(requestParameters: AcquireDocumentCheckoutRequest): Promise<runtime.RequestOpts>;
|
|
45
47
|
/**
|
|
46
|
-
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. Locks have no TTL — they persist until released by the holder.
|
|
48
|
+
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. ``?force=true`` lets OWNER/ADMIN steal the lock from the current holder; a sealed (approved) document is refused regardless of ``force``. Locks have no TTL — they persist until released by the holder.
|
|
47
49
|
* @summary Acquire Document Checkout Handler
|
|
48
|
-
* @param {string}
|
|
50
|
+
* @param {string} documentId Document ID
|
|
51
|
+
* @param {boolean} [force] OWNER/ADMIN only — atomically take the checkout regardless of the current holder. Sealed docs are still refused.
|
|
49
52
|
* @param {string} [authorization]
|
|
50
53
|
* @param {string} [ksUat]
|
|
51
54
|
* @param {*} [options] Override http request option.
|
|
@@ -54,13 +57,13 @@ export interface DocumentCheckoutApiInterface {
|
|
|
54
57
|
*/
|
|
55
58
|
acquireDocumentCheckoutRaw(requestParameters: AcquireDocumentCheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DocumentCheckoutResponse>>;
|
|
56
59
|
/**
|
|
57
|
-
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. Locks have no TTL — they persist until released by the holder.
|
|
60
|
+
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. ``?force=true`` lets OWNER/ADMIN steal the lock from the current holder; a sealed (approved) document is refused regardless of ``force``. Locks have no TTL — they persist until released by the holder.
|
|
58
61
|
* Acquire Document Checkout Handler
|
|
59
62
|
*/
|
|
60
63
|
acquireDocumentCheckout(requestParameters: AcquireDocumentCheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DocumentCheckoutResponse>;
|
|
61
64
|
/**
|
|
62
65
|
* Creates request options for getDocumentCheckout without sending the request
|
|
63
|
-
* @param {string}
|
|
66
|
+
* @param {string} documentId Document ID
|
|
64
67
|
* @param {string} [authorization]
|
|
65
68
|
* @param {string} [ksUat]
|
|
66
69
|
* @throws {RequiredError}
|
|
@@ -70,7 +73,7 @@ export interface DocumentCheckoutApiInterface {
|
|
|
70
73
|
/**
|
|
71
74
|
* Get the active checkout for the document. 404 if no active checkout exists. The holder can always GET their own lock regardless of current path permissions (parallel to the release holder-bypass).
|
|
72
75
|
* @summary Get Document Checkout Handler
|
|
73
|
-
* @param {string}
|
|
76
|
+
* @param {string} documentId Document ID
|
|
74
77
|
* @param {string} [authorization]
|
|
75
78
|
* @param {string} [ksUat]
|
|
76
79
|
* @param {*} [options] Override http request option.
|
|
@@ -85,7 +88,7 @@ export interface DocumentCheckoutApiInterface {
|
|
|
85
88
|
getDocumentCheckout(requestParameters: GetDocumentCheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DocumentCheckoutResponse>;
|
|
86
89
|
/**
|
|
87
90
|
* Creates request options for releaseDocumentCheckout without sending the request
|
|
88
|
-
* @param {string}
|
|
91
|
+
* @param {string} documentId Document ID
|
|
89
92
|
* @param {string} [authorization]
|
|
90
93
|
* @param {string} [ksUat]
|
|
91
94
|
* @throws {RequiredError}
|
|
@@ -95,7 +98,7 @@ export interface DocumentCheckoutApiInterface {
|
|
|
95
98
|
/**
|
|
96
99
|
* Release the write lock on the document. Only the holder may release the lock; others receive 403. The holder can always release regardless of current path permissions (in case a folder move relocated the doc to a path the holder can no longer write to).
|
|
97
100
|
* @summary Release Document Checkout Handler
|
|
98
|
-
* @param {string}
|
|
101
|
+
* @param {string} documentId Document ID
|
|
99
102
|
* @param {string} [authorization]
|
|
100
103
|
* @param {string} [ksUat]
|
|
101
104
|
* @param {*} [options] Override http request option.
|
|
@@ -118,12 +121,12 @@ export declare class DocumentCheckoutApi extends runtime.BaseAPI implements Docu
|
|
|
118
121
|
*/
|
|
119
122
|
acquireDocumentCheckoutRequestOpts(requestParameters: AcquireDocumentCheckoutRequest): Promise<runtime.RequestOpts>;
|
|
120
123
|
/**
|
|
121
|
-
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. Locks have no TTL — they persist until released by the holder.
|
|
124
|
+
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. ``?force=true`` lets OWNER/ADMIN steal the lock from the current holder; a sealed (approved) document is refused regardless of ``force``. Locks have no TTL — they persist until released by the holder.
|
|
122
125
|
* Acquire Document Checkout Handler
|
|
123
126
|
*/
|
|
124
127
|
acquireDocumentCheckoutRaw(requestParameters: AcquireDocumentCheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DocumentCheckoutResponse>>;
|
|
125
128
|
/**
|
|
126
|
-
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. Locks have no TTL — they persist until released by the holder.
|
|
129
|
+
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. ``?force=true`` lets OWNER/ADMIN steal the lock from the current holder; a sealed (approved) document is refused regardless of ``force``. Locks have no TTL — they persist until released by the holder.
|
|
127
130
|
* Acquire Document Checkout Handler
|
|
128
131
|
*/
|
|
129
132
|
acquireDocumentCheckout(requestParameters: AcquireDocumentCheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DocumentCheckoutResponse>;
|
|
@@ -67,16 +67,19 @@ class DocumentCheckoutApi extends runtime.BaseAPI {
|
|
|
67
67
|
*/
|
|
68
68
|
acquireDocumentCheckoutRequestOpts(requestParameters) {
|
|
69
69
|
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
-
if (requestParameters['
|
|
71
|
-
throw new runtime.RequiredError('
|
|
70
|
+
if (requestParameters['documentId'] == null) {
|
|
71
|
+
throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling acquireDocumentCheckout().');
|
|
72
72
|
}
|
|
73
73
|
const queryParameters = {};
|
|
74
|
+
if (requestParameters['force'] != null) {
|
|
75
|
+
queryParameters['force'] = requestParameters['force'];
|
|
76
|
+
}
|
|
74
77
|
const headerParameters = {};
|
|
75
78
|
if (requestParameters['authorization'] != null) {
|
|
76
79
|
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
77
80
|
}
|
|
78
|
-
let urlPath = `/v1/documents/{
|
|
79
|
-
urlPath = urlPath.replace(`{${"
|
|
81
|
+
let urlPath = `/v1/documents/{document_id}/checkout`;
|
|
82
|
+
urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
|
|
80
83
|
return {
|
|
81
84
|
path: urlPath,
|
|
82
85
|
method: 'POST',
|
|
@@ -86,7 +89,7 @@ class DocumentCheckoutApi extends runtime.BaseAPI {
|
|
|
86
89
|
});
|
|
87
90
|
}
|
|
88
91
|
/**
|
|
89
|
-
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. Locks have no TTL — they persist until released by the holder.
|
|
92
|
+
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. ``?force=true`` lets OWNER/ADMIN steal the lock from the current holder; a sealed (approved) document is refused regardless of ``force``. Locks have no TTL — they persist until released by the holder.
|
|
90
93
|
* Acquire Document Checkout Handler
|
|
91
94
|
*/
|
|
92
95
|
acquireDocumentCheckoutRaw(requestParameters, initOverrides) {
|
|
@@ -97,7 +100,7 @@ class DocumentCheckoutApi extends runtime.BaseAPI {
|
|
|
97
100
|
});
|
|
98
101
|
}
|
|
99
102
|
/**
|
|
100
|
-
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. Locks have no TTL — they persist until released by the holder.
|
|
103
|
+
* Acquire a write lock on the document. If the caller already holds the lock, re-acquire refreshes ``acquired_at``; the response is 200 in both cases. If another user holds the lock, returns 409. ``?force=true`` lets OWNER/ADMIN steal the lock from the current holder; a sealed (approved) document is refused regardless of ``force``. Locks have no TTL — they persist until released by the holder.
|
|
101
104
|
* Acquire Document Checkout Handler
|
|
102
105
|
*/
|
|
103
106
|
acquireDocumentCheckout(requestParameters, initOverrides) {
|
|
@@ -111,16 +114,16 @@ class DocumentCheckoutApi extends runtime.BaseAPI {
|
|
|
111
114
|
*/
|
|
112
115
|
getDocumentCheckoutRequestOpts(requestParameters) {
|
|
113
116
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
-
if (requestParameters['
|
|
115
|
-
throw new runtime.RequiredError('
|
|
117
|
+
if (requestParameters['documentId'] == null) {
|
|
118
|
+
throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling getDocumentCheckout().');
|
|
116
119
|
}
|
|
117
120
|
const queryParameters = {};
|
|
118
121
|
const headerParameters = {};
|
|
119
122
|
if (requestParameters['authorization'] != null) {
|
|
120
123
|
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
121
124
|
}
|
|
122
|
-
let urlPath = `/v1/documents/{
|
|
123
|
-
urlPath = urlPath.replace(`{${"
|
|
125
|
+
let urlPath = `/v1/documents/{document_id}/checkout`;
|
|
126
|
+
urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
|
|
124
127
|
return {
|
|
125
128
|
path: urlPath,
|
|
126
129
|
method: 'GET',
|
|
@@ -155,16 +158,16 @@ class DocumentCheckoutApi extends runtime.BaseAPI {
|
|
|
155
158
|
*/
|
|
156
159
|
releaseDocumentCheckoutRequestOpts(requestParameters) {
|
|
157
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
158
|
-
if (requestParameters['
|
|
159
|
-
throw new runtime.RequiredError('
|
|
161
|
+
if (requestParameters['documentId'] == null) {
|
|
162
|
+
throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling releaseDocumentCheckout().');
|
|
160
163
|
}
|
|
161
164
|
const queryParameters = {};
|
|
162
165
|
const headerParameters = {};
|
|
163
166
|
if (requestParameters['authorization'] != null) {
|
|
164
167
|
headerParameters['authorization'] = String(requestParameters['authorization']);
|
|
165
168
|
}
|
|
166
|
-
let urlPath = `/v1/documents/{
|
|
167
|
-
urlPath = urlPath.replace(`{${"
|
|
169
|
+
let urlPath = `/v1/documents/{document_id}/checkout`;
|
|
170
|
+
urlPath = urlPath.replace(`{${"document_id"}}`, encodeURIComponent(String(requestParameters['documentId'])));
|
|
168
171
|
return {
|
|
169
172
|
path: urlPath,
|
|
170
173
|
method: 'DELETE',
|