@knowledge-stack/ksapi 1.95.3 → 1.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +82 -4
- package/README.md +79 -10
- package/dist/apis/AgentApi.d.ts +0 -12
- package/dist/apis/AgentApi.js +12 -4
- package/dist/apis/ApiKeysApi.d.ts +6 -20
- package/dist/apis/ApiKeysApi.js +6 -6
- package/dist/apis/AuditEventsApi.d.ts +85 -0
- package/dist/apis/AuditEventsApi.js +134 -0
- package/dist/apis/AuthApi.d.ts +0 -24
- package/dist/apis/AuthApi.js +24 -8
- package/dist/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/apis/ChunkLineagesApi.js +18 -6
- package/dist/apis/ChunksApi.d.ts +0 -54
- package/dist/apis/ChunksApi.js +54 -18
- package/dist/apis/DataSourcesApi.d.ts +304 -0
- package/dist/apis/DataSourcesApi.js +421 -0
- package/dist/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/apis/DocumentCheckoutApi.js +18 -6
- package/dist/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/apis/DocumentVersionsApi.js +150 -16
- package/dist/apis/DocumentsApi.d.ts +58 -47
- package/dist/apis/DocumentsApi.js +107 -16
- package/dist/apis/FeedbackApi.d.ts +0 -18
- package/dist/apis/FeedbackApi.js +18 -6
- package/dist/apis/FoldersApi.d.ts +13 -61
- package/dist/apis/FoldersApi.js +52 -20
- package/dist/apis/InvitesApi.d.ts +0 -30
- package/dist/apis/InvitesApi.js +30 -10
- package/dist/apis/MemoryApi.d.ts +207 -0
- package/dist/apis/MemoryApi.js +306 -0
- package/dist/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/apis/PathPartApprovalsApi.js +12 -4
- package/dist/apis/PathPartsApi.d.ts +45 -55
- package/dist/apis/PathPartsApi.js +111 -18
- package/dist/apis/SectionsApi.d.ts +0 -36
- package/dist/apis/SectionsApi.js +36 -12
- package/dist/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/apis/SubscriptionsApi.js +12 -4
- package/dist/apis/TagsApi.d.ts +0 -30
- package/dist/apis/TagsApi.js +30 -10
- package/dist/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/apis/TenantGroupsApi.js +84 -32
- package/dist/apis/TenantsApi.d.ts +0 -72
- package/dist/apis/TenantsApi.js +72 -24
- package/dist/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/apis/ThreadMessagesApi.js +18 -6
- package/dist/apis/ThreadsApi.d.ts +0 -42
- package/dist/apis/ThreadsApi.js +42 -14
- package/dist/apis/TrashApi.d.ts +143 -0
- package/dist/apis/TrashApi.js +210 -0
- package/dist/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/apis/UserPermissionsApi.js +24 -8
- package/dist/apis/UsersApi.d.ts +12 -46
- package/dist/apis/UsersApi.js +42 -22
- package/dist/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/apis/WorkflowMemoryApi.js +30 -10
- package/dist/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/apis/WorkflowRunsApi.js +56 -20
- package/dist/apis/WorkflowsApi.d.ts +0 -30
- package/dist/apis/WorkflowsApi.js +30 -10
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/esm/apis/AgentApi.d.ts +0 -12
- package/dist/esm/apis/AgentApi.js +12 -4
- package/dist/esm/apis/ApiKeysApi.d.ts +6 -20
- package/dist/esm/apis/ApiKeysApi.js +6 -6
- package/dist/esm/apis/AuditEventsApi.d.ts +85 -0
- package/dist/esm/apis/AuditEventsApi.js +97 -0
- package/dist/esm/apis/AuthApi.d.ts +0 -24
- package/dist/esm/apis/AuthApi.js +24 -8
- package/dist/esm/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/esm/apis/ChunkLineagesApi.js +18 -6
- package/dist/esm/apis/ChunksApi.d.ts +0 -54
- package/dist/esm/apis/ChunksApi.js +54 -18
- package/dist/esm/apis/DataSourcesApi.d.ts +304 -0
- package/dist/esm/apis/DataSourcesApi.js +384 -0
- package/dist/esm/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/esm/apis/DocumentCheckoutApi.js +18 -6
- package/dist/esm/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/esm/apis/DocumentVersionsApi.js +151 -17
- package/dist/esm/apis/DocumentsApi.d.ts +58 -47
- package/dist/esm/apis/DocumentsApi.js +108 -17
- package/dist/esm/apis/FeedbackApi.d.ts +0 -18
- package/dist/esm/apis/FeedbackApi.js +18 -6
- package/dist/esm/apis/FoldersApi.d.ts +13 -61
- package/dist/esm/apis/FoldersApi.js +53 -21
- package/dist/esm/apis/InvitesApi.d.ts +0 -30
- package/dist/esm/apis/InvitesApi.js +30 -10
- package/dist/esm/apis/MemoryApi.d.ts +207 -0
- package/dist/esm/apis/MemoryApi.js +269 -0
- package/dist/esm/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/esm/apis/PathPartApprovalsApi.js +12 -4
- package/dist/esm/apis/PathPartsApi.d.ts +45 -55
- package/dist/esm/apis/PathPartsApi.js +112 -19
- package/dist/esm/apis/SectionsApi.d.ts +0 -36
- package/dist/esm/apis/SectionsApi.js +36 -12
- package/dist/esm/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/esm/apis/SubscriptionsApi.js +12 -4
- package/dist/esm/apis/TagsApi.d.ts +0 -30
- package/dist/esm/apis/TagsApi.js +30 -10
- package/dist/esm/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/esm/apis/TenantGroupsApi.js +84 -32
- package/dist/esm/apis/TenantsApi.d.ts +0 -72
- package/dist/esm/apis/TenantsApi.js +72 -24
- package/dist/esm/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/esm/apis/ThreadMessagesApi.js +18 -6
- package/dist/esm/apis/ThreadsApi.d.ts +0 -42
- package/dist/esm/apis/ThreadsApi.js +42 -14
- package/dist/esm/apis/TrashApi.d.ts +143 -0
- package/dist/esm/apis/TrashApi.js +173 -0
- package/dist/esm/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/esm/apis/UserPermissionsApi.js +24 -8
- package/dist/esm/apis/UsersApi.d.ts +12 -46
- package/dist/esm/apis/UsersApi.js +42 -22
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/esm/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/esm/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowMemoryApi.js +30 -10
- package/dist/esm/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/esm/apis/WorkflowRunsApi.js +56 -20
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowsApi.js +30 -10
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/models/AccessCheckResponse.d.ts +59 -0
- package/dist/esm/models/AccessCheckResponse.js +50 -0
- package/dist/esm/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/esm/models/CatalogColumnResponse.js +52 -0
- package/dist/esm/models/CatalogTableResponse.d.ts +54 -0
- package/dist/esm/models/CatalogTableResponse.js +49 -0
- package/dist/esm/models/CellChange.d.ts +72 -0
- package/dist/esm/models/CellChange.js +61 -0
- package/dist/esm/models/CellChangeType.d.ts +26 -0
- package/dist/esm/models/CellChangeType.js +44 -0
- package/dist/esm/models/CellDiff.d.ts +72 -0
- package/dist/esm/models/CellDiff.js +61 -0
- package/dist/esm/models/ColumnConfig.d.ts +71 -0
- package/dist/esm/models/ColumnConfig.js +52 -0
- package/dist/esm/models/ConnectionConfig.d.ts +71 -0
- package/dist/esm/models/ConnectionConfig.js +58 -0
- package/dist/esm/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/esm/models/CreateDataSourceRequest.js +62 -0
- package/dist/esm/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreatePermissionRequest.js +2 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/esm/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/esm/models/DataSourceCatalogResponse.js +45 -0
- package/dist/esm/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/esm/models/DataSourceDetailResponse.js +50 -0
- package/dist/esm/models/DataSourceEngine.d.ts +25 -0
- package/dist/esm/models/DataSourceEngine.js +43 -0
- package/dist/esm/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/esm/models/DataSourceQueryRequest.js +53 -0
- package/dist/esm/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/esm/models/DataSourceQueryResponse.js +60 -0
- package/dist/esm/models/DataSourceResponse.d.ts +119 -0
- package/dist/esm/models/DataSourceResponse.js +90 -0
- package/dist/esm/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/esm/models/DataSourceTableResponse.js +101 -0
- package/dist/esm/models/DiffFormat.d.ts +25 -0
- package/dist/esm/models/DiffFormat.js +43 -0
- package/dist/esm/models/DiffRow.d.ts +90 -0
- package/dist/esm/models/DiffRow.js +58 -0
- package/dist/esm/models/DiffRowType.d.ts +27 -0
- package/dist/esm/models/DiffRowType.js +45 -0
- package/dist/esm/models/DiffSpan.d.ts +53 -0
- package/dist/esm/models/DiffSpan.js +48 -0
- package/dist/esm/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/esm/models/DocumentDownloadResponse.js +61 -0
- package/dist/esm/models/DocumentResponse.d.ts +4 -3
- package/dist/esm/models/DocumentResponse.js +3 -2
- package/dist/esm/models/DownloadArtifact.d.ts +25 -0
- package/dist/esm/models/DownloadArtifact.js +43 -0
- package/dist/esm/models/EventResponse.d.ts +7 -0
- package/dist/esm/models/EventResponse.js +3 -0
- package/dist/esm/models/FolderResponse.d.ts +4 -3
- package/dist/esm/models/FolderResponse.js +3 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +16 -6
- package/dist/esm/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/esm/models/GroupPermissionResponse.js +4 -0
- package/dist/esm/models/ItemPermissions.d.ts +73 -0
- package/dist/esm/models/ItemPermissions.js +56 -0
- package/dist/esm/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/esm/models/MemoryBodyResponse.js +53 -0
- package/dist/esm/models/MemoryScope.d.ts +29 -0
- package/dist/esm/models/MemoryScope.js +47 -0
- package/dist/esm/models/ModelTableRequest.d.ts +66 -0
- package/dist/esm/models/ModelTableRequest.js +51 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.js +70 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.js +70 -0
- package/dist/esm/models/PartType.d.ts +2 -0
- package/dist/esm/models/PartType.js +3 -1
- package/dist/esm/models/PathPartResponse.d.ts +4 -9
- package/dist/esm/models/PathPartResponse.js +4 -7
- package/dist/esm/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/PendingMemoryChunkResponse.js +74 -0
- package/dist/esm/models/PermissionCapability.d.ts +2 -1
- package/dist/esm/models/PermissionCapability.js +3 -2
- package/dist/esm/models/PermissionResponse.d.ts +6 -0
- package/dist/esm/models/PermissionResponse.js +4 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.js +71 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.js +74 -0
- package/dist/esm/models/ReferenceType.d.ts +2 -0
- package/dist/esm/models/ReferenceType.js +2 -0
- package/dist/esm/models/TextDiff.d.ts +72 -0
- package/dist/esm/models/TextDiff.js +61 -0
- package/dist/esm/models/TrashItemResponse.d.ts +90 -0
- package/dist/esm/models/TrashItemResponse.js +73 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdatePermissionRequest.js +2 -0
- package/dist/esm/models/UpdateTableRequest.d.ts +54 -0
- package/dist/esm/models/UpdateTableRequest.js +45 -0
- package/dist/esm/models/VersionDiffResponse.d.ts +89 -0
- package/dist/esm/models/VersionDiffResponse.js +63 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/esm/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowRunResponse.js +3 -0
- package/dist/esm/models/index.d.ts +37 -2
- package/dist/esm/models/index.js +37 -2
- package/dist/models/AccessCheckResponse.d.ts +59 -0
- package/dist/models/AccessCheckResponse.js +58 -0
- package/dist/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/models/CatalogColumnResponse.js +60 -0
- package/dist/models/CatalogTableResponse.d.ts +54 -0
- package/dist/models/CatalogTableResponse.js +57 -0
- package/dist/models/CellChange.d.ts +72 -0
- package/dist/models/CellChange.js +69 -0
- package/dist/models/CellChangeType.d.ts +26 -0
- package/dist/models/CellChangeType.js +52 -0
- package/dist/models/CellDiff.d.ts +72 -0
- package/dist/models/CellDiff.js +69 -0
- package/dist/models/ColumnConfig.d.ts +71 -0
- package/dist/models/ColumnConfig.js +60 -0
- package/dist/models/ConnectionConfig.d.ts +71 -0
- package/dist/models/ConnectionConfig.js +66 -0
- package/dist/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/models/CreateDataSourceRequest.js +70 -0
- package/dist/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/models/CreatePermissionRequest.js +2 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/models/DataSourceCatalogResponse.js +53 -0
- package/dist/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/models/DataSourceDetailResponse.js +58 -0
- package/dist/models/DataSourceEngine.d.ts +25 -0
- package/dist/models/DataSourceEngine.js +51 -0
- package/dist/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/models/DataSourceQueryRequest.js +61 -0
- package/dist/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/models/DataSourceQueryResponse.js +68 -0
- package/dist/models/DataSourceResponse.d.ts +119 -0
- package/dist/models/DataSourceResponse.js +98 -0
- package/dist/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/models/DataSourceTableResponse.js +109 -0
- package/dist/models/DiffFormat.d.ts +25 -0
- package/dist/models/DiffFormat.js +51 -0
- package/dist/models/DiffRow.d.ts +90 -0
- package/dist/models/DiffRow.js +66 -0
- package/dist/models/DiffRowType.d.ts +27 -0
- package/dist/models/DiffRowType.js +53 -0
- package/dist/models/DiffSpan.d.ts +53 -0
- package/dist/models/DiffSpan.js +56 -0
- package/dist/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/models/DocumentDownloadResponse.js +69 -0
- package/dist/models/DocumentResponse.d.ts +4 -3
- package/dist/models/DocumentResponse.js +3 -2
- package/dist/models/DownloadArtifact.d.ts +25 -0
- package/dist/models/DownloadArtifact.js +51 -0
- package/dist/models/EventResponse.d.ts +7 -0
- package/dist/models/EventResponse.js +3 -0
- package/dist/models/FolderResponse.d.ts +4 -3
- package/dist/models/FolderResponse.js +3 -2
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +20 -10
- package/dist/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/models/GroupPermissionResponse.js +4 -0
- package/dist/models/ItemPermissions.d.ts +73 -0
- package/dist/models/ItemPermissions.js +64 -0
- package/dist/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/models/MemoryBodyResponse.js +61 -0
- package/dist/models/MemoryScope.d.ts +29 -0
- package/dist/models/MemoryScope.js +55 -0
- package/dist/models/ModelTableRequest.d.ts +66 -0
- package/dist/models/ModelTableRequest.js +59 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.js +78 -0
- package/dist/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseTrashItemResponse.js +78 -0
- package/dist/models/PartType.d.ts +2 -0
- package/dist/models/PartType.js +3 -1
- package/dist/models/PathPartResponse.d.ts +4 -9
- package/dist/models/PathPartResponse.js +4 -7
- package/dist/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/models/PendingMemoryChunkResponse.js +82 -0
- package/dist/models/PermissionCapability.d.ts +2 -1
- package/dist/models/PermissionCapability.js +3 -2
- package/dist/models/PermissionResponse.d.ts +6 -0
- package/dist/models/PermissionResponse.js +4 -0
- package/dist/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/models/ProposeMemoryChunkRequest.js +79 -0
- package/dist/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/models/ProposedMemoryChunkResponse.js +82 -0
- package/dist/models/ReferenceType.d.ts +2 -0
- package/dist/models/ReferenceType.js +2 -0
- package/dist/models/TextDiff.d.ts +72 -0
- package/dist/models/TextDiff.js +69 -0
- package/dist/models/TrashItemResponse.d.ts +90 -0
- package/dist/models/TrashItemResponse.js +81 -0
- package/dist/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/models/UpdatePermissionRequest.js +2 -0
- package/dist/models/UpdateTableRequest.d.ts +54 -0
- package/dist/models/UpdateTableRequest.js +53 -0
- package/dist/models/VersionDiffResponse.d.ts +89 -0
- package/dist/models/VersionDiffResponse.js +71 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/models/WorkflowRunResponse.js +3 -0
- package/dist/models/index.d.ts +37 -2
- package/dist/models/index.js +37 -2
- package/docs/AccessCheckResponse.md +39 -0
- package/docs/AgentApi.md +18 -18
- package/docs/ApiKeysApi.md +30 -32
- package/docs/AuditEventsApi.md +104 -0
- package/docs/AuthApi.md +36 -36
- package/docs/CatalogColumnResponse.md +38 -0
- package/docs/CatalogTableResponse.md +36 -0
- package/docs/CellChange.md +43 -0
- package/docs/CellChangeType.md +32 -0
- package/docs/CellDiff.md +43 -0
- package/docs/ChunkLineagesApi.md +27 -27
- package/docs/ChunksApi.md +82 -82
- package/docs/ColumnConfig.md +43 -0
- package/docs/ConnectionConfig.md +43 -0
- package/docs/CreateDataSourceRequest.md +41 -0
- package/docs/CreateGroupPermissionRequest.md +2 -0
- package/docs/CreatePermissionRequest.md +2 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/DataSourceCatalogResponse.md +35 -0
- package/docs/DataSourceDetailResponse.md +37 -0
- package/docs/DataSourceEngine.md +33 -0
- package/docs/DataSourceQueryRequest.md +37 -0
- package/docs/DataSourceQueryResponse.md +43 -0
- package/docs/DataSourceResponse.md +55 -0
- package/docs/DataSourceTableResponse.md +61 -0
- package/docs/DataSourcesApi.md +545 -0
- package/docs/DiffFormat.md +32 -0
- package/docs/DiffRow.md +47 -0
- package/docs/DiffRowType.md +32 -0
- package/docs/DiffSpan.md +37 -0
- package/docs/DocumentCheckoutApi.md +27 -27
- package/docs/DocumentDownloadResponse.md +43 -0
- package/docs/DocumentResponse.md +2 -2
- package/docs/DocumentVersionsApi.md +228 -72
- package/docs/DocumentsApi.md +154 -64
- package/docs/DownloadArtifact.md +32 -0
- package/docs/EventResponse.md +2 -0
- package/docs/FeedbackApi.md +27 -27
- package/docs/FolderResponse.md +2 -2
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.md} +14 -6
- package/docs/FoldersApi.md +75 -75
- package/docs/GroupPermissionResponse.md +2 -0
- package/docs/InvitesApi.md +45 -45
- package/docs/ItemPermissions.md +41 -0
- package/docs/MemoryApi.md +379 -0
- package/docs/MemoryBodyResponse.md +38 -0
- package/docs/MemoryScope.md +33 -0
- package/docs/ModelTableRequest.md +41 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.md} +5 -5
- package/docs/PaginatedResponsePendingMemoryChunkResponse.md +40 -0
- package/docs/PaginatedResponseTrashItemResponse.md +40 -0
- package/docs/PathPartApprovalsApi.md +18 -18
- package/docs/PathPartResponse.md +2 -4
- package/docs/PathPartsApi.md +162 -81
- package/docs/PendingMemoryChunkResponse.md +48 -0
- package/docs/PermissionCapability.md +1 -1
- package/docs/PermissionResponse.md +2 -0
- package/docs/ProposeMemoryChunkRequest.md +44 -0
- package/docs/ProposedMemoryChunkResponse.md +48 -0
- package/docs/SectionsApi.md +54 -54
- package/docs/SubscriptionsApi.md +18 -18
- package/docs/TagsApi.md +45 -45
- package/docs/TenantGroupsApi.md +119 -125
- package/docs/TenantsApi.md +108 -108
- package/docs/TextDiff.md +43 -0
- package/docs/ThreadMessagesApi.md +27 -27
- package/docs/ThreadsApi.md +63 -63
- package/docs/TrashApi.md +236 -0
- package/docs/TrashItemResponse.md +49 -0
- package/docs/UpdateGroupPermissionRequest.md +2 -0
- package/docs/UpdatePermissionRequest.md +2 -0
- package/docs/UpdateTableRequest.md +37 -0
- package/docs/UserPermissionsApi.md +36 -36
- package/docs/UsersApi.md +49 -61
- package/docs/VersionDiffResponse.md +47 -0
- package/docs/WorkflowDefinitionResponse.md +2 -0
- package/docs/WorkflowDefinitionsApi.md +63 -63
- package/docs/WorkflowMemoryApi.md +45 -45
- package/docs/WorkflowRunResponse.md +2 -0
- package/docs/WorkflowRunsApi.md +82 -82
- package/docs/WorkflowsApi.md +45 -45
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +14 -18
- package/src/apis/ApiKeysApi.ts +8 -23
- package/src/apis/AuditEventsApi.ts +170 -0
- package/src/apis/AuthApi.ts +28 -36
- package/src/apis/ChunkLineagesApi.ts +21 -27
- package/src/apis/ChunksApi.ts +63 -81
- package/src/apis/DataSourcesApi.ts +698 -0
- package/src/apis/DocumentCheckoutApi.ts +21 -27
- package/src/apis/DocumentVersionsApi.ts +245 -72
- package/src/apis/DocumentsApi.ts +177 -67
- package/src/apis/FeedbackApi.ts +21 -27
- package/src/apis/FoldersApi.ts +73 -89
- package/src/apis/InvitesApi.ts +35 -45
- package/src/apis/MemoryApi.ts +478 -0
- package/src/apis/PathPartApprovalsApi.ts +14 -18
- package/src/apis/PathPartsApi.ts +173 -81
- package/src/apis/SectionsApi.ts +42 -54
- package/src/apis/SubscriptionsApi.ts +14 -18
- package/src/apis/TagsApi.ts +35 -45
- package/src/apis/TenantGroupsApi.ts +99 -128
- package/src/apis/TenantsApi.ts +84 -108
- package/src/apis/ThreadMessagesApi.ts +21 -27
- package/src/apis/ThreadsApi.ts +49 -63
- package/src/apis/TrashApi.ts +292 -0
- package/src/apis/UserPermissionsApi.ts +28 -36
- package/src/apis/UsersApi.ts +51 -67
- package/src/apis/WorkflowDefinitionsApi.ts +49 -63
- package/src/apis/WorkflowMemoryApi.ts +35 -45
- package/src/apis/WorkflowRunsApi.ts +67 -85
- package/src/apis/WorkflowsApi.ts +35 -45
- package/src/apis/index.ts +4 -0
- package/src/models/AccessCheckResponse.ts +100 -0
- package/src/models/CatalogColumnResponse.ts +101 -0
- package/src/models/CatalogTableResponse.ts +100 -0
- package/src/models/CellChange.ts +129 -0
- package/src/models/CellChangeType.ts +54 -0
- package/src/models/CellDiff.ts +127 -0
- package/src/models/ColumnConfig.ts +115 -0
- package/src/models/ConnectionConfig.ts +118 -0
- package/src/models/CreateDataSourceRequest.ts +130 -0
- package/src/models/CreateGroupPermissionRequest.ts +8 -0
- package/src/models/CreatePermissionRequest.ts +8 -0
- package/src/models/CreateWorkflowDefinitionRequest.ts +9 -0
- package/src/models/DataSourceCatalogResponse.ts +91 -0
- package/src/models/DataSourceDetailResponse.ts +107 -0
- package/src/models/DataSourceEngine.ts +53 -0
- package/src/models/DataSourceQueryRequest.ts +97 -0
- package/src/models/DataSourceQueryResponse.ts +119 -0
- package/src/models/DataSourceResponse.ts +200 -0
- package/src/models/DataSourceTableResponse.ts +217 -0
- package/src/models/DiffFormat.ts +53 -0
- package/src/models/DiffRow.ts +153 -0
- package/src/models/DiffRowType.ts +55 -0
- package/src/models/DiffSpan.ts +92 -0
- package/src/models/DocumentDownloadResponse.ts +129 -0
- package/src/models/DocumentResponse.ts +12 -5
- package/src/models/DownloadArtifact.ts +53 -0
- package/src/models/EventResponse.ts +16 -0
- package/src/models/FolderResponse.ts +12 -5
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.ts} +30 -8
- package/src/models/GroupPermissionResponse.ts +9 -0
- package/src/models/ItemPermissions.ts +118 -0
- package/src/models/MemoryBodyResponse.ts +111 -0
- package/src/models/MemoryScope.ts +57 -0
- package/src/models/ModelTableRequest.ts +115 -0
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.ts} +25 -25
- package/src/models/PaginatedResponsePendingMemoryChunkResponse.ts +130 -0
- package/src/models/PaginatedResponseTrashItemResponse.ts +130 -0
- package/src/models/PartType.ts +3 -1
- package/src/models/PathPartResponse.ts +13 -15
- package/src/models/PendingMemoryChunkResponse.ts +163 -0
- package/src/models/PermissionCapability.ts +3 -2
- package/src/models/PermissionResponse.ts +9 -0
- package/src/models/ProposeMemoryChunkRequest.ts +151 -0
- package/src/models/ProposedMemoryChunkResponse.ts +163 -0
- package/src/models/ReferenceType.ts +2 -0
- package/src/models/TextDiff.ts +127 -0
- package/src/models/TrashItemResponse.ts +156 -0
- package/src/models/UpdateGroupPermissionRequest.ts +8 -0
- package/src/models/UpdatePermissionRequest.ts +8 -0
- package/src/models/UpdateTableRequest.ts +98 -0
- package/src/models/VersionDiffResponse.ts +160 -0
- package/src/models/WorkflowDefinitionResponse.ts +15 -0
- package/src/models/WorkflowRunResponse.ts +15 -0
- package/src/models/index.ts +37 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js +0 -78
|
@@ -30,15 +30,11 @@ import {
|
|
|
30
30
|
|
|
31
31
|
export interface GetPathPartApprovalRequest {
|
|
32
32
|
pathPartId: string;
|
|
33
|
-
authorization?: string | null;
|
|
34
|
-
ksUat?: string | null;
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
export interface SetPathPartApprovalRequest {
|
|
38
36
|
pathPartId: string;
|
|
39
37
|
setApprovalStateRequest: SetApprovalStateRequest;
|
|
40
|
-
authorization?: string | null;
|
|
41
|
-
ksUat?: string | null;
|
|
42
38
|
}
|
|
43
39
|
|
|
44
40
|
/**
|
|
@@ -51,8 +47,6 @@ export interface PathPartApprovalsApiInterface {
|
|
|
51
47
|
/**
|
|
52
48
|
* Creates request options for getPathPartApproval without sending the request
|
|
53
49
|
* @param {string} pathPartId
|
|
54
|
-
* @param {string} [authorization]
|
|
55
|
-
* @param {string} [ksUat]
|
|
56
50
|
* @throws {RequiredError}
|
|
57
51
|
* @memberof PathPartApprovalsApiInterface
|
|
58
52
|
*/
|
|
@@ -62,8 +56,6 @@ export interface PathPartApprovalsApiInterface {
|
|
|
62
56
|
* Return the current approval audit row for a path_part. Exposes ``reviewer_id`` / ``reason`` and the decision timestamps so a caller can re-read who decided what and why. 404 if the path_part never entered the approval flow (its ``approval_state`` is still ``not_required``).
|
|
63
57
|
* @summary Get Path Part Approval Handler
|
|
64
58
|
* @param {string} pathPartId
|
|
65
|
-
* @param {string} [authorization]
|
|
66
|
-
* @param {string} [ksUat]
|
|
67
59
|
* @param {*} [options] Override http request option.
|
|
68
60
|
* @throws {RequiredError}
|
|
69
61
|
* @memberof PathPartApprovalsApiInterface
|
|
@@ -80,8 +72,6 @@ export interface PathPartApprovalsApiInterface {
|
|
|
80
72
|
* Creates request options for setPathPartApproval without sending the request
|
|
81
73
|
* @param {string} pathPartId
|
|
82
74
|
* @param {SetApprovalStateRequest} setApprovalStateRequest
|
|
83
|
-
* @param {string} [authorization]
|
|
84
|
-
* @param {string} [ksUat]
|
|
85
75
|
* @throws {RequiredError}
|
|
86
76
|
* @memberof PathPartApprovalsApiInterface
|
|
87
77
|
*/
|
|
@@ -92,8 +82,6 @@ export interface PathPartApprovalsApiInterface {
|
|
|
92
82
|
* @summary Set Path Part Approval Handler
|
|
93
83
|
* @param {string} pathPartId
|
|
94
84
|
* @param {SetApprovalStateRequest} setApprovalStateRequest
|
|
95
|
-
* @param {string} [authorization]
|
|
96
|
-
* @param {string} [ksUat]
|
|
97
85
|
* @param {*} [options] Override http request option.
|
|
98
86
|
* @throws {RequiredError}
|
|
99
87
|
* @memberof PathPartApprovalsApiInterface
|
|
@@ -128,10 +116,14 @@ export class PathPartApprovalsApi extends runtime.BaseAPI implements PathPartApp
|
|
|
128
116
|
|
|
129
117
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
130
118
|
|
|
131
|
-
if (
|
|
132
|
-
|
|
133
|
-
|
|
119
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
120
|
+
const token = this.configuration.accessToken;
|
|
121
|
+
const tokenString = await token("bearerAuth", []);
|
|
134
122
|
|
|
123
|
+
if (tokenString) {
|
|
124
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
135
127
|
|
|
136
128
|
let urlPath = `/v1/path-parts/{path_part_id}/approval`;
|
|
137
129
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -188,10 +180,14 @@ export class PathPartApprovalsApi extends runtime.BaseAPI implements PathPartApp
|
|
|
188
180
|
|
|
189
181
|
headerParameters['Content-Type'] = 'application/json';
|
|
190
182
|
|
|
191
|
-
if (
|
|
192
|
-
|
|
193
|
-
|
|
183
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
184
|
+
const token = this.configuration.accessToken;
|
|
185
|
+
const tokenString = await token("bearerAuth", []);
|
|
194
186
|
|
|
187
|
+
if (tokenString) {
|
|
188
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
195
191
|
|
|
196
192
|
let urlPath = `/v1/path-parts/{path_part_id}/approval`;
|
|
197
193
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
package/src/apis/PathPartsApi.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
AccessCheckResponse,
|
|
18
19
|
AncestryResponse,
|
|
19
20
|
AppendEventRequest,
|
|
20
21
|
BulkTagRequest,
|
|
@@ -25,9 +26,12 @@ import type {
|
|
|
25
26
|
PathOrder,
|
|
26
27
|
PathPartResponse,
|
|
27
28
|
PathPartTagsResponse,
|
|
29
|
+
PermissionCapability,
|
|
28
30
|
SubtreeChunksResponse,
|
|
29
31
|
} from '../models/index';
|
|
30
32
|
import {
|
|
33
|
+
AccessCheckResponseFromJSON,
|
|
34
|
+
AccessCheckResponseToJSON,
|
|
31
35
|
AncestryResponseFromJSON,
|
|
32
36
|
AncestryResponseToJSON,
|
|
33
37
|
AppendEventRequestFromJSON,
|
|
@@ -48,6 +52,8 @@ import {
|
|
|
48
52
|
PathPartResponseToJSON,
|
|
49
53
|
PathPartTagsResponseFromJSON,
|
|
50
54
|
PathPartTagsResponseToJSON,
|
|
55
|
+
PermissionCapabilityFromJSON,
|
|
56
|
+
PermissionCapabilityToJSON,
|
|
51
57
|
SubtreeChunksResponseFromJSON,
|
|
52
58
|
SubtreeChunksResponseToJSON,
|
|
53
59
|
} from '../models/index';
|
|
@@ -55,40 +61,34 @@ import {
|
|
|
55
61
|
export interface AppendPathPartEventRequest {
|
|
56
62
|
pathPartId: string;
|
|
57
63
|
appendEventRequest: AppendEventRequest;
|
|
58
|
-
authorization?: string | null;
|
|
59
|
-
ksUat?: string | null;
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
export interface BulkRemovePathPartTagsRequest {
|
|
63
67
|
pathPartId: string;
|
|
64
68
|
bulkTagRequest: BulkTagRequest;
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface CheckPathPartAccessRequest {
|
|
72
|
+
pathPartId: string;
|
|
73
|
+
userId: string;
|
|
74
|
+
capability?: PermissionCapability;
|
|
67
75
|
}
|
|
68
76
|
|
|
69
77
|
export interface GetPathPartRequest {
|
|
70
78
|
pathPartId: string;
|
|
71
|
-
authorization?: string | null;
|
|
72
|
-
ksUat?: string | null;
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
export interface GetPathPartAncestryRequest {
|
|
76
82
|
pathPartId: string;
|
|
77
|
-
authorization?: string | null;
|
|
78
|
-
ksUat?: string | null;
|
|
79
83
|
}
|
|
80
84
|
|
|
81
85
|
export interface GetPathPartSubtreeChunksRequest {
|
|
82
86
|
pathPartId: string;
|
|
83
|
-
authorization?: string | null;
|
|
84
|
-
ksUat?: string | null;
|
|
85
87
|
}
|
|
86
88
|
|
|
87
89
|
export interface GetPathPartTagsRequest {
|
|
88
90
|
pathPartId: string;
|
|
89
91
|
includeInherited?: boolean;
|
|
90
|
-
authorization?: string | null;
|
|
91
|
-
ksUat?: string | null;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
export interface ListPathPartEventsRequest {
|
|
@@ -99,8 +99,6 @@ export interface ListPathPartEventsRequest {
|
|
|
99
99
|
recursive?: boolean;
|
|
100
100
|
limit?: number;
|
|
101
101
|
offset?: number;
|
|
102
|
-
authorization?: string | null;
|
|
103
|
-
ksUat?: string | null;
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
export interface ListPathPartsRequest {
|
|
@@ -109,15 +107,11 @@ export interface ListPathPartsRequest {
|
|
|
109
107
|
sortOrder?: PathOrder;
|
|
110
108
|
limit?: number;
|
|
111
109
|
offset?: number;
|
|
112
|
-
authorization?: string | null;
|
|
113
|
-
ksUat?: string | null;
|
|
114
110
|
}
|
|
115
111
|
|
|
116
112
|
export interface SetPathPartTagsRequest {
|
|
117
113
|
pathPartId: string;
|
|
118
114
|
bulkTagRequest: BulkTagRequest;
|
|
119
|
-
authorization?: string | null;
|
|
120
|
-
ksUat?: string | null;
|
|
121
115
|
}
|
|
122
116
|
|
|
123
117
|
/**
|
|
@@ -131,8 +125,6 @@ export interface PathPartsApiInterface {
|
|
|
131
125
|
* Creates request options for appendPathPartEvent without sending the request
|
|
132
126
|
* @param {string} pathPartId
|
|
133
127
|
* @param {AppendEventRequest} appendEventRequest
|
|
134
|
-
* @param {string} [authorization]
|
|
135
|
-
* @param {string} [ksUat]
|
|
136
128
|
* @throws {RequiredError}
|
|
137
129
|
* @memberof PathPartsApiInterface
|
|
138
130
|
*/
|
|
@@ -143,8 +135,6 @@ export interface PathPartsApiInterface {
|
|
|
143
135
|
* @summary Append Path Part Event Handler
|
|
144
136
|
* @param {string} pathPartId
|
|
145
137
|
* @param {AppendEventRequest} appendEventRequest
|
|
146
|
-
* @param {string} [authorization]
|
|
147
|
-
* @param {string} [ksUat]
|
|
148
138
|
* @param {*} [options] Override http request option.
|
|
149
139
|
* @throws {RequiredError}
|
|
150
140
|
* @memberof PathPartsApiInterface
|
|
@@ -161,8 +151,6 @@ export interface PathPartsApiInterface {
|
|
|
161
151
|
* Creates request options for bulkRemovePathPartTags without sending the request
|
|
162
152
|
* @param {string} pathPartId
|
|
163
153
|
* @param {BulkTagRequest} bulkTagRequest
|
|
164
|
-
* @param {string} [authorization]
|
|
165
|
-
* @param {string} [ksUat]
|
|
166
154
|
* @throws {RequiredError}
|
|
167
155
|
* @memberof PathPartsApiInterface
|
|
168
156
|
*/
|
|
@@ -173,8 +161,6 @@ export interface PathPartsApiInterface {
|
|
|
173
161
|
* @summary Bulk Remove Path Part Tags Handler
|
|
174
162
|
* @param {string} pathPartId
|
|
175
163
|
* @param {BulkTagRequest} bulkTagRequest
|
|
176
|
-
* @param {string} [authorization]
|
|
177
|
-
* @param {string} [ksUat]
|
|
178
164
|
* @param {*} [options] Override http request option.
|
|
179
165
|
* @throws {RequiredError}
|
|
180
166
|
* @memberof PathPartsApiInterface
|
|
@@ -187,11 +173,37 @@ export interface PathPartsApiInterface {
|
|
|
187
173
|
*/
|
|
188
174
|
bulkRemovePathPartTags(requestParameters: BulkRemovePathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
|
|
189
175
|
|
|
176
|
+
/**
|
|
177
|
+
* Creates request options for checkPathPartAccess without sending the request
|
|
178
|
+
* @param {string} pathPartId
|
|
179
|
+
* @param {string} userId The user whose access is being explained
|
|
180
|
+
* @param {PermissionCapability} [capability] Capability to check (READ_ONLY or READ_WRITE)
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
* @memberof PathPartsApiInterface
|
|
183
|
+
*/
|
|
184
|
+
checkPathPartAccessRequestOpts(requestParameters: CheckPathPartAccessRequest): Promise<runtime.RequestOpts>;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Explain whether ``user_id`` has ``capability`` on a path part. ADMIN/OWNER-only introspection: resolves the target user\'s effective permissions and reports the decision plus the reason (the matching grant path, or a role bypass). OWNER/ADMIN targets bypass path checks by role, so they are always allowed. 404 if the path part does not exist or the target user is not a member of this tenant.
|
|
188
|
+
* @summary Check Path Part Access Handler
|
|
189
|
+
* @param {string} pathPartId
|
|
190
|
+
* @param {string} userId The user whose access is being explained
|
|
191
|
+
* @param {PermissionCapability} [capability] Capability to check (READ_ONLY or READ_WRITE)
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
* @memberof PathPartsApiInterface
|
|
195
|
+
*/
|
|
196
|
+
checkPathPartAccessRaw(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccessCheckResponse>>;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Explain whether ``user_id`` has ``capability`` on a path part. ADMIN/OWNER-only introspection: resolves the target user\'s effective permissions and reports the decision plus the reason (the matching grant path, or a role bypass). OWNER/ADMIN targets bypass path checks by role, so they are always allowed. 404 if the path part does not exist or the target user is not a member of this tenant.
|
|
200
|
+
* Check Path Part Access Handler
|
|
201
|
+
*/
|
|
202
|
+
checkPathPartAccess(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccessCheckResponse>;
|
|
203
|
+
|
|
190
204
|
/**
|
|
191
205
|
* Creates request options for getPathPart without sending the request
|
|
192
206
|
* @param {string} pathPartId
|
|
193
|
-
* @param {string} [authorization]
|
|
194
|
-
* @param {string} [ksUat]
|
|
195
207
|
* @throws {RequiredError}
|
|
196
208
|
* @memberof PathPartsApiInterface
|
|
197
209
|
*/
|
|
@@ -201,8 +213,6 @@ export interface PathPartsApiInterface {
|
|
|
201
213
|
* Get a path part by its ID. Returns the path part with its attached tag IDs.
|
|
202
214
|
* @summary Get Path Part Handler
|
|
203
215
|
* @param {string} pathPartId
|
|
204
|
-
* @param {string} [authorization]
|
|
205
|
-
* @param {string} [ksUat]
|
|
206
216
|
* @param {*} [options] Override http request option.
|
|
207
217
|
* @throws {RequiredError}
|
|
208
218
|
* @memberof PathPartsApiInterface
|
|
@@ -218,8 +228,6 @@ export interface PathPartsApiInterface {
|
|
|
218
228
|
/**
|
|
219
229
|
* Creates request options for getPathPartAncestry without sending the request
|
|
220
230
|
* @param {string} pathPartId
|
|
221
|
-
* @param {string} [authorization]
|
|
222
|
-
* @param {string} [ksUat]
|
|
223
231
|
* @throws {RequiredError}
|
|
224
232
|
* @memberof PathPartsApiInterface
|
|
225
233
|
*/
|
|
@@ -229,8 +237,6 @@ export interface PathPartsApiInterface {
|
|
|
229
237
|
* Get the full ancestry chain for a path part (root to leaf, inclusive). Returns all ancestors from the root down to and including the target path part. Authorization is checked on the leaf — if the user can read the leaf, they can navigate its ancestors.
|
|
230
238
|
* @summary Get Path Part Ancestry Handler
|
|
231
239
|
* @param {string} pathPartId
|
|
232
|
-
* @param {string} [authorization]
|
|
233
|
-
* @param {string} [ksUat]
|
|
234
240
|
* @param {*} [options] Override http request option.
|
|
235
241
|
* @throws {RequiredError}
|
|
236
242
|
* @memberof PathPartsApiInterface
|
|
@@ -246,8 +252,6 @@ export interface PathPartsApiInterface {
|
|
|
246
252
|
/**
|
|
247
253
|
* Creates request options for getPathPartSubtreeChunks without sending the request
|
|
248
254
|
* @param {string} pathPartId
|
|
249
|
-
* @param {string} [authorization]
|
|
250
|
-
* @param {string} [ksUat]
|
|
251
255
|
* @throws {RequiredError}
|
|
252
256
|
* @memberof PathPartsApiInterface
|
|
253
257
|
*/
|
|
@@ -257,8 +261,6 @@ export interface PathPartsApiInterface {
|
|
|
257
261
|
* Resolve all descendant chunks for a subtree root. Returns chunks grouped by identical (path_part_ids, tag_ids) tuples.
|
|
258
262
|
* @summary Get Path Part Subtree Chunks Handler
|
|
259
263
|
* @param {string} pathPartId
|
|
260
|
-
* @param {string} [authorization]
|
|
261
|
-
* @param {string} [ksUat]
|
|
262
264
|
* @param {*} [options] Override http request option.
|
|
263
265
|
* @throws {RequiredError}
|
|
264
266
|
* @memberof PathPartsApiInterface
|
|
@@ -275,8 +277,6 @@ export interface PathPartsApiInterface {
|
|
|
275
277
|
* Creates request options for getPathPartTags without sending the request
|
|
276
278
|
* @param {string} pathPartId
|
|
277
279
|
* @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
|
|
278
|
-
* @param {string} [authorization]
|
|
279
|
-
* @param {string} [ksUat]
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
* @memberof PathPartsApiInterface
|
|
282
282
|
*/
|
|
@@ -287,8 +287,6 @@ export interface PathPartsApiInterface {
|
|
|
287
287
|
* @summary Get Path Part Tags Handler
|
|
288
288
|
* @param {string} pathPartId
|
|
289
289
|
* @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
|
|
290
|
-
* @param {string} [authorization]
|
|
291
|
-
* @param {string} [ksUat]
|
|
292
290
|
* @param {*} [options] Override http request option.
|
|
293
291
|
* @throws {RequiredError}
|
|
294
292
|
* @memberof PathPartsApiInterface
|
|
@@ -310,8 +308,6 @@ export interface PathPartsApiInterface {
|
|
|
310
308
|
* @param {boolean} [recursive] Include events from descendant path_parts as well as the subject itself
|
|
311
309
|
* @param {number} [limit] Number of items per page
|
|
312
310
|
* @param {number} [offset] Number of items to skip
|
|
313
|
-
* @param {string} [authorization]
|
|
314
|
-
* @param {string} [ksUat]
|
|
315
311
|
* @throws {RequiredError}
|
|
316
312
|
* @memberof PathPartsApiInterface
|
|
317
313
|
*/
|
|
@@ -327,8 +323,6 @@ export interface PathPartsApiInterface {
|
|
|
327
323
|
* @param {boolean} [recursive] Include events from descendant path_parts as well as the subject itself
|
|
328
324
|
* @param {number} [limit] Number of items per page
|
|
329
325
|
* @param {number} [offset] Number of items to skip
|
|
330
|
-
* @param {string} [authorization]
|
|
331
|
-
* @param {string} [ksUat]
|
|
332
326
|
* @param {*} [options] Override http request option.
|
|
333
327
|
* @throws {RequiredError}
|
|
334
328
|
* @memberof PathPartsApiInterface
|
|
@@ -348,8 +342,6 @@ export interface PathPartsApiInterface {
|
|
|
348
342
|
* @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
|
|
349
343
|
* @param {number} [limit] Number of items per page
|
|
350
344
|
* @param {number} [offset] Number of items to skip
|
|
351
|
-
* @param {string} [authorization]
|
|
352
|
-
* @param {string} [ksUat]
|
|
353
345
|
* @throws {RequiredError}
|
|
354
346
|
* @memberof PathPartsApiInterface
|
|
355
347
|
*/
|
|
@@ -363,8 +355,6 @@ export interface PathPartsApiInterface {
|
|
|
363
355
|
* @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
|
|
364
356
|
* @param {number} [limit] Number of items per page
|
|
365
357
|
* @param {number} [offset] Number of items to skip
|
|
366
|
-
* @param {string} [authorization]
|
|
367
|
-
* @param {string} [ksUat]
|
|
368
358
|
* @param {*} [options] Override http request option.
|
|
369
359
|
* @throws {RequiredError}
|
|
370
360
|
* @memberof PathPartsApiInterface
|
|
@@ -381,8 +371,6 @@ export interface PathPartsApiInterface {
|
|
|
381
371
|
* Creates request options for setPathPartTags without sending the request
|
|
382
372
|
* @param {string} pathPartId
|
|
383
373
|
* @param {BulkTagRequest} bulkTagRequest
|
|
384
|
-
* @param {string} [authorization]
|
|
385
|
-
* @param {string} [ksUat]
|
|
386
374
|
* @throws {RequiredError}
|
|
387
375
|
* @memberof PathPartsApiInterface
|
|
388
376
|
*/
|
|
@@ -393,8 +381,6 @@ export interface PathPartsApiInterface {
|
|
|
393
381
|
* @summary Set Path Part Tags Handler
|
|
394
382
|
* @param {string} pathPartId
|
|
395
383
|
* @param {BulkTagRequest} bulkTagRequest
|
|
396
|
-
* @param {string} [authorization]
|
|
397
|
-
* @param {string} [ksUat]
|
|
398
384
|
* @param {*} [options] Override http request option.
|
|
399
385
|
* @throws {RequiredError}
|
|
400
386
|
* @memberof PathPartsApiInterface
|
|
@@ -438,10 +424,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
438
424
|
|
|
439
425
|
headerParameters['Content-Type'] = 'application/json';
|
|
440
426
|
|
|
441
|
-
if (
|
|
442
|
-
|
|
443
|
-
|
|
427
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
428
|
+
const token = this.configuration.accessToken;
|
|
429
|
+
const tokenString = await token("bearerAuth", []);
|
|
444
430
|
|
|
431
|
+
if (tokenString) {
|
|
432
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
445
435
|
|
|
446
436
|
let urlPath = `/v1/path-parts/{path_part_id}/events`;
|
|
447
437
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -499,10 +489,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
499
489
|
|
|
500
490
|
headerParameters['Content-Type'] = 'application/json';
|
|
501
491
|
|
|
502
|
-
if (
|
|
503
|
-
|
|
504
|
-
|
|
492
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
493
|
+
const token = this.configuration.accessToken;
|
|
494
|
+
const tokenString = await token("bearerAuth", []);
|
|
505
495
|
|
|
496
|
+
if (tokenString) {
|
|
497
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
506
500
|
|
|
507
501
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
508
502
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -536,6 +530,76 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
536
530
|
return await response.value();
|
|
537
531
|
}
|
|
538
532
|
|
|
533
|
+
/**
|
|
534
|
+
* Creates request options for checkPathPartAccess without sending the request
|
|
535
|
+
*/
|
|
536
|
+
async checkPathPartAccessRequestOpts(requestParameters: CheckPathPartAccessRequest): Promise<runtime.RequestOpts> {
|
|
537
|
+
if (requestParameters['pathPartId'] == null) {
|
|
538
|
+
throw new runtime.RequiredError(
|
|
539
|
+
'pathPartId',
|
|
540
|
+
'Required parameter "pathPartId" was null or undefined when calling checkPathPartAccess().'
|
|
541
|
+
);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
if (requestParameters['userId'] == null) {
|
|
545
|
+
throw new runtime.RequiredError(
|
|
546
|
+
'userId',
|
|
547
|
+
'Required parameter "userId" was null or undefined when calling checkPathPartAccess().'
|
|
548
|
+
);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
const queryParameters: any = {};
|
|
552
|
+
|
|
553
|
+
if (requestParameters['userId'] != null) {
|
|
554
|
+
queryParameters['user_id'] = requestParameters['userId'];
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
if (requestParameters['capability'] != null) {
|
|
558
|
+
queryParameters['capability'] = requestParameters['capability'];
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
562
|
+
|
|
563
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
564
|
+
const token = this.configuration.accessToken;
|
|
565
|
+
const tokenString = await token("bearerAuth", []);
|
|
566
|
+
|
|
567
|
+
if (tokenString) {
|
|
568
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
let urlPath = `/v1/path-parts/{path_part_id}/access-check`;
|
|
573
|
+
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
574
|
+
|
|
575
|
+
return {
|
|
576
|
+
path: urlPath,
|
|
577
|
+
method: 'GET',
|
|
578
|
+
headers: headerParameters,
|
|
579
|
+
query: queryParameters,
|
|
580
|
+
};
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Explain whether ``user_id`` has ``capability`` on a path part. ADMIN/OWNER-only introspection: resolves the target user\'s effective permissions and reports the decision plus the reason (the matching grant path, or a role bypass). OWNER/ADMIN targets bypass path checks by role, so they are always allowed. 404 if the path part does not exist or the target user is not a member of this tenant.
|
|
585
|
+
* Check Path Part Access Handler
|
|
586
|
+
*/
|
|
587
|
+
async checkPathPartAccessRaw(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccessCheckResponse>> {
|
|
588
|
+
const requestOptions = await this.checkPathPartAccessRequestOpts(requestParameters);
|
|
589
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
590
|
+
|
|
591
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccessCheckResponseFromJSON(jsonValue));
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Explain whether ``user_id`` has ``capability`` on a path part. ADMIN/OWNER-only introspection: resolves the target user\'s effective permissions and reports the decision plus the reason (the matching grant path, or a role bypass). OWNER/ADMIN targets bypass path checks by role, so they are always allowed. 404 if the path part does not exist or the target user is not a member of this tenant.
|
|
596
|
+
* Check Path Part Access Handler
|
|
597
|
+
*/
|
|
598
|
+
async checkPathPartAccess(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccessCheckResponse> {
|
|
599
|
+
const response = await this.checkPathPartAccessRaw(requestParameters, initOverrides);
|
|
600
|
+
return await response.value();
|
|
601
|
+
}
|
|
602
|
+
|
|
539
603
|
/**
|
|
540
604
|
* Creates request options for getPathPart without sending the request
|
|
541
605
|
*/
|
|
@@ -551,10 +615,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
551
615
|
|
|
552
616
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
553
617
|
|
|
554
|
-
if (
|
|
555
|
-
|
|
556
|
-
|
|
618
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
619
|
+
const token = this.configuration.accessToken;
|
|
620
|
+
const tokenString = await token("bearerAuth", []);
|
|
557
621
|
|
|
622
|
+
if (tokenString) {
|
|
623
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
624
|
+
}
|
|
625
|
+
}
|
|
558
626
|
|
|
559
627
|
let urlPath = `/v1/path-parts/{path_part_id}`;
|
|
560
628
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -602,10 +670,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
602
670
|
|
|
603
671
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
604
672
|
|
|
605
|
-
if (
|
|
606
|
-
|
|
607
|
-
|
|
673
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
674
|
+
const token = this.configuration.accessToken;
|
|
675
|
+
const tokenString = await token("bearerAuth", []);
|
|
608
676
|
|
|
677
|
+
if (tokenString) {
|
|
678
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
609
681
|
|
|
610
682
|
let urlPath = `/v1/path-parts/{path_part_id}/ancestry`;
|
|
611
683
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -653,10 +725,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
653
725
|
|
|
654
726
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
655
727
|
|
|
656
|
-
if (
|
|
657
|
-
|
|
658
|
-
|
|
728
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
729
|
+
const token = this.configuration.accessToken;
|
|
730
|
+
const tokenString = await token("bearerAuth", []);
|
|
659
731
|
|
|
732
|
+
if (tokenString) {
|
|
733
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
660
736
|
|
|
661
737
|
let urlPath = `/v1/path-parts/{path_part_id}/subtree_chunks`;
|
|
662
738
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -708,10 +784,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
708
784
|
|
|
709
785
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
710
786
|
|
|
711
|
-
if (
|
|
712
|
-
|
|
713
|
-
|
|
787
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
788
|
+
const token = this.configuration.accessToken;
|
|
789
|
+
const tokenString = await token("bearerAuth", []);
|
|
714
790
|
|
|
791
|
+
if (tokenString) {
|
|
792
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
715
795
|
|
|
716
796
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
717
797
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -783,10 +863,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
783
863
|
|
|
784
864
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
785
865
|
|
|
786
|
-
if (
|
|
787
|
-
|
|
788
|
-
|
|
866
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
867
|
+
const token = this.configuration.accessToken;
|
|
868
|
+
const tokenString = await token("bearerAuth", []);
|
|
789
869
|
|
|
870
|
+
if (tokenString) {
|
|
871
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
872
|
+
}
|
|
873
|
+
}
|
|
790
874
|
|
|
791
875
|
let urlPath = `/v1/path-parts/{path_part_id}/events`;
|
|
792
876
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -847,10 +931,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
847
931
|
|
|
848
932
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
849
933
|
|
|
850
|
-
if (
|
|
851
|
-
|
|
852
|
-
|
|
934
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
935
|
+
const token = this.configuration.accessToken;
|
|
936
|
+
const tokenString = await token("bearerAuth", []);
|
|
853
937
|
|
|
938
|
+
if (tokenString) {
|
|
939
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
854
942
|
|
|
855
943
|
let urlPath = `/v1/path-parts`;
|
|
856
944
|
|
|
@@ -906,10 +994,14 @@ export class PathPartsApi extends runtime.BaseAPI implements PathPartsApiInterfa
|
|
|
906
994
|
|
|
907
995
|
headerParameters['Content-Type'] = 'application/json';
|
|
908
996
|
|
|
909
|
-
if (
|
|
910
|
-
|
|
911
|
-
|
|
997
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
998
|
+
const token = this.configuration.accessToken;
|
|
999
|
+
const tokenString = await token("bearerAuth", []);
|
|
912
1000
|
|
|
1001
|
+
if (tokenString) {
|
|
1002
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
913
1005
|
|
|
914
1006
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
915
1007
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|