@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
|
@@ -14,73 +14,49 @@ import type { BrandingLogoType, PaginatedResponseTenantResponse, PaginatedRespon
|
|
|
14
14
|
export interface ActivateTenantUserRequest {
|
|
15
15
|
tenantId: string;
|
|
16
16
|
userId: string;
|
|
17
|
-
authorization?: string | null;
|
|
18
|
-
ksUat?: string | null;
|
|
19
17
|
}
|
|
20
18
|
export interface DeactivateTenantUserRequest {
|
|
21
19
|
tenantId: string;
|
|
22
20
|
userId: string;
|
|
23
|
-
authorization?: string | null;
|
|
24
|
-
ksUat?: string | null;
|
|
25
21
|
}
|
|
26
22
|
export interface DeleteTenantRequest {
|
|
27
23
|
tenantId: string;
|
|
28
|
-
authorization?: string | null;
|
|
29
|
-
ksUat?: string | null;
|
|
30
24
|
}
|
|
31
25
|
export interface DeleteTenantLogoRequest {
|
|
32
26
|
tenantId: string;
|
|
33
27
|
logoType?: BrandingLogoType;
|
|
34
|
-
authorization?: string | null;
|
|
35
|
-
ksUat?: string | null;
|
|
36
28
|
}
|
|
37
29
|
export interface DeleteTenantUserRequest {
|
|
38
30
|
tenantId: string;
|
|
39
31
|
userId: string;
|
|
40
|
-
authorization?: string | null;
|
|
41
|
-
ksUat?: string | null;
|
|
42
32
|
}
|
|
43
33
|
export interface GetTenantRequest {
|
|
44
34
|
tenantId: string;
|
|
45
|
-
authorization?: string | null;
|
|
46
|
-
ksUat?: string | null;
|
|
47
35
|
}
|
|
48
36
|
export interface GetTenantQuotaStateRequest {
|
|
49
37
|
tenantId: string;
|
|
50
|
-
authorization?: string | null;
|
|
51
|
-
ksUat?: string | null;
|
|
52
38
|
}
|
|
53
39
|
export interface ListTenantUsersRequest {
|
|
54
40
|
tenantId: string;
|
|
55
41
|
limit?: number;
|
|
56
42
|
offset?: number;
|
|
57
|
-
authorization?: string | null;
|
|
58
|
-
ksUat?: string | null;
|
|
59
43
|
}
|
|
60
44
|
export interface ListTenantsRequest {
|
|
61
45
|
limit?: number;
|
|
62
46
|
offset?: number;
|
|
63
|
-
authorization?: string | null;
|
|
64
|
-
ksUat?: string | null;
|
|
65
47
|
}
|
|
66
48
|
export interface UpdateTenantOperationRequest {
|
|
67
49
|
tenantId: string;
|
|
68
50
|
updateTenantRequest: UpdateTenantRequest;
|
|
69
|
-
authorization?: string | null;
|
|
70
|
-
ksUat?: string | null;
|
|
71
51
|
}
|
|
72
52
|
export interface UpdateTenantUserRequest {
|
|
73
53
|
tenantId: string;
|
|
74
54
|
userId: string;
|
|
75
55
|
tenantUserEditRequest: TenantUserEditRequest;
|
|
76
|
-
authorization?: string | null;
|
|
77
|
-
ksUat?: string | null;
|
|
78
56
|
}
|
|
79
57
|
export interface UploadTenantLogoRequest {
|
|
80
58
|
tenantId: string;
|
|
81
59
|
file: Blob;
|
|
82
|
-
authorization?: string | null;
|
|
83
|
-
ksUat?: string | null;
|
|
84
60
|
logoType?: BrandingLogoType;
|
|
85
61
|
}
|
|
86
62
|
/**
|
|
@@ -94,8 +70,6 @@ export interface TenantsApiInterface {
|
|
|
94
70
|
* Creates request options for activateTenantUser without sending the request
|
|
95
71
|
* @param {string} tenantId
|
|
96
72
|
* @param {string} userId
|
|
97
|
-
* @param {string} [authorization]
|
|
98
|
-
* @param {string} [ksUat]
|
|
99
73
|
* @throws {RequiredError}
|
|
100
74
|
* @memberof TenantsApiInterface
|
|
101
75
|
*/
|
|
@@ -105,8 +79,6 @@ export interface TenantsApiInterface {
|
|
|
105
79
|
* @summary Activate Tenant User Handler
|
|
106
80
|
* @param {string} tenantId
|
|
107
81
|
* @param {string} userId
|
|
108
|
-
* @param {string} [authorization]
|
|
109
|
-
* @param {string} [ksUat]
|
|
110
82
|
* @param {*} [options] Override http request option.
|
|
111
83
|
* @throws {RequiredError}
|
|
112
84
|
* @memberof TenantsApiInterface
|
|
@@ -121,8 +93,6 @@ export interface TenantsApiInterface {
|
|
|
121
93
|
* Creates request options for deactivateTenantUser without sending the request
|
|
122
94
|
* @param {string} tenantId
|
|
123
95
|
* @param {string} userId
|
|
124
|
-
* @param {string} [authorization]
|
|
125
|
-
* @param {string} [ksUat]
|
|
126
96
|
* @throws {RequiredError}
|
|
127
97
|
* @memberof TenantsApiInterface
|
|
128
98
|
*/
|
|
@@ -132,8 +102,6 @@ export interface TenantsApiInterface {
|
|
|
132
102
|
* @summary Deactivate Tenant User Handler
|
|
133
103
|
* @param {string} tenantId
|
|
134
104
|
* @param {string} userId
|
|
135
|
-
* @param {string} [authorization]
|
|
136
|
-
* @param {string} [ksUat]
|
|
137
105
|
* @param {*} [options] Override http request option.
|
|
138
106
|
* @throws {RequiredError}
|
|
139
107
|
* @memberof TenantsApiInterface
|
|
@@ -147,8 +115,6 @@ export interface TenantsApiInterface {
|
|
|
147
115
|
/**
|
|
148
116
|
* Creates request options for deleteTenant without sending the request
|
|
149
117
|
* @param {string} tenantId
|
|
150
|
-
* @param {string} [authorization]
|
|
151
|
-
* @param {string} [ksUat]
|
|
152
118
|
* @throws {RequiredError}
|
|
153
119
|
* @memberof TenantsApiInterface
|
|
154
120
|
*/
|
|
@@ -157,8 +123,6 @@ export interface TenantsApiInterface {
|
|
|
157
123
|
* Delete a tenant. Requires OWNER role in the tenant. Deletes the tenant\'s LiteLLM team/keys and S3 bucket after the DB transaction commits.
|
|
158
124
|
* @summary Delete Tenant
|
|
159
125
|
* @param {string} tenantId
|
|
160
|
-
* @param {string} [authorization]
|
|
161
|
-
* @param {string} [ksUat]
|
|
162
126
|
* @param {*} [options] Override http request option.
|
|
163
127
|
* @throws {RequiredError}
|
|
164
128
|
* @memberof TenantsApiInterface
|
|
@@ -173,8 +137,6 @@ export interface TenantsApiInterface {
|
|
|
173
137
|
* Creates request options for deleteTenantLogo without sending the request
|
|
174
138
|
* @param {string} tenantId
|
|
175
139
|
* @param {BrandingLogoType} [logoType]
|
|
176
|
-
* @param {string} [authorization]
|
|
177
|
-
* @param {string} [ksUat]
|
|
178
140
|
* @throws {RequiredError}
|
|
179
141
|
* @memberof TenantsApiInterface
|
|
180
142
|
*/
|
|
@@ -184,8 +146,6 @@ export interface TenantsApiInterface {
|
|
|
184
146
|
* @summary Delete Tenant Logo
|
|
185
147
|
* @param {string} tenantId
|
|
186
148
|
* @param {BrandingLogoType} [logoType]
|
|
187
|
-
* @param {string} [authorization]
|
|
188
|
-
* @param {string} [ksUat]
|
|
189
149
|
* @param {*} [options] Override http request option.
|
|
190
150
|
* @throws {RequiredError}
|
|
191
151
|
* @memberof TenantsApiInterface
|
|
@@ -200,8 +160,6 @@ export interface TenantsApiInterface {
|
|
|
200
160
|
* Creates request options for deleteTenantUser without sending the request
|
|
201
161
|
* @param {string} tenantId
|
|
202
162
|
* @param {string} userId
|
|
203
|
-
* @param {string} [authorization]
|
|
204
|
-
* @param {string} [ksUat]
|
|
205
163
|
* @throws {RequiredError}
|
|
206
164
|
* @memberof TenantsApiInterface
|
|
207
165
|
*/
|
|
@@ -211,8 +169,6 @@ export interface TenantsApiInterface {
|
|
|
211
169
|
* @summary Delete Tenant User Handler
|
|
212
170
|
* @param {string} tenantId
|
|
213
171
|
* @param {string} userId
|
|
214
|
-
* @param {string} [authorization]
|
|
215
|
-
* @param {string} [ksUat]
|
|
216
172
|
* @param {*} [options] Override http request option.
|
|
217
173
|
* @throws {RequiredError}
|
|
218
174
|
* @memberof TenantsApiInterface
|
|
@@ -226,8 +182,6 @@ export interface TenantsApiInterface {
|
|
|
226
182
|
/**
|
|
227
183
|
* Creates request options for getTenant without sending the request
|
|
228
184
|
* @param {string} tenantId
|
|
229
|
-
* @param {string} [authorization]
|
|
230
|
-
* @param {string} [ksUat]
|
|
231
185
|
* @throws {RequiredError}
|
|
232
186
|
* @memberof TenantsApiInterface
|
|
233
187
|
*/
|
|
@@ -236,8 +190,6 @@ export interface TenantsApiInterface {
|
|
|
236
190
|
* Get tenant information by ID. User must be a member of the tenant.
|
|
237
191
|
* @summary Get Tenant
|
|
238
192
|
* @param {string} tenantId
|
|
239
|
-
* @param {string} [authorization]
|
|
240
|
-
* @param {string} [ksUat]
|
|
241
193
|
* @param {*} [options] Override http request option.
|
|
242
194
|
* @throws {RequiredError}
|
|
243
195
|
* @memberof TenantsApiInterface
|
|
@@ -251,8 +203,6 @@ export interface TenantsApiInterface {
|
|
|
251
203
|
/**
|
|
252
204
|
* Creates request options for getTenantQuotaState without sending the request
|
|
253
205
|
* @param {string} tenantId
|
|
254
|
-
* @param {string} [authorization]
|
|
255
|
-
* @param {string} [ksUat]
|
|
256
206
|
* @throws {RequiredError}
|
|
257
207
|
* @memberof TenantsApiInterface
|
|
258
208
|
*/
|
|
@@ -261,8 +211,6 @@ export interface TenantsApiInterface {
|
|
|
261
211
|
* Read the tenant\'s current quota state across all metered caps + seats. Any active member of the tenant can read. Read-only — does not mutate quota state.
|
|
262
212
|
* @summary Get Tenant Quota State Handler
|
|
263
213
|
* @param {string} tenantId
|
|
264
|
-
* @param {string} [authorization]
|
|
265
|
-
* @param {string} [ksUat]
|
|
266
214
|
* @param {*} [options] Override http request option.
|
|
267
215
|
* @throws {RequiredError}
|
|
268
216
|
* @memberof TenantsApiInterface
|
|
@@ -278,8 +226,6 @@ export interface TenantsApiInterface {
|
|
|
278
226
|
* @param {string} tenantId
|
|
279
227
|
* @param {number} [limit] Number of items per page
|
|
280
228
|
* @param {number} [offset] Number of items to skip
|
|
281
|
-
* @param {string} [authorization]
|
|
282
|
-
* @param {string} [ksUat]
|
|
283
229
|
* @throws {RequiredError}
|
|
284
230
|
* @memberof TenantsApiInterface
|
|
285
231
|
*/
|
|
@@ -290,8 +236,6 @@ export interface TenantsApiInterface {
|
|
|
290
236
|
* @param {string} tenantId
|
|
291
237
|
* @param {number} [limit] Number of items per page
|
|
292
238
|
* @param {number} [offset] Number of items to skip
|
|
293
|
-
* @param {string} [authorization]
|
|
294
|
-
* @param {string} [ksUat]
|
|
295
239
|
* @param {*} [options] Override http request option.
|
|
296
240
|
* @throws {RequiredError}
|
|
297
241
|
* @memberof TenantsApiInterface
|
|
@@ -306,8 +250,6 @@ export interface TenantsApiInterface {
|
|
|
306
250
|
* Creates request options for listTenants without sending the request
|
|
307
251
|
* @param {number} [limit] Number of items per page
|
|
308
252
|
* @param {number} [offset] Number of items to skip
|
|
309
|
-
* @param {string} [authorization]
|
|
310
|
-
* @param {string} [ksUat]
|
|
311
253
|
* @throws {RequiredError}
|
|
312
254
|
* @memberof TenantsApiInterface
|
|
313
255
|
*/
|
|
@@ -317,8 +259,6 @@ export interface TenantsApiInterface {
|
|
|
317
259
|
* @summary List Tenants
|
|
318
260
|
* @param {number} [limit] Number of items per page
|
|
319
261
|
* @param {number} [offset] Number of items to skip
|
|
320
|
-
* @param {string} [authorization]
|
|
321
|
-
* @param {string} [ksUat]
|
|
322
262
|
* @param {*} [options] Override http request option.
|
|
323
263
|
* @throws {RequiredError}
|
|
324
264
|
* @memberof TenantsApiInterface
|
|
@@ -333,8 +273,6 @@ export interface TenantsApiInterface {
|
|
|
333
273
|
* Creates request options for updateTenant without sending the request
|
|
334
274
|
* @param {string} tenantId
|
|
335
275
|
* @param {UpdateTenantRequest} updateTenantRequest
|
|
336
|
-
* @param {string} [authorization]
|
|
337
|
-
* @param {string} [ksUat]
|
|
338
276
|
* @throws {RequiredError}
|
|
339
277
|
* @memberof TenantsApiInterface
|
|
340
278
|
*/
|
|
@@ -344,8 +282,6 @@ export interface TenantsApiInterface {
|
|
|
344
282
|
* @summary Update Tenant
|
|
345
283
|
* @param {string} tenantId
|
|
346
284
|
* @param {UpdateTenantRequest} updateTenantRequest
|
|
347
|
-
* @param {string} [authorization]
|
|
348
|
-
* @param {string} [ksUat]
|
|
349
285
|
* @param {*} [options] Override http request option.
|
|
350
286
|
* @throws {RequiredError}
|
|
351
287
|
* @memberof TenantsApiInterface
|
|
@@ -361,8 +297,6 @@ export interface TenantsApiInterface {
|
|
|
361
297
|
* @param {string} tenantId
|
|
362
298
|
* @param {string} userId
|
|
363
299
|
* @param {TenantUserEditRequest} tenantUserEditRequest
|
|
364
|
-
* @param {string} [authorization]
|
|
365
|
-
* @param {string} [ksUat]
|
|
366
300
|
* @throws {RequiredError}
|
|
367
301
|
* @memberof TenantsApiInterface
|
|
368
302
|
*/
|
|
@@ -373,8 +307,6 @@ export interface TenantsApiInterface {
|
|
|
373
307
|
* @param {string} tenantId
|
|
374
308
|
* @param {string} userId
|
|
375
309
|
* @param {TenantUserEditRequest} tenantUserEditRequest
|
|
376
|
-
* @param {string} [authorization]
|
|
377
|
-
* @param {string} [ksUat]
|
|
378
310
|
* @param {*} [options] Override http request option.
|
|
379
311
|
* @throws {RequiredError}
|
|
380
312
|
* @memberof TenantsApiInterface
|
|
@@ -389,8 +321,6 @@ export interface TenantsApiInterface {
|
|
|
389
321
|
* Creates request options for uploadTenantLogo without sending the request
|
|
390
322
|
* @param {string} tenantId
|
|
391
323
|
* @param {Blob} file
|
|
392
|
-
* @param {string} [authorization]
|
|
393
|
-
* @param {string} [ksUat]
|
|
394
324
|
* @param {BrandingLogoType} [logoType]
|
|
395
325
|
* @throws {RequiredError}
|
|
396
326
|
* @memberof TenantsApiInterface
|
|
@@ -401,8 +331,6 @@ export interface TenantsApiInterface {
|
|
|
401
331
|
* @summary Upload Tenant Logo
|
|
402
332
|
* @param {string} tenantId
|
|
403
333
|
* @param {Blob} file
|
|
404
|
-
* @param {string} [authorization]
|
|
405
|
-
* @param {string} [ksUat]
|
|
406
334
|
* @param {BrandingLogoType} [logoType]
|
|
407
335
|
* @param {*} [options] Override http request option.
|
|
408
336
|
* @throws {RequiredError}
|
package/dist/apis/TenantsApi.js
CHANGED
|
@@ -75,8 +75,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
75
75
|
}
|
|
76
76
|
const queryParameters = {};
|
|
77
77
|
const headerParameters = {};
|
|
78
|
-
if (
|
|
79
|
-
|
|
78
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
79
|
+
const token = this.configuration.accessToken;
|
|
80
|
+
const tokenString = yield token("bearerAuth", []);
|
|
81
|
+
if (tokenString) {
|
|
82
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
83
|
+
}
|
|
80
84
|
}
|
|
81
85
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}/activate`;
|
|
82
86
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -123,8 +127,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
123
127
|
}
|
|
124
128
|
const queryParameters = {};
|
|
125
129
|
const headerParameters = {};
|
|
126
|
-
if (
|
|
127
|
-
|
|
130
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
131
|
+
const token = this.configuration.accessToken;
|
|
132
|
+
const tokenString = yield token("bearerAuth", []);
|
|
133
|
+
if (tokenString) {
|
|
134
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
135
|
+
}
|
|
128
136
|
}
|
|
129
137
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}/deactivate`;
|
|
130
138
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -168,8 +176,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
168
176
|
}
|
|
169
177
|
const queryParameters = {};
|
|
170
178
|
const headerParameters = {};
|
|
171
|
-
if (
|
|
172
|
-
|
|
179
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
180
|
+
const token = this.configuration.accessToken;
|
|
181
|
+
const tokenString = yield token("bearerAuth", []);
|
|
182
|
+
if (tokenString) {
|
|
183
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
184
|
+
}
|
|
173
185
|
}
|
|
174
186
|
let urlPath = `/v1/tenants/{tenant_id}`;
|
|
175
187
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -214,8 +226,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
214
226
|
queryParameters['logo_type'] = requestParameters['logoType'];
|
|
215
227
|
}
|
|
216
228
|
const headerParameters = {};
|
|
217
|
-
if (
|
|
218
|
-
|
|
229
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
230
|
+
const token = this.configuration.accessToken;
|
|
231
|
+
const tokenString = yield token("bearerAuth", []);
|
|
232
|
+
if (tokenString) {
|
|
233
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
234
|
+
}
|
|
219
235
|
}
|
|
220
236
|
let urlPath = `/v1/tenants/{tenant_id}/branding/logo`;
|
|
221
237
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -261,8 +277,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
261
277
|
}
|
|
262
278
|
const queryParameters = {};
|
|
263
279
|
const headerParameters = {};
|
|
264
|
-
if (
|
|
265
|
-
|
|
280
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
281
|
+
const token = this.configuration.accessToken;
|
|
282
|
+
const tokenString = yield token("bearerAuth", []);
|
|
283
|
+
if (tokenString) {
|
|
284
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
285
|
+
}
|
|
266
286
|
}
|
|
267
287
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}`;
|
|
268
288
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -305,8 +325,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
305
325
|
}
|
|
306
326
|
const queryParameters = {};
|
|
307
327
|
const headerParameters = {};
|
|
308
|
-
if (
|
|
309
|
-
|
|
328
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
329
|
+
const token = this.configuration.accessToken;
|
|
330
|
+
const tokenString = yield token("bearerAuth", []);
|
|
331
|
+
if (tokenString) {
|
|
332
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
333
|
+
}
|
|
310
334
|
}
|
|
311
335
|
let urlPath = `/v1/tenants/{tenant_id}`;
|
|
312
336
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -349,8 +373,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
349
373
|
}
|
|
350
374
|
const queryParameters = {};
|
|
351
375
|
const headerParameters = {};
|
|
352
|
-
if (
|
|
353
|
-
|
|
376
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
377
|
+
const token = this.configuration.accessToken;
|
|
378
|
+
const tokenString = yield token("bearerAuth", []);
|
|
379
|
+
if (tokenString) {
|
|
380
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
381
|
+
}
|
|
354
382
|
}
|
|
355
383
|
let urlPath = `/v1/tenants/{tenant_id}/quota`;
|
|
356
384
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -399,8 +427,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
399
427
|
queryParameters['offset'] = requestParameters['offset'];
|
|
400
428
|
}
|
|
401
429
|
const headerParameters = {};
|
|
402
|
-
if (
|
|
403
|
-
|
|
430
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
431
|
+
const token = this.configuration.accessToken;
|
|
432
|
+
const tokenString = yield token("bearerAuth", []);
|
|
433
|
+
if (tokenString) {
|
|
434
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
435
|
+
}
|
|
404
436
|
}
|
|
405
437
|
let urlPath = `/v1/tenants/{tenant_id}/users`;
|
|
406
438
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -446,8 +478,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
446
478
|
queryParameters['offset'] = requestParameters['offset'];
|
|
447
479
|
}
|
|
448
480
|
const headerParameters = {};
|
|
449
|
-
if (
|
|
450
|
-
|
|
481
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
482
|
+
const token = this.configuration.accessToken;
|
|
483
|
+
const tokenString = yield token("bearerAuth", []);
|
|
484
|
+
if (tokenString) {
|
|
485
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
486
|
+
}
|
|
451
487
|
}
|
|
452
488
|
let urlPath = `/v1/tenants`;
|
|
453
489
|
return {
|
|
@@ -493,8 +529,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
493
529
|
const queryParameters = {};
|
|
494
530
|
const headerParameters = {};
|
|
495
531
|
headerParameters['Content-Type'] = 'application/json';
|
|
496
|
-
if (
|
|
497
|
-
|
|
532
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
533
|
+
const token = this.configuration.accessToken;
|
|
534
|
+
const tokenString = yield token("bearerAuth", []);
|
|
535
|
+
if (tokenString) {
|
|
536
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
537
|
+
}
|
|
498
538
|
}
|
|
499
539
|
let urlPath = `/v1/tenants/{tenant_id}`;
|
|
500
540
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -545,8 +585,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
545
585
|
const queryParameters = {};
|
|
546
586
|
const headerParameters = {};
|
|
547
587
|
headerParameters['Content-Type'] = 'application/json';
|
|
548
|
-
if (
|
|
549
|
-
|
|
588
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
589
|
+
const token = this.configuration.accessToken;
|
|
590
|
+
const tokenString = yield token("bearerAuth", []);
|
|
591
|
+
if (tokenString) {
|
|
592
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
593
|
+
}
|
|
550
594
|
}
|
|
551
595
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}`;
|
|
552
596
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -594,8 +638,12 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
594
638
|
}
|
|
595
639
|
const queryParameters = {};
|
|
596
640
|
const headerParameters = {};
|
|
597
|
-
if (
|
|
598
|
-
|
|
641
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
642
|
+
const token = this.configuration.accessToken;
|
|
643
|
+
const tokenString = yield token("bearerAuth", []);
|
|
644
|
+
if (tokenString) {
|
|
645
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
646
|
+
}
|
|
599
647
|
}
|
|
600
648
|
const consumes = [
|
|
601
649
|
{ contentType: 'multipart/form-data' },
|
|
@@ -14,15 +14,11 @@ import type { CreateThreadMessageRequest, PaginatedResponseThreadMessageResponse
|
|
|
14
14
|
export interface CreateThreadMessageOperationRequest {
|
|
15
15
|
threadId: string;
|
|
16
16
|
createThreadMessageRequest: CreateThreadMessageRequest;
|
|
17
|
-
authorization?: string | null;
|
|
18
|
-
ksUat?: string | null;
|
|
19
17
|
}
|
|
20
18
|
export interface GetThreadMessageRequest {
|
|
21
19
|
threadId: string;
|
|
22
20
|
messageId: string;
|
|
23
21
|
withDetails?: boolean;
|
|
24
|
-
authorization?: string | null;
|
|
25
|
-
ksUat?: string | null;
|
|
26
22
|
}
|
|
27
23
|
export interface ListThreadMessagesRequest {
|
|
28
24
|
threadId: string;
|
|
@@ -30,8 +26,6 @@ export interface ListThreadMessagesRequest {
|
|
|
30
26
|
withDetails?: boolean;
|
|
31
27
|
limit?: number;
|
|
32
28
|
offset?: number;
|
|
33
|
-
authorization?: string | null;
|
|
34
|
-
ksUat?: string | null;
|
|
35
29
|
}
|
|
36
30
|
/**
|
|
37
31
|
* ThreadMessagesApi - interface
|
|
@@ -44,8 +38,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
44
38
|
* Creates request options for createThreadMessage without sending the request
|
|
45
39
|
* @param {string} threadId
|
|
46
40
|
* @param {CreateThreadMessageRequest} createThreadMessageRequest
|
|
47
|
-
* @param {string} [authorization]
|
|
48
|
-
* @param {string} [ksUat]
|
|
49
41
|
* @throws {RequiredError}
|
|
50
42
|
* @memberof ThreadMessagesApiInterface
|
|
51
43
|
*/
|
|
@@ -55,8 +47,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
55
47
|
* @summary Create Thread Message Handler
|
|
56
48
|
* @param {string} threadId
|
|
57
49
|
* @param {CreateThreadMessageRequest} createThreadMessageRequest
|
|
58
|
-
* @param {string} [authorization]
|
|
59
|
-
* @param {string} [ksUat]
|
|
60
50
|
* @param {*} [options] Override http request option.
|
|
61
51
|
* @throws {RequiredError}
|
|
62
52
|
* @memberof ThreadMessagesApiInterface
|
|
@@ -72,8 +62,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
72
62
|
* @param {string} threadId
|
|
73
63
|
* @param {string} messageId
|
|
74
64
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
75
|
-
* @param {string} [authorization]
|
|
76
|
-
* @param {string} [ksUat]
|
|
77
65
|
* @throws {RequiredError}
|
|
78
66
|
* @memberof ThreadMessagesApiInterface
|
|
79
67
|
*/
|
|
@@ -84,8 +72,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
84
72
|
* @param {string} threadId
|
|
85
73
|
* @param {string} messageId
|
|
86
74
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
87
|
-
* @param {string} [authorization]
|
|
88
|
-
* @param {string} [ksUat]
|
|
89
75
|
* @param {*} [options] Override http request option.
|
|
90
76
|
* @throws {RequiredError}
|
|
91
77
|
* @memberof ThreadMessagesApiInterface
|
|
@@ -103,8 +89,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
103
89
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
104
90
|
* @param {number} [limit] Number of items per page
|
|
105
91
|
* @param {number} [offset] Number of items to skip
|
|
106
|
-
* @param {string} [authorization]
|
|
107
|
-
* @param {string} [ksUat]
|
|
108
92
|
* @throws {RequiredError}
|
|
109
93
|
* @memberof ThreadMessagesApiInterface
|
|
110
94
|
*/
|
|
@@ -117,8 +101,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
117
101
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
118
102
|
* @param {number} [limit] Number of items per page
|
|
119
103
|
* @param {number} [offset] Number of items to skip
|
|
120
|
-
* @param {string} [authorization]
|
|
121
|
-
* @param {string} [ksUat]
|
|
122
104
|
* @param {*} [options] Override http request option.
|
|
123
105
|
* @throws {RequiredError}
|
|
124
106
|
* @memberof ThreadMessagesApiInterface
|
|
@@ -76,8 +76,12 @@ class ThreadMessagesApi extends runtime.BaseAPI {
|
|
|
76
76
|
const queryParameters = {};
|
|
77
77
|
const headerParameters = {};
|
|
78
78
|
headerParameters['Content-Type'] = 'application/json';
|
|
79
|
-
if (
|
|
80
|
-
|
|
79
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
80
|
+
const token = this.configuration.accessToken;
|
|
81
|
+
const tokenString = yield token("bearerAuth", []);
|
|
82
|
+
if (tokenString) {
|
|
83
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
84
|
+
}
|
|
81
85
|
}
|
|
82
86
|
let urlPath = `/v1/threads/{thread_id}/messages`;
|
|
83
87
|
urlPath = urlPath.replace(`{${"thread_id"}}`, encodeURIComponent(String(requestParameters['threadId'])));
|
|
@@ -127,8 +131,12 @@ class ThreadMessagesApi extends runtime.BaseAPI {
|
|
|
127
131
|
queryParameters['with_details'] = requestParameters['withDetails'];
|
|
128
132
|
}
|
|
129
133
|
const headerParameters = {};
|
|
130
|
-
if (
|
|
131
|
-
|
|
134
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
135
|
+
const token = this.configuration.accessToken;
|
|
136
|
+
const tokenString = yield token("bearerAuth", []);
|
|
137
|
+
if (tokenString) {
|
|
138
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
139
|
+
}
|
|
132
140
|
}
|
|
133
141
|
let urlPath = `/v1/threads/{thread_id}/messages/{message_id}`;
|
|
134
142
|
urlPath = urlPath.replace(`{${"thread_id"}}`, encodeURIComponent(String(requestParameters['threadId'])));
|
|
@@ -184,8 +192,12 @@ class ThreadMessagesApi extends runtime.BaseAPI {
|
|
|
184
192
|
queryParameters['offset'] = requestParameters['offset'];
|
|
185
193
|
}
|
|
186
194
|
const headerParameters = {};
|
|
187
|
-
if (
|
|
188
|
-
|
|
195
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
196
|
+
const token = this.configuration.accessToken;
|
|
197
|
+
const tokenString = yield token("bearerAuth", []);
|
|
198
|
+
if (tokenString) {
|
|
199
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
200
|
+
}
|
|
189
201
|
}
|
|
190
202
|
let urlPath = `/v1/threads/{thread_id}/messages`;
|
|
191
203
|
urlPath = urlPath.replace(`{${"thread_id"}}`, encodeURIComponent(String(requestParameters['threadId'])));
|