@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
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { PaginatedResponseEventResponse } from '../models/index';
|
|
14
|
+
export interface ListAuditEventsRequest {
|
|
15
|
+
actorUserId?: string | null;
|
|
16
|
+
kind?: string | null;
|
|
17
|
+
since?: Date | null;
|
|
18
|
+
until?: Date | null;
|
|
19
|
+
subjectPathPartId?: string | null;
|
|
20
|
+
recursive?: boolean;
|
|
21
|
+
limit?: number;
|
|
22
|
+
offset?: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* AuditEventsApi - interface
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface AuditEventsApiInterface
|
|
29
|
+
*/
|
|
30
|
+
export interface AuditEventsApiInterface {
|
|
31
|
+
/**
|
|
32
|
+
* Creates request options for listAuditEvents without sending the request
|
|
33
|
+
* @param {string} [actorUserId] Filter to one actor
|
|
34
|
+
* @param {string} [kind] Filter to one event kind
|
|
35
|
+
* @param {Date} [since] Only events at or after this timestamp
|
|
36
|
+
* @param {Date} [until] Only events strictly before this timestamp
|
|
37
|
+
* @param {string} [subjectPathPartId] Scope to one document/folder/run subject
|
|
38
|
+
* @param {boolean} [recursive] Include the subject\'s descendants (needs subject)
|
|
39
|
+
* @param {number} [limit] Number of items per page
|
|
40
|
+
* @param {number} [offset] Number of items to skip
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
* @memberof AuditEventsApiInterface
|
|
43
|
+
*/
|
|
44
|
+
listAuditEventsRequestOpts(requestParameters: ListAuditEventsRequest): Promise<runtime.RequestOpts>;
|
|
45
|
+
/**
|
|
46
|
+
* List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
|
|
47
|
+
* @summary List Audit Events Handler
|
|
48
|
+
* @param {string} [actorUserId] Filter to one actor
|
|
49
|
+
* @param {string} [kind] Filter to one event kind
|
|
50
|
+
* @param {Date} [since] Only events at or after this timestamp
|
|
51
|
+
* @param {Date} [until] Only events strictly before this timestamp
|
|
52
|
+
* @param {string} [subjectPathPartId] Scope to one document/folder/run subject
|
|
53
|
+
* @param {boolean} [recursive] Include the subject\'s descendants (needs subject)
|
|
54
|
+
* @param {number} [limit] Number of items per page
|
|
55
|
+
* @param {number} [offset] Number of items to skip
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
* @memberof AuditEventsApiInterface
|
|
59
|
+
*/
|
|
60
|
+
listAuditEventsRaw(requestParameters: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseEventResponse>>;
|
|
61
|
+
/**
|
|
62
|
+
* List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
|
|
63
|
+
* List Audit Events Handler
|
|
64
|
+
*/
|
|
65
|
+
listAuditEvents(requestParameters: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseEventResponse>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class AuditEventsApi extends runtime.BaseAPI implements AuditEventsApiInterface {
|
|
71
|
+
/**
|
|
72
|
+
* Creates request options for listAuditEvents without sending the request
|
|
73
|
+
*/
|
|
74
|
+
listAuditEventsRequestOpts(requestParameters: ListAuditEventsRequest): Promise<runtime.RequestOpts>;
|
|
75
|
+
/**
|
|
76
|
+
* List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
|
|
77
|
+
* List Audit Events Handler
|
|
78
|
+
*/
|
|
79
|
+
listAuditEventsRaw(requestParameters: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedResponseEventResponse>>;
|
|
80
|
+
/**
|
|
81
|
+
* List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
|
|
82
|
+
* List Audit Events Handler
|
|
83
|
+
*/
|
|
84
|
+
listAuditEvents(requestParameters?: ListAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseEventResponse>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Knowledge Stack API
|
|
5
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { PaginatedResponseEventResponseFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class AuditEventsApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Creates request options for listAuditEvents without sending the request
|
|
31
|
+
*/
|
|
32
|
+
listAuditEventsRequestOpts(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
const queryParameters = {};
|
|
35
|
+
if (requestParameters['actorUserId'] != null) {
|
|
36
|
+
queryParameters['actor_user_id'] = requestParameters['actorUserId'];
|
|
37
|
+
}
|
|
38
|
+
if (requestParameters['kind'] != null) {
|
|
39
|
+
queryParameters['kind'] = requestParameters['kind'];
|
|
40
|
+
}
|
|
41
|
+
if (requestParameters['since'] != null) {
|
|
42
|
+
queryParameters['since'] = requestParameters['since'].toISOString();
|
|
43
|
+
}
|
|
44
|
+
if (requestParameters['until'] != null) {
|
|
45
|
+
queryParameters['until'] = requestParameters['until'].toISOString();
|
|
46
|
+
}
|
|
47
|
+
if (requestParameters['subjectPathPartId'] != null) {
|
|
48
|
+
queryParameters['subject_path_part_id'] = requestParameters['subjectPathPartId'];
|
|
49
|
+
}
|
|
50
|
+
if (requestParameters['recursive'] != null) {
|
|
51
|
+
queryParameters['recursive'] = requestParameters['recursive'];
|
|
52
|
+
}
|
|
53
|
+
if (requestParameters['limit'] != null) {
|
|
54
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
55
|
+
}
|
|
56
|
+
if (requestParameters['offset'] != null) {
|
|
57
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
58
|
+
}
|
|
59
|
+
const headerParameters = {};
|
|
60
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
61
|
+
const token = this.configuration.accessToken;
|
|
62
|
+
const tokenString = yield token("bearerAuth", []);
|
|
63
|
+
if (tokenString) {
|
|
64
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
let urlPath = `/v1/audit-events`;
|
|
68
|
+
return {
|
|
69
|
+
path: urlPath,
|
|
70
|
+
method: 'GET',
|
|
71
|
+
headers: headerParameters,
|
|
72
|
+
query: queryParameters,
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
|
|
78
|
+
* List Audit Events Handler
|
|
79
|
+
*/
|
|
80
|
+
listAuditEventsRaw(requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
const requestOptions = yield this.listAuditEventsRequestOpts(requestParameters);
|
|
83
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
84
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedResponseEventResponseFromJSON(jsonValue));
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* List the tenant\'s audit events, newest first (admin/owner only). Returns every event in the caller\'s own tenant — ADMIN/OWNER bypass path permissions by design. Filter by actor, kind, time window, and/or a subject subtree. Each event carries its resolved actor name.
|
|
89
|
+
* List Audit Events Handler
|
|
90
|
+
*/
|
|
91
|
+
listAuditEvents() {
|
|
92
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
93
|
+
const response = yield this.listAuditEventsRaw(requestParameters, initOverrides);
|
|
94
|
+
return yield response.value();
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -13,8 +13,6 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ChangePhoneNumberRequest, CreatePasswordUserRequest, CreatePhonePasswordUserRequest, DirectorySyncResponse, EmailSentResponse, EmailVerificationRequest, IdpType, PasswordResetRequest, PasswordResetTokenResponse, PasswordResetWithTokenRequest, PhoneValidationResponse, PhoneVerificationRequest, RequestPhoneChangeRequest, ResponseSendPwResetEmail, SSOInitiateResponse, SendPasswordResetRequest, SignInRequest, UserResponse, ValidateResetCodeRequest } from '../models/index';
|
|
14
14
|
export interface ChangePhoneNumberOperationRequest {
|
|
15
15
|
changePhoneNumberRequest: ChangePhoneNumberRequest;
|
|
16
|
-
authorization?: string | null;
|
|
17
|
-
ksUat?: string | null;
|
|
18
16
|
}
|
|
19
17
|
export interface CreatePasswordUserOperationRequest {
|
|
20
18
|
createPasswordUserRequest: CreatePasswordUserRequest;
|
|
@@ -55,18 +53,12 @@ export interface PwSigninRequest {
|
|
|
55
53
|
}
|
|
56
54
|
export interface RefreshUatRequest {
|
|
57
55
|
tenantId?: string | null;
|
|
58
|
-
authorization?: string | null;
|
|
59
|
-
ksUat?: string | null;
|
|
60
56
|
}
|
|
61
57
|
export interface RequestPhoneChangeOperationRequest {
|
|
62
58
|
requestPhoneChangeRequest: RequestPhoneChangeRequest;
|
|
63
|
-
authorization?: string | null;
|
|
64
|
-
ksUat?: string | null;
|
|
65
59
|
}
|
|
66
60
|
export interface ResetPasswordRequest {
|
|
67
61
|
passwordResetRequest: PasswordResetRequest;
|
|
68
|
-
authorization?: string | null;
|
|
69
|
-
ksUat?: string | null;
|
|
70
62
|
}
|
|
71
63
|
export interface ResetPasswordWithTokenRequest {
|
|
72
64
|
passwordResetWithTokenRequest: PasswordResetWithTokenRequest;
|
|
@@ -91,8 +83,6 @@ export interface AuthApiInterface {
|
|
|
91
83
|
/**
|
|
92
84
|
* Creates request options for changePhoneNumber without sending the request
|
|
93
85
|
* @param {ChangePhoneNumberRequest} changePhoneNumberRequest
|
|
94
|
-
* @param {string} [authorization]
|
|
95
|
-
* @param {string} [ksUat]
|
|
96
86
|
* @throws {RequiredError}
|
|
97
87
|
* @memberof AuthApiInterface
|
|
98
88
|
*/
|
|
@@ -101,8 +91,6 @@ export interface AuthApiInterface {
|
|
|
101
91
|
* Apply a verified phone-number change to the authenticated user. The new phone is read from the Redis validation record pinned by ``/me/phone_number/verify``.
|
|
102
92
|
* @summary Change Phone Number Handler
|
|
103
93
|
* @param {ChangePhoneNumberRequest} changePhoneNumberRequest
|
|
104
|
-
* @param {string} [authorization]
|
|
105
|
-
* @param {string} [ksUat]
|
|
106
94
|
* @param {*} [options] Override http request option.
|
|
107
95
|
* @throws {RequiredError}
|
|
108
96
|
* @memberof AuthApiInterface
|
|
@@ -324,8 +312,6 @@ export interface AuthApiInterface {
|
|
|
324
312
|
/**
|
|
325
313
|
* Creates request options for refreshUat without sending the request
|
|
326
314
|
* @param {string} [tenantId] Target tenant ID to switch to. None=refresh current tenant
|
|
327
|
-
* @param {string} [authorization]
|
|
328
|
-
* @param {string} [ksUat]
|
|
329
315
|
* @throws {RequiredError}
|
|
330
316
|
* @memberof AuthApiInterface
|
|
331
317
|
*/
|
|
@@ -334,8 +320,6 @@ export interface AuthApiInterface {
|
|
|
334
320
|
* Refresh or switch the user\'s active tenant token.
|
|
335
321
|
* @summary Refresh Uat Handler
|
|
336
322
|
* @param {string} [tenantId] Target tenant ID to switch to. None=refresh current tenant
|
|
337
|
-
* @param {string} [authorization]
|
|
338
|
-
* @param {string} [ksUat]
|
|
339
323
|
* @param {*} [options] Override http request option.
|
|
340
324
|
* @throws {RequiredError}
|
|
341
325
|
* @memberof AuthApiInterface
|
|
@@ -349,8 +333,6 @@ export interface AuthApiInterface {
|
|
|
349
333
|
/**
|
|
350
334
|
* Creates request options for requestPhoneChange without sending the request
|
|
351
335
|
* @param {RequestPhoneChangeRequest} requestPhoneChangeRequest
|
|
352
|
-
* @param {string} [authorization]
|
|
353
|
-
* @param {string} [ksUat]
|
|
354
336
|
* @throws {RequiredError}
|
|
355
337
|
* @memberof AuthApiInterface
|
|
356
338
|
*/
|
|
@@ -359,8 +341,6 @@ export interface AuthApiInterface {
|
|
|
359
341
|
* Dispatch an SMS code to authorize a phone-number change. Confirms the new phone isn\'t already taken by *another* user. The caller is identified by their UAT, so authentication is required.
|
|
360
342
|
* @summary Request Phone Change Handler
|
|
361
343
|
* @param {RequestPhoneChangeRequest} requestPhoneChangeRequest
|
|
362
|
-
* @param {string} [authorization]
|
|
363
|
-
* @param {string} [ksUat]
|
|
364
344
|
* @param {*} [options] Override http request option.
|
|
365
345
|
* @throws {RequiredError}
|
|
366
346
|
* @memberof AuthApiInterface
|
|
@@ -374,8 +354,6 @@ export interface AuthApiInterface {
|
|
|
374
354
|
/**
|
|
375
355
|
* Creates request options for resetPassword without sending the request
|
|
376
356
|
* @param {PasswordResetRequest} passwordResetRequest
|
|
377
|
-
* @param {string} [authorization]
|
|
378
|
-
* @param {string} [ksUat]
|
|
379
357
|
* @throws {RequiredError}
|
|
380
358
|
* @memberof AuthApiInterface
|
|
381
359
|
*/
|
|
@@ -384,8 +362,6 @@ export interface AuthApiInterface {
|
|
|
384
362
|
* Reset password for the authenticated user
|
|
385
363
|
* @summary Reset Password Handler
|
|
386
364
|
* @param {PasswordResetRequest} passwordResetRequest
|
|
387
|
-
* @param {string} [authorization]
|
|
388
|
-
* @param {string} [ksUat]
|
|
389
365
|
* @param {*} [options] Override http request option.
|
|
390
366
|
* @throws {RequiredError}
|
|
391
367
|
* @memberof AuthApiInterface
|
package/dist/esm/apis/AuthApi.js
CHANGED
|
@@ -37,8 +37,12 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
39
|
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
-
if (
|
|
41
|
-
|
|
40
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
41
|
+
const token = this.configuration.accessToken;
|
|
42
|
+
const tokenString = yield token("bearerAuth", []);
|
|
43
|
+
if (tokenString) {
|
|
44
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
+
}
|
|
42
46
|
}
|
|
43
47
|
let urlPath = `/v1/auth/pw/me/phone_number`;
|
|
44
48
|
return {
|
|
@@ -481,8 +485,12 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
481
485
|
queryParameters['tenant_id'] = requestParameters['tenantId'];
|
|
482
486
|
}
|
|
483
487
|
const headerParameters = {};
|
|
484
|
-
if (
|
|
485
|
-
|
|
488
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
489
|
+
const token = this.configuration.accessToken;
|
|
490
|
+
const tokenString = yield token("bearerAuth", []);
|
|
491
|
+
if (tokenString) {
|
|
492
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
493
|
+
}
|
|
486
494
|
}
|
|
487
495
|
let urlPath = `/v1/auth/uat`;
|
|
488
496
|
return {
|
|
@@ -525,8 +533,12 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
525
533
|
const queryParameters = {};
|
|
526
534
|
const headerParameters = {};
|
|
527
535
|
headerParameters['Content-Type'] = 'application/json';
|
|
528
|
-
if (
|
|
529
|
-
|
|
536
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
537
|
+
const token = this.configuration.accessToken;
|
|
538
|
+
const tokenString = yield token("bearerAuth", []);
|
|
539
|
+
if (tokenString) {
|
|
540
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
541
|
+
}
|
|
530
542
|
}
|
|
531
543
|
let urlPath = `/v1/auth/pw/me/phone_number/verify`;
|
|
532
544
|
return {
|
|
@@ -570,8 +582,12 @@ export class AuthApi extends runtime.BaseAPI {
|
|
|
570
582
|
const queryParameters = {};
|
|
571
583
|
const headerParameters = {};
|
|
572
584
|
headerParameters['Content-Type'] = 'application/json';
|
|
573
|
-
if (
|
|
574
|
-
|
|
585
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
586
|
+
const token = this.configuration.accessToken;
|
|
587
|
+
const tokenString = yield token("bearerAuth", []);
|
|
588
|
+
if (tokenString) {
|
|
589
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
590
|
+
}
|
|
575
591
|
}
|
|
576
592
|
let urlPath = `/v1/auth/pw/reset`;
|
|
577
593
|
return {
|
|
@@ -13,20 +13,14 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ChunkLineageResponse, CreateChunkLineageRequest, LineageGraphResponse } from '../models/index';
|
|
14
14
|
export interface CreateChunkLineageOperationRequest {
|
|
15
15
|
createChunkLineageRequest: CreateChunkLineageRequest;
|
|
16
|
-
authorization?: string | null;
|
|
17
|
-
ksUat?: string | null;
|
|
18
16
|
}
|
|
19
17
|
export interface DeleteChunkLineageRequest {
|
|
20
18
|
parentChunkId: string;
|
|
21
19
|
chunkId: string;
|
|
22
|
-
authorization?: string | null;
|
|
23
|
-
ksUat?: string | null;
|
|
24
20
|
}
|
|
25
21
|
export interface GetChunkLineageRequest {
|
|
26
22
|
chunkId: string;
|
|
27
23
|
maxDepth?: number;
|
|
28
|
-
authorization?: string | null;
|
|
29
|
-
ksUat?: string | null;
|
|
30
24
|
}
|
|
31
25
|
/**
|
|
32
26
|
* ChunkLineagesApi - interface
|
|
@@ -38,8 +32,6 @@ export interface ChunkLineagesApiInterface {
|
|
|
38
32
|
/**
|
|
39
33
|
* Creates request options for createChunkLineage without sending the request
|
|
40
34
|
* @param {CreateChunkLineageRequest} createChunkLineageRequest
|
|
41
|
-
* @param {string} [authorization]
|
|
42
|
-
* @param {string} [ksUat]
|
|
43
35
|
* @throws {RequiredError}
|
|
44
36
|
* @memberof ChunkLineagesApiInterface
|
|
45
37
|
*/
|
|
@@ -48,8 +40,6 @@ export interface ChunkLineagesApiInterface {
|
|
|
48
40
|
* Batch-create lineage edges for a child chunk. Creates edges from each parent chunk to the specified child chunk. All chunks must exist in the same tenant.
|
|
49
41
|
* @summary Create Chunk Lineage Handler
|
|
50
42
|
* @param {CreateChunkLineageRequest} createChunkLineageRequest
|
|
51
|
-
* @param {string} [authorization]
|
|
52
|
-
* @param {string} [ksUat]
|
|
53
43
|
* @param {*} [options] Override http request option.
|
|
54
44
|
* @throws {RequiredError}
|
|
55
45
|
* @memberof ChunkLineagesApiInterface
|
|
@@ -64,8 +54,6 @@ export interface ChunkLineagesApiInterface {
|
|
|
64
54
|
* Creates request options for deleteChunkLineage without sending the request
|
|
65
55
|
* @param {string} parentChunkId Parent chunk ID
|
|
66
56
|
* @param {string} chunkId Child chunk ID
|
|
67
|
-
* @param {string} [authorization]
|
|
68
|
-
* @param {string} [ksUat]
|
|
69
57
|
* @throws {RequiredError}
|
|
70
58
|
* @memberof ChunkLineagesApiInterface
|
|
71
59
|
*/
|
|
@@ -75,8 +63,6 @@ export interface ChunkLineagesApiInterface {
|
|
|
75
63
|
* @summary Delete Chunk Lineage Handler
|
|
76
64
|
* @param {string} parentChunkId Parent chunk ID
|
|
77
65
|
* @param {string} chunkId Child chunk ID
|
|
78
|
-
* @param {string} [authorization]
|
|
79
|
-
* @param {string} [ksUat]
|
|
80
66
|
* @param {*} [options] Override http request option.
|
|
81
67
|
* @throws {RequiredError}
|
|
82
68
|
* @memberof ChunkLineagesApiInterface
|
|
@@ -91,8 +77,6 @@ export interface ChunkLineagesApiInterface {
|
|
|
91
77
|
* Creates request options for getChunkLineage without sending the request
|
|
92
78
|
* @param {string} chunkId
|
|
93
79
|
* @param {number} [maxDepth]
|
|
94
|
-
* @param {string} [authorization]
|
|
95
|
-
* @param {string} [ksUat]
|
|
96
80
|
* @throws {RequiredError}
|
|
97
81
|
* @memberof ChunkLineagesApiInterface
|
|
98
82
|
*/
|
|
@@ -102,8 +86,6 @@ export interface ChunkLineagesApiInterface {
|
|
|
102
86
|
* @summary Get Chunk Lineage Handler
|
|
103
87
|
* @param {string} chunkId
|
|
104
88
|
* @param {number} [maxDepth]
|
|
105
|
-
* @param {string} [authorization]
|
|
106
|
-
* @param {string} [ksUat]
|
|
107
89
|
* @param {*} [options] Override http request option.
|
|
108
90
|
* @throws {RequiredError}
|
|
109
91
|
* @memberof ChunkLineagesApiInterface
|
|
@@ -37,8 +37,12 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
39
|
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
-
if (
|
|
41
|
-
|
|
40
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
41
|
+
const token = this.configuration.accessToken;
|
|
42
|
+
const tokenString = yield token("bearerAuth", []);
|
|
43
|
+
if (tokenString) {
|
|
44
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
+
}
|
|
42
46
|
}
|
|
43
47
|
let urlPath = `/v1/chunk-lineages`;
|
|
44
48
|
return {
|
|
@@ -90,8 +94,12 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
90
94
|
queryParameters['chunk_id'] = requestParameters['chunkId'];
|
|
91
95
|
}
|
|
92
96
|
const headerParameters = {};
|
|
93
|
-
if (
|
|
94
|
-
|
|
97
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
98
|
+
const token = this.configuration.accessToken;
|
|
99
|
+
const tokenString = yield token("bearerAuth", []);
|
|
100
|
+
if (tokenString) {
|
|
101
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
102
|
+
}
|
|
95
103
|
}
|
|
96
104
|
let urlPath = `/v1/chunk-lineages`;
|
|
97
105
|
return {
|
|
@@ -135,8 +143,12 @@ export class ChunkLineagesApi extends runtime.BaseAPI {
|
|
|
135
143
|
queryParameters['max_depth'] = requestParameters['maxDepth'];
|
|
136
144
|
}
|
|
137
145
|
const headerParameters = {};
|
|
138
|
-
if (
|
|
139
|
-
|
|
146
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
147
|
+
const token = this.configuration.accessToken;
|
|
148
|
+
const tokenString = yield token("bearerAuth", []);
|
|
149
|
+
if (tokenString) {
|
|
150
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
151
|
+
}
|
|
140
152
|
}
|
|
141
153
|
let urlPath = `/v1/chunk-lineages/{chunk_id}`;
|
|
142
154
|
urlPath = urlPath.replace(`{${"chunk_id"}}`, encodeURIComponent(String(requestParameters['chunkId'])));
|
|
@@ -13,19 +13,13 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ChunkBulkResponse, ChunkNeighborsResponse, ChunkResponse, ChunkSearchRequest, CreateChunkRequest, PartType, ScoredChunkResponse, UpdateChunkContentRequest, UpdateChunkMetadataRequest, VersionChunkIdsResponse } from '../models/index';
|
|
14
14
|
export interface CreateChunkOperationRequest {
|
|
15
15
|
createChunkRequest: CreateChunkRequest;
|
|
16
|
-
authorization?: string | null;
|
|
17
|
-
ksUat?: string | null;
|
|
18
16
|
}
|
|
19
17
|
export interface DeleteChunkRequest {
|
|
20
18
|
chunkId: string;
|
|
21
|
-
authorization?: string | null;
|
|
22
|
-
ksUat?: string | null;
|
|
23
19
|
}
|
|
24
20
|
export interface GetChunkRequest {
|
|
25
21
|
chunkId: string;
|
|
26
22
|
withDocument?: boolean;
|
|
27
|
-
authorization?: string | null;
|
|
28
|
-
ksUat?: string | null;
|
|
29
23
|
}
|
|
30
24
|
export interface GetChunkNeighborsRequest {
|
|
31
25
|
chunkId: string;
|
|
@@ -33,35 +27,23 @@ export interface GetChunkNeighborsRequest {
|
|
|
33
27
|
next?: number;
|
|
34
28
|
contentType?: PartType;
|
|
35
29
|
withinSection?: boolean;
|
|
36
|
-
authorization?: string | null;
|
|
37
|
-
ksUat?: string | null;
|
|
38
30
|
}
|
|
39
31
|
export interface GetChunksBulkRequest {
|
|
40
32
|
chunkIds?: Array<string> | null;
|
|
41
|
-
authorization?: string | null;
|
|
42
|
-
ksUat?: string | null;
|
|
43
33
|
}
|
|
44
34
|
export interface GetVersionChunkIdsRequest {
|
|
45
35
|
documentVersionId: string;
|
|
46
|
-
authorization?: string | null;
|
|
47
|
-
ksUat?: string | null;
|
|
48
36
|
}
|
|
49
37
|
export interface SearchChunksRequest {
|
|
50
38
|
chunkSearchRequest: ChunkSearchRequest;
|
|
51
|
-
authorization?: string | null;
|
|
52
|
-
ksUat?: string | null;
|
|
53
39
|
}
|
|
54
40
|
export interface UpdateChunkContentOperationRequest {
|
|
55
41
|
chunkId: string;
|
|
56
42
|
updateChunkContentRequest: UpdateChunkContentRequest;
|
|
57
|
-
authorization?: string | null;
|
|
58
|
-
ksUat?: string | null;
|
|
59
43
|
}
|
|
60
44
|
export interface UpdateChunkMetadataOperationRequest {
|
|
61
45
|
chunkId: string;
|
|
62
46
|
updateChunkMetadataRequest: UpdateChunkMetadataRequest;
|
|
63
|
-
authorization?: string | null;
|
|
64
|
-
ksUat?: string | null;
|
|
65
47
|
}
|
|
66
48
|
/**
|
|
67
49
|
* ChunksApi - interface
|
|
@@ -73,8 +55,6 @@ export interface ChunksApiInterface {
|
|
|
73
55
|
/**
|
|
74
56
|
* Creates request options for createChunk without sending the request
|
|
75
57
|
* @param {CreateChunkRequest} createChunkRequest
|
|
76
|
-
* @param {string} [authorization]
|
|
77
|
-
* @param {string} [ksUat]
|
|
78
58
|
* @throws {RequiredError}
|
|
79
59
|
* @memberof ChunksApiInterface
|
|
80
60
|
*/
|
|
@@ -83,8 +63,6 @@ export interface ChunksApiInterface {
|
|
|
83
63
|
* Create a new chunk with content. The chunk is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). Content is deduplicated by SHA256 hash.
|
|
84
64
|
* @summary Create Chunk Handler
|
|
85
65
|
* @param {CreateChunkRequest} createChunkRequest
|
|
86
|
-
* @param {string} [authorization]
|
|
87
|
-
* @param {string} [ksUat]
|
|
88
66
|
* @param {*} [options] Override http request option.
|
|
89
67
|
* @throws {RequiredError}
|
|
90
68
|
* @memberof ChunksApiInterface
|
|
@@ -98,8 +76,6 @@ export interface ChunksApiInterface {
|
|
|
98
76
|
/**
|
|
99
77
|
* Creates request options for deleteChunk without sending the request
|
|
100
78
|
* @param {string} chunkId
|
|
101
|
-
* @param {string} [authorization]
|
|
102
|
-
* @param {string} [ksUat]
|
|
103
79
|
* @throws {RequiredError}
|
|
104
80
|
* @memberof ChunksApiInterface
|
|
105
81
|
*/
|
|
@@ -108,8 +84,6 @@ export interface ChunksApiInterface {
|
|
|
108
84
|
* Delete a chunk. The chunk is deleted via its PathPart (cascading delete). The associated ChunkContent may remain if shared by other chunks.
|
|
109
85
|
* @summary Delete Chunk Handler
|
|
110
86
|
* @param {string} chunkId
|
|
111
|
-
* @param {string} [authorization]
|
|
112
|
-
* @param {string} [ksUat]
|
|
113
87
|
* @param {*} [options] Override http request option.
|
|
114
88
|
* @throws {RequiredError}
|
|
115
89
|
* @memberof ChunksApiInterface
|
|
@@ -124,8 +98,6 @@ export interface ChunksApiInterface {
|
|
|
124
98
|
* Creates request options for getChunk without sending the request
|
|
125
99
|
* @param {string} chunkId
|
|
126
100
|
* @param {boolean} [withDocument] Include ancestor document_id and document_version_id (default: false)
|
|
127
|
-
* @param {string} [authorization]
|
|
128
|
-
* @param {string} [ksUat]
|
|
129
101
|
* @throws {RequiredError}
|
|
130
102
|
* @memberof ChunksApiInterface
|
|
131
103
|
*/
|
|
@@ -135,8 +107,6 @@ export interface ChunksApiInterface {
|
|
|
135
107
|
* @summary Get Chunk Handler
|
|
136
108
|
* @param {string} chunkId
|
|
137
109
|
* @param {boolean} [withDocument] Include ancestor document_id and document_version_id (default: false)
|
|
138
|
-
* @param {string} [authorization]
|
|
139
|
-
* @param {string} [ksUat]
|
|
140
110
|
* @param {*} [options] Override http request option.
|
|
141
111
|
* @throws {RequiredError}
|
|
142
112
|
* @memberof ChunksApiInterface
|
|
@@ -154,8 +124,6 @@ export interface ChunksApiInterface {
|
|
|
154
124
|
* @param {number} [next] Number of succeeding items to include (max 50).
|
|
155
125
|
* @param {PartType} [contentType] Filter by content type: SECTION or CHUNK. Omit to return both. SECTION is rejected when the anchor is a chunk (always).
|
|
156
126
|
* @param {boolean} [withinSection] When true (default), traverse only the anchor\'s sibling chain under the same parent. When false, traverse the entire document version in DFS order, crossing section boundaries.
|
|
157
|
-
* @param {string} [authorization]
|
|
158
|
-
* @param {string} [ksUat]
|
|
159
127
|
* @throws {RequiredError}
|
|
160
128
|
* @memberof ChunksApiInterface
|
|
161
129
|
*/
|
|
@@ -168,8 +136,6 @@ export interface ChunksApiInterface {
|
|
|
168
136
|
* @param {number} [next] Number of succeeding items to include (max 50).
|
|
169
137
|
* @param {PartType} [contentType] Filter by content type: SECTION or CHUNK. Omit to return both. SECTION is rejected when the anchor is a chunk (always).
|
|
170
138
|
* @param {boolean} [withinSection] When true (default), traverse only the anchor\'s sibling chain under the same parent. When false, traverse the entire document version in DFS order, crossing section boundaries.
|
|
171
|
-
* @param {string} [authorization]
|
|
172
|
-
* @param {string} [ksUat]
|
|
173
139
|
* @param {*} [options] Override http request option.
|
|
174
140
|
* @throws {RequiredError}
|
|
175
141
|
* @memberof ChunksApiInterface
|
|
@@ -183,8 +149,6 @@ export interface ChunksApiInterface {
|
|
|
183
149
|
/**
|
|
184
150
|
* Creates request options for getChunksBulk without sending the request
|
|
185
151
|
* @param {Array<string>} [chunkIds] Chunk IDs to resolve (max 200)
|
|
186
|
-
* @param {string} [authorization]
|
|
187
|
-
* @param {string} [ksUat]
|
|
188
152
|
* @throws {RequiredError}
|
|
189
153
|
* @memberof ChunksApiInterface
|
|
190
154
|
*/
|
|
@@ -193,8 +157,6 @@ export interface ChunksApiInterface {
|
|
|
193
157
|
* Batch-fetch chunks with their full ancestor path part IDs. Returns standard chunk data plus path_part_id_segments (the ordered ancestor chain from root to chunk) for each requested chunk. Non-existent IDs are silently skipped. Limited to 200 IDs per call.
|
|
194
158
|
* @summary Get Chunks Bulk Handler
|
|
195
159
|
* @param {Array<string>} [chunkIds] Chunk IDs to resolve (max 200)
|
|
196
|
-
* @param {string} [authorization]
|
|
197
|
-
* @param {string} [ksUat]
|
|
198
160
|
* @param {*} [options] Override http request option.
|
|
199
161
|
* @throws {RequiredError}
|
|
200
162
|
* @memberof ChunksApiInterface
|
|
@@ -208,8 +170,6 @@ export interface ChunksApiInterface {
|
|
|
208
170
|
/**
|
|
209
171
|
* Creates request options for getVersionChunkIds without sending the request
|
|
210
172
|
* @param {string} documentVersionId Document version ID
|
|
211
|
-
* @param {string} [authorization]
|
|
212
|
-
* @param {string} [ksUat]
|
|
213
173
|
* @throws {RequiredError}
|
|
214
174
|
* @memberof ChunksApiInterface
|
|
215
175
|
*/
|
|
@@ -218,8 +178,6 @@ export interface ChunksApiInterface {
|
|
|
218
178
|
* Get all chunk IDs belonging to a document version. Used by the embedding pipeline to discover chunks for a version.
|
|
219
179
|
* @summary Get Version Chunk Ids Handler
|
|
220
180
|
* @param {string} documentVersionId Document version ID
|
|
221
|
-
* @param {string} [authorization]
|
|
222
|
-
* @param {string} [ksUat]
|
|
223
181
|
* @param {*} [options] Override http request option.
|
|
224
182
|
* @throws {RequiredError}
|
|
225
183
|
* @memberof ChunksApiInterface
|
|
@@ -233,8 +191,6 @@ export interface ChunksApiInterface {
|
|
|
233
191
|
/**
|
|
234
192
|
* Creates request options for searchChunks without sending the request
|
|
235
193
|
* @param {ChunkSearchRequest} chunkSearchRequest
|
|
236
|
-
* @param {string} [authorization]
|
|
237
|
-
* @param {string} [ksUat]
|
|
238
194
|
* @throws {RequiredError}
|
|
239
195
|
* @memberof ChunksApiInterface
|
|
240
196
|
*/
|
|
@@ -243,8 +199,6 @@ export interface ChunksApiInterface {
|
|
|
243
199
|
* Search over chunks using dense vector, BM25 full-text, or hybrid retrieval. Combines search with path-based authorization and optional metadata filters. Uses Qdrant for retrieval and hydrates the matched chunks from Postgres. **Billing note.** SEARCH consume runs *before* path-permission resolution. A request that resolves to an empty permission set (caller has read access to nothing in the requested scope) returns ``[]`` cleanly — without raising — so it is **not** refunded. This is intentional: differential billing for a no-results case would leak access shape to the caller. Callers concerned about charged no-op searches should validate path access client-side first.
|
|
244
200
|
* @summary Search Chunks Handler
|
|
245
201
|
* @param {ChunkSearchRequest} chunkSearchRequest
|
|
246
|
-
* @param {string} [authorization]
|
|
247
|
-
* @param {string} [ksUat]
|
|
248
202
|
* @param {*} [options] Override http request option.
|
|
249
203
|
* @throws {RequiredError}
|
|
250
204
|
* @memberof ChunksApiInterface
|
|
@@ -259,8 +213,6 @@ export interface ChunksApiInterface {
|
|
|
259
213
|
* Creates request options for updateChunkContent without sending the request
|
|
260
214
|
* @param {string} chunkId
|
|
261
215
|
* @param {UpdateChunkContentRequest} updateChunkContentRequest
|
|
262
|
-
* @param {string} [authorization]
|
|
263
|
-
* @param {string} [ksUat]
|
|
264
216
|
* @throws {RequiredError}
|
|
265
217
|
* @memberof ChunksApiInterface
|
|
266
218
|
*/
|
|
@@ -270,8 +222,6 @@ export interface ChunksApiInterface {
|
|
|
270
222
|
* @summary Update Chunk Content Handler
|
|
271
223
|
* @param {string} chunkId
|
|
272
224
|
* @param {UpdateChunkContentRequest} updateChunkContentRequest
|
|
273
|
-
* @param {string} [authorization]
|
|
274
|
-
* @param {string} [ksUat]
|
|
275
225
|
* @param {*} [options] Override http request option.
|
|
276
226
|
* @throws {RequiredError}
|
|
277
227
|
* @memberof ChunksApiInterface
|
|
@@ -286,8 +236,6 @@ export interface ChunksApiInterface {
|
|
|
286
236
|
* Creates request options for updateChunkMetadata without sending the request
|
|
287
237
|
* @param {string} chunkId
|
|
288
238
|
* @param {UpdateChunkMetadataRequest} updateChunkMetadataRequest
|
|
289
|
-
* @param {string} [authorization]
|
|
290
|
-
* @param {string} [ksUat]
|
|
291
239
|
* @throws {RequiredError}
|
|
292
240
|
* @memberof ChunksApiInterface
|
|
293
241
|
*/
|
|
@@ -297,8 +245,6 @@ export interface ChunksApiInterface {
|
|
|
297
245
|
* @summary Update Chunk Metadata Handler
|
|
298
246
|
* @param {string} chunkId
|
|
299
247
|
* @param {UpdateChunkMetadataRequest} updateChunkMetadataRequest
|
|
300
|
-
* @param {string} [authorization]
|
|
301
|
-
* @param {string} [ksUat]
|
|
302
248
|
* @param {*} [options] Override http request option.
|
|
303
249
|
* @throws {RequiredError}
|
|
304
250
|
* @memberof ChunksApiInterface
|