@knowledge-stack/ksapi 1.95.3 → 1.96.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 +82 -4
- package/README.md +79 -10
- package/dist/apis/AgentApi.d.ts +0 -12
- package/dist/apis/AgentApi.js +12 -4
- package/dist/apis/ApiKeysApi.d.ts +6 -20
- package/dist/apis/ApiKeysApi.js +6 -6
- package/dist/apis/AuditEventsApi.d.ts +85 -0
- package/dist/apis/AuditEventsApi.js +134 -0
- package/dist/apis/AuthApi.d.ts +0 -24
- package/dist/apis/AuthApi.js +24 -8
- package/dist/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/apis/ChunkLineagesApi.js +18 -6
- package/dist/apis/ChunksApi.d.ts +0 -54
- package/dist/apis/ChunksApi.js +54 -18
- package/dist/apis/DataSourcesApi.d.ts +304 -0
- package/dist/apis/DataSourcesApi.js +421 -0
- package/dist/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/apis/DocumentCheckoutApi.js +18 -6
- package/dist/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/apis/DocumentVersionsApi.js +150 -16
- package/dist/apis/DocumentsApi.d.ts +58 -47
- package/dist/apis/DocumentsApi.js +107 -16
- package/dist/apis/FeedbackApi.d.ts +0 -18
- package/dist/apis/FeedbackApi.js +18 -6
- package/dist/apis/FoldersApi.d.ts +13 -61
- package/dist/apis/FoldersApi.js +52 -20
- package/dist/apis/InvitesApi.d.ts +0 -30
- package/dist/apis/InvitesApi.js +30 -10
- package/dist/apis/MemoryApi.d.ts +207 -0
- package/dist/apis/MemoryApi.js +306 -0
- package/dist/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/apis/PathPartApprovalsApi.js +12 -4
- package/dist/apis/PathPartsApi.d.ts +45 -55
- package/dist/apis/PathPartsApi.js +111 -18
- package/dist/apis/SectionsApi.d.ts +0 -36
- package/dist/apis/SectionsApi.js +36 -12
- package/dist/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/apis/SubscriptionsApi.js +12 -4
- package/dist/apis/TagsApi.d.ts +0 -30
- package/dist/apis/TagsApi.js +30 -10
- package/dist/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/apis/TenantGroupsApi.js +84 -32
- package/dist/apis/TenantsApi.d.ts +0 -72
- package/dist/apis/TenantsApi.js +72 -24
- package/dist/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/apis/ThreadMessagesApi.js +18 -6
- package/dist/apis/ThreadsApi.d.ts +0 -42
- package/dist/apis/ThreadsApi.js +42 -14
- package/dist/apis/TrashApi.d.ts +143 -0
- package/dist/apis/TrashApi.js +210 -0
- package/dist/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/apis/UserPermissionsApi.js +24 -8
- package/dist/apis/UsersApi.d.ts +12 -46
- package/dist/apis/UsersApi.js +42 -22
- package/dist/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/apis/WorkflowMemoryApi.js +30 -10
- package/dist/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/apis/WorkflowRunsApi.js +56 -20
- package/dist/apis/WorkflowsApi.d.ts +0 -30
- package/dist/apis/WorkflowsApi.js +30 -10
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/esm/apis/AgentApi.d.ts +0 -12
- package/dist/esm/apis/AgentApi.js +12 -4
- package/dist/esm/apis/ApiKeysApi.d.ts +6 -20
- package/dist/esm/apis/ApiKeysApi.js +6 -6
- package/dist/esm/apis/AuditEventsApi.d.ts +85 -0
- package/dist/esm/apis/AuditEventsApi.js +97 -0
- package/dist/esm/apis/AuthApi.d.ts +0 -24
- package/dist/esm/apis/AuthApi.js +24 -8
- package/dist/esm/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/esm/apis/ChunkLineagesApi.js +18 -6
- package/dist/esm/apis/ChunksApi.d.ts +0 -54
- package/dist/esm/apis/ChunksApi.js +54 -18
- package/dist/esm/apis/DataSourcesApi.d.ts +304 -0
- package/dist/esm/apis/DataSourcesApi.js +384 -0
- package/dist/esm/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/esm/apis/DocumentCheckoutApi.js +18 -6
- package/dist/esm/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/esm/apis/DocumentVersionsApi.js +151 -17
- package/dist/esm/apis/DocumentsApi.d.ts +58 -47
- package/dist/esm/apis/DocumentsApi.js +108 -17
- package/dist/esm/apis/FeedbackApi.d.ts +0 -18
- package/dist/esm/apis/FeedbackApi.js +18 -6
- package/dist/esm/apis/FoldersApi.d.ts +13 -61
- package/dist/esm/apis/FoldersApi.js +53 -21
- package/dist/esm/apis/InvitesApi.d.ts +0 -30
- package/dist/esm/apis/InvitesApi.js +30 -10
- package/dist/esm/apis/MemoryApi.d.ts +207 -0
- package/dist/esm/apis/MemoryApi.js +269 -0
- package/dist/esm/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/esm/apis/PathPartApprovalsApi.js +12 -4
- package/dist/esm/apis/PathPartsApi.d.ts +45 -55
- package/dist/esm/apis/PathPartsApi.js +112 -19
- package/dist/esm/apis/SectionsApi.d.ts +0 -36
- package/dist/esm/apis/SectionsApi.js +36 -12
- package/dist/esm/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/esm/apis/SubscriptionsApi.js +12 -4
- package/dist/esm/apis/TagsApi.d.ts +0 -30
- package/dist/esm/apis/TagsApi.js +30 -10
- package/dist/esm/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/esm/apis/TenantGroupsApi.js +84 -32
- package/dist/esm/apis/TenantsApi.d.ts +0 -72
- package/dist/esm/apis/TenantsApi.js +72 -24
- package/dist/esm/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/esm/apis/ThreadMessagesApi.js +18 -6
- package/dist/esm/apis/ThreadsApi.d.ts +0 -42
- package/dist/esm/apis/ThreadsApi.js +42 -14
- package/dist/esm/apis/TrashApi.d.ts +143 -0
- package/dist/esm/apis/TrashApi.js +173 -0
- package/dist/esm/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/esm/apis/UserPermissionsApi.js +24 -8
- package/dist/esm/apis/UsersApi.d.ts +12 -46
- package/dist/esm/apis/UsersApi.js +42 -22
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/esm/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/esm/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowMemoryApi.js +30 -10
- package/dist/esm/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/esm/apis/WorkflowRunsApi.js +56 -20
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowsApi.js +30 -10
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/models/AccessCheckResponse.d.ts +59 -0
- package/dist/esm/models/AccessCheckResponse.js +50 -0
- package/dist/esm/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/esm/models/CatalogColumnResponse.js +52 -0
- package/dist/esm/models/CatalogTableResponse.d.ts +54 -0
- package/dist/esm/models/CatalogTableResponse.js +49 -0
- package/dist/esm/models/CellChange.d.ts +72 -0
- package/dist/esm/models/CellChange.js +61 -0
- package/dist/esm/models/CellChangeType.d.ts +26 -0
- package/dist/esm/models/CellChangeType.js +44 -0
- package/dist/esm/models/CellDiff.d.ts +72 -0
- package/dist/esm/models/CellDiff.js +61 -0
- package/dist/esm/models/ColumnConfig.d.ts +71 -0
- package/dist/esm/models/ColumnConfig.js +52 -0
- package/dist/esm/models/ConnectionConfig.d.ts +71 -0
- package/dist/esm/models/ConnectionConfig.js +58 -0
- package/dist/esm/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/esm/models/CreateDataSourceRequest.js +62 -0
- package/dist/esm/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreatePermissionRequest.js +2 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/esm/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/esm/models/DataSourceCatalogResponse.js +45 -0
- package/dist/esm/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/esm/models/DataSourceDetailResponse.js +50 -0
- package/dist/esm/models/DataSourceEngine.d.ts +25 -0
- package/dist/esm/models/DataSourceEngine.js +43 -0
- package/dist/esm/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/esm/models/DataSourceQueryRequest.js +53 -0
- package/dist/esm/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/esm/models/DataSourceQueryResponse.js +60 -0
- package/dist/esm/models/DataSourceResponse.d.ts +119 -0
- package/dist/esm/models/DataSourceResponse.js +90 -0
- package/dist/esm/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/esm/models/DataSourceTableResponse.js +101 -0
- package/dist/esm/models/DiffFormat.d.ts +25 -0
- package/dist/esm/models/DiffFormat.js +43 -0
- package/dist/esm/models/DiffRow.d.ts +90 -0
- package/dist/esm/models/DiffRow.js +58 -0
- package/dist/esm/models/DiffRowType.d.ts +27 -0
- package/dist/esm/models/DiffRowType.js +45 -0
- package/dist/esm/models/DiffSpan.d.ts +53 -0
- package/dist/esm/models/DiffSpan.js +48 -0
- package/dist/esm/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/esm/models/DocumentDownloadResponse.js +61 -0
- package/dist/esm/models/DocumentResponse.d.ts +4 -3
- package/dist/esm/models/DocumentResponse.js +3 -2
- package/dist/esm/models/DownloadArtifact.d.ts +25 -0
- package/dist/esm/models/DownloadArtifact.js +43 -0
- package/dist/esm/models/EventResponse.d.ts +7 -0
- package/dist/esm/models/EventResponse.js +3 -0
- package/dist/esm/models/FolderResponse.d.ts +4 -3
- package/dist/esm/models/FolderResponse.js +3 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +16 -6
- package/dist/esm/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/esm/models/GroupPermissionResponse.js +4 -0
- package/dist/esm/models/ItemPermissions.d.ts +73 -0
- package/dist/esm/models/ItemPermissions.js +56 -0
- package/dist/esm/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/esm/models/MemoryBodyResponse.js +53 -0
- package/dist/esm/models/MemoryScope.d.ts +29 -0
- package/dist/esm/models/MemoryScope.js +47 -0
- package/dist/esm/models/ModelTableRequest.d.ts +66 -0
- package/dist/esm/models/ModelTableRequest.js +51 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.js +70 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.js +70 -0
- package/dist/esm/models/PartType.d.ts +2 -0
- package/dist/esm/models/PartType.js +3 -1
- package/dist/esm/models/PathPartResponse.d.ts +4 -9
- package/dist/esm/models/PathPartResponse.js +4 -7
- package/dist/esm/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/PendingMemoryChunkResponse.js +74 -0
- package/dist/esm/models/PermissionCapability.d.ts +2 -1
- package/dist/esm/models/PermissionCapability.js +3 -2
- package/dist/esm/models/PermissionResponse.d.ts +6 -0
- package/dist/esm/models/PermissionResponse.js +4 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.js +71 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.js +74 -0
- package/dist/esm/models/ReferenceType.d.ts +2 -0
- package/dist/esm/models/ReferenceType.js +2 -0
- package/dist/esm/models/TextDiff.d.ts +72 -0
- package/dist/esm/models/TextDiff.js +61 -0
- package/dist/esm/models/TrashItemResponse.d.ts +90 -0
- package/dist/esm/models/TrashItemResponse.js +73 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdatePermissionRequest.js +2 -0
- package/dist/esm/models/UpdateTableRequest.d.ts +54 -0
- package/dist/esm/models/UpdateTableRequest.js +45 -0
- package/dist/esm/models/VersionDiffResponse.d.ts +89 -0
- package/dist/esm/models/VersionDiffResponse.js +63 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/esm/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowRunResponse.js +3 -0
- package/dist/esm/models/index.d.ts +37 -2
- package/dist/esm/models/index.js +37 -2
- package/dist/models/AccessCheckResponse.d.ts +59 -0
- package/dist/models/AccessCheckResponse.js +58 -0
- package/dist/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/models/CatalogColumnResponse.js +60 -0
- package/dist/models/CatalogTableResponse.d.ts +54 -0
- package/dist/models/CatalogTableResponse.js +57 -0
- package/dist/models/CellChange.d.ts +72 -0
- package/dist/models/CellChange.js +69 -0
- package/dist/models/CellChangeType.d.ts +26 -0
- package/dist/models/CellChangeType.js +52 -0
- package/dist/models/CellDiff.d.ts +72 -0
- package/dist/models/CellDiff.js +69 -0
- package/dist/models/ColumnConfig.d.ts +71 -0
- package/dist/models/ColumnConfig.js +60 -0
- package/dist/models/ConnectionConfig.d.ts +71 -0
- package/dist/models/ConnectionConfig.js +66 -0
- package/dist/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/models/CreateDataSourceRequest.js +70 -0
- package/dist/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/models/CreatePermissionRequest.js +2 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/models/DataSourceCatalogResponse.js +53 -0
- package/dist/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/models/DataSourceDetailResponse.js +58 -0
- package/dist/models/DataSourceEngine.d.ts +25 -0
- package/dist/models/DataSourceEngine.js +51 -0
- package/dist/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/models/DataSourceQueryRequest.js +61 -0
- package/dist/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/models/DataSourceQueryResponse.js +68 -0
- package/dist/models/DataSourceResponse.d.ts +119 -0
- package/dist/models/DataSourceResponse.js +98 -0
- package/dist/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/models/DataSourceTableResponse.js +109 -0
- package/dist/models/DiffFormat.d.ts +25 -0
- package/dist/models/DiffFormat.js +51 -0
- package/dist/models/DiffRow.d.ts +90 -0
- package/dist/models/DiffRow.js +66 -0
- package/dist/models/DiffRowType.d.ts +27 -0
- package/dist/models/DiffRowType.js +53 -0
- package/dist/models/DiffSpan.d.ts +53 -0
- package/dist/models/DiffSpan.js +56 -0
- package/dist/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/models/DocumentDownloadResponse.js +69 -0
- package/dist/models/DocumentResponse.d.ts +4 -3
- package/dist/models/DocumentResponse.js +3 -2
- package/dist/models/DownloadArtifact.d.ts +25 -0
- package/dist/models/DownloadArtifact.js +51 -0
- package/dist/models/EventResponse.d.ts +7 -0
- package/dist/models/EventResponse.js +3 -0
- package/dist/models/FolderResponse.d.ts +4 -3
- package/dist/models/FolderResponse.js +3 -2
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +20 -10
- package/dist/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/models/GroupPermissionResponse.js +4 -0
- package/dist/models/ItemPermissions.d.ts +73 -0
- package/dist/models/ItemPermissions.js +64 -0
- package/dist/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/models/MemoryBodyResponse.js +61 -0
- package/dist/models/MemoryScope.d.ts +29 -0
- package/dist/models/MemoryScope.js +55 -0
- package/dist/models/ModelTableRequest.d.ts +66 -0
- package/dist/models/ModelTableRequest.js +59 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.js +78 -0
- package/dist/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseTrashItemResponse.js +78 -0
- package/dist/models/PartType.d.ts +2 -0
- package/dist/models/PartType.js +3 -1
- package/dist/models/PathPartResponse.d.ts +4 -9
- package/dist/models/PathPartResponse.js +4 -7
- package/dist/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/models/PendingMemoryChunkResponse.js +82 -0
- package/dist/models/PermissionCapability.d.ts +2 -1
- package/dist/models/PermissionCapability.js +3 -2
- package/dist/models/PermissionResponse.d.ts +6 -0
- package/dist/models/PermissionResponse.js +4 -0
- package/dist/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/models/ProposeMemoryChunkRequest.js +79 -0
- package/dist/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/models/ProposedMemoryChunkResponse.js +82 -0
- package/dist/models/ReferenceType.d.ts +2 -0
- package/dist/models/ReferenceType.js +2 -0
- package/dist/models/TextDiff.d.ts +72 -0
- package/dist/models/TextDiff.js +69 -0
- package/dist/models/TrashItemResponse.d.ts +90 -0
- package/dist/models/TrashItemResponse.js +81 -0
- package/dist/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/models/UpdatePermissionRequest.js +2 -0
- package/dist/models/UpdateTableRequest.d.ts +54 -0
- package/dist/models/UpdateTableRequest.js +53 -0
- package/dist/models/VersionDiffResponse.d.ts +89 -0
- package/dist/models/VersionDiffResponse.js +71 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/models/WorkflowRunResponse.js +3 -0
- package/dist/models/index.d.ts +37 -2
- package/dist/models/index.js +37 -2
- package/docs/AccessCheckResponse.md +39 -0
- package/docs/AgentApi.md +18 -18
- package/docs/ApiKeysApi.md +30 -32
- package/docs/AuditEventsApi.md +104 -0
- package/docs/AuthApi.md +36 -36
- package/docs/CatalogColumnResponse.md +38 -0
- package/docs/CatalogTableResponse.md +36 -0
- package/docs/CellChange.md +43 -0
- package/docs/CellChangeType.md +32 -0
- package/docs/CellDiff.md +43 -0
- package/docs/ChunkLineagesApi.md +27 -27
- package/docs/ChunksApi.md +82 -82
- package/docs/ColumnConfig.md +43 -0
- package/docs/ConnectionConfig.md +43 -0
- package/docs/CreateDataSourceRequest.md +41 -0
- package/docs/CreateGroupPermissionRequest.md +2 -0
- package/docs/CreatePermissionRequest.md +2 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/DataSourceCatalogResponse.md +35 -0
- package/docs/DataSourceDetailResponse.md +37 -0
- package/docs/DataSourceEngine.md +33 -0
- package/docs/DataSourceQueryRequest.md +37 -0
- package/docs/DataSourceQueryResponse.md +43 -0
- package/docs/DataSourceResponse.md +55 -0
- package/docs/DataSourceTableResponse.md +61 -0
- package/docs/DataSourcesApi.md +545 -0
- package/docs/DiffFormat.md +32 -0
- package/docs/DiffRow.md +47 -0
- package/docs/DiffRowType.md +32 -0
- package/docs/DiffSpan.md +37 -0
- package/docs/DocumentCheckoutApi.md +27 -27
- package/docs/DocumentDownloadResponse.md +43 -0
- package/docs/DocumentResponse.md +2 -2
- package/docs/DocumentVersionsApi.md +228 -72
- package/docs/DocumentsApi.md +154 -64
- package/docs/DownloadArtifact.md +32 -0
- package/docs/EventResponse.md +2 -0
- package/docs/FeedbackApi.md +27 -27
- package/docs/FolderResponse.md +2 -2
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.md} +14 -6
- package/docs/FoldersApi.md +75 -75
- package/docs/GroupPermissionResponse.md +2 -0
- package/docs/InvitesApi.md +45 -45
- package/docs/ItemPermissions.md +41 -0
- package/docs/MemoryApi.md +379 -0
- package/docs/MemoryBodyResponse.md +38 -0
- package/docs/MemoryScope.md +33 -0
- package/docs/ModelTableRequest.md +41 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.md} +5 -5
- package/docs/PaginatedResponsePendingMemoryChunkResponse.md +40 -0
- package/docs/PaginatedResponseTrashItemResponse.md +40 -0
- package/docs/PathPartApprovalsApi.md +18 -18
- package/docs/PathPartResponse.md +2 -4
- package/docs/PathPartsApi.md +162 -81
- package/docs/PendingMemoryChunkResponse.md +48 -0
- package/docs/PermissionCapability.md +1 -1
- package/docs/PermissionResponse.md +2 -0
- package/docs/ProposeMemoryChunkRequest.md +44 -0
- package/docs/ProposedMemoryChunkResponse.md +48 -0
- package/docs/SectionsApi.md +54 -54
- package/docs/SubscriptionsApi.md +18 -18
- package/docs/TagsApi.md +45 -45
- package/docs/TenantGroupsApi.md +119 -125
- package/docs/TenantsApi.md +108 -108
- package/docs/TextDiff.md +43 -0
- package/docs/ThreadMessagesApi.md +27 -27
- package/docs/ThreadsApi.md +63 -63
- package/docs/TrashApi.md +236 -0
- package/docs/TrashItemResponse.md +49 -0
- package/docs/UpdateGroupPermissionRequest.md +2 -0
- package/docs/UpdatePermissionRequest.md +2 -0
- package/docs/UpdateTableRequest.md +37 -0
- package/docs/UserPermissionsApi.md +36 -36
- package/docs/UsersApi.md +49 -61
- package/docs/VersionDiffResponse.md +47 -0
- package/docs/WorkflowDefinitionResponse.md +2 -0
- package/docs/WorkflowDefinitionsApi.md +63 -63
- package/docs/WorkflowMemoryApi.md +45 -45
- package/docs/WorkflowRunResponse.md +2 -0
- package/docs/WorkflowRunsApi.md +82 -82
- package/docs/WorkflowsApi.md +45 -45
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +14 -18
- package/src/apis/ApiKeysApi.ts +8 -23
- package/src/apis/AuditEventsApi.ts +170 -0
- package/src/apis/AuthApi.ts +28 -36
- package/src/apis/ChunkLineagesApi.ts +21 -27
- package/src/apis/ChunksApi.ts +63 -81
- package/src/apis/DataSourcesApi.ts +698 -0
- package/src/apis/DocumentCheckoutApi.ts +21 -27
- package/src/apis/DocumentVersionsApi.ts +245 -72
- package/src/apis/DocumentsApi.ts +177 -67
- package/src/apis/FeedbackApi.ts +21 -27
- package/src/apis/FoldersApi.ts +73 -89
- package/src/apis/InvitesApi.ts +35 -45
- package/src/apis/MemoryApi.ts +478 -0
- package/src/apis/PathPartApprovalsApi.ts +14 -18
- package/src/apis/PathPartsApi.ts +173 -81
- package/src/apis/SectionsApi.ts +42 -54
- package/src/apis/SubscriptionsApi.ts +14 -18
- package/src/apis/TagsApi.ts +35 -45
- package/src/apis/TenantGroupsApi.ts +99 -128
- package/src/apis/TenantsApi.ts +84 -108
- package/src/apis/ThreadMessagesApi.ts +21 -27
- package/src/apis/ThreadsApi.ts +49 -63
- package/src/apis/TrashApi.ts +292 -0
- package/src/apis/UserPermissionsApi.ts +28 -36
- package/src/apis/UsersApi.ts +51 -67
- package/src/apis/WorkflowDefinitionsApi.ts +49 -63
- package/src/apis/WorkflowMemoryApi.ts +35 -45
- package/src/apis/WorkflowRunsApi.ts +67 -85
- package/src/apis/WorkflowsApi.ts +35 -45
- package/src/apis/index.ts +4 -0
- package/src/models/AccessCheckResponse.ts +100 -0
- package/src/models/CatalogColumnResponse.ts +101 -0
- package/src/models/CatalogTableResponse.ts +100 -0
- package/src/models/CellChange.ts +129 -0
- package/src/models/CellChangeType.ts +54 -0
- package/src/models/CellDiff.ts +127 -0
- package/src/models/ColumnConfig.ts +115 -0
- package/src/models/ConnectionConfig.ts +118 -0
- package/src/models/CreateDataSourceRequest.ts +130 -0
- package/src/models/CreateGroupPermissionRequest.ts +8 -0
- package/src/models/CreatePermissionRequest.ts +8 -0
- package/src/models/CreateWorkflowDefinitionRequest.ts +9 -0
- package/src/models/DataSourceCatalogResponse.ts +91 -0
- package/src/models/DataSourceDetailResponse.ts +107 -0
- package/src/models/DataSourceEngine.ts +53 -0
- package/src/models/DataSourceQueryRequest.ts +97 -0
- package/src/models/DataSourceQueryResponse.ts +119 -0
- package/src/models/DataSourceResponse.ts +200 -0
- package/src/models/DataSourceTableResponse.ts +217 -0
- package/src/models/DiffFormat.ts +53 -0
- package/src/models/DiffRow.ts +153 -0
- package/src/models/DiffRowType.ts +55 -0
- package/src/models/DiffSpan.ts +92 -0
- package/src/models/DocumentDownloadResponse.ts +129 -0
- package/src/models/DocumentResponse.ts +12 -5
- package/src/models/DownloadArtifact.ts +53 -0
- package/src/models/EventResponse.ts +16 -0
- package/src/models/FolderResponse.ts +12 -5
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.ts} +30 -8
- package/src/models/GroupPermissionResponse.ts +9 -0
- package/src/models/ItemPermissions.ts +118 -0
- package/src/models/MemoryBodyResponse.ts +111 -0
- package/src/models/MemoryScope.ts +57 -0
- package/src/models/ModelTableRequest.ts +115 -0
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.ts} +25 -25
- package/src/models/PaginatedResponsePendingMemoryChunkResponse.ts +130 -0
- package/src/models/PaginatedResponseTrashItemResponse.ts +130 -0
- package/src/models/PartType.ts +3 -1
- package/src/models/PathPartResponse.ts +13 -15
- package/src/models/PendingMemoryChunkResponse.ts +163 -0
- package/src/models/PermissionCapability.ts +3 -2
- package/src/models/PermissionResponse.ts +9 -0
- package/src/models/ProposeMemoryChunkRequest.ts +151 -0
- package/src/models/ProposedMemoryChunkResponse.ts +163 -0
- package/src/models/ReferenceType.ts +2 -0
- package/src/models/TextDiff.ts +127 -0
- package/src/models/TrashItemResponse.ts +156 -0
- package/src/models/UpdateGroupPermissionRequest.ts +8 -0
- package/src/models/UpdatePermissionRequest.ts +8 -0
- package/src/models/UpdateTableRequest.ts +98 -0
- package/src/models/VersionDiffResponse.ts +160 -0
- package/src/models/WorkflowDefinitionResponse.ts +15 -0
- package/src/models/WorkflowRunResponse.ts +15 -0
- package/src/models/index.ts +37 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js +0 -78
|
@@ -73,8 +73,12 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
73
73
|
const queryParameters = {};
|
|
74
74
|
const headerParameters = {};
|
|
75
75
|
headerParameters['Content-Type'] = 'application/json';
|
|
76
|
-
if (
|
|
77
|
-
|
|
76
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
77
|
+
const token = this.configuration.accessToken;
|
|
78
|
+
const tokenString = yield token("bearerAuth", []);
|
|
79
|
+
if (tokenString) {
|
|
80
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
81
|
+
}
|
|
78
82
|
}
|
|
79
83
|
let urlPath = `/v1/workflow-definitions`;
|
|
80
84
|
return {
|
|
@@ -115,8 +119,12 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
115
119
|
}
|
|
116
120
|
const queryParameters = {};
|
|
117
121
|
const headerParameters = {};
|
|
118
|
-
if (
|
|
119
|
-
|
|
122
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
123
|
+
const token = this.configuration.accessToken;
|
|
124
|
+
const tokenString = yield token("bearerAuth", []);
|
|
125
|
+
if (tokenString) {
|
|
126
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
127
|
+
}
|
|
120
128
|
}
|
|
121
129
|
const consumes = [
|
|
122
130
|
{ contentType: 'multipart/form-data' },
|
|
@@ -186,8 +194,12 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
186
194
|
}
|
|
187
195
|
const queryParameters = {};
|
|
188
196
|
const headerParameters = {};
|
|
189
|
-
if (
|
|
190
|
-
|
|
197
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
198
|
+
const token = this.configuration.accessToken;
|
|
199
|
+
const tokenString = yield token("bearerAuth", []);
|
|
200
|
+
if (tokenString) {
|
|
201
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
202
|
+
}
|
|
191
203
|
}
|
|
192
204
|
let urlPath = `/v1/workflow-definitions/{definition_id}`;
|
|
193
205
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -227,8 +239,12 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
227
239
|
}
|
|
228
240
|
const queryParameters = {};
|
|
229
241
|
const headerParameters = {};
|
|
230
|
-
if (
|
|
231
|
-
|
|
242
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
243
|
+
const token = this.configuration.accessToken;
|
|
244
|
+
const tokenString = yield token("bearerAuth", []);
|
|
245
|
+
if (tokenString) {
|
|
246
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
247
|
+
}
|
|
232
248
|
}
|
|
233
249
|
let urlPath = `/v1/workflow-definitions/{definition_id}`;
|
|
234
250
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -272,8 +288,12 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
272
288
|
queryParameters['offset'] = requestParameters['offset'];
|
|
273
289
|
}
|
|
274
290
|
const headerParameters = {};
|
|
275
|
-
if (
|
|
276
|
-
|
|
291
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
292
|
+
const token = this.configuration.accessToken;
|
|
293
|
+
const tokenString = yield token("bearerAuth", []);
|
|
294
|
+
if (tokenString) {
|
|
295
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
296
|
+
}
|
|
277
297
|
}
|
|
278
298
|
let urlPath = `/v1/workflow-definitions`;
|
|
279
299
|
return {
|
|
@@ -319,8 +339,12 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
319
339
|
queryParameters['offset'] = requestParameters['offset'];
|
|
320
340
|
}
|
|
321
341
|
const headerParameters = {};
|
|
322
|
-
if (
|
|
323
|
-
|
|
342
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
343
|
+
const token = this.configuration.accessToken;
|
|
344
|
+
const tokenString = yield token("bearerAuth", []);
|
|
345
|
+
if (tokenString) {
|
|
346
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
347
|
+
}
|
|
324
348
|
}
|
|
325
349
|
let urlPath = `/v1/workflow-definitions/{definition_id}/runs`;
|
|
326
350
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -365,8 +389,12 @@ class WorkflowDefinitionsApi extends runtime.BaseAPI {
|
|
|
365
389
|
const queryParameters = {};
|
|
366
390
|
const headerParameters = {};
|
|
367
391
|
headerParameters['Content-Type'] = 'application/json';
|
|
368
|
-
if (
|
|
369
|
-
|
|
392
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
393
|
+
const token = this.configuration.accessToken;
|
|
394
|
+
const tokenString = yield token("bearerAuth", []);
|
|
395
|
+
if (tokenString) {
|
|
396
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
397
|
+
}
|
|
370
398
|
}
|
|
371
399
|
let urlPath = `/v1/workflow-definitions/{definition_id}`;
|
|
372
400
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -14,34 +14,24 @@ import type { AppendMemoryChunkRequest, EditMemoryChunkRequest, MemoryChunkRespo
|
|
|
14
14
|
export interface AppendWorkflowMemoryChunkRequest {
|
|
15
15
|
definitionId: string;
|
|
16
16
|
appendMemoryChunkRequest: AppendMemoryChunkRequest;
|
|
17
|
-
authorization?: string | null;
|
|
18
|
-
ksUat?: string | null;
|
|
19
17
|
}
|
|
20
18
|
export interface EditWorkflowMemoryChunkRequest {
|
|
21
19
|
definitionId: string;
|
|
22
20
|
chunkId: string;
|
|
23
21
|
editMemoryChunkRequest: EditMemoryChunkRequest;
|
|
24
|
-
authorization?: string | null;
|
|
25
|
-
ksUat?: string | null;
|
|
26
22
|
}
|
|
27
23
|
export interface ForgetWorkflowMemoryChunkRequest {
|
|
28
24
|
definitionId: string;
|
|
29
25
|
chunkId: string;
|
|
30
|
-
authorization?: string | null;
|
|
31
|
-
ksUat?: string | null;
|
|
32
26
|
}
|
|
33
27
|
export interface GetWorkflowMemoryChunkRequest {
|
|
34
28
|
definitionId: string;
|
|
35
29
|
chunkId: string;
|
|
36
|
-
authorization?: string | null;
|
|
37
|
-
ksUat?: string | null;
|
|
38
30
|
}
|
|
39
31
|
export interface ListWorkflowMemoryChunksRequest {
|
|
40
32
|
definitionId: string;
|
|
41
33
|
limit?: number;
|
|
42
34
|
offset?: number;
|
|
43
|
-
authorization?: string | null;
|
|
44
|
-
ksUat?: string | null;
|
|
45
35
|
}
|
|
46
36
|
/**
|
|
47
37
|
* WorkflowMemoryApi - interface
|
|
@@ -54,8 +44,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
54
44
|
* Creates request options for appendWorkflowMemoryChunk without sending the request
|
|
55
45
|
* @param {string} definitionId
|
|
56
46
|
* @param {AppendMemoryChunkRequest} appendMemoryChunkRequest
|
|
57
|
-
* @param {string} [authorization]
|
|
58
|
-
* @param {string} [ksUat]
|
|
59
47
|
* @throws {RequiredError}
|
|
60
48
|
* @memberof WorkflowMemoryApiInterface
|
|
61
49
|
*/
|
|
@@ -65,8 +53,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
65
53
|
* @summary Append Workflow Memory Chunk Handler
|
|
66
54
|
* @param {string} definitionId
|
|
67
55
|
* @param {AppendMemoryChunkRequest} appendMemoryChunkRequest
|
|
68
|
-
* @param {string} [authorization]
|
|
69
|
-
* @param {string} [ksUat]
|
|
70
56
|
* @param {*} [options] Override http request option.
|
|
71
57
|
* @throws {RequiredError}
|
|
72
58
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -81,8 +67,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
81
67
|
* @param {string} definitionId
|
|
82
68
|
* @param {string} chunkId
|
|
83
69
|
* @param {EditMemoryChunkRequest} editMemoryChunkRequest
|
|
84
|
-
* @param {string} [authorization]
|
|
85
|
-
* @param {string} [ksUat]
|
|
86
70
|
* @throws {RequiredError}
|
|
87
71
|
* @memberof WorkflowMemoryApiInterface
|
|
88
72
|
*/
|
|
@@ -93,8 +77,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
93
77
|
* @param {string} definitionId
|
|
94
78
|
* @param {string} chunkId
|
|
95
79
|
* @param {EditMemoryChunkRequest} editMemoryChunkRequest
|
|
96
|
-
* @param {string} [authorization]
|
|
97
|
-
* @param {string} [ksUat]
|
|
98
80
|
* @param {*} [options] Override http request option.
|
|
99
81
|
* @throws {RequiredError}
|
|
100
82
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -108,8 +90,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
108
90
|
* Creates request options for forgetWorkflowMemoryChunk without sending the request
|
|
109
91
|
* @param {string} definitionId
|
|
110
92
|
* @param {string} chunkId
|
|
111
|
-
* @param {string} [authorization]
|
|
112
|
-
* @param {string} [ksUat]
|
|
113
93
|
* @throws {RequiredError}
|
|
114
94
|
* @memberof WorkflowMemoryApiInterface
|
|
115
95
|
*/
|
|
@@ -119,8 +99,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
119
99
|
* @summary Forget Workflow Memory Chunk Handler
|
|
120
100
|
* @param {string} definitionId
|
|
121
101
|
* @param {string} chunkId
|
|
122
|
-
* @param {string} [authorization]
|
|
123
|
-
* @param {string} [ksUat]
|
|
124
102
|
* @param {*} [options] Override http request option.
|
|
125
103
|
* @throws {RequiredError}
|
|
126
104
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -134,8 +112,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
134
112
|
* Creates request options for getWorkflowMemoryChunk without sending the request
|
|
135
113
|
* @param {string} definitionId
|
|
136
114
|
* @param {string} chunkId
|
|
137
|
-
* @param {string} [authorization]
|
|
138
|
-
* @param {string} [ksUat]
|
|
139
115
|
* @throws {RequiredError}
|
|
140
116
|
* @memberof WorkflowMemoryApiInterface
|
|
141
117
|
*/
|
|
@@ -145,8 +121,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
145
121
|
* @summary Get Workflow Memory Chunk Handler
|
|
146
122
|
* @param {string} definitionId
|
|
147
123
|
* @param {string} chunkId
|
|
148
|
-
* @param {string} [authorization]
|
|
149
|
-
* @param {string} [ksUat]
|
|
150
124
|
* @param {*} [options] Override http request option.
|
|
151
125
|
* @throws {RequiredError}
|
|
152
126
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -161,8 +135,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
161
135
|
* @param {string} definitionId
|
|
162
136
|
* @param {number} [limit] Number of items per page
|
|
163
137
|
* @param {number} [offset] Number of items to skip
|
|
164
|
-
* @param {string} [authorization]
|
|
165
|
-
* @param {string} [ksUat]
|
|
166
138
|
* @throws {RequiredError}
|
|
167
139
|
* @memberof WorkflowMemoryApiInterface
|
|
168
140
|
*/
|
|
@@ -173,8 +145,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
173
145
|
* @param {string} definitionId
|
|
174
146
|
* @param {number} [limit] Number of items per page
|
|
175
147
|
* @param {number} [offset] Number of items to skip
|
|
176
|
-
* @param {string} [authorization]
|
|
177
|
-
* @param {string} [ksUat]
|
|
178
148
|
* @param {*} [options] Override http request option.
|
|
179
149
|
* @throws {RequiredError}
|
|
180
150
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -76,8 +76,12 @@ class WorkflowMemoryApi extends runtime.BaseAPI {
|
|
|
76
76
|
const queryParameters = {};
|
|
77
77
|
const headerParameters = {};
|
|
78
78
|
headerParameters['Content-Type'] = 'application/json';
|
|
79
|
-
if (
|
|
80
|
-
|
|
79
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
80
|
+
const token = this.configuration.accessToken;
|
|
81
|
+
const tokenString = yield token("bearerAuth", []);
|
|
82
|
+
if (tokenString) {
|
|
83
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
84
|
+
}
|
|
81
85
|
}
|
|
82
86
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks`;
|
|
83
87
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -126,8 +130,12 @@ class WorkflowMemoryApi extends runtime.BaseAPI {
|
|
|
126
130
|
const queryParameters = {};
|
|
127
131
|
const headerParameters = {};
|
|
128
132
|
headerParameters['Content-Type'] = 'application/json';
|
|
129
|
-
if (
|
|
130
|
-
|
|
133
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
134
|
+
const token = this.configuration.accessToken;
|
|
135
|
+
const tokenString = yield token("bearerAuth", []);
|
|
136
|
+
if (tokenString) {
|
|
137
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
138
|
+
}
|
|
131
139
|
}
|
|
132
140
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
133
141
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -173,8 +181,12 @@ class WorkflowMemoryApi extends runtime.BaseAPI {
|
|
|
173
181
|
}
|
|
174
182
|
const queryParameters = {};
|
|
175
183
|
const headerParameters = {};
|
|
176
|
-
if (
|
|
177
|
-
|
|
184
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
185
|
+
const token = this.configuration.accessToken;
|
|
186
|
+
const tokenString = yield token("bearerAuth", []);
|
|
187
|
+
if (tokenString) {
|
|
188
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
189
|
+
}
|
|
178
190
|
}
|
|
179
191
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
180
192
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -218,8 +230,12 @@ class WorkflowMemoryApi extends runtime.BaseAPI {
|
|
|
218
230
|
}
|
|
219
231
|
const queryParameters = {};
|
|
220
232
|
const headerParameters = {};
|
|
221
|
-
if (
|
|
222
|
-
|
|
233
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
234
|
+
const token = this.configuration.accessToken;
|
|
235
|
+
const tokenString = yield token("bearerAuth", []);
|
|
236
|
+
if (tokenString) {
|
|
237
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
238
|
+
}
|
|
223
239
|
}
|
|
224
240
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
225
241
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -267,8 +283,12 @@ class WorkflowMemoryApi extends runtime.BaseAPI {
|
|
|
267
283
|
queryParameters['offset'] = requestParameters['offset'];
|
|
268
284
|
}
|
|
269
285
|
const headerParameters = {};
|
|
270
|
-
if (
|
|
271
|
-
|
|
286
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
287
|
+
const token = this.configuration.accessToken;
|
|
288
|
+
const tokenString = yield token("bearerAuth", []);
|
|
289
|
+
if (tokenString) {
|
|
290
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
291
|
+
}
|
|
272
292
|
}
|
|
273
293
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory`;
|
|
274
294
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -14,51 +14,33 @@ import type { CloneWorkflowRunRequest, SetWorkflowRunApprovalRequest, UpdateWork
|
|
|
14
14
|
export interface CloneWorkflowRunOperationRequest {
|
|
15
15
|
runId: string;
|
|
16
16
|
cloneWorkflowRunRequest: CloneWorkflowRunRequest;
|
|
17
|
-
authorization?: string | null;
|
|
18
|
-
ksUat?: string | null;
|
|
19
17
|
}
|
|
20
18
|
export interface DeleteWorkflowRunRequest {
|
|
21
19
|
runId: string;
|
|
22
|
-
authorization?: string | null;
|
|
23
|
-
ksUat?: string | null;
|
|
24
20
|
}
|
|
25
21
|
export interface GetWorkflowRunRequest {
|
|
26
22
|
runId: string;
|
|
27
|
-
authorization?: string | null;
|
|
28
|
-
ksUat?: string | null;
|
|
29
23
|
}
|
|
30
24
|
export interface RetryWorkflowRunRequest {
|
|
31
25
|
runId: string;
|
|
32
|
-
authorization?: string | null;
|
|
33
|
-
ksUat?: string | null;
|
|
34
26
|
}
|
|
35
27
|
export interface SetWorkflowRunApprovalOperationRequest {
|
|
36
28
|
runId: string;
|
|
37
29
|
setWorkflowRunApprovalRequest: SetWorkflowRunApprovalRequest;
|
|
38
|
-
authorization?: string | null;
|
|
39
|
-
ksUat?: string | null;
|
|
40
30
|
}
|
|
41
31
|
export interface StartWorkflowRunRequest {
|
|
42
32
|
runId: string;
|
|
43
|
-
authorization?: string | null;
|
|
44
|
-
ksUat?: string | null;
|
|
45
33
|
}
|
|
46
34
|
export interface StopWorkflowRunRequest {
|
|
47
35
|
runId: string;
|
|
48
|
-
authorization?: string | null;
|
|
49
|
-
ksUat?: string | null;
|
|
50
36
|
}
|
|
51
37
|
export interface UpdateWorkflowRunOperationRequest {
|
|
52
38
|
runId: string;
|
|
53
39
|
updateWorkflowRunRequest: UpdateWorkflowRunRequest;
|
|
54
|
-
authorization?: string | null;
|
|
55
|
-
ksUat?: string | null;
|
|
56
40
|
}
|
|
57
41
|
export interface WorkflowRunCallbackOperationRequest {
|
|
58
42
|
runId: string;
|
|
59
43
|
workflowRunCallbackRequest: WorkflowRunCallbackRequest;
|
|
60
|
-
authorization?: string | null;
|
|
61
|
-
ksUat?: string | null;
|
|
62
44
|
}
|
|
63
45
|
/**
|
|
64
46
|
* WorkflowRunsApi - interface
|
|
@@ -71,8 +53,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
71
53
|
* Creates request options for cloneWorkflowRun without sending the request
|
|
72
54
|
* @param {string} runId
|
|
73
55
|
* @param {CloneWorkflowRunRequest} cloneWorkflowRunRequest
|
|
74
|
-
* @param {string} [authorization]
|
|
75
|
-
* @param {string} [ksUat]
|
|
76
56
|
* @throws {RequiredError}
|
|
77
57
|
* @memberof WorkflowRunsApiInterface
|
|
78
58
|
*/
|
|
@@ -82,8 +62,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
82
62
|
* @summary Clone Workflow Run Handler
|
|
83
63
|
* @param {string} runId
|
|
84
64
|
* @param {CloneWorkflowRunRequest} cloneWorkflowRunRequest
|
|
85
|
-
* @param {string} [authorization]
|
|
86
|
-
* @param {string} [ksUat]
|
|
87
65
|
* @param {*} [options] Override http request option.
|
|
88
66
|
* @throws {RequiredError}
|
|
89
67
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -97,8 +75,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
97
75
|
/**
|
|
98
76
|
* Creates request options for deleteWorkflowRun without sending the request
|
|
99
77
|
* @param {string} runId
|
|
100
|
-
* @param {string} [authorization]
|
|
101
|
-
* @param {string} [ksUat]
|
|
102
78
|
* @throws {RequiredError}
|
|
103
79
|
* @memberof WorkflowRunsApiInterface
|
|
104
80
|
*/
|
|
@@ -107,8 +83,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
107
83
|
*
|
|
108
84
|
* @summary Delete Workflow Run Handler
|
|
109
85
|
* @param {string} runId
|
|
110
|
-
* @param {string} [authorization]
|
|
111
|
-
* @param {string} [ksUat]
|
|
112
86
|
* @param {*} [options] Override http request option.
|
|
113
87
|
* @throws {RequiredError}
|
|
114
88
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -121,8 +95,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
121
95
|
/**
|
|
122
96
|
* Creates request options for getWorkflowRun without sending the request
|
|
123
97
|
* @param {string} runId
|
|
124
|
-
* @param {string} [authorization]
|
|
125
|
-
* @param {string} [ksUat]
|
|
126
98
|
* @throws {RequiredError}
|
|
127
99
|
* @memberof WorkflowRunsApiInterface
|
|
128
100
|
*/
|
|
@@ -131,8 +103,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
131
103
|
*
|
|
132
104
|
* @summary Get Workflow Run Handler
|
|
133
105
|
* @param {string} runId
|
|
134
|
-
* @param {string} [authorization]
|
|
135
|
-
* @param {string} [ksUat]
|
|
136
106
|
* @param {*} [options] Override http request option.
|
|
137
107
|
* @throws {RequiredError}
|
|
138
108
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -145,8 +115,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
145
115
|
/**
|
|
146
116
|
* Creates request options for retryWorkflowRun without sending the request
|
|
147
117
|
* @param {string} runId
|
|
148
|
-
* @param {string} [authorization]
|
|
149
|
-
* @param {string} [ksUat]
|
|
150
118
|
* @throws {RequiredError}
|
|
151
119
|
* @memberof WorkflowRunsApiInterface
|
|
152
120
|
*/
|
|
@@ -155,8 +123,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
155
123
|
* Re-run a FAILED run (including a user-stopped one) in place. Flips ``FAILED -> IN_PROGRESS`` against the run\'s existing snapshot and re-dispatches the agent. 409 if the run is not FAILED (NOT_STARTED/PENDING use Start; COMPLETED is cloned) or was never started. Triggerer or OWNER/ADMIN only.
|
|
156
124
|
* @summary Retry Workflow Run Handler
|
|
157
125
|
* @param {string} runId
|
|
158
|
-
* @param {string} [authorization]
|
|
159
|
-
* @param {string} [ksUat]
|
|
160
126
|
* @param {*} [options] Override http request option.
|
|
161
127
|
* @throws {RequiredError}
|
|
162
128
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -171,34 +137,28 @@ export interface WorkflowRunsApiInterface {
|
|
|
171
137
|
* Creates request options for setWorkflowRunApproval without sending the request
|
|
172
138
|
* @param {string} runId
|
|
173
139
|
* @param {SetWorkflowRunApprovalRequest} setWorkflowRunApprovalRequest
|
|
174
|
-
* @param {string} [authorization]
|
|
175
|
-
* @param {string} [ksUat]
|
|
176
140
|
* @throws {RequiredError}
|
|
177
141
|
* @memberof WorkflowRunsApiInterface
|
|
178
142
|
*/
|
|
179
143
|
setWorkflowRunApprovalRequestOpts(requestParameters: SetWorkflowRunApprovalOperationRequest): Promise<runtime.RequestOpts>;
|
|
180
144
|
/**
|
|
181
|
-
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires
|
|
145
|
+
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires approve access to the run folder and refuses agents (assumed identities) — approval is human-in-the-loop. ``run_id`` is the WorkflowRun id.
|
|
182
146
|
* @summary Set Workflow Run Approval Handler
|
|
183
147
|
* @param {string} runId
|
|
184
148
|
* @param {SetWorkflowRunApprovalRequest} setWorkflowRunApprovalRequest
|
|
185
|
-
* @param {string} [authorization]
|
|
186
|
-
* @param {string} [ksUat]
|
|
187
149
|
* @param {*} [options] Override http request option.
|
|
188
150
|
* @throws {RequiredError}
|
|
189
151
|
* @memberof WorkflowRunsApiInterface
|
|
190
152
|
*/
|
|
191
153
|
setWorkflowRunApprovalRaw(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>>;
|
|
192
154
|
/**
|
|
193
|
-
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires
|
|
155
|
+
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires approve access to the run folder and refuses agents (assumed identities) — approval is human-in-the-loop. ``run_id`` is the WorkflowRun id.
|
|
194
156
|
* Set Workflow Run Approval Handler
|
|
195
157
|
*/
|
|
196
158
|
setWorkflowRunApproval(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
|
|
197
159
|
/**
|
|
198
160
|
* Creates request options for startWorkflowRun without sending the request
|
|
199
161
|
* @param {string} runId
|
|
200
|
-
* @param {string} [authorization]
|
|
201
|
-
* @param {string} [ksUat]
|
|
202
162
|
* @throws {RequiredError}
|
|
203
163
|
* @memberof WorkflowRunsApiInterface
|
|
204
164
|
*/
|
|
@@ -207,8 +167,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
207
167
|
* Flip a NOT_STARTED run to IN_PROGRESS and dispatch its agent run. Idempotent on IN_PROGRESS (returns the row). Terminal states → 409. Inputs still ingesting or in a failed terminal state → 409. The snapshot is built at this point (KB DOCUMENTs resolve to active versions, uploaded DVs are walked from inputs/, KB FOLDERs stay live).
|
|
208
168
|
* @summary Start Workflow Run Handler
|
|
209
169
|
* @param {string} runId
|
|
210
|
-
* @param {string} [authorization]
|
|
211
|
-
* @param {string} [ksUat]
|
|
212
170
|
* @param {*} [options] Override http request option.
|
|
213
171
|
* @throws {RequiredError}
|
|
214
172
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -222,8 +180,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
222
180
|
/**
|
|
223
181
|
* Creates request options for stopWorkflowRun without sending the request
|
|
224
182
|
* @param {string} runId
|
|
225
|
-
* @param {string} [authorization]
|
|
226
|
-
* @param {string} [ksUat]
|
|
227
183
|
* @throws {RequiredError}
|
|
228
184
|
* @memberof WorkflowRunsApiInterface
|
|
229
185
|
*/
|
|
@@ -232,8 +188,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
232
188
|
* Stop a running workflow run, terminalizing it so its thread un-bricks. While a run sits ``IN_PROGRESS`` its run thread is read-only: every new USER message 409s (``run_in_progress``). A user \"stop\" must therefore move the run out of ``IN_PROGRESS``. We mark it ``FAILED`` (\"Stopped by user\") with a pure DB write that does **not** depend on Temporal — so this same call also recovers a run already stranded ``IN_PROGRESS`` by a cancel whose terminal callback never landed (the permanent-brick case) — then best-effort cancel its Temporal workflow. Idempotent: a run already in a terminal state (or not yet started) is returned unchanged. The terminal-state guard in ``mark_run_failed`` plus the callback handler\'s ``already_terminal`` no-op make a real completion landing concurrently safe (last writer is ignored, never an error).
|
|
233
189
|
* @summary Stop Workflow Run Handler
|
|
234
190
|
* @param {string} runId
|
|
235
|
-
* @param {string} [authorization]
|
|
236
|
-
* @param {string} [ksUat]
|
|
237
191
|
* @param {*} [options] Override http request option.
|
|
238
192
|
* @throws {RequiredError}
|
|
239
193
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -248,8 +202,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
248
202
|
* Creates request options for updateWorkflowRun without sending the request
|
|
249
203
|
* @param {string} runId
|
|
250
204
|
* @param {UpdateWorkflowRunRequest} updateWorkflowRunRequest
|
|
251
|
-
* @param {string} [authorization]
|
|
252
|
-
* @param {string} [ksUat]
|
|
253
205
|
* @throws {RequiredError}
|
|
254
206
|
* @memberof WorkflowRunsApiInterface
|
|
255
207
|
*/
|
|
@@ -259,8 +211,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
259
211
|
* @summary Update Workflow Run Handler
|
|
260
212
|
* @param {string} runId
|
|
261
213
|
* @param {UpdateWorkflowRunRequest} updateWorkflowRunRequest
|
|
262
|
-
* @param {string} [authorization]
|
|
263
|
-
* @param {string} [ksUat]
|
|
264
214
|
* @param {*} [options] Override http request option.
|
|
265
215
|
* @throws {RequiredError}
|
|
266
216
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -275,8 +225,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
275
225
|
* Creates request options for workflowRunCallback without sending the request
|
|
276
226
|
* @param {string} runId
|
|
277
227
|
* @param {WorkflowRunCallbackRequest} workflowRunCallbackRequest
|
|
278
|
-
* @param {string} [authorization]
|
|
279
|
-
* @param {string} [ksUat]
|
|
280
228
|
* @throws {RequiredError}
|
|
281
229
|
* @memberof WorkflowRunsApiInterface
|
|
282
230
|
*/
|
|
@@ -286,8 +234,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
286
234
|
* @summary Workflow Run Callback Handler
|
|
287
235
|
* @param {string} runId
|
|
288
236
|
* @param {WorkflowRunCallbackRequest} workflowRunCallbackRequest
|
|
289
|
-
* @param {string} [authorization]
|
|
290
|
-
* @param {string} [ksUat]
|
|
291
237
|
* @param {*} [options] Override http request option.
|
|
292
238
|
* @throws {RequiredError}
|
|
293
239
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -360,12 +306,12 @@ export declare class WorkflowRunsApi extends runtime.BaseAPI implements Workflow
|
|
|
360
306
|
*/
|
|
361
307
|
setWorkflowRunApprovalRequestOpts(requestParameters: SetWorkflowRunApprovalOperationRequest): Promise<runtime.RequestOpts>;
|
|
362
308
|
/**
|
|
363
|
-
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires
|
|
309
|
+
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires approve access to the run folder and refuses agents (assumed identities) — approval is human-in-the-loop. ``run_id`` is the WorkflowRun id.
|
|
364
310
|
* Set Workflow Run Approval Handler
|
|
365
311
|
*/
|
|
366
312
|
setWorkflowRunApprovalRaw(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>>;
|
|
367
313
|
/**
|
|
368
|
-
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires
|
|
314
|
+
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires approve access to the run folder and refuses agents (assumed identities) — approval is human-in-the-loop. ``run_id`` is the WorkflowRun id.
|
|
369
315
|
* Set Workflow Run Approval Handler
|
|
370
316
|
*/
|
|
371
317
|
setWorkflowRunApproval(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
|