@knowledge-stack/ksapi 1.95.4 → 1.97.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
|
@@ -43,59 +43,41 @@ import {
|
|
|
43
43
|
export interface CloneWorkflowRunOperationRequest {
|
|
44
44
|
runId: string;
|
|
45
45
|
cloneWorkflowRunRequest: CloneWorkflowRunRequest;
|
|
46
|
-
authorization?: string | null;
|
|
47
|
-
ksUat?: string | null;
|
|
48
46
|
}
|
|
49
47
|
|
|
50
48
|
export interface DeleteWorkflowRunRequest {
|
|
51
49
|
runId: string;
|
|
52
|
-
authorization?: string | null;
|
|
53
|
-
ksUat?: string | null;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
52
|
export interface GetWorkflowRunRequest {
|
|
57
53
|
runId: string;
|
|
58
|
-
authorization?: string | null;
|
|
59
|
-
ksUat?: string | null;
|
|
60
54
|
}
|
|
61
55
|
|
|
62
56
|
export interface RetryWorkflowRunRequest {
|
|
63
57
|
runId: string;
|
|
64
|
-
authorization?: string | null;
|
|
65
|
-
ksUat?: string | null;
|
|
66
58
|
}
|
|
67
59
|
|
|
68
60
|
export interface SetWorkflowRunApprovalOperationRequest {
|
|
69
61
|
runId: string;
|
|
70
62
|
setWorkflowRunApprovalRequest: SetWorkflowRunApprovalRequest;
|
|
71
|
-
authorization?: string | null;
|
|
72
|
-
ksUat?: string | null;
|
|
73
63
|
}
|
|
74
64
|
|
|
75
65
|
export interface StartWorkflowRunRequest {
|
|
76
66
|
runId: string;
|
|
77
|
-
authorization?: string | null;
|
|
78
|
-
ksUat?: string | null;
|
|
79
67
|
}
|
|
80
68
|
|
|
81
69
|
export interface StopWorkflowRunRequest {
|
|
82
70
|
runId: string;
|
|
83
|
-
authorization?: string | null;
|
|
84
|
-
ksUat?: string | null;
|
|
85
71
|
}
|
|
86
72
|
|
|
87
73
|
export interface UpdateWorkflowRunOperationRequest {
|
|
88
74
|
runId: string;
|
|
89
75
|
updateWorkflowRunRequest: UpdateWorkflowRunRequest;
|
|
90
|
-
authorization?: string | null;
|
|
91
|
-
ksUat?: string | null;
|
|
92
76
|
}
|
|
93
77
|
|
|
94
78
|
export interface WorkflowRunCallbackOperationRequest {
|
|
95
79
|
runId: string;
|
|
96
80
|
workflowRunCallbackRequest: WorkflowRunCallbackRequest;
|
|
97
|
-
authorization?: string | null;
|
|
98
|
-
ksUat?: string | null;
|
|
99
81
|
}
|
|
100
82
|
|
|
101
83
|
/**
|
|
@@ -109,8 +91,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
109
91
|
* Creates request options for cloneWorkflowRun without sending the request
|
|
110
92
|
* @param {string} runId
|
|
111
93
|
* @param {CloneWorkflowRunRequest} cloneWorkflowRunRequest
|
|
112
|
-
* @param {string} [authorization]
|
|
113
|
-
* @param {string} [ksUat]
|
|
114
94
|
* @throws {RequiredError}
|
|
115
95
|
* @memberof WorkflowRunsApiInterface
|
|
116
96
|
*/
|
|
@@ -121,8 +101,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
121
101
|
* @summary Clone Workflow Run Handler
|
|
122
102
|
* @param {string} runId
|
|
123
103
|
* @param {CloneWorkflowRunRequest} cloneWorkflowRunRequest
|
|
124
|
-
* @param {string} [authorization]
|
|
125
|
-
* @param {string} [ksUat]
|
|
126
104
|
* @param {*} [options] Override http request option.
|
|
127
105
|
* @throws {RequiredError}
|
|
128
106
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -138,8 +116,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
138
116
|
/**
|
|
139
117
|
* Creates request options for deleteWorkflowRun without sending the request
|
|
140
118
|
* @param {string} runId
|
|
141
|
-
* @param {string} [authorization]
|
|
142
|
-
* @param {string} [ksUat]
|
|
143
119
|
* @throws {RequiredError}
|
|
144
120
|
* @memberof WorkflowRunsApiInterface
|
|
145
121
|
*/
|
|
@@ -149,8 +125,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
149
125
|
*
|
|
150
126
|
* @summary Delete Workflow Run Handler
|
|
151
127
|
* @param {string} runId
|
|
152
|
-
* @param {string} [authorization]
|
|
153
|
-
* @param {string} [ksUat]
|
|
154
128
|
* @param {*} [options] Override http request option.
|
|
155
129
|
* @throws {RequiredError}
|
|
156
130
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -165,8 +139,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
165
139
|
/**
|
|
166
140
|
* Creates request options for getWorkflowRun without sending the request
|
|
167
141
|
* @param {string} runId
|
|
168
|
-
* @param {string} [authorization]
|
|
169
|
-
* @param {string} [ksUat]
|
|
170
142
|
* @throws {RequiredError}
|
|
171
143
|
* @memberof WorkflowRunsApiInterface
|
|
172
144
|
*/
|
|
@@ -176,8 +148,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
176
148
|
*
|
|
177
149
|
* @summary Get Workflow Run Handler
|
|
178
150
|
* @param {string} runId
|
|
179
|
-
* @param {string} [authorization]
|
|
180
|
-
* @param {string} [ksUat]
|
|
181
151
|
* @param {*} [options] Override http request option.
|
|
182
152
|
* @throws {RequiredError}
|
|
183
153
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -192,8 +162,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
192
162
|
/**
|
|
193
163
|
* Creates request options for retryWorkflowRun without sending the request
|
|
194
164
|
* @param {string} runId
|
|
195
|
-
* @param {string} [authorization]
|
|
196
|
-
* @param {string} [ksUat]
|
|
197
165
|
* @throws {RequiredError}
|
|
198
166
|
* @memberof WorkflowRunsApiInterface
|
|
199
167
|
*/
|
|
@@ -203,8 +171,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
203
171
|
* 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.
|
|
204
172
|
* @summary Retry Workflow Run Handler
|
|
205
173
|
* @param {string} runId
|
|
206
|
-
* @param {string} [authorization]
|
|
207
|
-
* @param {string} [ksUat]
|
|
208
174
|
* @param {*} [options] Override http request option.
|
|
209
175
|
* @throws {RequiredError}
|
|
210
176
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -221,20 +187,16 @@ export interface WorkflowRunsApiInterface {
|
|
|
221
187
|
* Creates request options for setWorkflowRunApproval without sending the request
|
|
222
188
|
* @param {string} runId
|
|
223
189
|
* @param {SetWorkflowRunApprovalRequest} setWorkflowRunApprovalRequest
|
|
224
|
-
* @param {string} [authorization]
|
|
225
|
-
* @param {string} [ksUat]
|
|
226
190
|
* @throws {RequiredError}
|
|
227
191
|
* @memberof WorkflowRunsApiInterface
|
|
228
192
|
*/
|
|
229
193
|
setWorkflowRunApprovalRequestOpts(requestParameters: SetWorkflowRunApprovalOperationRequest): Promise<runtime.RequestOpts>;
|
|
230
194
|
|
|
231
195
|
/**
|
|
232
|
-
* 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
|
|
196
|
+
* 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.
|
|
233
197
|
* @summary Set Workflow Run Approval Handler
|
|
234
198
|
* @param {string} runId
|
|
235
199
|
* @param {SetWorkflowRunApprovalRequest} setWorkflowRunApprovalRequest
|
|
236
|
-
* @param {string} [authorization]
|
|
237
|
-
* @param {string} [ksUat]
|
|
238
200
|
* @param {*} [options] Override http request option.
|
|
239
201
|
* @throws {RequiredError}
|
|
240
202
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -242,7 +204,7 @@ export interface WorkflowRunsApiInterface {
|
|
|
242
204
|
setWorkflowRunApprovalRaw(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>>;
|
|
243
205
|
|
|
244
206
|
/**
|
|
245
|
-
* 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
|
|
207
|
+
* 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.
|
|
246
208
|
* Set Workflow Run Approval Handler
|
|
247
209
|
*/
|
|
248
210
|
setWorkflowRunApproval(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse>;
|
|
@@ -250,8 +212,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
250
212
|
/**
|
|
251
213
|
* Creates request options for startWorkflowRun without sending the request
|
|
252
214
|
* @param {string} runId
|
|
253
|
-
* @param {string} [authorization]
|
|
254
|
-
* @param {string} [ksUat]
|
|
255
215
|
* @throws {RequiredError}
|
|
256
216
|
* @memberof WorkflowRunsApiInterface
|
|
257
217
|
*/
|
|
@@ -261,8 +221,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
261
221
|
* 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).
|
|
262
222
|
* @summary Start Workflow Run Handler
|
|
263
223
|
* @param {string} runId
|
|
264
|
-
* @param {string} [authorization]
|
|
265
|
-
* @param {string} [ksUat]
|
|
266
224
|
* @param {*} [options] Override http request option.
|
|
267
225
|
* @throws {RequiredError}
|
|
268
226
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -278,8 +236,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
278
236
|
/**
|
|
279
237
|
* Creates request options for stopWorkflowRun without sending the request
|
|
280
238
|
* @param {string} runId
|
|
281
|
-
* @param {string} [authorization]
|
|
282
|
-
* @param {string} [ksUat]
|
|
283
239
|
* @throws {RequiredError}
|
|
284
240
|
* @memberof WorkflowRunsApiInterface
|
|
285
241
|
*/
|
|
@@ -289,8 +245,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
289
245
|
* 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).
|
|
290
246
|
* @summary Stop Workflow Run Handler
|
|
291
247
|
* @param {string} runId
|
|
292
|
-
* @param {string} [authorization]
|
|
293
|
-
* @param {string} [ksUat]
|
|
294
248
|
* @param {*} [options] Override http request option.
|
|
295
249
|
* @throws {RequiredError}
|
|
296
250
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -307,8 +261,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
307
261
|
* Creates request options for updateWorkflowRun without sending the request
|
|
308
262
|
* @param {string} runId
|
|
309
263
|
* @param {UpdateWorkflowRunRequest} updateWorkflowRunRequest
|
|
310
|
-
* @param {string} [authorization]
|
|
311
|
-
* @param {string} [ksUat]
|
|
312
264
|
* @throws {RequiredError}
|
|
313
265
|
* @memberof WorkflowRunsApiInterface
|
|
314
266
|
*/
|
|
@@ -319,8 +271,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
319
271
|
* @summary Update Workflow Run Handler
|
|
320
272
|
* @param {string} runId
|
|
321
273
|
* @param {UpdateWorkflowRunRequest} updateWorkflowRunRequest
|
|
322
|
-
* @param {string} [authorization]
|
|
323
|
-
* @param {string} [ksUat]
|
|
324
274
|
* @param {*} [options] Override http request option.
|
|
325
275
|
* @throws {RequiredError}
|
|
326
276
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -337,8 +287,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
337
287
|
* Creates request options for workflowRunCallback without sending the request
|
|
338
288
|
* @param {string} runId
|
|
339
289
|
* @param {WorkflowRunCallbackRequest} workflowRunCallbackRequest
|
|
340
|
-
* @param {string} [authorization]
|
|
341
|
-
* @param {string} [ksUat]
|
|
342
290
|
* @throws {RequiredError}
|
|
343
291
|
* @memberof WorkflowRunsApiInterface
|
|
344
292
|
*/
|
|
@@ -349,8 +297,6 @@ export interface WorkflowRunsApiInterface {
|
|
|
349
297
|
* @summary Workflow Run Callback Handler
|
|
350
298
|
* @param {string} runId
|
|
351
299
|
* @param {WorkflowRunCallbackRequest} workflowRunCallbackRequest
|
|
352
|
-
* @param {string} [authorization]
|
|
353
|
-
* @param {string} [ksUat]
|
|
354
300
|
* @param {*} [options] Override http request option.
|
|
355
301
|
* @throws {RequiredError}
|
|
356
302
|
* @memberof WorkflowRunsApiInterface
|
|
@@ -394,10 +340,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
394
340
|
|
|
395
341
|
headerParameters['Content-Type'] = 'application/json';
|
|
396
342
|
|
|
397
|
-
if (
|
|
398
|
-
|
|
399
|
-
|
|
343
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
344
|
+
const token = this.configuration.accessToken;
|
|
345
|
+
const tokenString = await token("bearerAuth", []);
|
|
400
346
|
|
|
347
|
+
if (tokenString) {
|
|
348
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
401
351
|
|
|
402
352
|
let urlPath = `/v1/workflow-runs/{run_id}/clone`;
|
|
403
353
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -446,10 +396,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
446
396
|
|
|
447
397
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
448
398
|
|
|
449
|
-
if (
|
|
450
|
-
|
|
451
|
-
|
|
399
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
400
|
+
const token = this.configuration.accessToken;
|
|
401
|
+
const tokenString = await token("bearerAuth", []);
|
|
452
402
|
|
|
403
|
+
if (tokenString) {
|
|
404
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
453
407
|
|
|
454
408
|
let urlPath = `/v1/workflow-runs/{run_id}`;
|
|
455
409
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -494,10 +448,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
494
448
|
|
|
495
449
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
496
450
|
|
|
497
|
-
if (
|
|
498
|
-
|
|
499
|
-
|
|
451
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
452
|
+
const token = this.configuration.accessToken;
|
|
453
|
+
const tokenString = await token("bearerAuth", []);
|
|
500
454
|
|
|
455
|
+
if (tokenString) {
|
|
456
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
501
459
|
|
|
502
460
|
let urlPath = `/v1/workflow-runs/{run_id}`;
|
|
503
461
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -543,10 +501,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
543
501
|
|
|
544
502
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
545
503
|
|
|
546
|
-
if (
|
|
547
|
-
|
|
548
|
-
|
|
504
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
505
|
+
const token = this.configuration.accessToken;
|
|
506
|
+
const tokenString = await token("bearerAuth", []);
|
|
549
507
|
|
|
508
|
+
if (tokenString) {
|
|
509
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
550
512
|
|
|
551
513
|
let urlPath = `/v1/workflow-runs/{run_id}/retry`;
|
|
552
514
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -603,10 +565,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
603
565
|
|
|
604
566
|
headerParameters['Content-Type'] = 'application/json';
|
|
605
567
|
|
|
606
|
-
if (
|
|
607
|
-
|
|
608
|
-
|
|
568
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
569
|
+
const token = this.configuration.accessToken;
|
|
570
|
+
const tokenString = await token("bearerAuth", []);
|
|
609
571
|
|
|
572
|
+
if (tokenString) {
|
|
573
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
610
576
|
|
|
611
577
|
let urlPath = `/v1/workflow-runs/{run_id}/approval`;
|
|
612
578
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -621,7 +587,7 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
621
587
|
}
|
|
622
588
|
|
|
623
589
|
/**
|
|
624
|
-
* 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
|
|
590
|
+
* 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.
|
|
625
591
|
* Set Workflow Run Approval Handler
|
|
626
592
|
*/
|
|
627
593
|
async setWorkflowRunApprovalRaw(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowRunResponse>> {
|
|
@@ -632,7 +598,7 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
632
598
|
}
|
|
633
599
|
|
|
634
600
|
/**
|
|
635
|
-
* 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
|
|
601
|
+
* 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.
|
|
636
602
|
* Set Workflow Run Approval Handler
|
|
637
603
|
*/
|
|
638
604
|
async setWorkflowRunApproval(requestParameters: SetWorkflowRunApprovalOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowRunResponse> {
|
|
@@ -655,10 +621,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
655
621
|
|
|
656
622
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
657
623
|
|
|
658
|
-
if (
|
|
659
|
-
|
|
660
|
-
|
|
624
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
625
|
+
const token = this.configuration.accessToken;
|
|
626
|
+
const tokenString = await token("bearerAuth", []);
|
|
661
627
|
|
|
628
|
+
if (tokenString) {
|
|
629
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
662
632
|
|
|
663
633
|
let urlPath = `/v1/workflow-runs/{run_id}/start`;
|
|
664
634
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -706,10 +676,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
706
676
|
|
|
707
677
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
708
678
|
|
|
709
|
-
if (
|
|
710
|
-
|
|
711
|
-
|
|
679
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
680
|
+
const token = this.configuration.accessToken;
|
|
681
|
+
const tokenString = await token("bearerAuth", []);
|
|
712
682
|
|
|
683
|
+
if (tokenString) {
|
|
684
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
713
687
|
|
|
714
688
|
let urlPath = `/v1/workflow-runs/{run_id}/stop`;
|
|
715
689
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -766,10 +740,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
766
740
|
|
|
767
741
|
headerParameters['Content-Type'] = 'application/json';
|
|
768
742
|
|
|
769
|
-
if (
|
|
770
|
-
|
|
771
|
-
|
|
743
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
744
|
+
const token = this.configuration.accessToken;
|
|
745
|
+
const tokenString = await token("bearerAuth", []);
|
|
772
746
|
|
|
747
|
+
if (tokenString) {
|
|
748
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
773
751
|
|
|
774
752
|
let urlPath = `/v1/workflow-runs/{run_id}`;
|
|
775
753
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -827,10 +805,14 @@ export class WorkflowRunsApi extends runtime.BaseAPI implements WorkflowRunsApiI
|
|
|
827
805
|
|
|
828
806
|
headerParameters['Content-Type'] = 'application/json';
|
|
829
807
|
|
|
830
|
-
if (
|
|
831
|
-
|
|
832
|
-
|
|
808
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
809
|
+
const token = this.configuration.accessToken;
|
|
810
|
+
const tokenString = await token("bearerAuth", []);
|
|
833
811
|
|
|
812
|
+
if (tokenString) {
|
|
813
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
814
|
+
}
|
|
815
|
+
}
|
|
834
816
|
|
|
835
817
|
let urlPath = `/v1/workflow-runs/{run_id}/callback`;
|
|
836
818
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
package/src/apis/WorkflowsApi.ts
CHANGED
|
@@ -39,33 +39,23 @@ import {
|
|
|
39
39
|
|
|
40
40
|
export interface CancelTemporalWorkflowRequest {
|
|
41
41
|
workflowId: string;
|
|
42
|
-
authorization?: string | null;
|
|
43
|
-
ksUat?: string | null;
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
export interface DvWorkflowRerunRequest {
|
|
47
45
|
workflowId: string;
|
|
48
|
-
authorization?: string | null;
|
|
49
|
-
ksUat?: string | null;
|
|
50
46
|
}
|
|
51
47
|
|
|
52
48
|
export interface GetDvWorkflowRequest {
|
|
53
49
|
workflowId: string;
|
|
54
|
-
authorization?: string | null;
|
|
55
|
-
ksUat?: string | null;
|
|
56
50
|
}
|
|
57
51
|
|
|
58
52
|
export interface GetTemporalWorkflowStatusRequest {
|
|
59
53
|
workflowId: string;
|
|
60
|
-
authorization?: string | null;
|
|
61
|
-
ksUat?: string | null;
|
|
62
54
|
}
|
|
63
55
|
|
|
64
56
|
export interface ListDvWorkflowsRequest {
|
|
65
57
|
limit?: number;
|
|
66
58
|
offset?: number;
|
|
67
|
-
authorization?: string | null;
|
|
68
|
-
ksUat?: string | null;
|
|
69
59
|
}
|
|
70
60
|
|
|
71
61
|
/**
|
|
@@ -78,8 +68,6 @@ export interface WorkflowsApiInterface {
|
|
|
78
68
|
/**
|
|
79
69
|
* Creates request options for cancelTemporalWorkflow without sending the request
|
|
80
70
|
* @param {string} workflowId
|
|
81
|
-
* @param {string} [authorization]
|
|
82
|
-
* @param {string} [ksUat]
|
|
83
71
|
* @throws {RequiredError}
|
|
84
72
|
* @memberof WorkflowsApiInterface
|
|
85
73
|
*/
|
|
@@ -89,8 +77,6 @@ export interface WorkflowsApiInterface {
|
|
|
89
77
|
* Cancel any Temporal workflow owned by the caller\'s tenant. No status guard — this is a thin Temporal wrapper. Cancelling an already-terminal workflow is a no-op on the Temporal side.
|
|
90
78
|
* @summary Cancel Temporal Workflow Handler
|
|
91
79
|
* @param {string} workflowId
|
|
92
|
-
* @param {string} [authorization]
|
|
93
|
-
* @param {string} [ksUat]
|
|
94
80
|
* @param {*} [options] Override http request option.
|
|
95
81
|
* @throws {RequiredError}
|
|
96
82
|
* @memberof WorkflowsApiInterface
|
|
@@ -106,8 +92,6 @@ export interface WorkflowsApiInterface {
|
|
|
106
92
|
/**
|
|
107
93
|
* Creates request options for dvWorkflowRerun without sending the request
|
|
108
94
|
* @param {string} workflowId
|
|
109
|
-
* @param {string} [authorization]
|
|
110
|
-
* @param {string} [ksUat]
|
|
111
95
|
* @throws {RequiredError}
|
|
112
96
|
* @memberof WorkflowsApiInterface
|
|
113
97
|
*/
|
|
@@ -117,8 +101,6 @@ export interface WorkflowsApiInterface {
|
|
|
117
101
|
* Rerun a workflow. USER role requires ``can_write`` on the document path. ``s3_client`` is injected because ``DocumentIngestionService.__init__`` requires it, even though the re-ingestion path reuses the existing S3 source.
|
|
118
102
|
* @summary Dv Workflow Rerun Handler
|
|
119
103
|
* @param {string} workflowId
|
|
120
|
-
* @param {string} [authorization]
|
|
121
|
-
* @param {string} [ksUat]
|
|
122
104
|
* @param {*} [options] Override http request option.
|
|
123
105
|
* @throws {RequiredError}
|
|
124
106
|
* @memberof WorkflowsApiInterface
|
|
@@ -134,8 +116,6 @@ export interface WorkflowsApiInterface {
|
|
|
134
116
|
/**
|
|
135
117
|
* Creates request options for getDvWorkflow without sending the request
|
|
136
118
|
* @param {string} workflowId
|
|
137
|
-
* @param {string} [authorization]
|
|
138
|
-
* @param {string} [ksUat]
|
|
139
119
|
* @throws {RequiredError}
|
|
140
120
|
* @memberof WorkflowsApiInterface
|
|
141
121
|
*/
|
|
@@ -145,8 +125,6 @@ export interface WorkflowsApiInterface {
|
|
|
145
125
|
* Get single workflow detail with live Temporal status.
|
|
146
126
|
* @summary Get Dv Workflow Handler
|
|
147
127
|
* @param {string} workflowId
|
|
148
|
-
* @param {string} [authorization]
|
|
149
|
-
* @param {string} [ksUat]
|
|
150
128
|
* @param {*} [options] Override http request option.
|
|
151
129
|
* @throws {RequiredError}
|
|
152
130
|
* @memberof WorkflowsApiInterface
|
|
@@ -162,8 +140,6 @@ export interface WorkflowsApiInterface {
|
|
|
162
140
|
/**
|
|
163
141
|
* Creates request options for getTemporalWorkflowStatus without sending the request
|
|
164
142
|
* @param {string} workflowId
|
|
165
|
-
* @param {string} [authorization]
|
|
166
|
-
* @param {string} [ksUat]
|
|
167
143
|
* @throws {RequiredError}
|
|
168
144
|
* @memberof WorkflowsApiInterface
|
|
169
145
|
*/
|
|
@@ -173,8 +149,6 @@ export interface WorkflowsApiInterface {
|
|
|
173
149
|
* Get live Temporal status for any workflow owned by the caller\'s tenant.
|
|
174
150
|
* @summary Get Temporal Workflow Status Handler
|
|
175
151
|
* @param {string} workflowId
|
|
176
|
-
* @param {string} [authorization]
|
|
177
|
-
* @param {string} [ksUat]
|
|
178
152
|
* @param {*} [options] Override http request option.
|
|
179
153
|
* @throws {RequiredError}
|
|
180
154
|
* @memberof WorkflowsApiInterface
|
|
@@ -191,8 +165,6 @@ export interface WorkflowsApiInterface {
|
|
|
191
165
|
* Creates request options for listDvWorkflows without sending the request
|
|
192
166
|
* @param {number} [limit] Number of items per page
|
|
193
167
|
* @param {number} [offset] Number of items to skip
|
|
194
|
-
* @param {string} [authorization]
|
|
195
|
-
* @param {string} [ksUat]
|
|
196
168
|
* @throws {RequiredError}
|
|
197
169
|
* @memberof WorkflowsApiInterface
|
|
198
170
|
*/
|
|
@@ -203,8 +175,6 @@ export interface WorkflowsApiInterface {
|
|
|
203
175
|
* @summary List Dv Workflows Handler
|
|
204
176
|
* @param {number} [limit] Number of items per page
|
|
205
177
|
* @param {number} [offset] Number of items to skip
|
|
206
|
-
* @param {string} [authorization]
|
|
207
|
-
* @param {string} [ksUat]
|
|
208
178
|
* @param {*} [options] Override http request option.
|
|
209
179
|
* @throws {RequiredError}
|
|
210
180
|
* @memberof WorkflowsApiInterface
|
|
@@ -239,10 +209,14 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
239
209
|
|
|
240
210
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
241
211
|
|
|
242
|
-
if (
|
|
243
|
-
|
|
244
|
-
|
|
212
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
213
|
+
const token = this.configuration.accessToken;
|
|
214
|
+
const tokenString = await token("bearerAuth", []);
|
|
245
215
|
|
|
216
|
+
if (tokenString) {
|
|
217
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
246
220
|
|
|
247
221
|
let urlPath = `/v1/workflows/{workflow_id}`;
|
|
248
222
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -290,10 +264,14 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
290
264
|
|
|
291
265
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
292
266
|
|
|
293
|
-
if (
|
|
294
|
-
|
|
295
|
-
|
|
267
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
268
|
+
const token = this.configuration.accessToken;
|
|
269
|
+
const tokenString = await token("bearerAuth", []);
|
|
296
270
|
|
|
271
|
+
if (tokenString) {
|
|
272
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
297
275
|
|
|
298
276
|
let urlPath = `/v1/workflows/document_versions/{workflow_id}`;
|
|
299
277
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -341,10 +319,14 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
341
319
|
|
|
342
320
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
343
321
|
|
|
344
|
-
if (
|
|
345
|
-
|
|
346
|
-
|
|
322
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
323
|
+
const token = this.configuration.accessToken;
|
|
324
|
+
const tokenString = await token("bearerAuth", []);
|
|
347
325
|
|
|
326
|
+
if (tokenString) {
|
|
327
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
348
330
|
|
|
349
331
|
let urlPath = `/v1/workflows/document_versions/{workflow_id}`;
|
|
350
332
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -392,10 +374,14 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
392
374
|
|
|
393
375
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
394
376
|
|
|
395
|
-
if (
|
|
396
|
-
|
|
397
|
-
|
|
377
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
378
|
+
const token = this.configuration.accessToken;
|
|
379
|
+
const tokenString = await token("bearerAuth", []);
|
|
398
380
|
|
|
381
|
+
if (tokenString) {
|
|
382
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
399
385
|
|
|
400
386
|
let urlPath = `/v1/workflows/{workflow_id}`;
|
|
401
387
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -444,10 +430,14 @@ export class WorkflowsApi extends runtime.BaseAPI implements WorkflowsApiInterfa
|
|
|
444
430
|
|
|
445
431
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
446
432
|
|
|
447
|
-
if (
|
|
448
|
-
|
|
449
|
-
|
|
433
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
434
|
+
const token = this.configuration.accessToken;
|
|
435
|
+
const tokenString = await token("bearerAuth", []);
|
|
450
436
|
|
|
437
|
+
if (tokenString) {
|
|
438
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
451
441
|
|
|
452
442
|
let urlPath = `/v1/workflows/document_versions`;
|
|
453
443
|
|
package/src/apis/index.ts
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AgentApi';
|
|
4
4
|
export * from './ApiKeysApi';
|
|
5
|
+
export * from './AuditEventsApi';
|
|
5
6
|
export * from './AuthApi';
|
|
6
7
|
export * from './ChunkLineagesApi';
|
|
7
8
|
export * from './ChunksApi';
|
|
9
|
+
export * from './DataSourcesApi';
|
|
8
10
|
export * from './DefaultApi';
|
|
9
11
|
export * from './DocumentCheckoutApi';
|
|
10
12
|
export * from './DocumentVersionsApi';
|
|
@@ -13,6 +15,7 @@ export * from './FeaturesApi';
|
|
|
13
15
|
export * from './FeedbackApi';
|
|
14
16
|
export * from './FoldersApi';
|
|
15
17
|
export * from './InvitesApi';
|
|
18
|
+
export * from './MemoryApi';
|
|
16
19
|
export * from './PathPartApprovalsApi';
|
|
17
20
|
export * from './PathPartsApi';
|
|
18
21
|
export * from './PublicApi';
|
|
@@ -23,6 +26,7 @@ export * from './TenantGroupsApi';
|
|
|
23
26
|
export * from './TenantsApi';
|
|
24
27
|
export * from './ThreadMessagesApi';
|
|
25
28
|
export * from './ThreadsApi';
|
|
29
|
+
export * from './TrashApi';
|
|
26
30
|
export * from './UserPermissionsApi';
|
|
27
31
|
export * from './UsersApi';
|
|
28
32
|
export * from './WorkflowDefinitionsApi';
|