@knowledge-stack/ksapi 1.95.4 → 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
|
@@ -42,14 +42,10 @@ import {
|
|
|
42
42
|
|
|
43
43
|
export interface CreateWorkflowDefinitionOperationRequest {
|
|
44
44
|
createWorkflowDefinitionRequest: CreateWorkflowDefinitionRequest;
|
|
45
|
-
authorization?: string | null;
|
|
46
|
-
ksUat?: string | null;
|
|
47
45
|
}
|
|
48
46
|
|
|
49
47
|
export interface CreateWorkflowRunRequest {
|
|
50
48
|
definitionId: string;
|
|
51
|
-
authorization?: string | null;
|
|
52
|
-
ksUat?: string | null;
|
|
53
49
|
files?: Array<Blob>;
|
|
54
50
|
inputScope?: string | null;
|
|
55
51
|
idempotencyKey?: string | null;
|
|
@@ -57,36 +53,26 @@ export interface CreateWorkflowRunRequest {
|
|
|
57
53
|
|
|
58
54
|
export interface DeleteWorkflowDefinitionRequest {
|
|
59
55
|
definitionId: string;
|
|
60
|
-
authorization?: string | null;
|
|
61
|
-
ksUat?: string | null;
|
|
62
56
|
}
|
|
63
57
|
|
|
64
58
|
export interface GetWorkflowDefinitionRequest {
|
|
65
59
|
definitionId: string;
|
|
66
|
-
authorization?: string | null;
|
|
67
|
-
ksUat?: string | null;
|
|
68
60
|
}
|
|
69
61
|
|
|
70
62
|
export interface ListWorkflowDefinitionsRequest {
|
|
71
63
|
limit?: number;
|
|
72
64
|
offset?: number;
|
|
73
|
-
authorization?: string | null;
|
|
74
|
-
ksUat?: string | null;
|
|
75
65
|
}
|
|
76
66
|
|
|
77
67
|
export interface ListWorkflowRunsRequest {
|
|
78
68
|
definitionId: string;
|
|
79
69
|
limit?: number;
|
|
80
70
|
offset?: number;
|
|
81
|
-
authorization?: string | null;
|
|
82
|
-
ksUat?: string | null;
|
|
83
71
|
}
|
|
84
72
|
|
|
85
73
|
export interface UpdateWorkflowDefinitionOperationRequest {
|
|
86
74
|
definitionId: string;
|
|
87
75
|
updateWorkflowDefinitionRequest: UpdateWorkflowDefinitionRequest;
|
|
88
|
-
authorization?: string | null;
|
|
89
|
-
ksUat?: string | null;
|
|
90
76
|
}
|
|
91
77
|
|
|
92
78
|
/**
|
|
@@ -99,8 +85,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
99
85
|
/**
|
|
100
86
|
* Creates request options for createWorkflowDefinition without sending the request
|
|
101
87
|
* @param {CreateWorkflowDefinitionRequest} createWorkflowDefinitionRequest
|
|
102
|
-
* @param {string} [authorization]
|
|
103
|
-
* @param {string} [ksUat]
|
|
104
88
|
* @throws {RequiredError}
|
|
105
89
|
* @memberof WorkflowDefinitionsApiInterface
|
|
106
90
|
*/
|
|
@@ -110,8 +94,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
110
94
|
*
|
|
111
95
|
* @summary Create Workflow Definition Handler
|
|
112
96
|
* @param {CreateWorkflowDefinitionRequest} createWorkflowDefinitionRequest
|
|
113
|
-
* @param {string} [authorization]
|
|
114
|
-
* @param {string} [ksUat]
|
|
115
97
|
* @param {*} [options] Override http request option.
|
|
116
98
|
* @throws {RequiredError}
|
|
117
99
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -126,8 +108,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
126
108
|
/**
|
|
127
109
|
* Creates request options for createWorkflowRun without sending the request
|
|
128
110
|
* @param {string} definitionId
|
|
129
|
-
* @param {string} [authorization]
|
|
130
|
-
* @param {string} [ksUat]
|
|
131
111
|
* @param {Array<Blob>} [files] DEPRECATED — do not send files here. Carrying file bytes on run creation makes the call block on synchronous S3 upload (the ~30s \\\'Create run\\\' wait). Instead create an empty draft (omit this field), then upload each file to the run\\\'s ``inputs/`` folder via ``POST /v1/documents/ingest`` with ``path_part_id`` set to the run\\\'s ``inputs_path_part_id``; that path ingests asynchronously and auto-syncs the run\\\'s state. This field will be removed once the FE has migrated.
|
|
132
112
|
* @param {string} [inputScope] JSON array of ``DOCUMENT`` or ``FOLDER`` path_part UUIDs referenced from the existing knowledge base, pinned onto the new draft\\\'s input scope. Optional — omit for an empty draft and add references later via PATCH.
|
|
133
113
|
* @param {string} [idempotencyKey] Optional key to prevent duplicate runs from retries.
|
|
@@ -140,8 +120,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
140
120
|
* Create a NOT_STARTED run draft, optionally seeded with KB references. All three fields are optional: an empty request creates an empty draft instantly (the two-step flow — the FE then uploads files into the run\'s ``inputs/`` folder and/or PATCHes ``input_scope`` before Start). Each ``input_scope`` entry is resolved per its part_type: a DOCUMENT is pinned to its active ``DOCUMENT_VERSION``; a FOLDER is pinned by reference only and read live by the runner. ``files`` is DEPRECATED — see the field description. When supplied, uploads are still ingested under ``runs/<id>/inputs/`` so callers mid-migration keep working, but the call blocks on synchronous S3 upload.
|
|
141
121
|
* @summary Create Workflow Run Handler
|
|
142
122
|
* @param {string} definitionId
|
|
143
|
-
* @param {string} [authorization]
|
|
144
|
-
* @param {string} [ksUat]
|
|
145
123
|
* @param {Array<Blob>} [files] DEPRECATED — do not send files here. Carrying file bytes on run creation makes the call block on synchronous S3 upload (the ~30s \\\'Create run\\\' wait). Instead create an empty draft (omit this field), then upload each file to the run\\\'s ``inputs/`` folder via ``POST /v1/documents/ingest`` with ``path_part_id`` set to the run\\\'s ``inputs_path_part_id``; that path ingests asynchronously and auto-syncs the run\\\'s state. This field will be removed once the FE has migrated.
|
|
146
124
|
* @param {string} [inputScope] JSON array of ``DOCUMENT`` or ``FOLDER`` path_part UUIDs referenced from the existing knowledge base, pinned onto the new draft\\\'s input scope. Optional — omit for an empty draft and add references later via PATCH.
|
|
147
125
|
* @param {string} [idempotencyKey] Optional key to prevent duplicate runs from retries.
|
|
@@ -160,8 +138,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
160
138
|
/**
|
|
161
139
|
* Creates request options for deleteWorkflowDefinition without sending the request
|
|
162
140
|
* @param {string} definitionId
|
|
163
|
-
* @param {string} [authorization]
|
|
164
|
-
* @param {string} [ksUat]
|
|
165
141
|
* @throws {RequiredError}
|
|
166
142
|
* @memberof WorkflowDefinitionsApiInterface
|
|
167
143
|
*/
|
|
@@ -171,8 +147,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
171
147
|
*
|
|
172
148
|
* @summary Delete Workflow Definition Handler
|
|
173
149
|
* @param {string} definitionId
|
|
174
|
-
* @param {string} [authorization]
|
|
175
|
-
* @param {string} [ksUat]
|
|
176
150
|
* @param {*} [options] Override http request option.
|
|
177
151
|
* @throws {RequiredError}
|
|
178
152
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -187,8 +161,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
187
161
|
/**
|
|
188
162
|
* Creates request options for getWorkflowDefinition without sending the request
|
|
189
163
|
* @param {string} definitionId
|
|
190
|
-
* @param {string} [authorization]
|
|
191
|
-
* @param {string} [ksUat]
|
|
192
164
|
* @throws {RequiredError}
|
|
193
165
|
* @memberof WorkflowDefinitionsApiInterface
|
|
194
166
|
*/
|
|
@@ -198,8 +170,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
198
170
|
*
|
|
199
171
|
* @summary Get Workflow Definition Handler
|
|
200
172
|
* @param {string} definitionId
|
|
201
|
-
* @param {string} [authorization]
|
|
202
|
-
* @param {string} [ksUat]
|
|
203
173
|
* @param {*} [options] Override http request option.
|
|
204
174
|
* @throws {RequiredError}
|
|
205
175
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -215,8 +185,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
215
185
|
* Creates request options for listWorkflowDefinitions without sending the request
|
|
216
186
|
* @param {number} [limit] Number of items per page
|
|
217
187
|
* @param {number} [offset] Number of items to skip
|
|
218
|
-
* @param {string} [authorization]
|
|
219
|
-
* @param {string} [ksUat]
|
|
220
188
|
* @throws {RequiredError}
|
|
221
189
|
* @memberof WorkflowDefinitionsApiInterface
|
|
222
190
|
*/
|
|
@@ -227,8 +195,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
227
195
|
* @summary List Workflow Definitions Handler
|
|
228
196
|
* @param {number} [limit] Number of items per page
|
|
229
197
|
* @param {number} [offset] Number of items to skip
|
|
230
|
-
* @param {string} [authorization]
|
|
231
|
-
* @param {string} [ksUat]
|
|
232
198
|
* @param {*} [options] Override http request option.
|
|
233
199
|
* @throws {RequiredError}
|
|
234
200
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -245,8 +211,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
245
211
|
* @param {string} definitionId
|
|
246
212
|
* @param {number} [limit] Number of items per page
|
|
247
213
|
* @param {number} [offset] Number of items to skip
|
|
248
|
-
* @param {string} [authorization]
|
|
249
|
-
* @param {string} [ksUat]
|
|
250
214
|
* @throws {RequiredError}
|
|
251
215
|
* @memberof WorkflowDefinitionsApiInterface
|
|
252
216
|
*/
|
|
@@ -258,8 +222,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
258
222
|
* @param {string} definitionId
|
|
259
223
|
* @param {number} [limit] Number of items per page
|
|
260
224
|
* @param {number} [offset] Number of items to skip
|
|
261
|
-
* @param {string} [authorization]
|
|
262
|
-
* @param {string} [ksUat]
|
|
263
225
|
* @param {*} [options] Override http request option.
|
|
264
226
|
* @throws {RequiredError}
|
|
265
227
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -275,8 +237,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
275
237
|
* Creates request options for updateWorkflowDefinition without sending the request
|
|
276
238
|
* @param {string} definitionId
|
|
277
239
|
* @param {UpdateWorkflowDefinitionRequest} updateWorkflowDefinitionRequest
|
|
278
|
-
* @param {string} [authorization]
|
|
279
|
-
* @param {string} [ksUat]
|
|
280
240
|
* @throws {RequiredError}
|
|
281
241
|
* @memberof WorkflowDefinitionsApiInterface
|
|
282
242
|
*/
|
|
@@ -287,8 +247,6 @@ export interface WorkflowDefinitionsApiInterface {
|
|
|
287
247
|
* @summary Update Workflow Definition Handler
|
|
288
248
|
* @param {string} definitionId
|
|
289
249
|
* @param {UpdateWorkflowDefinitionRequest} updateWorkflowDefinitionRequest
|
|
290
|
-
* @param {string} [authorization]
|
|
291
|
-
* @param {string} [ksUat]
|
|
292
250
|
* @param {*} [options] Override http request option.
|
|
293
251
|
* @throws {RequiredError}
|
|
294
252
|
* @memberof WorkflowDefinitionsApiInterface
|
|
@@ -324,10 +282,14 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
|
|
|
324
282
|
|
|
325
283
|
headerParameters['Content-Type'] = 'application/json';
|
|
326
284
|
|
|
327
|
-
if (
|
|
328
|
-
|
|
329
|
-
|
|
285
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
286
|
+
const token = this.configuration.accessToken;
|
|
287
|
+
const tokenString = await token("bearerAuth", []);
|
|
330
288
|
|
|
289
|
+
if (tokenString) {
|
|
290
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
331
293
|
|
|
332
294
|
let urlPath = `/v1/workflow-definitions`;
|
|
333
295
|
|
|
@@ -373,10 +335,14 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
|
|
|
373
335
|
|
|
374
336
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
375
337
|
|
|
376
|
-
if (
|
|
377
|
-
|
|
378
|
-
|
|
338
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
339
|
+
const token = this.configuration.accessToken;
|
|
340
|
+
const tokenString = await token("bearerAuth", []);
|
|
379
341
|
|
|
342
|
+
if (tokenString) {
|
|
343
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
380
346
|
const consumes: runtime.Consume[] = [
|
|
381
347
|
{ contentType: 'multipart/form-data' },
|
|
382
348
|
];
|
|
@@ -455,10 +421,14 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
|
|
|
455
421
|
|
|
456
422
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
457
423
|
|
|
458
|
-
if (
|
|
459
|
-
|
|
460
|
-
|
|
424
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
425
|
+
const token = this.configuration.accessToken;
|
|
426
|
+
const tokenString = await token("bearerAuth", []);
|
|
461
427
|
|
|
428
|
+
if (tokenString) {
|
|
429
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
462
432
|
|
|
463
433
|
let urlPath = `/v1/workflow-definitions/{definition_id}`;
|
|
464
434
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -503,10 +473,14 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
|
|
|
503
473
|
|
|
504
474
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
505
475
|
|
|
506
|
-
if (
|
|
507
|
-
|
|
508
|
-
|
|
476
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
477
|
+
const token = this.configuration.accessToken;
|
|
478
|
+
const tokenString = await token("bearerAuth", []);
|
|
509
479
|
|
|
480
|
+
if (tokenString) {
|
|
481
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
510
484
|
|
|
511
485
|
let urlPath = `/v1/workflow-definitions/{definition_id}`;
|
|
512
486
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -553,10 +527,14 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
|
|
|
553
527
|
|
|
554
528
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
555
529
|
|
|
556
|
-
if (
|
|
557
|
-
|
|
558
|
-
|
|
530
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
531
|
+
const token = this.configuration.accessToken;
|
|
532
|
+
const tokenString = await token("bearerAuth", []);
|
|
559
533
|
|
|
534
|
+
if (tokenString) {
|
|
535
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
560
538
|
|
|
561
539
|
let urlPath = `/v1/workflow-definitions`;
|
|
562
540
|
|
|
@@ -609,10 +587,14 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
|
|
|
609
587
|
|
|
610
588
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
611
589
|
|
|
612
|
-
if (
|
|
613
|
-
|
|
614
|
-
|
|
590
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
591
|
+
const token = this.configuration.accessToken;
|
|
592
|
+
const tokenString = await token("bearerAuth", []);
|
|
615
593
|
|
|
594
|
+
if (tokenString) {
|
|
595
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
616
598
|
|
|
617
599
|
let urlPath = `/v1/workflow-definitions/{definition_id}/runs`;
|
|
618
600
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -667,10 +649,14 @@ export class WorkflowDefinitionsApi extends runtime.BaseAPI implements WorkflowD
|
|
|
667
649
|
|
|
668
650
|
headerParameters['Content-Type'] = 'application/json';
|
|
669
651
|
|
|
670
|
-
if (
|
|
671
|
-
|
|
672
|
-
|
|
652
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
653
|
+
const token = this.configuration.accessToken;
|
|
654
|
+
const tokenString = await token("bearerAuth", []);
|
|
673
655
|
|
|
656
|
+
if (tokenString) {
|
|
657
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
674
660
|
|
|
675
661
|
let urlPath = `/v1/workflow-definitions/{definition_id}`;
|
|
676
662
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -37,38 +37,28 @@ import {
|
|
|
37
37
|
export interface AppendWorkflowMemoryChunkRequest {
|
|
38
38
|
definitionId: string;
|
|
39
39
|
appendMemoryChunkRequest: AppendMemoryChunkRequest;
|
|
40
|
-
authorization?: string | null;
|
|
41
|
-
ksUat?: string | null;
|
|
42
40
|
}
|
|
43
41
|
|
|
44
42
|
export interface EditWorkflowMemoryChunkRequest {
|
|
45
43
|
definitionId: string;
|
|
46
44
|
chunkId: string;
|
|
47
45
|
editMemoryChunkRequest: EditMemoryChunkRequest;
|
|
48
|
-
authorization?: string | null;
|
|
49
|
-
ksUat?: string | null;
|
|
50
46
|
}
|
|
51
47
|
|
|
52
48
|
export interface ForgetWorkflowMemoryChunkRequest {
|
|
53
49
|
definitionId: string;
|
|
54
50
|
chunkId: string;
|
|
55
|
-
authorization?: string | null;
|
|
56
|
-
ksUat?: string | null;
|
|
57
51
|
}
|
|
58
52
|
|
|
59
53
|
export interface GetWorkflowMemoryChunkRequest {
|
|
60
54
|
definitionId: string;
|
|
61
55
|
chunkId: string;
|
|
62
|
-
authorization?: string | null;
|
|
63
|
-
ksUat?: string | null;
|
|
64
56
|
}
|
|
65
57
|
|
|
66
58
|
export interface ListWorkflowMemoryChunksRequest {
|
|
67
59
|
definitionId: string;
|
|
68
60
|
limit?: number;
|
|
69
61
|
offset?: number;
|
|
70
|
-
authorization?: string | null;
|
|
71
|
-
ksUat?: string | null;
|
|
72
62
|
}
|
|
73
63
|
|
|
74
64
|
/**
|
|
@@ -82,8 +72,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
82
72
|
* Creates request options for appendWorkflowMemoryChunk without sending the request
|
|
83
73
|
* @param {string} definitionId
|
|
84
74
|
* @param {AppendMemoryChunkRequest} appendMemoryChunkRequest
|
|
85
|
-
* @param {string} [authorization]
|
|
86
|
-
* @param {string} [ksUat]
|
|
87
75
|
* @throws {RequiredError}
|
|
88
76
|
* @memberof WorkflowMemoryApiInterface
|
|
89
77
|
*/
|
|
@@ -94,8 +82,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
94
82
|
* @summary Append Workflow Memory Chunk Handler
|
|
95
83
|
* @param {string} definitionId
|
|
96
84
|
* @param {AppendMemoryChunkRequest} appendMemoryChunkRequest
|
|
97
|
-
* @param {string} [authorization]
|
|
98
|
-
* @param {string} [ksUat]
|
|
99
85
|
* @param {*} [options] Override http request option.
|
|
100
86
|
* @throws {RequiredError}
|
|
101
87
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -112,8 +98,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
112
98
|
* @param {string} definitionId
|
|
113
99
|
* @param {string} chunkId
|
|
114
100
|
* @param {EditMemoryChunkRequest} editMemoryChunkRequest
|
|
115
|
-
* @param {string} [authorization]
|
|
116
|
-
* @param {string} [ksUat]
|
|
117
101
|
* @throws {RequiredError}
|
|
118
102
|
* @memberof WorkflowMemoryApiInterface
|
|
119
103
|
*/
|
|
@@ -125,8 +109,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
125
109
|
* @param {string} definitionId
|
|
126
110
|
* @param {string} chunkId
|
|
127
111
|
* @param {EditMemoryChunkRequest} editMemoryChunkRequest
|
|
128
|
-
* @param {string} [authorization]
|
|
129
|
-
* @param {string} [ksUat]
|
|
130
112
|
* @param {*} [options] Override http request option.
|
|
131
113
|
* @throws {RequiredError}
|
|
132
114
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -142,8 +124,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
142
124
|
* Creates request options for forgetWorkflowMemoryChunk without sending the request
|
|
143
125
|
* @param {string} definitionId
|
|
144
126
|
* @param {string} chunkId
|
|
145
|
-
* @param {string} [authorization]
|
|
146
|
-
* @param {string} [ksUat]
|
|
147
127
|
* @throws {RequiredError}
|
|
148
128
|
* @memberof WorkflowMemoryApiInterface
|
|
149
129
|
*/
|
|
@@ -154,8 +134,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
154
134
|
* @summary Forget Workflow Memory Chunk Handler
|
|
155
135
|
* @param {string} definitionId
|
|
156
136
|
* @param {string} chunkId
|
|
157
|
-
* @param {string} [authorization]
|
|
158
|
-
* @param {string} [ksUat]
|
|
159
137
|
* @param {*} [options] Override http request option.
|
|
160
138
|
* @throws {RequiredError}
|
|
161
139
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -171,8 +149,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
171
149
|
* Creates request options for getWorkflowMemoryChunk without sending the request
|
|
172
150
|
* @param {string} definitionId
|
|
173
151
|
* @param {string} chunkId
|
|
174
|
-
* @param {string} [authorization]
|
|
175
|
-
* @param {string} [ksUat]
|
|
176
152
|
* @throws {RequiredError}
|
|
177
153
|
* @memberof WorkflowMemoryApiInterface
|
|
178
154
|
*/
|
|
@@ -183,8 +159,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
183
159
|
* @summary Get Workflow Memory Chunk Handler
|
|
184
160
|
* @param {string} definitionId
|
|
185
161
|
* @param {string} chunkId
|
|
186
|
-
* @param {string} [authorization]
|
|
187
|
-
* @param {string} [ksUat]
|
|
188
162
|
* @param {*} [options] Override http request option.
|
|
189
163
|
* @throws {RequiredError}
|
|
190
164
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -201,8 +175,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
201
175
|
* @param {string} definitionId
|
|
202
176
|
* @param {number} [limit] Number of items per page
|
|
203
177
|
* @param {number} [offset] Number of items to skip
|
|
204
|
-
* @param {string} [authorization]
|
|
205
|
-
* @param {string} [ksUat]
|
|
206
178
|
* @throws {RequiredError}
|
|
207
179
|
* @memberof WorkflowMemoryApiInterface
|
|
208
180
|
*/
|
|
@@ -214,8 +186,6 @@ export interface WorkflowMemoryApiInterface {
|
|
|
214
186
|
* @param {string} definitionId
|
|
215
187
|
* @param {number} [limit] Number of items per page
|
|
216
188
|
* @param {number} [offset] Number of items to skip
|
|
217
|
-
* @param {string} [authorization]
|
|
218
|
-
* @param {string} [ksUat]
|
|
219
189
|
* @param {*} [options] Override http request option.
|
|
220
190
|
* @throws {RequiredError}
|
|
221
191
|
* @memberof WorkflowMemoryApiInterface
|
|
@@ -258,10 +228,14 @@ export class WorkflowMemoryApi extends runtime.BaseAPI implements WorkflowMemory
|
|
|
258
228
|
|
|
259
229
|
headerParameters['Content-Type'] = 'application/json';
|
|
260
230
|
|
|
261
|
-
if (
|
|
262
|
-
|
|
263
|
-
|
|
231
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
232
|
+
const token = this.configuration.accessToken;
|
|
233
|
+
const tokenString = await token("bearerAuth", []);
|
|
264
234
|
|
|
235
|
+
if (tokenString) {
|
|
236
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
265
239
|
|
|
266
240
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks`;
|
|
267
241
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -324,10 +298,14 @@ export class WorkflowMemoryApi extends runtime.BaseAPI implements WorkflowMemory
|
|
|
324
298
|
|
|
325
299
|
headerParameters['Content-Type'] = 'application/json';
|
|
326
300
|
|
|
327
|
-
if (
|
|
328
|
-
|
|
329
|
-
|
|
301
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
302
|
+
const token = this.configuration.accessToken;
|
|
303
|
+
const tokenString = await token("bearerAuth", []);
|
|
330
304
|
|
|
305
|
+
if (tokenString) {
|
|
306
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
331
309
|
|
|
332
310
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
333
311
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -382,10 +360,14 @@ export class WorkflowMemoryApi extends runtime.BaseAPI implements WorkflowMemory
|
|
|
382
360
|
|
|
383
361
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
384
362
|
|
|
385
|
-
if (
|
|
386
|
-
|
|
387
|
-
|
|
363
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
364
|
+
const token = this.configuration.accessToken;
|
|
365
|
+
const tokenString = await token("bearerAuth", []);
|
|
388
366
|
|
|
367
|
+
if (tokenString) {
|
|
368
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
389
371
|
|
|
390
372
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
391
373
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -438,10 +420,14 @@ export class WorkflowMemoryApi extends runtime.BaseAPI implements WorkflowMemory
|
|
|
438
420
|
|
|
439
421
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
440
422
|
|
|
441
|
-
if (
|
|
442
|
-
|
|
443
|
-
|
|
423
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
424
|
+
const token = this.configuration.accessToken;
|
|
425
|
+
const tokenString = await token("bearerAuth", []);
|
|
444
426
|
|
|
427
|
+
if (tokenString) {
|
|
428
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
445
431
|
|
|
446
432
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory/chunks/{chunk_id}`;
|
|
447
433
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|
|
@@ -496,10 +482,14 @@ export class WorkflowMemoryApi extends runtime.BaseAPI implements WorkflowMemory
|
|
|
496
482
|
|
|
497
483
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
498
484
|
|
|
499
|
-
if (
|
|
500
|
-
|
|
501
|
-
|
|
485
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
486
|
+
const token = this.configuration.accessToken;
|
|
487
|
+
const tokenString = await token("bearerAuth", []);
|
|
502
488
|
|
|
489
|
+
if (tokenString) {
|
|
490
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
503
493
|
|
|
504
494
|
let urlPath = `/v1/workflow-definitions/{definition_id}/memory`;
|
|
505
495
|
urlPath = urlPath.replace(`{${"definition_id"}}`, encodeURIComponent(String(requestParameters['definitionId'])));
|