@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
|
@@ -10,39 +10,32 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AncestryResponse, AppendEventRequest, BulkTagRequest, EventResponse, PaginatedResponseEventResponse, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, SubtreeChunksResponse } from '../models/index';
|
|
13
|
+
import type { AccessCheckResponse, AncestryResponse, AppendEventRequest, BulkTagRequest, EventResponse, PaginatedResponseEventResponse, PaginatedResponsePathPartResponse, PathOrder, PathPartResponse, PathPartTagsResponse, PermissionCapability, SubtreeChunksResponse } from '../models/index';
|
|
14
14
|
export interface AppendPathPartEventRequest {
|
|
15
15
|
pathPartId: string;
|
|
16
16
|
appendEventRequest: AppendEventRequest;
|
|
17
|
-
authorization?: string | null;
|
|
18
|
-
ksUat?: string | null;
|
|
19
17
|
}
|
|
20
18
|
export interface BulkRemovePathPartTagsRequest {
|
|
21
19
|
pathPartId: string;
|
|
22
20
|
bulkTagRequest: BulkTagRequest;
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
}
|
|
22
|
+
export interface CheckPathPartAccessRequest {
|
|
23
|
+
pathPartId: string;
|
|
24
|
+
userId: string;
|
|
25
|
+
capability?: PermissionCapability;
|
|
25
26
|
}
|
|
26
27
|
export interface GetPathPartRequest {
|
|
27
28
|
pathPartId: string;
|
|
28
|
-
authorization?: string | null;
|
|
29
|
-
ksUat?: string | null;
|
|
30
29
|
}
|
|
31
30
|
export interface GetPathPartAncestryRequest {
|
|
32
31
|
pathPartId: string;
|
|
33
|
-
authorization?: string | null;
|
|
34
|
-
ksUat?: string | null;
|
|
35
32
|
}
|
|
36
33
|
export interface GetPathPartSubtreeChunksRequest {
|
|
37
34
|
pathPartId: string;
|
|
38
|
-
authorization?: string | null;
|
|
39
|
-
ksUat?: string | null;
|
|
40
35
|
}
|
|
41
36
|
export interface GetPathPartTagsRequest {
|
|
42
37
|
pathPartId: string;
|
|
43
38
|
includeInherited?: boolean;
|
|
44
|
-
authorization?: string | null;
|
|
45
|
-
ksUat?: string | null;
|
|
46
39
|
}
|
|
47
40
|
export interface ListPathPartEventsRequest {
|
|
48
41
|
pathPartId: string;
|
|
@@ -52,8 +45,6 @@ export interface ListPathPartEventsRequest {
|
|
|
52
45
|
recursive?: boolean;
|
|
53
46
|
limit?: number;
|
|
54
47
|
offset?: number;
|
|
55
|
-
authorization?: string | null;
|
|
56
|
-
ksUat?: string | null;
|
|
57
48
|
}
|
|
58
49
|
export interface ListPathPartsRequest {
|
|
59
50
|
parentPathId?: string | null;
|
|
@@ -61,14 +52,10 @@ export interface ListPathPartsRequest {
|
|
|
61
52
|
sortOrder?: PathOrder;
|
|
62
53
|
limit?: number;
|
|
63
54
|
offset?: number;
|
|
64
|
-
authorization?: string | null;
|
|
65
|
-
ksUat?: string | null;
|
|
66
55
|
}
|
|
67
56
|
export interface SetPathPartTagsRequest {
|
|
68
57
|
pathPartId: string;
|
|
69
58
|
bulkTagRequest: BulkTagRequest;
|
|
70
|
-
authorization?: string | null;
|
|
71
|
-
ksUat?: string | null;
|
|
72
59
|
}
|
|
73
60
|
/**
|
|
74
61
|
* PathPartsApi - interface
|
|
@@ -81,8 +68,6 @@ export interface PathPartsApiInterface {
|
|
|
81
68
|
* Creates request options for appendPathPartEvent without sending the request
|
|
82
69
|
* @param {string} pathPartId
|
|
83
70
|
* @param {AppendEventRequest} appendEventRequest
|
|
84
|
-
* @param {string} [authorization]
|
|
85
|
-
* @param {string} [ksUat]
|
|
86
71
|
* @throws {RequiredError}
|
|
87
72
|
* @memberof PathPartsApiInterface
|
|
88
73
|
*/
|
|
@@ -92,8 +77,6 @@ export interface PathPartsApiInterface {
|
|
|
92
77
|
* @summary Append Path Part Event Handler
|
|
93
78
|
* @param {string} pathPartId
|
|
94
79
|
* @param {AppendEventRequest} appendEventRequest
|
|
95
|
-
* @param {string} [authorization]
|
|
96
|
-
* @param {string} [ksUat]
|
|
97
80
|
* @param {*} [options] Override http request option.
|
|
98
81
|
* @throws {RequiredError}
|
|
99
82
|
* @memberof PathPartsApiInterface
|
|
@@ -108,8 +91,6 @@ export interface PathPartsApiInterface {
|
|
|
108
91
|
* Creates request options for bulkRemovePathPartTags without sending the request
|
|
109
92
|
* @param {string} pathPartId
|
|
110
93
|
* @param {BulkTagRequest} bulkTagRequest
|
|
111
|
-
* @param {string} [authorization]
|
|
112
|
-
* @param {string} [ksUat]
|
|
113
94
|
* @throws {RequiredError}
|
|
114
95
|
* @memberof PathPartsApiInterface
|
|
115
96
|
*/
|
|
@@ -119,8 +100,6 @@ export interface PathPartsApiInterface {
|
|
|
119
100
|
* @summary Bulk Remove Path Part Tags Handler
|
|
120
101
|
* @param {string} pathPartId
|
|
121
102
|
* @param {BulkTagRequest} bulkTagRequest
|
|
122
|
-
* @param {string} [authorization]
|
|
123
|
-
* @param {string} [ksUat]
|
|
124
103
|
* @param {*} [options] Override http request option.
|
|
125
104
|
* @throws {RequiredError}
|
|
126
105
|
* @memberof PathPartsApiInterface
|
|
@@ -131,11 +110,34 @@ export interface PathPartsApiInterface {
|
|
|
131
110
|
* Bulk Remove Path Part Tags Handler
|
|
132
111
|
*/
|
|
133
112
|
bulkRemovePathPartTags(requestParameters: BulkRemovePathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Creates request options for checkPathPartAccess without sending the request
|
|
115
|
+
* @param {string} pathPartId
|
|
116
|
+
* @param {string} userId The user whose access is being explained
|
|
117
|
+
* @param {PermissionCapability} [capability] Capability to check (READ_ONLY or READ_WRITE)
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
* @memberof PathPartsApiInterface
|
|
120
|
+
*/
|
|
121
|
+
checkPathPartAccessRequestOpts(requestParameters: CheckPathPartAccessRequest): Promise<runtime.RequestOpts>;
|
|
122
|
+
/**
|
|
123
|
+
* 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.
|
|
124
|
+
* @summary Check Path Part Access Handler
|
|
125
|
+
* @param {string} pathPartId
|
|
126
|
+
* @param {string} userId The user whose access is being explained
|
|
127
|
+
* @param {PermissionCapability} [capability] Capability to check (READ_ONLY or READ_WRITE)
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
* @memberof PathPartsApiInterface
|
|
131
|
+
*/
|
|
132
|
+
checkPathPartAccessRaw(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccessCheckResponse>>;
|
|
133
|
+
/**
|
|
134
|
+
* 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.
|
|
135
|
+
* Check Path Part Access Handler
|
|
136
|
+
*/
|
|
137
|
+
checkPathPartAccess(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccessCheckResponse>;
|
|
134
138
|
/**
|
|
135
139
|
* Creates request options for getPathPart without sending the request
|
|
136
140
|
* @param {string} pathPartId
|
|
137
|
-
* @param {string} [authorization]
|
|
138
|
-
* @param {string} [ksUat]
|
|
139
141
|
* @throws {RequiredError}
|
|
140
142
|
* @memberof PathPartsApiInterface
|
|
141
143
|
*/
|
|
@@ -144,8 +146,6 @@ export interface PathPartsApiInterface {
|
|
|
144
146
|
* Get a path part by its ID. Returns the path part with its attached tag IDs.
|
|
145
147
|
* @summary Get Path Part Handler
|
|
146
148
|
* @param {string} pathPartId
|
|
147
|
-
* @param {string} [authorization]
|
|
148
|
-
* @param {string} [ksUat]
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
* @memberof PathPartsApiInterface
|
|
@@ -159,8 +159,6 @@ export interface PathPartsApiInterface {
|
|
|
159
159
|
/**
|
|
160
160
|
* Creates request options for getPathPartAncestry without sending the request
|
|
161
161
|
* @param {string} pathPartId
|
|
162
|
-
* @param {string} [authorization]
|
|
163
|
-
* @param {string} [ksUat]
|
|
164
162
|
* @throws {RequiredError}
|
|
165
163
|
* @memberof PathPartsApiInterface
|
|
166
164
|
*/
|
|
@@ -169,8 +167,6 @@ export interface PathPartsApiInterface {
|
|
|
169
167
|
* 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.
|
|
170
168
|
* @summary Get Path Part Ancestry Handler
|
|
171
169
|
* @param {string} pathPartId
|
|
172
|
-
* @param {string} [authorization]
|
|
173
|
-
* @param {string} [ksUat]
|
|
174
170
|
* @param {*} [options] Override http request option.
|
|
175
171
|
* @throws {RequiredError}
|
|
176
172
|
* @memberof PathPartsApiInterface
|
|
@@ -184,8 +180,6 @@ export interface PathPartsApiInterface {
|
|
|
184
180
|
/**
|
|
185
181
|
* Creates request options for getPathPartSubtreeChunks without sending the request
|
|
186
182
|
* @param {string} pathPartId
|
|
187
|
-
* @param {string} [authorization]
|
|
188
|
-
* @param {string} [ksUat]
|
|
189
183
|
* @throws {RequiredError}
|
|
190
184
|
* @memberof PathPartsApiInterface
|
|
191
185
|
*/
|
|
@@ -194,8 +188,6 @@ export interface PathPartsApiInterface {
|
|
|
194
188
|
* Resolve all descendant chunks for a subtree root. Returns chunks grouped by identical (path_part_ids, tag_ids) tuples.
|
|
195
189
|
* @summary Get Path Part Subtree Chunks Handler
|
|
196
190
|
* @param {string} pathPartId
|
|
197
|
-
* @param {string} [authorization]
|
|
198
|
-
* @param {string} [ksUat]
|
|
199
191
|
* @param {*} [options] Override http request option.
|
|
200
192
|
* @throws {RequiredError}
|
|
201
193
|
* @memberof PathPartsApiInterface
|
|
@@ -210,8 +202,6 @@ export interface PathPartsApiInterface {
|
|
|
210
202
|
* Creates request options for getPathPartTags without sending the request
|
|
211
203
|
* @param {string} pathPartId
|
|
212
204
|
* @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
|
|
213
|
-
* @param {string} [authorization]
|
|
214
|
-
* @param {string} [ksUat]
|
|
215
205
|
* @throws {RequiredError}
|
|
216
206
|
* @memberof PathPartsApiInterface
|
|
217
207
|
*/
|
|
@@ -221,8 +211,6 @@ export interface PathPartsApiInterface {
|
|
|
221
211
|
* @summary Get Path Part Tags Handler
|
|
222
212
|
* @param {string} pathPartId
|
|
223
213
|
* @param {boolean} [includeInherited] Include tags inherited from ancestor path parts
|
|
224
|
-
* @param {string} [authorization]
|
|
225
|
-
* @param {string} [ksUat]
|
|
226
214
|
* @param {*} [options] Override http request option.
|
|
227
215
|
* @throws {RequiredError}
|
|
228
216
|
* @memberof PathPartsApiInterface
|
|
@@ -242,8 +230,6 @@ export interface PathPartsApiInterface {
|
|
|
242
230
|
* @param {boolean} [recursive] Include events from descendant path_parts as well as the subject itself
|
|
243
231
|
* @param {number} [limit] Number of items per page
|
|
244
232
|
* @param {number} [offset] Number of items to skip
|
|
245
|
-
* @param {string} [authorization]
|
|
246
|
-
* @param {string} [ksUat]
|
|
247
233
|
* @throws {RequiredError}
|
|
248
234
|
* @memberof PathPartsApiInterface
|
|
249
235
|
*/
|
|
@@ -258,8 +244,6 @@ export interface PathPartsApiInterface {
|
|
|
258
244
|
* @param {boolean} [recursive] Include events from descendant path_parts as well as the subject itself
|
|
259
245
|
* @param {number} [limit] Number of items per page
|
|
260
246
|
* @param {number} [offset] Number of items to skip
|
|
261
|
-
* @param {string} [authorization]
|
|
262
|
-
* @param {string} [ksUat]
|
|
263
247
|
* @param {*} [options] Override http request option.
|
|
264
248
|
* @throws {RequiredError}
|
|
265
249
|
* @memberof PathPartsApiInterface
|
|
@@ -277,8 +261,6 @@ export interface PathPartsApiInterface {
|
|
|
277
261
|
* @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
|
|
278
262
|
* @param {number} [limit] Number of items per page
|
|
279
263
|
* @param {number} [offset] Number of items to skip
|
|
280
|
-
* @param {string} [authorization]
|
|
281
|
-
* @param {string} [ksUat]
|
|
282
264
|
* @throws {RequiredError}
|
|
283
265
|
* @memberof PathPartsApiInterface
|
|
284
266
|
*/
|
|
@@ -291,8 +273,6 @@ export interface PathPartsApiInterface {
|
|
|
291
273
|
* @param {PathOrder} [sortOrder] Sort order for results (default: LOGICAL)
|
|
292
274
|
* @param {number} [limit] Number of items per page
|
|
293
275
|
* @param {number} [offset] Number of items to skip
|
|
294
|
-
* @param {string} [authorization]
|
|
295
|
-
* @param {string} [ksUat]
|
|
296
276
|
* @param {*} [options] Override http request option.
|
|
297
277
|
* @throws {RequiredError}
|
|
298
278
|
* @memberof PathPartsApiInterface
|
|
@@ -307,8 +287,6 @@ export interface PathPartsApiInterface {
|
|
|
307
287
|
* Creates request options for setPathPartTags without sending the request
|
|
308
288
|
* @param {string} pathPartId
|
|
309
289
|
* @param {BulkTagRequest} bulkTagRequest
|
|
310
|
-
* @param {string} [authorization]
|
|
311
|
-
* @param {string} [ksUat]
|
|
312
290
|
* @throws {RequiredError}
|
|
313
291
|
* @memberof PathPartsApiInterface
|
|
314
292
|
*/
|
|
@@ -318,8 +296,6 @@ export interface PathPartsApiInterface {
|
|
|
318
296
|
* @summary Set Path Part Tags Handler
|
|
319
297
|
* @param {string} pathPartId
|
|
320
298
|
* @param {BulkTagRequest} bulkTagRequest
|
|
321
|
-
* @param {string} [authorization]
|
|
322
|
-
* @param {string} [ksUat]
|
|
323
299
|
* @param {*} [options] Override http request option.
|
|
324
300
|
* @throws {RequiredError}
|
|
325
301
|
* @memberof PathPartsApiInterface
|
|
@@ -363,6 +339,20 @@ export declare class PathPartsApi extends runtime.BaseAPI implements PathPartsAp
|
|
|
363
339
|
* Bulk Remove Path Part Tags Handler
|
|
364
340
|
*/
|
|
365
341
|
bulkRemovePathPartTags(requestParameters: BulkRemovePathPartTagsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PathPartTagsResponse>;
|
|
342
|
+
/**
|
|
343
|
+
* Creates request options for checkPathPartAccess without sending the request
|
|
344
|
+
*/
|
|
345
|
+
checkPathPartAccessRequestOpts(requestParameters: CheckPathPartAccessRequest): Promise<runtime.RequestOpts>;
|
|
346
|
+
/**
|
|
347
|
+
* 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.
|
|
348
|
+
* Check Path Part Access Handler
|
|
349
|
+
*/
|
|
350
|
+
checkPathPartAccessRaw(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccessCheckResponse>>;
|
|
351
|
+
/**
|
|
352
|
+
* 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.
|
|
353
|
+
* Check Path Part Access Handler
|
|
354
|
+
*/
|
|
355
|
+
checkPathPartAccess(requestParameters: CheckPathPartAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccessCheckResponse>;
|
|
366
356
|
/**
|
|
367
357
|
* Creates request options for getPathPart without sending the request
|
|
368
358
|
*/
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AncestryResponseFromJSON, AppendEventRequestToJSON, BulkTagRequestToJSON, EventResponseFromJSON, PaginatedResponseEventResponseFromJSON, PaginatedResponsePathPartResponseFromJSON, PathPartResponseFromJSON, PathPartTagsResponseFromJSON, SubtreeChunksResponseFromJSON, } from '../models/index';
|
|
24
|
+
import { AccessCheckResponseFromJSON, AncestryResponseFromJSON, AppendEventRequestToJSON, BulkTagRequestToJSON, EventResponseFromJSON, PaginatedResponseEventResponseFromJSON, PaginatedResponsePathPartResponseFromJSON, PathPartResponseFromJSON, PathPartTagsResponseFromJSON, SubtreeChunksResponseFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -40,8 +40,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
40
40
|
const queryParameters = {};
|
|
41
41
|
const headerParameters = {};
|
|
42
42
|
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
-
if (
|
|
44
|
-
|
|
43
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
44
|
+
const token = this.configuration.accessToken;
|
|
45
|
+
const tokenString = yield token("bearerAuth", []);
|
|
46
|
+
if (tokenString) {
|
|
47
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
48
|
+
}
|
|
45
49
|
}
|
|
46
50
|
let urlPath = `/v1/path-parts/{path_part_id}/events`;
|
|
47
51
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -89,8 +93,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
89
93
|
const queryParameters = {};
|
|
90
94
|
const headerParameters = {};
|
|
91
95
|
headerParameters['Content-Type'] = 'application/json';
|
|
92
|
-
if (
|
|
93
|
-
|
|
96
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
97
|
+
const token = this.configuration.accessToken;
|
|
98
|
+
const tokenString = yield token("bearerAuth", []);
|
|
99
|
+
if (tokenString) {
|
|
100
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
101
|
+
}
|
|
94
102
|
}
|
|
95
103
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
96
104
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -124,6 +132,63 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
124
132
|
return yield response.value();
|
|
125
133
|
});
|
|
126
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Creates request options for checkPathPartAccess without sending the request
|
|
137
|
+
*/
|
|
138
|
+
checkPathPartAccessRequestOpts(requestParameters) {
|
|
139
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
if (requestParameters['pathPartId'] == null) {
|
|
141
|
+
throw new runtime.RequiredError('pathPartId', 'Required parameter "pathPartId" was null or undefined when calling checkPathPartAccess().');
|
|
142
|
+
}
|
|
143
|
+
if (requestParameters['userId'] == null) {
|
|
144
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling checkPathPartAccess().');
|
|
145
|
+
}
|
|
146
|
+
const queryParameters = {};
|
|
147
|
+
if (requestParameters['userId'] != null) {
|
|
148
|
+
queryParameters['user_id'] = requestParameters['userId'];
|
|
149
|
+
}
|
|
150
|
+
if (requestParameters['capability'] != null) {
|
|
151
|
+
queryParameters['capability'] = requestParameters['capability'];
|
|
152
|
+
}
|
|
153
|
+
const headerParameters = {};
|
|
154
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
155
|
+
const token = this.configuration.accessToken;
|
|
156
|
+
const tokenString = yield token("bearerAuth", []);
|
|
157
|
+
if (tokenString) {
|
|
158
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
let urlPath = `/v1/path-parts/{path_part_id}/access-check`;
|
|
162
|
+
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
163
|
+
return {
|
|
164
|
+
path: urlPath,
|
|
165
|
+
method: 'GET',
|
|
166
|
+
headers: headerParameters,
|
|
167
|
+
query: queryParameters,
|
|
168
|
+
};
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* 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.
|
|
173
|
+
* Check Path Part Access Handler
|
|
174
|
+
*/
|
|
175
|
+
checkPathPartAccessRaw(requestParameters, initOverrides) {
|
|
176
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
177
|
+
const requestOptions = yield this.checkPathPartAccessRequestOpts(requestParameters);
|
|
178
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
179
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AccessCheckResponseFromJSON(jsonValue));
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* 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.
|
|
184
|
+
* Check Path Part Access Handler
|
|
185
|
+
*/
|
|
186
|
+
checkPathPartAccess(requestParameters, initOverrides) {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
const response = yield this.checkPathPartAccessRaw(requestParameters, initOverrides);
|
|
189
|
+
return yield response.value();
|
|
190
|
+
});
|
|
191
|
+
}
|
|
127
192
|
/**
|
|
128
193
|
* Creates request options for getPathPart without sending the request
|
|
129
194
|
*/
|
|
@@ -134,8 +199,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
134
199
|
}
|
|
135
200
|
const queryParameters = {};
|
|
136
201
|
const headerParameters = {};
|
|
137
|
-
if (
|
|
138
|
-
|
|
202
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
203
|
+
const token = this.configuration.accessToken;
|
|
204
|
+
const tokenString = yield token("bearerAuth", []);
|
|
205
|
+
if (tokenString) {
|
|
206
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
207
|
+
}
|
|
139
208
|
}
|
|
140
209
|
let urlPath = `/v1/path-parts/{path_part_id}`;
|
|
141
210
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -178,8 +247,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
178
247
|
}
|
|
179
248
|
const queryParameters = {};
|
|
180
249
|
const headerParameters = {};
|
|
181
|
-
if (
|
|
182
|
-
|
|
250
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
251
|
+
const token = this.configuration.accessToken;
|
|
252
|
+
const tokenString = yield token("bearerAuth", []);
|
|
253
|
+
if (tokenString) {
|
|
254
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
255
|
+
}
|
|
183
256
|
}
|
|
184
257
|
let urlPath = `/v1/path-parts/{path_part_id}/ancestry`;
|
|
185
258
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -222,8 +295,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
222
295
|
}
|
|
223
296
|
const queryParameters = {};
|
|
224
297
|
const headerParameters = {};
|
|
225
|
-
if (
|
|
226
|
-
|
|
298
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
299
|
+
const token = this.configuration.accessToken;
|
|
300
|
+
const tokenString = yield token("bearerAuth", []);
|
|
301
|
+
if (tokenString) {
|
|
302
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
303
|
+
}
|
|
227
304
|
}
|
|
228
305
|
let urlPath = `/v1/path-parts/{path_part_id}/subtree_chunks`;
|
|
229
306
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -269,8 +346,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
269
346
|
queryParameters['include_inherited'] = requestParameters['includeInherited'];
|
|
270
347
|
}
|
|
271
348
|
const headerParameters = {};
|
|
272
|
-
if (
|
|
273
|
-
|
|
349
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
350
|
+
const token = this.configuration.accessToken;
|
|
351
|
+
const tokenString = yield token("bearerAuth", []);
|
|
352
|
+
if (tokenString) {
|
|
353
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
354
|
+
}
|
|
274
355
|
}
|
|
275
356
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
276
357
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -331,8 +412,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
331
412
|
queryParameters['offset'] = requestParameters['offset'];
|
|
332
413
|
}
|
|
333
414
|
const headerParameters = {};
|
|
334
|
-
if (
|
|
335
|
-
|
|
415
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
416
|
+
const token = this.configuration.accessToken;
|
|
417
|
+
const tokenString = yield token("bearerAuth", []);
|
|
418
|
+
if (tokenString) {
|
|
419
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
420
|
+
}
|
|
336
421
|
}
|
|
337
422
|
let urlPath = `/v1/path-parts/{path_part_id}/events`;
|
|
338
423
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -387,8 +472,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
387
472
|
queryParameters['offset'] = requestParameters['offset'];
|
|
388
473
|
}
|
|
389
474
|
const headerParameters = {};
|
|
390
|
-
if (
|
|
391
|
-
|
|
475
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
476
|
+
const token = this.configuration.accessToken;
|
|
477
|
+
const tokenString = yield token("bearerAuth", []);
|
|
478
|
+
if (tokenString) {
|
|
479
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
480
|
+
}
|
|
392
481
|
}
|
|
393
482
|
let urlPath = `/v1/path-parts`;
|
|
394
483
|
return {
|
|
@@ -434,8 +523,12 @@ export class PathPartsApi extends runtime.BaseAPI {
|
|
|
434
523
|
const queryParameters = {};
|
|
435
524
|
const headerParameters = {};
|
|
436
525
|
headerParameters['Content-Type'] = 'application/json';
|
|
437
|
-
if (
|
|
438
|
-
|
|
526
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
527
|
+
const token = this.configuration.accessToken;
|
|
528
|
+
const tokenString = yield token("bearerAuth", []);
|
|
529
|
+
if (tokenString) {
|
|
530
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
531
|
+
}
|
|
439
532
|
}
|
|
440
533
|
let urlPath = `/v1/path-parts/{path_part_id}/tags`;
|
|
441
534
|
urlPath = urlPath.replace(`{${"path_part_id"}}`, encodeURIComponent(String(requestParameters['pathPartId'])));
|
|
@@ -13,34 +13,22 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { CreateSectionRequest, DissolveSectionResponse, SectionResponse, UpdateSectionRequest } from '../models/index';
|
|
14
14
|
export interface CreateSectionOperationRequest {
|
|
15
15
|
createSectionRequest: CreateSectionRequest;
|
|
16
|
-
authorization?: string | null;
|
|
17
|
-
ksUat?: string | null;
|
|
18
16
|
}
|
|
19
17
|
export interface DeleteSectionRequest {
|
|
20
18
|
sectionId: string;
|
|
21
|
-
authorization?: string | null;
|
|
22
|
-
ksUat?: string | null;
|
|
23
19
|
}
|
|
24
20
|
export interface DissolveSectionRequest {
|
|
25
21
|
sectionId: string;
|
|
26
|
-
authorization?: string | null;
|
|
27
|
-
ksUat?: string | null;
|
|
28
22
|
}
|
|
29
23
|
export interface GetSectionRequest {
|
|
30
24
|
sectionId: string;
|
|
31
|
-
authorization?: string | null;
|
|
32
|
-
ksUat?: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface GetSectionsBulkRequest {
|
|
35
27
|
sectionIds?: Array<string> | null;
|
|
36
|
-
authorization?: string | null;
|
|
37
|
-
ksUat?: string | null;
|
|
38
28
|
}
|
|
39
29
|
export interface UpdateSectionOperationRequest {
|
|
40
30
|
sectionId: string;
|
|
41
31
|
updateSectionRequest: UpdateSectionRequest;
|
|
42
|
-
authorization?: string | null;
|
|
43
|
-
ksUat?: string | null;
|
|
44
32
|
}
|
|
45
33
|
/**
|
|
46
34
|
* SectionsApi - interface
|
|
@@ -52,8 +40,6 @@ export interface SectionsApiInterface {
|
|
|
52
40
|
/**
|
|
53
41
|
* Creates request options for createSection without sending the request
|
|
54
42
|
* @param {CreateSectionRequest} createSectionRequest
|
|
55
|
-
* @param {string} [authorization]
|
|
56
|
-
* @param {string} [ksUat]
|
|
57
43
|
* @throws {RequiredError}
|
|
58
44
|
* @memberof SectionsApiInterface
|
|
59
45
|
*/
|
|
@@ -62,8 +48,6 @@ export interface SectionsApiInterface {
|
|
|
62
48
|
* Create a new section. The section is created as a child of the specified parent (must be DOCUMENT_VERSION or SECTION). If prev_sibling_path_id is provided, the section is inserted after that sibling; otherwise it is appended to the end of the sibling list.
|
|
63
49
|
* @summary Create Section Handler
|
|
64
50
|
* @param {CreateSectionRequest} createSectionRequest
|
|
65
|
-
* @param {string} [authorization]
|
|
66
|
-
* @param {string} [ksUat]
|
|
67
51
|
* @param {*} [options] Override http request option.
|
|
68
52
|
* @throws {RequiredError}
|
|
69
53
|
* @memberof SectionsApiInterface
|
|
@@ -77,8 +61,6 @@ export interface SectionsApiInterface {
|
|
|
77
61
|
/**
|
|
78
62
|
* Creates request options for deleteSection without sending the request
|
|
79
63
|
* @param {string} sectionId
|
|
80
|
-
* @param {string} [authorization]
|
|
81
|
-
* @param {string} [ksUat]
|
|
82
64
|
* @throws {RequiredError}
|
|
83
65
|
* @memberof SectionsApiInterface
|
|
84
66
|
*/
|
|
@@ -87,8 +69,6 @@ export interface SectionsApiInterface {
|
|
|
87
69
|
* Delete a section and all its children. WARNING: This cascades to all child sections due to parent_id ON DELETE CASCADE.
|
|
88
70
|
* @summary Delete Section Handler
|
|
89
71
|
* @param {string} sectionId
|
|
90
|
-
* @param {string} [authorization]
|
|
91
|
-
* @param {string} [ksUat]
|
|
92
72
|
* @param {*} [options] Override http request option.
|
|
93
73
|
* @throws {RequiredError}
|
|
94
74
|
* @memberof SectionsApiInterface
|
|
@@ -102,8 +82,6 @@ export interface SectionsApiInterface {
|
|
|
102
82
|
/**
|
|
103
83
|
* Creates request options for dissolveSection without sending the request
|
|
104
84
|
* @param {string} sectionId
|
|
105
|
-
* @param {string} [authorization]
|
|
106
|
-
* @param {string} [ksUat]
|
|
107
85
|
* @throws {RequiredError}
|
|
108
86
|
* @memberof SectionsApiInterface
|
|
109
87
|
*/
|
|
@@ -112,8 +90,6 @@ export interface SectionsApiInterface {
|
|
|
112
90
|
* Dissolve a section: convert it to a text chunk, reparent children, delete the section. The section\'s name becomes the content of a new TEXT chunk. Any children of the section are reparented to the section\'s parent, preserving order. The section itself is then deleted.
|
|
113
91
|
* @summary Dissolve Section Handler
|
|
114
92
|
* @param {string} sectionId
|
|
115
|
-
* @param {string} [authorization]
|
|
116
|
-
* @param {string} [ksUat]
|
|
117
93
|
* @param {*} [options] Override http request option.
|
|
118
94
|
* @throws {RequiredError}
|
|
119
95
|
* @memberof SectionsApiInterface
|
|
@@ -127,8 +103,6 @@ export interface SectionsApiInterface {
|
|
|
127
103
|
/**
|
|
128
104
|
* Creates request options for getSection without sending the request
|
|
129
105
|
* @param {string} sectionId
|
|
130
|
-
* @param {string} [authorization]
|
|
131
|
-
* @param {string} [ksUat]
|
|
132
106
|
* @throws {RequiredError}
|
|
133
107
|
* @memberof SectionsApiInterface
|
|
134
108
|
*/
|
|
@@ -137,8 +111,6 @@ export interface SectionsApiInterface {
|
|
|
137
111
|
* Get a section by its ID.
|
|
138
112
|
* @summary Get Section Handler
|
|
139
113
|
* @param {string} sectionId
|
|
140
|
-
* @param {string} [authorization]
|
|
141
|
-
* @param {string} [ksUat]
|
|
142
114
|
* @param {*} [options] Override http request option.
|
|
143
115
|
* @throws {RequiredError}
|
|
144
116
|
* @memberof SectionsApiInterface
|
|
@@ -152,8 +124,6 @@ export interface SectionsApiInterface {
|
|
|
152
124
|
/**
|
|
153
125
|
* Creates request options for getSectionsBulk without sending the request
|
|
154
126
|
* @param {Array<string>} [sectionIds] Section IDs to fetch (max 200)
|
|
155
|
-
* @param {string} [authorization]
|
|
156
|
-
* @param {string} [ksUat]
|
|
157
127
|
* @throws {RequiredError}
|
|
158
128
|
* @memberof SectionsApiInterface
|
|
159
129
|
*/
|
|
@@ -162,8 +132,6 @@ export interface SectionsApiInterface {
|
|
|
162
132
|
* Batch-fetch sections by ID. Returns sections with system_metadata. Non-existent IDs are silently skipped. Limited to 200 IDs per call.
|
|
163
133
|
* @summary Get Sections Bulk Handler
|
|
164
134
|
* @param {Array<string>} [sectionIds] Section IDs to fetch (max 200)
|
|
165
|
-
* @param {string} [authorization]
|
|
166
|
-
* @param {string} [ksUat]
|
|
167
135
|
* @param {*} [options] Override http request option.
|
|
168
136
|
* @throws {RequiredError}
|
|
169
137
|
* @memberof SectionsApiInterface
|
|
@@ -178,8 +146,6 @@ export interface SectionsApiInterface {
|
|
|
178
146
|
* Creates request options for updateSection without sending the request
|
|
179
147
|
* @param {string} sectionId
|
|
180
148
|
* @param {UpdateSectionRequest} updateSectionRequest
|
|
181
|
-
* @param {string} [authorization]
|
|
182
|
-
* @param {string} [ksUat]
|
|
183
149
|
* @throws {RequiredError}
|
|
184
150
|
* @memberof SectionsApiInterface
|
|
185
151
|
*/
|
|
@@ -189,8 +155,6 @@ export interface SectionsApiInterface {
|
|
|
189
155
|
* @summary Update Section Handler
|
|
190
156
|
* @param {string} sectionId
|
|
191
157
|
* @param {UpdateSectionRequest} updateSectionRequest
|
|
192
|
-
* @param {string} [authorization]
|
|
193
|
-
* @param {string} [ksUat]
|
|
194
158
|
* @param {*} [options] Override http request option.
|
|
195
159
|
* @throws {RequiredError}
|
|
196
160
|
* @memberof SectionsApiInterface
|