@knowledge-stack/ksapi 1.95.4 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +82 -4
- package/README.md +79 -10
- package/dist/apis/AgentApi.d.ts +0 -12
- package/dist/apis/AgentApi.js +12 -4
- package/dist/apis/ApiKeysApi.d.ts +6 -20
- package/dist/apis/ApiKeysApi.js +6 -6
- package/dist/apis/AuditEventsApi.d.ts +85 -0
- package/dist/apis/AuditEventsApi.js +134 -0
- package/dist/apis/AuthApi.d.ts +0 -24
- package/dist/apis/AuthApi.js +24 -8
- package/dist/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/apis/ChunkLineagesApi.js +18 -6
- package/dist/apis/ChunksApi.d.ts +0 -54
- package/dist/apis/ChunksApi.js +54 -18
- package/dist/apis/DataSourcesApi.d.ts +304 -0
- package/dist/apis/DataSourcesApi.js +421 -0
- package/dist/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/apis/DocumentCheckoutApi.js +18 -6
- package/dist/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/apis/DocumentVersionsApi.js +150 -16
- package/dist/apis/DocumentsApi.d.ts +58 -47
- package/dist/apis/DocumentsApi.js +107 -16
- package/dist/apis/FeedbackApi.d.ts +0 -18
- package/dist/apis/FeedbackApi.js +18 -6
- package/dist/apis/FoldersApi.d.ts +13 -61
- package/dist/apis/FoldersApi.js +52 -20
- package/dist/apis/InvitesApi.d.ts +0 -30
- package/dist/apis/InvitesApi.js +30 -10
- package/dist/apis/MemoryApi.d.ts +207 -0
- package/dist/apis/MemoryApi.js +306 -0
- package/dist/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/apis/PathPartApprovalsApi.js +12 -4
- package/dist/apis/PathPartsApi.d.ts +45 -55
- package/dist/apis/PathPartsApi.js +111 -18
- package/dist/apis/SectionsApi.d.ts +0 -36
- package/dist/apis/SectionsApi.js +36 -12
- package/dist/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/apis/SubscriptionsApi.js +12 -4
- package/dist/apis/TagsApi.d.ts +0 -30
- package/dist/apis/TagsApi.js +30 -10
- package/dist/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/apis/TenantGroupsApi.js +84 -32
- package/dist/apis/TenantsApi.d.ts +0 -72
- package/dist/apis/TenantsApi.js +72 -24
- package/dist/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/apis/ThreadMessagesApi.js +18 -6
- package/dist/apis/ThreadsApi.d.ts +0 -42
- package/dist/apis/ThreadsApi.js +42 -14
- package/dist/apis/TrashApi.d.ts +143 -0
- package/dist/apis/TrashApi.js +210 -0
- package/dist/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/apis/UserPermissionsApi.js +24 -8
- package/dist/apis/UsersApi.d.ts +12 -46
- package/dist/apis/UsersApi.js +42 -22
- package/dist/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/apis/WorkflowMemoryApi.js +30 -10
- package/dist/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/apis/WorkflowRunsApi.js +56 -20
- package/dist/apis/WorkflowsApi.d.ts +0 -30
- package/dist/apis/WorkflowsApi.js +30 -10
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/esm/apis/AgentApi.d.ts +0 -12
- package/dist/esm/apis/AgentApi.js +12 -4
- package/dist/esm/apis/ApiKeysApi.d.ts +6 -20
- package/dist/esm/apis/ApiKeysApi.js +6 -6
- package/dist/esm/apis/AuditEventsApi.d.ts +85 -0
- package/dist/esm/apis/AuditEventsApi.js +97 -0
- package/dist/esm/apis/AuthApi.d.ts +0 -24
- package/dist/esm/apis/AuthApi.js +24 -8
- package/dist/esm/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/esm/apis/ChunkLineagesApi.js +18 -6
- package/dist/esm/apis/ChunksApi.d.ts +0 -54
- package/dist/esm/apis/ChunksApi.js +54 -18
- package/dist/esm/apis/DataSourcesApi.d.ts +304 -0
- package/dist/esm/apis/DataSourcesApi.js +384 -0
- package/dist/esm/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/esm/apis/DocumentCheckoutApi.js +18 -6
- package/dist/esm/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/esm/apis/DocumentVersionsApi.js +151 -17
- package/dist/esm/apis/DocumentsApi.d.ts +58 -47
- package/dist/esm/apis/DocumentsApi.js +108 -17
- package/dist/esm/apis/FeedbackApi.d.ts +0 -18
- package/dist/esm/apis/FeedbackApi.js +18 -6
- package/dist/esm/apis/FoldersApi.d.ts +13 -61
- package/dist/esm/apis/FoldersApi.js +53 -21
- package/dist/esm/apis/InvitesApi.d.ts +0 -30
- package/dist/esm/apis/InvitesApi.js +30 -10
- package/dist/esm/apis/MemoryApi.d.ts +207 -0
- package/dist/esm/apis/MemoryApi.js +269 -0
- package/dist/esm/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/esm/apis/PathPartApprovalsApi.js +12 -4
- package/dist/esm/apis/PathPartsApi.d.ts +45 -55
- package/dist/esm/apis/PathPartsApi.js +112 -19
- package/dist/esm/apis/SectionsApi.d.ts +0 -36
- package/dist/esm/apis/SectionsApi.js +36 -12
- package/dist/esm/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/esm/apis/SubscriptionsApi.js +12 -4
- package/dist/esm/apis/TagsApi.d.ts +0 -30
- package/dist/esm/apis/TagsApi.js +30 -10
- package/dist/esm/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/esm/apis/TenantGroupsApi.js +84 -32
- package/dist/esm/apis/TenantsApi.d.ts +0 -72
- package/dist/esm/apis/TenantsApi.js +72 -24
- package/dist/esm/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/esm/apis/ThreadMessagesApi.js +18 -6
- package/dist/esm/apis/ThreadsApi.d.ts +0 -42
- package/dist/esm/apis/ThreadsApi.js +42 -14
- package/dist/esm/apis/TrashApi.d.ts +143 -0
- package/dist/esm/apis/TrashApi.js +173 -0
- package/dist/esm/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/esm/apis/UserPermissionsApi.js +24 -8
- package/dist/esm/apis/UsersApi.d.ts +12 -46
- package/dist/esm/apis/UsersApi.js +42 -22
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/esm/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/esm/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowMemoryApi.js +30 -10
- package/dist/esm/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/esm/apis/WorkflowRunsApi.js +56 -20
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowsApi.js +30 -10
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/models/AccessCheckResponse.d.ts +59 -0
- package/dist/esm/models/AccessCheckResponse.js +50 -0
- package/dist/esm/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/esm/models/CatalogColumnResponse.js +52 -0
- package/dist/esm/models/CatalogTableResponse.d.ts +54 -0
- package/dist/esm/models/CatalogTableResponse.js +49 -0
- package/dist/esm/models/CellChange.d.ts +72 -0
- package/dist/esm/models/CellChange.js +61 -0
- package/dist/esm/models/CellChangeType.d.ts +26 -0
- package/dist/esm/models/CellChangeType.js +44 -0
- package/dist/esm/models/CellDiff.d.ts +72 -0
- package/dist/esm/models/CellDiff.js +61 -0
- package/dist/esm/models/ColumnConfig.d.ts +71 -0
- package/dist/esm/models/ColumnConfig.js +52 -0
- package/dist/esm/models/ConnectionConfig.d.ts +71 -0
- package/dist/esm/models/ConnectionConfig.js +58 -0
- package/dist/esm/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/esm/models/CreateDataSourceRequest.js +62 -0
- package/dist/esm/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreatePermissionRequest.js +2 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/esm/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/esm/models/DataSourceCatalogResponse.js +45 -0
- package/dist/esm/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/esm/models/DataSourceDetailResponse.js +50 -0
- package/dist/esm/models/DataSourceEngine.d.ts +25 -0
- package/dist/esm/models/DataSourceEngine.js +43 -0
- package/dist/esm/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/esm/models/DataSourceQueryRequest.js +53 -0
- package/dist/esm/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/esm/models/DataSourceQueryResponse.js +60 -0
- package/dist/esm/models/DataSourceResponse.d.ts +119 -0
- package/dist/esm/models/DataSourceResponse.js +90 -0
- package/dist/esm/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/esm/models/DataSourceTableResponse.js +101 -0
- package/dist/esm/models/DiffFormat.d.ts +25 -0
- package/dist/esm/models/DiffFormat.js +43 -0
- package/dist/esm/models/DiffRow.d.ts +90 -0
- package/dist/esm/models/DiffRow.js +58 -0
- package/dist/esm/models/DiffRowType.d.ts +27 -0
- package/dist/esm/models/DiffRowType.js +45 -0
- package/dist/esm/models/DiffSpan.d.ts +53 -0
- package/dist/esm/models/DiffSpan.js +48 -0
- package/dist/esm/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/esm/models/DocumentDownloadResponse.js +61 -0
- package/dist/esm/models/DocumentResponse.d.ts +4 -3
- package/dist/esm/models/DocumentResponse.js +3 -2
- package/dist/esm/models/DownloadArtifact.d.ts +25 -0
- package/dist/esm/models/DownloadArtifact.js +43 -0
- package/dist/esm/models/EventResponse.d.ts +7 -0
- package/dist/esm/models/EventResponse.js +3 -0
- package/dist/esm/models/FolderResponse.d.ts +4 -3
- package/dist/esm/models/FolderResponse.js +3 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +16 -6
- package/dist/esm/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/esm/models/GroupPermissionResponse.js +4 -0
- package/dist/esm/models/ItemPermissions.d.ts +73 -0
- package/dist/esm/models/ItemPermissions.js +56 -0
- package/dist/esm/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/esm/models/MemoryBodyResponse.js +53 -0
- package/dist/esm/models/MemoryScope.d.ts +29 -0
- package/dist/esm/models/MemoryScope.js +47 -0
- package/dist/esm/models/ModelTableRequest.d.ts +66 -0
- package/dist/esm/models/ModelTableRequest.js +51 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.js +70 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.js +70 -0
- package/dist/esm/models/PartType.d.ts +2 -0
- package/dist/esm/models/PartType.js +3 -1
- package/dist/esm/models/PathPartResponse.d.ts +4 -9
- package/dist/esm/models/PathPartResponse.js +4 -7
- package/dist/esm/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/PendingMemoryChunkResponse.js +74 -0
- package/dist/esm/models/PermissionCapability.d.ts +2 -1
- package/dist/esm/models/PermissionCapability.js +3 -2
- package/dist/esm/models/PermissionResponse.d.ts +6 -0
- package/dist/esm/models/PermissionResponse.js +4 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.js +71 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.js +74 -0
- package/dist/esm/models/ReferenceType.d.ts +2 -0
- package/dist/esm/models/ReferenceType.js +2 -0
- package/dist/esm/models/TextDiff.d.ts +72 -0
- package/dist/esm/models/TextDiff.js +61 -0
- package/dist/esm/models/TrashItemResponse.d.ts +90 -0
- package/dist/esm/models/TrashItemResponse.js +73 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdatePermissionRequest.js +2 -0
- package/dist/esm/models/UpdateTableRequest.d.ts +54 -0
- package/dist/esm/models/UpdateTableRequest.js +45 -0
- package/dist/esm/models/VersionDiffResponse.d.ts +89 -0
- package/dist/esm/models/VersionDiffResponse.js +63 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/esm/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowRunResponse.js +3 -0
- package/dist/esm/models/index.d.ts +37 -2
- package/dist/esm/models/index.js +37 -2
- package/dist/models/AccessCheckResponse.d.ts +59 -0
- package/dist/models/AccessCheckResponse.js +58 -0
- package/dist/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/models/CatalogColumnResponse.js +60 -0
- package/dist/models/CatalogTableResponse.d.ts +54 -0
- package/dist/models/CatalogTableResponse.js +57 -0
- package/dist/models/CellChange.d.ts +72 -0
- package/dist/models/CellChange.js +69 -0
- package/dist/models/CellChangeType.d.ts +26 -0
- package/dist/models/CellChangeType.js +52 -0
- package/dist/models/CellDiff.d.ts +72 -0
- package/dist/models/CellDiff.js +69 -0
- package/dist/models/ColumnConfig.d.ts +71 -0
- package/dist/models/ColumnConfig.js +60 -0
- package/dist/models/ConnectionConfig.d.ts +71 -0
- package/dist/models/ConnectionConfig.js +66 -0
- package/dist/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/models/CreateDataSourceRequest.js +70 -0
- package/dist/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/models/CreatePermissionRequest.js +2 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/models/DataSourceCatalogResponse.js +53 -0
- package/dist/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/models/DataSourceDetailResponse.js +58 -0
- package/dist/models/DataSourceEngine.d.ts +25 -0
- package/dist/models/DataSourceEngine.js +51 -0
- package/dist/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/models/DataSourceQueryRequest.js +61 -0
- package/dist/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/models/DataSourceQueryResponse.js +68 -0
- package/dist/models/DataSourceResponse.d.ts +119 -0
- package/dist/models/DataSourceResponse.js +98 -0
- package/dist/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/models/DataSourceTableResponse.js +109 -0
- package/dist/models/DiffFormat.d.ts +25 -0
- package/dist/models/DiffFormat.js +51 -0
- package/dist/models/DiffRow.d.ts +90 -0
- package/dist/models/DiffRow.js +66 -0
- package/dist/models/DiffRowType.d.ts +27 -0
- package/dist/models/DiffRowType.js +53 -0
- package/dist/models/DiffSpan.d.ts +53 -0
- package/dist/models/DiffSpan.js +56 -0
- package/dist/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/models/DocumentDownloadResponse.js +69 -0
- package/dist/models/DocumentResponse.d.ts +4 -3
- package/dist/models/DocumentResponse.js +3 -2
- package/dist/models/DownloadArtifact.d.ts +25 -0
- package/dist/models/DownloadArtifact.js +51 -0
- package/dist/models/EventResponse.d.ts +7 -0
- package/dist/models/EventResponse.js +3 -0
- package/dist/models/FolderResponse.d.ts +4 -3
- package/dist/models/FolderResponse.js +3 -2
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +20 -10
- package/dist/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/models/GroupPermissionResponse.js +4 -0
- package/dist/models/ItemPermissions.d.ts +73 -0
- package/dist/models/ItemPermissions.js +64 -0
- package/dist/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/models/MemoryBodyResponse.js +61 -0
- package/dist/models/MemoryScope.d.ts +29 -0
- package/dist/models/MemoryScope.js +55 -0
- package/dist/models/ModelTableRequest.d.ts +66 -0
- package/dist/models/ModelTableRequest.js +59 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.js +78 -0
- package/dist/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseTrashItemResponse.js +78 -0
- package/dist/models/PartType.d.ts +2 -0
- package/dist/models/PartType.js +3 -1
- package/dist/models/PathPartResponse.d.ts +4 -9
- package/dist/models/PathPartResponse.js +4 -7
- package/dist/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/models/PendingMemoryChunkResponse.js +82 -0
- package/dist/models/PermissionCapability.d.ts +2 -1
- package/dist/models/PermissionCapability.js +3 -2
- package/dist/models/PermissionResponse.d.ts +6 -0
- package/dist/models/PermissionResponse.js +4 -0
- package/dist/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/models/ProposeMemoryChunkRequest.js +79 -0
- package/dist/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/models/ProposedMemoryChunkResponse.js +82 -0
- package/dist/models/ReferenceType.d.ts +2 -0
- package/dist/models/ReferenceType.js +2 -0
- package/dist/models/TextDiff.d.ts +72 -0
- package/dist/models/TextDiff.js +69 -0
- package/dist/models/TrashItemResponse.d.ts +90 -0
- package/dist/models/TrashItemResponse.js +81 -0
- package/dist/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/models/UpdatePermissionRequest.js +2 -0
- package/dist/models/UpdateTableRequest.d.ts +54 -0
- package/dist/models/UpdateTableRequest.js +53 -0
- package/dist/models/VersionDiffResponse.d.ts +89 -0
- package/dist/models/VersionDiffResponse.js +71 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/models/WorkflowRunResponse.js +3 -0
- package/dist/models/index.d.ts +37 -2
- package/dist/models/index.js +37 -2
- package/docs/AccessCheckResponse.md +39 -0
- package/docs/AgentApi.md +18 -18
- package/docs/ApiKeysApi.md +30 -32
- package/docs/AuditEventsApi.md +104 -0
- package/docs/AuthApi.md +36 -36
- package/docs/CatalogColumnResponse.md +38 -0
- package/docs/CatalogTableResponse.md +36 -0
- package/docs/CellChange.md +43 -0
- package/docs/CellChangeType.md +32 -0
- package/docs/CellDiff.md +43 -0
- package/docs/ChunkLineagesApi.md +27 -27
- package/docs/ChunksApi.md +82 -82
- package/docs/ColumnConfig.md +43 -0
- package/docs/ConnectionConfig.md +43 -0
- package/docs/CreateDataSourceRequest.md +41 -0
- package/docs/CreateGroupPermissionRequest.md +2 -0
- package/docs/CreatePermissionRequest.md +2 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/DataSourceCatalogResponse.md +35 -0
- package/docs/DataSourceDetailResponse.md +37 -0
- package/docs/DataSourceEngine.md +33 -0
- package/docs/DataSourceQueryRequest.md +37 -0
- package/docs/DataSourceQueryResponse.md +43 -0
- package/docs/DataSourceResponse.md +55 -0
- package/docs/DataSourceTableResponse.md +61 -0
- package/docs/DataSourcesApi.md +545 -0
- package/docs/DiffFormat.md +32 -0
- package/docs/DiffRow.md +47 -0
- package/docs/DiffRowType.md +32 -0
- package/docs/DiffSpan.md +37 -0
- package/docs/DocumentCheckoutApi.md +27 -27
- package/docs/DocumentDownloadResponse.md +43 -0
- package/docs/DocumentResponse.md +2 -2
- package/docs/DocumentVersionsApi.md +228 -72
- package/docs/DocumentsApi.md +154 -64
- package/docs/DownloadArtifact.md +32 -0
- package/docs/EventResponse.md +2 -0
- package/docs/FeedbackApi.md +27 -27
- package/docs/FolderResponse.md +2 -2
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.md} +14 -6
- package/docs/FoldersApi.md +75 -75
- package/docs/GroupPermissionResponse.md +2 -0
- package/docs/InvitesApi.md +45 -45
- package/docs/ItemPermissions.md +41 -0
- package/docs/MemoryApi.md +379 -0
- package/docs/MemoryBodyResponse.md +38 -0
- package/docs/MemoryScope.md +33 -0
- package/docs/ModelTableRequest.md +41 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.md} +5 -5
- package/docs/PaginatedResponsePendingMemoryChunkResponse.md +40 -0
- package/docs/PaginatedResponseTrashItemResponse.md +40 -0
- package/docs/PathPartApprovalsApi.md +18 -18
- package/docs/PathPartResponse.md +2 -4
- package/docs/PathPartsApi.md +162 -81
- package/docs/PendingMemoryChunkResponse.md +48 -0
- package/docs/PermissionCapability.md +1 -1
- package/docs/PermissionResponse.md +2 -0
- package/docs/ProposeMemoryChunkRequest.md +44 -0
- package/docs/ProposedMemoryChunkResponse.md +48 -0
- package/docs/SectionsApi.md +54 -54
- package/docs/SubscriptionsApi.md +18 -18
- package/docs/TagsApi.md +45 -45
- package/docs/TenantGroupsApi.md +119 -125
- package/docs/TenantsApi.md +108 -108
- package/docs/TextDiff.md +43 -0
- package/docs/ThreadMessagesApi.md +27 -27
- package/docs/ThreadsApi.md +63 -63
- package/docs/TrashApi.md +236 -0
- package/docs/TrashItemResponse.md +49 -0
- package/docs/UpdateGroupPermissionRequest.md +2 -0
- package/docs/UpdatePermissionRequest.md +2 -0
- package/docs/UpdateTableRequest.md +37 -0
- package/docs/UserPermissionsApi.md +36 -36
- package/docs/UsersApi.md +49 -61
- package/docs/VersionDiffResponse.md +47 -0
- package/docs/WorkflowDefinitionResponse.md +2 -0
- package/docs/WorkflowDefinitionsApi.md +63 -63
- package/docs/WorkflowMemoryApi.md +45 -45
- package/docs/WorkflowRunResponse.md +2 -0
- package/docs/WorkflowRunsApi.md +82 -82
- package/docs/WorkflowsApi.md +45 -45
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +14 -18
- package/src/apis/ApiKeysApi.ts +8 -23
- package/src/apis/AuditEventsApi.ts +170 -0
- package/src/apis/AuthApi.ts +28 -36
- package/src/apis/ChunkLineagesApi.ts +21 -27
- package/src/apis/ChunksApi.ts +63 -81
- package/src/apis/DataSourcesApi.ts +698 -0
- package/src/apis/DocumentCheckoutApi.ts +21 -27
- package/src/apis/DocumentVersionsApi.ts +245 -72
- package/src/apis/DocumentsApi.ts +177 -67
- package/src/apis/FeedbackApi.ts +21 -27
- package/src/apis/FoldersApi.ts +73 -89
- package/src/apis/InvitesApi.ts +35 -45
- package/src/apis/MemoryApi.ts +478 -0
- package/src/apis/PathPartApprovalsApi.ts +14 -18
- package/src/apis/PathPartsApi.ts +173 -81
- package/src/apis/SectionsApi.ts +42 -54
- package/src/apis/SubscriptionsApi.ts +14 -18
- package/src/apis/TagsApi.ts +35 -45
- package/src/apis/TenantGroupsApi.ts +99 -128
- package/src/apis/TenantsApi.ts +84 -108
- package/src/apis/ThreadMessagesApi.ts +21 -27
- package/src/apis/ThreadsApi.ts +49 -63
- package/src/apis/TrashApi.ts +292 -0
- package/src/apis/UserPermissionsApi.ts +28 -36
- package/src/apis/UsersApi.ts +51 -67
- package/src/apis/WorkflowDefinitionsApi.ts +49 -63
- package/src/apis/WorkflowMemoryApi.ts +35 -45
- package/src/apis/WorkflowRunsApi.ts +67 -85
- package/src/apis/WorkflowsApi.ts +35 -45
- package/src/apis/index.ts +4 -0
- package/src/models/AccessCheckResponse.ts +100 -0
- package/src/models/CatalogColumnResponse.ts +101 -0
- package/src/models/CatalogTableResponse.ts +100 -0
- package/src/models/CellChange.ts +129 -0
- package/src/models/CellChangeType.ts +54 -0
- package/src/models/CellDiff.ts +127 -0
- package/src/models/ColumnConfig.ts +115 -0
- package/src/models/ConnectionConfig.ts +118 -0
- package/src/models/CreateDataSourceRequest.ts +130 -0
- package/src/models/CreateGroupPermissionRequest.ts +8 -0
- package/src/models/CreatePermissionRequest.ts +8 -0
- package/src/models/CreateWorkflowDefinitionRequest.ts +9 -0
- package/src/models/DataSourceCatalogResponse.ts +91 -0
- package/src/models/DataSourceDetailResponse.ts +107 -0
- package/src/models/DataSourceEngine.ts +53 -0
- package/src/models/DataSourceQueryRequest.ts +97 -0
- package/src/models/DataSourceQueryResponse.ts +119 -0
- package/src/models/DataSourceResponse.ts +200 -0
- package/src/models/DataSourceTableResponse.ts +217 -0
- package/src/models/DiffFormat.ts +53 -0
- package/src/models/DiffRow.ts +153 -0
- package/src/models/DiffRowType.ts +55 -0
- package/src/models/DiffSpan.ts +92 -0
- package/src/models/DocumentDownloadResponse.ts +129 -0
- package/src/models/DocumentResponse.ts +12 -5
- package/src/models/DownloadArtifact.ts +53 -0
- package/src/models/EventResponse.ts +16 -0
- package/src/models/FolderResponse.ts +12 -5
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.ts} +30 -8
- package/src/models/GroupPermissionResponse.ts +9 -0
- package/src/models/ItemPermissions.ts +118 -0
- package/src/models/MemoryBodyResponse.ts +111 -0
- package/src/models/MemoryScope.ts +57 -0
- package/src/models/ModelTableRequest.ts +115 -0
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.ts} +25 -25
- package/src/models/PaginatedResponsePendingMemoryChunkResponse.ts +130 -0
- package/src/models/PaginatedResponseTrashItemResponse.ts +130 -0
- package/src/models/PartType.ts +3 -1
- package/src/models/PathPartResponse.ts +13 -15
- package/src/models/PendingMemoryChunkResponse.ts +163 -0
- package/src/models/PermissionCapability.ts +3 -2
- package/src/models/PermissionResponse.ts +9 -0
- package/src/models/ProposeMemoryChunkRequest.ts +151 -0
- package/src/models/ProposedMemoryChunkResponse.ts +163 -0
- package/src/models/ReferenceType.ts +2 -0
- package/src/models/TextDiff.ts +127 -0
- package/src/models/TrashItemResponse.ts +156 -0
- package/src/models/UpdateGroupPermissionRequest.ts +8 -0
- package/src/models/UpdatePermissionRequest.ts +8 -0
- package/src/models/UpdateTableRequest.ts +98 -0
- package/src/models/VersionDiffResponse.ts +160 -0
- package/src/models/WorkflowDefinitionResponse.ts +15 -0
- package/src/models/WorkflowRunResponse.ts +15 -0
- package/src/models/index.ts +37 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js +0 -78
|
@@ -14,78 +14,50 @@ import type { AddMemberRequest, CreateGroupPermissionRequest, CreateGroupRequest
|
|
|
14
14
|
export interface AddGroupMemberRequest {
|
|
15
15
|
groupId: string;
|
|
16
16
|
addMemberRequest: AddMemberRequest;
|
|
17
|
-
authorization?: string | null;
|
|
18
|
-
ksUat?: string | null;
|
|
19
17
|
}
|
|
20
18
|
export interface CreateGroupPermissionOperationRequest {
|
|
21
19
|
groupId: string;
|
|
22
20
|
createGroupPermissionRequest: CreateGroupPermissionRequest;
|
|
23
|
-
authorization?: string | null;
|
|
24
|
-
ksUat?: string | null;
|
|
25
21
|
}
|
|
26
22
|
export interface CreateTenantGroupRequest {
|
|
27
23
|
createGroupRequest: CreateGroupRequest;
|
|
28
|
-
authorization?: string | null;
|
|
29
|
-
ksUat?: string | null;
|
|
30
24
|
}
|
|
31
25
|
export interface DeleteGroupPermissionRequest {
|
|
32
26
|
groupId: string;
|
|
33
27
|
permissionId: string;
|
|
34
|
-
authorization?: string | null;
|
|
35
|
-
ksUat?: string | null;
|
|
36
28
|
}
|
|
37
29
|
export interface DeleteTenantGroupRequest {
|
|
38
30
|
groupId: string;
|
|
39
|
-
authorization?: string | null;
|
|
40
|
-
ksUat?: string | null;
|
|
41
31
|
}
|
|
42
32
|
export interface GetTenantGroupRequest {
|
|
43
33
|
groupId: string;
|
|
44
|
-
authorization?: string | null;
|
|
45
|
-
ksUat?: string | null;
|
|
46
34
|
}
|
|
47
35
|
export interface ListGroupMembersRequest {
|
|
48
36
|
groupId: string;
|
|
49
37
|
limit?: number;
|
|
50
38
|
offset?: number;
|
|
51
|
-
authorization?: string | null;
|
|
52
|
-
ksUat?: string | null;
|
|
53
39
|
}
|
|
54
40
|
export interface ListGroupPermissionsRequest {
|
|
55
41
|
groupId: string;
|
|
56
42
|
limit?: number;
|
|
57
43
|
offset?: number;
|
|
58
|
-
authorization?: string | null;
|
|
59
|
-
ksUat?: string | null;
|
|
60
|
-
}
|
|
61
|
-
export interface ListMyGroupsRequest {
|
|
62
|
-
authorization?: string | null;
|
|
63
|
-
ksUat?: string | null;
|
|
64
44
|
}
|
|
65
45
|
export interface ListTenantGroupsRequest {
|
|
66
46
|
limit?: number;
|
|
67
47
|
offset?: number;
|
|
68
|
-
authorization?: string | null;
|
|
69
|
-
ksUat?: string | null;
|
|
70
48
|
}
|
|
71
49
|
export interface RemoveGroupMemberRequest {
|
|
72
50
|
groupId: string;
|
|
73
51
|
userId: string;
|
|
74
|
-
authorization?: string | null;
|
|
75
|
-
ksUat?: string | null;
|
|
76
52
|
}
|
|
77
53
|
export interface UpdateGroupPermissionOperationRequest {
|
|
78
54
|
groupId: string;
|
|
79
55
|
permissionId: string;
|
|
80
56
|
updateGroupPermissionRequest: UpdateGroupPermissionRequest;
|
|
81
|
-
authorization?: string | null;
|
|
82
|
-
ksUat?: string | null;
|
|
83
57
|
}
|
|
84
58
|
export interface UpdateTenantGroupRequest {
|
|
85
59
|
groupId: string;
|
|
86
60
|
updateGroupRequest: UpdateGroupRequest;
|
|
87
|
-
authorization?: string | null;
|
|
88
|
-
ksUat?: string | null;
|
|
89
61
|
}
|
|
90
62
|
/**
|
|
91
63
|
* TenantGroupsApi - interface
|
|
@@ -98,8 +70,6 @@ export interface TenantGroupsApiInterface {
|
|
|
98
70
|
* Creates request options for addGroupMember without sending the request
|
|
99
71
|
* @param {string} groupId
|
|
100
72
|
* @param {AddMemberRequest} addMemberRequest
|
|
101
|
-
* @param {string} [authorization]
|
|
102
|
-
* @param {string} [ksUat]
|
|
103
73
|
* @throws {RequiredError}
|
|
104
74
|
* @memberof TenantGroupsApiInterface
|
|
105
75
|
*/
|
|
@@ -109,8 +79,6 @@ export interface TenantGroupsApiInterface {
|
|
|
109
79
|
* @summary Add Group Member Handler
|
|
110
80
|
* @param {string} groupId
|
|
111
81
|
* @param {AddMemberRequest} addMemberRequest
|
|
112
|
-
* @param {string} [authorization]
|
|
113
|
-
* @param {string} [ksUat]
|
|
114
82
|
* @param {*} [options] Override http request option.
|
|
115
83
|
* @throws {RequiredError}
|
|
116
84
|
* @memberof TenantGroupsApiInterface
|
|
@@ -125,8 +93,6 @@ export interface TenantGroupsApiInterface {
|
|
|
125
93
|
* Creates request options for createGroupPermission without sending the request
|
|
126
94
|
* @param {string} groupId
|
|
127
95
|
* @param {CreateGroupPermissionRequest} createGroupPermissionRequest
|
|
128
|
-
* @param {string} [authorization]
|
|
129
|
-
* @param {string} [ksUat]
|
|
130
96
|
* @throws {RequiredError}
|
|
131
97
|
* @memberof TenantGroupsApiInterface
|
|
132
98
|
*/
|
|
@@ -136,8 +102,6 @@ export interface TenantGroupsApiInterface {
|
|
|
136
102
|
* @summary Create Group Permission Handler
|
|
137
103
|
* @param {string} groupId
|
|
138
104
|
* @param {CreateGroupPermissionRequest} createGroupPermissionRequest
|
|
139
|
-
* @param {string} [authorization]
|
|
140
|
-
* @param {string} [ksUat]
|
|
141
105
|
* @param {*} [options] Override http request option.
|
|
142
106
|
* @throws {RequiredError}
|
|
143
107
|
* @memberof TenantGroupsApiInterface
|
|
@@ -151,8 +115,6 @@ export interface TenantGroupsApiInterface {
|
|
|
151
115
|
/**
|
|
152
116
|
* Creates request options for createTenantGroup without sending the request
|
|
153
117
|
* @param {CreateGroupRequest} createGroupRequest
|
|
154
|
-
* @param {string} [authorization]
|
|
155
|
-
* @param {string} [ksUat]
|
|
156
118
|
* @throws {RequiredError}
|
|
157
119
|
* @memberof TenantGroupsApiInterface
|
|
158
120
|
*/
|
|
@@ -161,8 +123,6 @@ export interface TenantGroupsApiInterface {
|
|
|
161
123
|
* Create a new tenant group (admin/owner only).
|
|
162
124
|
* @summary Create Tenant Group Handler
|
|
163
125
|
* @param {CreateGroupRequest} createGroupRequest
|
|
164
|
-
* @param {string} [authorization]
|
|
165
|
-
* @param {string} [ksUat]
|
|
166
126
|
* @param {*} [options] Override http request option.
|
|
167
127
|
* @throws {RequiredError}
|
|
168
128
|
* @memberof TenantGroupsApiInterface
|
|
@@ -177,8 +137,6 @@ export interface TenantGroupsApiInterface {
|
|
|
177
137
|
* Creates request options for deleteGroupPermission without sending the request
|
|
178
138
|
* @param {string} groupId
|
|
179
139
|
* @param {string} permissionId
|
|
180
|
-
* @param {string} [authorization]
|
|
181
|
-
* @param {string} [ksUat]
|
|
182
140
|
* @throws {RequiredError}
|
|
183
141
|
* @memberof TenantGroupsApiInterface
|
|
184
142
|
*/
|
|
@@ -188,8 +146,6 @@ export interface TenantGroupsApiInterface {
|
|
|
188
146
|
* @summary Delete Group Permission Handler
|
|
189
147
|
* @param {string} groupId
|
|
190
148
|
* @param {string} permissionId
|
|
191
|
-
* @param {string} [authorization]
|
|
192
|
-
* @param {string} [ksUat]
|
|
193
149
|
* @param {*} [options] Override http request option.
|
|
194
150
|
* @throws {RequiredError}
|
|
195
151
|
* @memberof TenantGroupsApiInterface
|
|
@@ -203,8 +159,6 @@ export interface TenantGroupsApiInterface {
|
|
|
203
159
|
/**
|
|
204
160
|
* Creates request options for deleteTenantGroup without sending the request
|
|
205
161
|
* @param {string} groupId
|
|
206
|
-
* @param {string} [authorization]
|
|
207
|
-
* @param {string} [ksUat]
|
|
208
162
|
* @throws {RequiredError}
|
|
209
163
|
* @memberof TenantGroupsApiInterface
|
|
210
164
|
*/
|
|
@@ -213,8 +167,6 @@ export interface TenantGroupsApiInterface {
|
|
|
213
167
|
* Delete a tenant group (admin/owner only).
|
|
214
168
|
* @summary Delete Tenant Group Handler
|
|
215
169
|
* @param {string} groupId
|
|
216
|
-
* @param {string} [authorization]
|
|
217
|
-
* @param {string} [ksUat]
|
|
218
170
|
* @param {*} [options] Override http request option.
|
|
219
171
|
* @throws {RequiredError}
|
|
220
172
|
* @memberof TenantGroupsApiInterface
|
|
@@ -228,8 +180,6 @@ export interface TenantGroupsApiInterface {
|
|
|
228
180
|
/**
|
|
229
181
|
* Creates request options for getTenantGroup without sending the request
|
|
230
182
|
* @param {string} groupId
|
|
231
|
-
* @param {string} [authorization]
|
|
232
|
-
* @param {string} [ksUat]
|
|
233
183
|
* @throws {RequiredError}
|
|
234
184
|
* @memberof TenantGroupsApiInterface
|
|
235
185
|
*/
|
|
@@ -238,8 +188,6 @@ export interface TenantGroupsApiInterface {
|
|
|
238
188
|
* Get a tenant group by ID (group member or admin/owner).
|
|
239
189
|
* @summary Get Tenant Group Handler
|
|
240
190
|
* @param {string} groupId
|
|
241
|
-
* @param {string} [authorization]
|
|
242
|
-
* @param {string} [ksUat]
|
|
243
191
|
* @param {*} [options] Override http request option.
|
|
244
192
|
* @throws {RequiredError}
|
|
245
193
|
* @memberof TenantGroupsApiInterface
|
|
@@ -255,8 +203,6 @@ export interface TenantGroupsApiInterface {
|
|
|
255
203
|
* @param {string} groupId
|
|
256
204
|
* @param {number} [limit] Number of items per page
|
|
257
205
|
* @param {number} [offset] Number of items to skip
|
|
258
|
-
* @param {string} [authorization]
|
|
259
|
-
* @param {string} [ksUat]
|
|
260
206
|
* @throws {RequiredError}
|
|
261
207
|
* @memberof TenantGroupsApiInterface
|
|
262
208
|
*/
|
|
@@ -267,8 +213,6 @@ export interface TenantGroupsApiInterface {
|
|
|
267
213
|
* @param {string} groupId
|
|
268
214
|
* @param {number} [limit] Number of items per page
|
|
269
215
|
* @param {number} [offset] Number of items to skip
|
|
270
|
-
* @param {string} [authorization]
|
|
271
|
-
* @param {string} [ksUat]
|
|
272
216
|
* @param {*} [options] Override http request option.
|
|
273
217
|
* @throws {RequiredError}
|
|
274
218
|
* @memberof TenantGroupsApiInterface
|
|
@@ -284,8 +228,6 @@ export interface TenantGroupsApiInterface {
|
|
|
284
228
|
* @param {string} groupId
|
|
285
229
|
* @param {number} [limit] Number of items per page
|
|
286
230
|
* @param {number} [offset] Number of items to skip
|
|
287
|
-
* @param {string} [authorization]
|
|
288
|
-
* @param {string} [ksUat]
|
|
289
231
|
* @throws {RequiredError}
|
|
290
232
|
* @memberof TenantGroupsApiInterface
|
|
291
233
|
*/
|
|
@@ -296,8 +238,6 @@ export interface TenantGroupsApiInterface {
|
|
|
296
238
|
* @param {string} groupId
|
|
297
239
|
* @param {number} [limit] Number of items per page
|
|
298
240
|
* @param {number} [offset] Number of items to skip
|
|
299
|
-
* @param {string} [authorization]
|
|
300
|
-
* @param {string} [ksUat]
|
|
301
241
|
* @param {*} [options] Override http request option.
|
|
302
242
|
* @throws {RequiredError}
|
|
303
243
|
* @memberof TenantGroupsApiInterface
|
|
@@ -310,33 +250,27 @@ export interface TenantGroupsApiInterface {
|
|
|
310
250
|
listGroupPermissions(requestParameters: ListGroupPermissionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseGroupPermissionResponse>;
|
|
311
251
|
/**
|
|
312
252
|
* Creates request options for listMyGroups without sending the request
|
|
313
|
-
* @param {string} [authorization]
|
|
314
|
-
* @param {string} [ksUat]
|
|
315
253
|
* @throws {RequiredError}
|
|
316
254
|
* @memberof TenantGroupsApiInterface
|
|
317
255
|
*/
|
|
318
|
-
listMyGroupsRequestOpts(
|
|
256
|
+
listMyGroupsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
319
257
|
/**
|
|
320
258
|
* List groups the current user belongs to.
|
|
321
259
|
* @summary List My Groups Handler
|
|
322
|
-
* @param {string} [authorization]
|
|
323
|
-
* @param {string} [ksUat]
|
|
324
260
|
* @param {*} [options] Override http request option.
|
|
325
261
|
* @throws {RequiredError}
|
|
326
262
|
* @memberof TenantGroupsApiInterface
|
|
327
263
|
*/
|
|
328
|
-
listMyGroupsRaw(
|
|
264
|
+
listMyGroupsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GroupResponse>>>;
|
|
329
265
|
/**
|
|
330
266
|
* List groups the current user belongs to.
|
|
331
267
|
* List My Groups Handler
|
|
332
268
|
*/
|
|
333
|
-
listMyGroups(
|
|
269
|
+
listMyGroups(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GroupResponse>>;
|
|
334
270
|
/**
|
|
335
271
|
* Creates request options for listTenantGroups without sending the request
|
|
336
272
|
* @param {number} [limit] Number of items per page
|
|
337
273
|
* @param {number} [offset] Number of items to skip
|
|
338
|
-
* @param {string} [authorization]
|
|
339
|
-
* @param {string} [ksUat]
|
|
340
274
|
* @throws {RequiredError}
|
|
341
275
|
* @memberof TenantGroupsApiInterface
|
|
342
276
|
*/
|
|
@@ -346,8 +280,6 @@ export interface TenantGroupsApiInterface {
|
|
|
346
280
|
* @summary List Tenant Groups Handler
|
|
347
281
|
* @param {number} [limit] Number of items per page
|
|
348
282
|
* @param {number} [offset] Number of items to skip
|
|
349
|
-
* @param {string} [authorization]
|
|
350
|
-
* @param {string} [ksUat]
|
|
351
283
|
* @param {*} [options] Override http request option.
|
|
352
284
|
* @throws {RequiredError}
|
|
353
285
|
* @memberof TenantGroupsApiInterface
|
|
@@ -362,8 +294,6 @@ export interface TenantGroupsApiInterface {
|
|
|
362
294
|
* Creates request options for removeGroupMember without sending the request
|
|
363
295
|
* @param {string} groupId
|
|
364
296
|
* @param {string} userId
|
|
365
|
-
* @param {string} [authorization]
|
|
366
|
-
* @param {string} [ksUat]
|
|
367
297
|
* @throws {RequiredError}
|
|
368
298
|
* @memberof TenantGroupsApiInterface
|
|
369
299
|
*/
|
|
@@ -373,8 +303,6 @@ export interface TenantGroupsApiInterface {
|
|
|
373
303
|
* @summary Remove Group Member Handler
|
|
374
304
|
* @param {string} groupId
|
|
375
305
|
* @param {string} userId
|
|
376
|
-
* @param {string} [authorization]
|
|
377
|
-
* @param {string} [ksUat]
|
|
378
306
|
* @param {*} [options] Override http request option.
|
|
379
307
|
* @throws {RequiredError}
|
|
380
308
|
* @memberof TenantGroupsApiInterface
|
|
@@ -390,8 +318,6 @@ export interface TenantGroupsApiInterface {
|
|
|
390
318
|
* @param {string} groupId
|
|
391
319
|
* @param {string} permissionId
|
|
392
320
|
* @param {UpdateGroupPermissionRequest} updateGroupPermissionRequest
|
|
393
|
-
* @param {string} [authorization]
|
|
394
|
-
* @param {string} [ksUat]
|
|
395
321
|
* @throws {RequiredError}
|
|
396
322
|
* @memberof TenantGroupsApiInterface
|
|
397
323
|
*/
|
|
@@ -402,8 +328,6 @@ export interface TenantGroupsApiInterface {
|
|
|
402
328
|
* @param {string} groupId
|
|
403
329
|
* @param {string} permissionId
|
|
404
330
|
* @param {UpdateGroupPermissionRequest} updateGroupPermissionRequest
|
|
405
|
-
* @param {string} [authorization]
|
|
406
|
-
* @param {string} [ksUat]
|
|
407
331
|
* @param {*} [options] Override http request option.
|
|
408
332
|
* @throws {RequiredError}
|
|
409
333
|
* @memberof TenantGroupsApiInterface
|
|
@@ -418,8 +342,6 @@ export interface TenantGroupsApiInterface {
|
|
|
418
342
|
* Creates request options for updateTenantGroup without sending the request
|
|
419
343
|
* @param {string} groupId
|
|
420
344
|
* @param {UpdateGroupRequest} updateGroupRequest
|
|
421
|
-
* @param {string} [authorization]
|
|
422
|
-
* @param {string} [ksUat]
|
|
423
345
|
* @throws {RequiredError}
|
|
424
346
|
* @memberof TenantGroupsApiInterface
|
|
425
347
|
*/
|
|
@@ -429,8 +351,6 @@ export interface TenantGroupsApiInterface {
|
|
|
429
351
|
* @summary Update Tenant Group Handler
|
|
430
352
|
* @param {string} groupId
|
|
431
353
|
* @param {UpdateGroupRequest} updateGroupRequest
|
|
432
|
-
* @param {string} [authorization]
|
|
433
|
-
* @param {string} [ksUat]
|
|
434
354
|
* @param {*} [options] Override http request option.
|
|
435
355
|
* @throws {RequiredError}
|
|
436
356
|
* @memberof TenantGroupsApiInterface
|
|
@@ -561,17 +481,17 @@ export declare class TenantGroupsApi extends runtime.BaseAPI implements TenantGr
|
|
|
561
481
|
/**
|
|
562
482
|
* Creates request options for listMyGroups without sending the request
|
|
563
483
|
*/
|
|
564
|
-
listMyGroupsRequestOpts(
|
|
484
|
+
listMyGroupsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
565
485
|
/**
|
|
566
486
|
* List groups the current user belongs to.
|
|
567
487
|
* List My Groups Handler
|
|
568
488
|
*/
|
|
569
|
-
listMyGroupsRaw(
|
|
489
|
+
listMyGroupsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GroupResponse>>>;
|
|
570
490
|
/**
|
|
571
491
|
* List groups the current user belongs to.
|
|
572
492
|
* List My Groups Handler
|
|
573
493
|
*/
|
|
574
|
-
listMyGroups(
|
|
494
|
+
listMyGroups(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GroupResponse>>;
|
|
575
495
|
/**
|
|
576
496
|
* Creates request options for listTenantGroups without sending the request
|
|
577
497
|
*/
|
|
@@ -40,8 +40,12 @@ export class TenantGroupsApi 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/tenant-groups/{group_id}/members`;
|
|
47
51
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -89,8 +93,12 @@ export class TenantGroupsApi 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/tenant-groups/{group_id}/permissions`;
|
|
96
104
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -135,8 +143,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
135
143
|
const queryParameters = {};
|
|
136
144
|
const headerParameters = {};
|
|
137
145
|
headerParameters['Content-Type'] = 'application/json';
|
|
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/tenant-groups`;
|
|
142
154
|
return {
|
|
@@ -182,8 +194,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
182
194
|
}
|
|
183
195
|
const queryParameters = {};
|
|
184
196
|
const headerParameters = {};
|
|
185
|
-
if (
|
|
186
|
-
|
|
197
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
198
|
+
const token = this.configuration.accessToken;
|
|
199
|
+
const tokenString = yield token("bearerAuth", []);
|
|
200
|
+
if (tokenString) {
|
|
201
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
202
|
+
}
|
|
187
203
|
}
|
|
188
204
|
let urlPath = `/v1/tenant-groups/{group_id}/permissions/{permission_id}`;
|
|
189
205
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -226,8 +242,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
226
242
|
}
|
|
227
243
|
const queryParameters = {};
|
|
228
244
|
const headerParameters = {};
|
|
229
|
-
if (
|
|
230
|
-
|
|
245
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
246
|
+
const token = this.configuration.accessToken;
|
|
247
|
+
const tokenString = yield token("bearerAuth", []);
|
|
248
|
+
if (tokenString) {
|
|
249
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
250
|
+
}
|
|
231
251
|
}
|
|
232
252
|
let urlPath = `/v1/tenant-groups/{group_id}`;
|
|
233
253
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -269,8 +289,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
269
289
|
}
|
|
270
290
|
const queryParameters = {};
|
|
271
291
|
const headerParameters = {};
|
|
272
|
-
if (
|
|
273
|
-
|
|
292
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
293
|
+
const token = this.configuration.accessToken;
|
|
294
|
+
const tokenString = yield token("bearerAuth", []);
|
|
295
|
+
if (tokenString) {
|
|
296
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
297
|
+
}
|
|
274
298
|
}
|
|
275
299
|
let urlPath = `/v1/tenant-groups/{group_id}`;
|
|
276
300
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -319,8 +343,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
319
343
|
queryParameters['offset'] = requestParameters['offset'];
|
|
320
344
|
}
|
|
321
345
|
const headerParameters = {};
|
|
322
|
-
if (
|
|
323
|
-
|
|
346
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
347
|
+
const token = this.configuration.accessToken;
|
|
348
|
+
const tokenString = yield token("bearerAuth", []);
|
|
349
|
+
if (tokenString) {
|
|
350
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
351
|
+
}
|
|
324
352
|
}
|
|
325
353
|
let urlPath = `/v1/tenant-groups/{group_id}/members`;
|
|
326
354
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -369,8 +397,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
369
397
|
queryParameters['offset'] = requestParameters['offset'];
|
|
370
398
|
}
|
|
371
399
|
const headerParameters = {};
|
|
372
|
-
if (
|
|
373
|
-
|
|
400
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
401
|
+
const token = this.configuration.accessToken;
|
|
402
|
+
const tokenString = yield token("bearerAuth", []);
|
|
403
|
+
if (tokenString) {
|
|
404
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
405
|
+
}
|
|
374
406
|
}
|
|
375
407
|
let urlPath = `/v1/tenant-groups/{group_id}/permissions`;
|
|
376
408
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -406,12 +438,16 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
406
438
|
/**
|
|
407
439
|
* Creates request options for listMyGroups without sending the request
|
|
408
440
|
*/
|
|
409
|
-
listMyGroupsRequestOpts(
|
|
441
|
+
listMyGroupsRequestOpts() {
|
|
410
442
|
return __awaiter(this, void 0, void 0, function* () {
|
|
411
443
|
const queryParameters = {};
|
|
412
444
|
const headerParameters = {};
|
|
413
|
-
if (
|
|
414
|
-
|
|
445
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
446
|
+
const token = this.configuration.accessToken;
|
|
447
|
+
const tokenString = yield token("bearerAuth", []);
|
|
448
|
+
if (tokenString) {
|
|
449
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
450
|
+
}
|
|
415
451
|
}
|
|
416
452
|
let urlPath = `/v1/tenant-groups/my-group`;
|
|
417
453
|
return {
|
|
@@ -426,9 +462,9 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
426
462
|
* List groups the current user belongs to.
|
|
427
463
|
* List My Groups Handler
|
|
428
464
|
*/
|
|
429
|
-
listMyGroupsRaw(
|
|
465
|
+
listMyGroupsRaw(initOverrides) {
|
|
430
466
|
return __awaiter(this, void 0, void 0, function* () {
|
|
431
|
-
const requestOptions = yield this.listMyGroupsRequestOpts(
|
|
467
|
+
const requestOptions = yield this.listMyGroupsRequestOpts();
|
|
432
468
|
const response = yield this.request(requestOptions, initOverrides);
|
|
433
469
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(GroupResponseFromJSON));
|
|
434
470
|
});
|
|
@@ -437,9 +473,9 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
437
473
|
* List groups the current user belongs to.
|
|
438
474
|
* List My Groups Handler
|
|
439
475
|
*/
|
|
440
|
-
listMyGroups() {
|
|
441
|
-
return __awaiter(this,
|
|
442
|
-
const response = yield this.listMyGroupsRaw(
|
|
476
|
+
listMyGroups(initOverrides) {
|
|
477
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
478
|
+
const response = yield this.listMyGroupsRaw(initOverrides);
|
|
443
479
|
return yield response.value();
|
|
444
480
|
});
|
|
445
481
|
}
|
|
@@ -456,8 +492,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
456
492
|
queryParameters['offset'] = requestParameters['offset'];
|
|
457
493
|
}
|
|
458
494
|
const headerParameters = {};
|
|
459
|
-
if (
|
|
460
|
-
|
|
495
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
496
|
+
const token = this.configuration.accessToken;
|
|
497
|
+
const tokenString = yield token("bearerAuth", []);
|
|
498
|
+
if (tokenString) {
|
|
499
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
500
|
+
}
|
|
461
501
|
}
|
|
462
502
|
let urlPath = `/v1/tenant-groups`;
|
|
463
503
|
return {
|
|
@@ -502,8 +542,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
502
542
|
}
|
|
503
543
|
const queryParameters = {};
|
|
504
544
|
const headerParameters = {};
|
|
505
|
-
if (
|
|
506
|
-
|
|
545
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
546
|
+
const token = this.configuration.accessToken;
|
|
547
|
+
const tokenString = yield token("bearerAuth", []);
|
|
548
|
+
if (tokenString) {
|
|
549
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
550
|
+
}
|
|
507
551
|
}
|
|
508
552
|
let urlPath = `/v1/tenant-groups/{group_id}/members/{user_id}`;
|
|
509
553
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -553,8 +597,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
553
597
|
const queryParameters = {};
|
|
554
598
|
const headerParameters = {};
|
|
555
599
|
headerParameters['Content-Type'] = 'application/json';
|
|
556
|
-
if (
|
|
557
|
-
|
|
600
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
601
|
+
const token = this.configuration.accessToken;
|
|
602
|
+
const tokenString = yield token("bearerAuth", []);
|
|
603
|
+
if (tokenString) {
|
|
604
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
605
|
+
}
|
|
558
606
|
}
|
|
559
607
|
let urlPath = `/v1/tenant-groups/{group_id}/permissions/{permission_id}`;
|
|
560
608
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|
|
@@ -603,8 +651,12 @@ export class TenantGroupsApi extends runtime.BaseAPI {
|
|
|
603
651
|
const queryParameters = {};
|
|
604
652
|
const headerParameters = {};
|
|
605
653
|
headerParameters['Content-Type'] = 'application/json';
|
|
606
|
-
if (
|
|
607
|
-
|
|
654
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
655
|
+
const token = this.configuration.accessToken;
|
|
656
|
+
const tokenString = yield token("bearerAuth", []);
|
|
657
|
+
if (tokenString) {
|
|
658
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
659
|
+
}
|
|
608
660
|
}
|
|
609
661
|
let urlPath = `/v1/tenant-groups/{group_id}`;
|
|
610
662
|
urlPath = urlPath.replace(`{${"group_id"}}`, encodeURIComponent(String(requestParameters['groupId'])));
|