@knowledge-stack/ksapi 1.95.4 → 1.96.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +82 -4
- package/README.md +79 -10
- package/dist/apis/AgentApi.d.ts +0 -12
- package/dist/apis/AgentApi.js +12 -4
- package/dist/apis/ApiKeysApi.d.ts +6 -20
- package/dist/apis/ApiKeysApi.js +6 -6
- package/dist/apis/AuditEventsApi.d.ts +85 -0
- package/dist/apis/AuditEventsApi.js +134 -0
- package/dist/apis/AuthApi.d.ts +0 -24
- package/dist/apis/AuthApi.js +24 -8
- package/dist/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/apis/ChunkLineagesApi.js +18 -6
- package/dist/apis/ChunksApi.d.ts +0 -54
- package/dist/apis/ChunksApi.js +54 -18
- package/dist/apis/DataSourcesApi.d.ts +304 -0
- package/dist/apis/DataSourcesApi.js +421 -0
- package/dist/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/apis/DocumentCheckoutApi.js +18 -6
- package/dist/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/apis/DocumentVersionsApi.js +150 -16
- package/dist/apis/DocumentsApi.d.ts +58 -47
- package/dist/apis/DocumentsApi.js +107 -16
- package/dist/apis/FeedbackApi.d.ts +0 -18
- package/dist/apis/FeedbackApi.js +18 -6
- package/dist/apis/FoldersApi.d.ts +13 -61
- package/dist/apis/FoldersApi.js +52 -20
- package/dist/apis/InvitesApi.d.ts +0 -30
- package/dist/apis/InvitesApi.js +30 -10
- package/dist/apis/MemoryApi.d.ts +207 -0
- package/dist/apis/MemoryApi.js +306 -0
- package/dist/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/apis/PathPartApprovalsApi.js +12 -4
- package/dist/apis/PathPartsApi.d.ts +45 -55
- package/dist/apis/PathPartsApi.js +111 -18
- package/dist/apis/SectionsApi.d.ts +0 -36
- package/dist/apis/SectionsApi.js +36 -12
- package/dist/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/apis/SubscriptionsApi.js +12 -4
- package/dist/apis/TagsApi.d.ts +0 -30
- package/dist/apis/TagsApi.js +30 -10
- package/dist/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/apis/TenantGroupsApi.js +84 -32
- package/dist/apis/TenantsApi.d.ts +0 -72
- package/dist/apis/TenantsApi.js +72 -24
- package/dist/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/apis/ThreadMessagesApi.js +18 -6
- package/dist/apis/ThreadsApi.d.ts +0 -42
- package/dist/apis/ThreadsApi.js +42 -14
- package/dist/apis/TrashApi.d.ts +143 -0
- package/dist/apis/TrashApi.js +210 -0
- package/dist/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/apis/UserPermissionsApi.js +24 -8
- package/dist/apis/UsersApi.d.ts +12 -46
- package/dist/apis/UsersApi.js +42 -22
- package/dist/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/apis/WorkflowMemoryApi.js +30 -10
- package/dist/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/apis/WorkflowRunsApi.js +56 -20
- package/dist/apis/WorkflowsApi.d.ts +0 -30
- package/dist/apis/WorkflowsApi.js +30 -10
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/esm/apis/AgentApi.d.ts +0 -12
- package/dist/esm/apis/AgentApi.js +12 -4
- package/dist/esm/apis/ApiKeysApi.d.ts +6 -20
- package/dist/esm/apis/ApiKeysApi.js +6 -6
- package/dist/esm/apis/AuditEventsApi.d.ts +85 -0
- package/dist/esm/apis/AuditEventsApi.js +97 -0
- package/dist/esm/apis/AuthApi.d.ts +0 -24
- package/dist/esm/apis/AuthApi.js +24 -8
- package/dist/esm/apis/ChunkLineagesApi.d.ts +0 -18
- package/dist/esm/apis/ChunkLineagesApi.js +18 -6
- package/dist/esm/apis/ChunksApi.d.ts +0 -54
- package/dist/esm/apis/ChunksApi.js +54 -18
- package/dist/esm/apis/DataSourcesApi.d.ts +304 -0
- package/dist/esm/apis/DataSourcesApi.js +384 -0
- package/dist/esm/apis/DocumentCheckoutApi.d.ts +0 -18
- package/dist/esm/apis/DocumentCheckoutApi.js +18 -6
- package/dist/esm/apis/DocumentVersionsApi.d.ts +83 -49
- package/dist/esm/apis/DocumentVersionsApi.js +151 -17
- package/dist/esm/apis/DocumentsApi.d.ts +58 -47
- package/dist/esm/apis/DocumentsApi.js +108 -17
- package/dist/esm/apis/FeedbackApi.d.ts +0 -18
- package/dist/esm/apis/FeedbackApi.js +18 -6
- package/dist/esm/apis/FoldersApi.d.ts +13 -61
- package/dist/esm/apis/FoldersApi.js +53 -21
- package/dist/esm/apis/InvitesApi.d.ts +0 -30
- package/dist/esm/apis/InvitesApi.js +30 -10
- package/dist/esm/apis/MemoryApi.d.ts +207 -0
- package/dist/esm/apis/MemoryApi.js +269 -0
- package/dist/esm/apis/PathPartApprovalsApi.d.ts +0 -12
- package/dist/esm/apis/PathPartApprovalsApi.js +12 -4
- package/dist/esm/apis/PathPartsApi.d.ts +45 -55
- package/dist/esm/apis/PathPartsApi.js +112 -19
- package/dist/esm/apis/SectionsApi.d.ts +0 -36
- package/dist/esm/apis/SectionsApi.js +36 -12
- package/dist/esm/apis/SubscriptionsApi.d.ts +0 -12
- package/dist/esm/apis/SubscriptionsApi.js +12 -4
- package/dist/esm/apis/TagsApi.d.ts +0 -30
- package/dist/esm/apis/TagsApi.js +30 -10
- package/dist/esm/apis/TenantGroupsApi.d.ts +6 -86
- package/dist/esm/apis/TenantGroupsApi.js +84 -32
- package/dist/esm/apis/TenantsApi.d.ts +0 -72
- package/dist/esm/apis/TenantsApi.js +72 -24
- package/dist/esm/apis/ThreadMessagesApi.d.ts +0 -18
- package/dist/esm/apis/ThreadMessagesApi.js +18 -6
- package/dist/esm/apis/ThreadsApi.d.ts +0 -42
- package/dist/esm/apis/ThreadsApi.js +42 -14
- package/dist/esm/apis/TrashApi.d.ts +143 -0
- package/dist/esm/apis/TrashApi.js +173 -0
- package/dist/esm/apis/UserPermissionsApi.d.ts +0 -24
- package/dist/esm/apis/UserPermissionsApi.js +24 -8
- package/dist/esm/apis/UsersApi.d.ts +12 -46
- package/dist/esm/apis/UsersApi.js +42 -22
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +0 -42
- package/dist/esm/apis/WorkflowDefinitionsApi.js +42 -14
- package/dist/esm/apis/WorkflowMemoryApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowMemoryApi.js +30 -10
- package/dist/esm/apis/WorkflowRunsApi.d.ts +4 -58
- package/dist/esm/apis/WorkflowRunsApi.js +56 -20
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -30
- package/dist/esm/apis/WorkflowsApi.js +30 -10
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/models/AccessCheckResponse.d.ts +59 -0
- package/dist/esm/models/AccessCheckResponse.js +50 -0
- package/dist/esm/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/esm/models/CatalogColumnResponse.js +52 -0
- package/dist/esm/models/CatalogTableResponse.d.ts +54 -0
- package/dist/esm/models/CatalogTableResponse.js +49 -0
- package/dist/esm/models/CellChange.d.ts +72 -0
- package/dist/esm/models/CellChange.js +61 -0
- package/dist/esm/models/CellChangeType.d.ts +26 -0
- package/dist/esm/models/CellChangeType.js +44 -0
- package/dist/esm/models/CellDiff.d.ts +72 -0
- package/dist/esm/models/CellDiff.js +61 -0
- package/dist/esm/models/ColumnConfig.d.ts +71 -0
- package/dist/esm/models/ColumnConfig.js +52 -0
- package/dist/esm/models/ConnectionConfig.d.ts +71 -0
- package/dist/esm/models/ConnectionConfig.js +58 -0
- package/dist/esm/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/esm/models/CreateDataSourceRequest.js +62 -0
- package/dist/esm/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/CreatePermissionRequest.js +2 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/esm/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/esm/models/DataSourceCatalogResponse.js +45 -0
- package/dist/esm/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/esm/models/DataSourceDetailResponse.js +50 -0
- package/dist/esm/models/DataSourceEngine.d.ts +25 -0
- package/dist/esm/models/DataSourceEngine.js +43 -0
- package/dist/esm/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/esm/models/DataSourceQueryRequest.js +53 -0
- package/dist/esm/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/esm/models/DataSourceQueryResponse.js +60 -0
- package/dist/esm/models/DataSourceResponse.d.ts +119 -0
- package/dist/esm/models/DataSourceResponse.js +90 -0
- package/dist/esm/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/esm/models/DataSourceTableResponse.js +101 -0
- package/dist/esm/models/DiffFormat.d.ts +25 -0
- package/dist/esm/models/DiffFormat.js +43 -0
- package/dist/esm/models/DiffRow.d.ts +90 -0
- package/dist/esm/models/DiffRow.js +58 -0
- package/dist/esm/models/DiffRowType.d.ts +27 -0
- package/dist/esm/models/DiffRowType.js +45 -0
- package/dist/esm/models/DiffSpan.d.ts +53 -0
- package/dist/esm/models/DiffSpan.js +48 -0
- package/dist/esm/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/esm/models/DocumentDownloadResponse.js +61 -0
- package/dist/esm/models/DocumentResponse.d.ts +4 -3
- package/dist/esm/models/DocumentResponse.js +3 -2
- package/dist/esm/models/DownloadArtifact.d.ts +25 -0
- package/dist/esm/models/DownloadArtifact.js +43 -0
- package/dist/esm/models/EventResponse.d.ts +7 -0
- package/dist/esm/models/EventResponse.js +3 -0
- package/dist/esm/models/FolderResponse.d.ts +4 -3
- package/dist/esm/models/FolderResponse.js +3 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +16 -6
- package/dist/esm/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/esm/models/GroupPermissionResponse.js +4 -0
- package/dist/esm/models/ItemPermissions.d.ts +73 -0
- package/dist/esm/models/ItemPermissions.js +56 -0
- package/dist/esm/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/esm/models/MemoryBodyResponse.js +53 -0
- package/dist/esm/models/MemoryScope.d.ts +29 -0
- package/dist/esm/models/MemoryScope.js +47 -0
- package/dist/esm/models/ModelTableRequest.d.ts +66 -0
- package/dist/esm/models/ModelTableRequest.js +51 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponsePendingMemoryChunkResponse.js +70 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/esm/models/PaginatedResponseTrashItemResponse.js +70 -0
- package/dist/esm/models/PartType.d.ts +2 -0
- package/dist/esm/models/PartType.js +3 -1
- package/dist/esm/models/PathPartResponse.d.ts +4 -9
- package/dist/esm/models/PathPartResponse.js +4 -7
- package/dist/esm/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/PendingMemoryChunkResponse.js +74 -0
- package/dist/esm/models/PermissionCapability.d.ts +2 -1
- package/dist/esm/models/PermissionCapability.js +3 -2
- package/dist/esm/models/PermissionResponse.d.ts +6 -0
- package/dist/esm/models/PermissionResponse.js +4 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/esm/models/ProposeMemoryChunkRequest.js +71 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/esm/models/ProposedMemoryChunkResponse.js +74 -0
- package/dist/esm/models/ReferenceType.d.ts +2 -0
- package/dist/esm/models/ReferenceType.js +2 -0
- package/dist/esm/models/TextDiff.d.ts +72 -0
- package/dist/esm/models/TextDiff.js +61 -0
- package/dist/esm/models/TrashItemResponse.d.ts +90 -0
- package/dist/esm/models/TrashItemResponse.js +73 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/esm/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/esm/models/UpdatePermissionRequest.js +2 -0
- package/dist/esm/models/UpdateTableRequest.d.ts +54 -0
- package/dist/esm/models/UpdateTableRequest.js +45 -0
- package/dist/esm/models/VersionDiffResponse.d.ts +89 -0
- package/dist/esm/models/VersionDiffResponse.js +63 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/esm/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/esm/models/WorkflowRunResponse.js +3 -0
- package/dist/esm/models/index.d.ts +37 -2
- package/dist/esm/models/index.js +37 -2
- package/dist/models/AccessCheckResponse.d.ts +59 -0
- package/dist/models/AccessCheckResponse.js +58 -0
- package/dist/models/CatalogColumnResponse.d.ts +59 -0
- package/dist/models/CatalogColumnResponse.js +60 -0
- package/dist/models/CatalogTableResponse.d.ts +54 -0
- package/dist/models/CatalogTableResponse.js +57 -0
- package/dist/models/CellChange.d.ts +72 -0
- package/dist/models/CellChange.js +69 -0
- package/dist/models/CellChangeType.d.ts +26 -0
- package/dist/models/CellChangeType.js +52 -0
- package/dist/models/CellDiff.d.ts +72 -0
- package/dist/models/CellDiff.js +69 -0
- package/dist/models/ColumnConfig.d.ts +71 -0
- package/dist/models/ColumnConfig.js +60 -0
- package/dist/models/ConnectionConfig.d.ts +71 -0
- package/dist/models/ConnectionConfig.js +66 -0
- package/dist/models/CreateDataSourceRequest.d.ts +67 -0
- package/dist/models/CreateDataSourceRequest.js +70 -0
- package/dist/models/CreateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/CreateGroupPermissionRequest.js +2 -0
- package/dist/models/CreatePermissionRequest.d.ts +6 -0
- package/dist/models/CreatePermissionRequest.js +2 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/CreateWorkflowDefinitionRequest.js +4 -0
- package/dist/models/DataSourceCatalogResponse.d.ts +48 -0
- package/dist/models/DataSourceCatalogResponse.js +53 -0
- package/dist/models/DataSourceDetailResponse.d.ts +55 -0
- package/dist/models/DataSourceDetailResponse.js +58 -0
- package/dist/models/DataSourceEngine.d.ts +25 -0
- package/dist/models/DataSourceEngine.js +51 -0
- package/dist/models/DataSourceQueryRequest.d.ts +53 -0
- package/dist/models/DataSourceQueryRequest.js +61 -0
- package/dist/models/DataSourceQueryResponse.d.ts +71 -0
- package/dist/models/DataSourceQueryResponse.js +68 -0
- package/dist/models/DataSourceResponse.d.ts +119 -0
- package/dist/models/DataSourceResponse.js +98 -0
- package/dist/models/DataSourceTableResponse.d.ts +135 -0
- package/dist/models/DataSourceTableResponse.js +109 -0
- package/dist/models/DiffFormat.d.ts +25 -0
- package/dist/models/DiffFormat.js +51 -0
- package/dist/models/DiffRow.d.ts +90 -0
- package/dist/models/DiffRow.js +66 -0
- package/dist/models/DiffRowType.d.ts +27 -0
- package/dist/models/DiffRowType.js +53 -0
- package/dist/models/DiffSpan.d.ts +53 -0
- package/dist/models/DiffSpan.js +56 -0
- package/dist/models/DocumentDownloadResponse.d.ts +72 -0
- package/dist/models/DocumentDownloadResponse.js +69 -0
- package/dist/models/DocumentResponse.d.ts +4 -3
- package/dist/models/DocumentResponse.js +3 -2
- package/dist/models/DownloadArtifact.d.ts +25 -0
- package/dist/models/DownloadArtifact.js +51 -0
- package/dist/models/EventResponse.d.ts +7 -0
- package/dist/models/EventResponse.js +3 -0
- package/dist/models/FolderResponse.d.ts +4 -3
- package/dist/models/FolderResponse.js +3 -2
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts +39 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js} +20 -10
- package/dist/models/GroupPermissionResponse.d.ts +6 -0
- package/dist/models/GroupPermissionResponse.js +4 -0
- package/dist/models/ItemPermissions.d.ts +73 -0
- package/dist/models/ItemPermissions.js +64 -0
- package/dist/models/MemoryBodyResponse.d.ts +60 -0
- package/dist/models/MemoryBodyResponse.js +61 -0
- package/dist/models/MemoryScope.d.ts +29 -0
- package/dist/models/MemoryScope.js +55 -0
- package/dist/models/ModelTableRequest.d.ts +66 -0
- package/dist/models/ModelTableRequest.js +59 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts +66 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js +78 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.d.ts +66 -0
- package/dist/models/PaginatedResponsePendingMemoryChunkResponse.js +78 -0
- package/dist/models/PaginatedResponseTrashItemResponse.d.ts +66 -0
- package/dist/models/PaginatedResponseTrashItemResponse.js +78 -0
- package/dist/models/PartType.d.ts +2 -0
- package/dist/models/PartType.js +3 -1
- package/dist/models/PathPartResponse.d.ts +4 -9
- package/dist/models/PathPartResponse.js +4 -7
- package/dist/models/PendingMemoryChunkResponse.d.ts +91 -0
- package/dist/models/PendingMemoryChunkResponse.js +82 -0
- package/dist/models/PermissionCapability.d.ts +2 -1
- package/dist/models/PermissionCapability.js +3 -2
- package/dist/models/PermissionResponse.d.ts +6 -0
- package/dist/models/PermissionResponse.js +4 -0
- package/dist/models/ProposeMemoryChunkRequest.d.ts +79 -0
- package/dist/models/ProposeMemoryChunkRequest.js +79 -0
- package/dist/models/ProposedMemoryChunkResponse.d.ts +91 -0
- package/dist/models/ProposedMemoryChunkResponse.js +82 -0
- package/dist/models/ReferenceType.d.ts +2 -0
- package/dist/models/ReferenceType.js +2 -0
- package/dist/models/TextDiff.d.ts +72 -0
- package/dist/models/TextDiff.js +69 -0
- package/dist/models/TrashItemResponse.d.ts +90 -0
- package/dist/models/TrashItemResponse.js +81 -0
- package/dist/models/UpdateGroupPermissionRequest.d.ts +6 -0
- package/dist/models/UpdateGroupPermissionRequest.js +2 -0
- package/dist/models/UpdatePermissionRequest.d.ts +6 -0
- package/dist/models/UpdatePermissionRequest.js +2 -0
- package/dist/models/UpdateTableRequest.d.ts +54 -0
- package/dist/models/UpdateTableRequest.js +53 -0
- package/dist/models/VersionDiffResponse.d.ts +89 -0
- package/dist/models/VersionDiffResponse.js +71 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +7 -0
- package/dist/models/WorkflowDefinitionResponse.js +3 -0
- package/dist/models/WorkflowRunResponse.d.ts +7 -0
- package/dist/models/WorkflowRunResponse.js +3 -0
- package/dist/models/index.d.ts +37 -2
- package/dist/models/index.js +37 -2
- package/docs/AccessCheckResponse.md +39 -0
- package/docs/AgentApi.md +18 -18
- package/docs/ApiKeysApi.md +30 -32
- package/docs/AuditEventsApi.md +104 -0
- package/docs/AuthApi.md +36 -36
- package/docs/CatalogColumnResponse.md +38 -0
- package/docs/CatalogTableResponse.md +36 -0
- package/docs/CellChange.md +43 -0
- package/docs/CellChangeType.md +32 -0
- package/docs/CellDiff.md +43 -0
- package/docs/ChunkLineagesApi.md +27 -27
- package/docs/ChunksApi.md +82 -82
- package/docs/ColumnConfig.md +43 -0
- package/docs/ConnectionConfig.md +43 -0
- package/docs/CreateDataSourceRequest.md +41 -0
- package/docs/CreateGroupPermissionRequest.md +2 -0
- package/docs/CreatePermissionRequest.md +2 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/DataSourceCatalogResponse.md +35 -0
- package/docs/DataSourceDetailResponse.md +37 -0
- package/docs/DataSourceEngine.md +33 -0
- package/docs/DataSourceQueryRequest.md +37 -0
- package/docs/DataSourceQueryResponse.md +43 -0
- package/docs/DataSourceResponse.md +55 -0
- package/docs/DataSourceTableResponse.md +61 -0
- package/docs/DataSourcesApi.md +545 -0
- package/docs/DiffFormat.md +32 -0
- package/docs/DiffRow.md +47 -0
- package/docs/DiffRowType.md +32 -0
- package/docs/DiffSpan.md +37 -0
- package/docs/DocumentCheckoutApi.md +27 -27
- package/docs/DocumentDownloadResponse.md +43 -0
- package/docs/DocumentResponse.md +2 -2
- package/docs/DocumentVersionsApi.md +228 -72
- package/docs/DocumentsApi.md +154 -64
- package/docs/DownloadArtifact.md +32 -0
- package/docs/EventResponse.md +2 -0
- package/docs/FeedbackApi.md +27 -27
- package/docs/FolderResponse.md +2 -2
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.md} +14 -6
- package/docs/FoldersApi.md +75 -75
- package/docs/GroupPermissionResponse.md +2 -0
- package/docs/InvitesApi.md +45 -45
- package/docs/ItemPermissions.md +41 -0
- package/docs/MemoryApi.md +379 -0
- package/docs/MemoryBodyResponse.md +38 -0
- package/docs/MemoryScope.md +33 -0
- package/docs/ModelTableRequest.md +41 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.md} +5 -5
- package/docs/PaginatedResponsePendingMemoryChunkResponse.md +40 -0
- package/docs/PaginatedResponseTrashItemResponse.md +40 -0
- package/docs/PathPartApprovalsApi.md +18 -18
- package/docs/PathPartResponse.md +2 -4
- package/docs/PathPartsApi.md +162 -81
- package/docs/PendingMemoryChunkResponse.md +48 -0
- package/docs/PermissionCapability.md +1 -1
- package/docs/PermissionResponse.md +2 -0
- package/docs/ProposeMemoryChunkRequest.md +44 -0
- package/docs/ProposedMemoryChunkResponse.md +48 -0
- package/docs/SectionsApi.md +54 -54
- package/docs/SubscriptionsApi.md +18 -18
- package/docs/TagsApi.md +45 -45
- package/docs/TenantGroupsApi.md +119 -125
- package/docs/TenantsApi.md +108 -108
- package/docs/TextDiff.md +43 -0
- package/docs/ThreadMessagesApi.md +27 -27
- package/docs/ThreadsApi.md +63 -63
- package/docs/TrashApi.md +236 -0
- package/docs/TrashItemResponse.md +49 -0
- package/docs/UpdateGroupPermissionRequest.md +2 -0
- package/docs/UpdatePermissionRequest.md +2 -0
- package/docs/UpdateTableRequest.md +37 -0
- package/docs/UserPermissionsApi.md +36 -36
- package/docs/UsersApi.md +49 -61
- package/docs/VersionDiffResponse.md +47 -0
- package/docs/WorkflowDefinitionResponse.md +2 -0
- package/docs/WorkflowDefinitionsApi.md +63 -63
- package/docs/WorkflowMemoryApi.md +45 -45
- package/docs/WorkflowRunResponse.md +2 -0
- package/docs/WorkflowRunsApi.md +82 -82
- package/docs/WorkflowsApi.md +45 -45
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +14 -18
- package/src/apis/ApiKeysApi.ts +8 -23
- package/src/apis/AuditEventsApi.ts +170 -0
- package/src/apis/AuthApi.ts +28 -36
- package/src/apis/ChunkLineagesApi.ts +21 -27
- package/src/apis/ChunksApi.ts +63 -81
- package/src/apis/DataSourcesApi.ts +698 -0
- package/src/apis/DocumentCheckoutApi.ts +21 -27
- package/src/apis/DocumentVersionsApi.ts +245 -72
- package/src/apis/DocumentsApi.ts +177 -67
- package/src/apis/FeedbackApi.ts +21 -27
- package/src/apis/FoldersApi.ts +73 -89
- package/src/apis/InvitesApi.ts +35 -45
- package/src/apis/MemoryApi.ts +478 -0
- package/src/apis/PathPartApprovalsApi.ts +14 -18
- package/src/apis/PathPartsApi.ts +173 -81
- package/src/apis/SectionsApi.ts +42 -54
- package/src/apis/SubscriptionsApi.ts +14 -18
- package/src/apis/TagsApi.ts +35 -45
- package/src/apis/TenantGroupsApi.ts +99 -128
- package/src/apis/TenantsApi.ts +84 -108
- package/src/apis/ThreadMessagesApi.ts +21 -27
- package/src/apis/ThreadsApi.ts +49 -63
- package/src/apis/TrashApi.ts +292 -0
- package/src/apis/UserPermissionsApi.ts +28 -36
- package/src/apis/UsersApi.ts +51 -67
- package/src/apis/WorkflowDefinitionsApi.ts +49 -63
- package/src/apis/WorkflowMemoryApi.ts +35 -45
- package/src/apis/WorkflowRunsApi.ts +67 -85
- package/src/apis/WorkflowsApi.ts +35 -45
- package/src/apis/index.ts +4 -0
- package/src/models/AccessCheckResponse.ts +100 -0
- package/src/models/CatalogColumnResponse.ts +101 -0
- package/src/models/CatalogTableResponse.ts +100 -0
- package/src/models/CellChange.ts +129 -0
- package/src/models/CellChangeType.ts +54 -0
- package/src/models/CellDiff.ts +127 -0
- package/src/models/ColumnConfig.ts +115 -0
- package/src/models/ConnectionConfig.ts +118 -0
- package/src/models/CreateDataSourceRequest.ts +130 -0
- package/src/models/CreateGroupPermissionRequest.ts +8 -0
- package/src/models/CreatePermissionRequest.ts +8 -0
- package/src/models/CreateWorkflowDefinitionRequest.ts +9 -0
- package/src/models/DataSourceCatalogResponse.ts +91 -0
- package/src/models/DataSourceDetailResponse.ts +107 -0
- package/src/models/DataSourceEngine.ts +53 -0
- package/src/models/DataSourceQueryRequest.ts +97 -0
- package/src/models/DataSourceQueryResponse.ts +119 -0
- package/src/models/DataSourceResponse.ts +200 -0
- package/src/models/DataSourceTableResponse.ts +217 -0
- package/src/models/DiffFormat.ts +53 -0
- package/src/models/DiffRow.ts +153 -0
- package/src/models/DiffRowType.ts +55 -0
- package/src/models/DiffSpan.ts +92 -0
- package/src/models/DocumentDownloadResponse.ts +129 -0
- package/src/models/DocumentResponse.ts +12 -5
- package/src/models/DownloadArtifact.ts +53 -0
- package/src/models/EventResponse.ts +16 -0
- package/src/models/FolderResponse.ts +12 -5
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.ts} +30 -8
- package/src/models/GroupPermissionResponse.ts +9 -0
- package/src/models/ItemPermissions.ts +118 -0
- package/src/models/MemoryBodyResponse.ts +111 -0
- package/src/models/MemoryScope.ts +57 -0
- package/src/models/ModelTableRequest.ts +115 -0
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.ts} +25 -25
- package/src/models/PaginatedResponsePendingMemoryChunkResponse.ts +130 -0
- package/src/models/PaginatedResponseTrashItemResponse.ts +130 -0
- package/src/models/PartType.ts +3 -1
- package/src/models/PathPartResponse.ts +13 -15
- package/src/models/PendingMemoryChunkResponse.ts +163 -0
- package/src/models/PermissionCapability.ts +3 -2
- package/src/models/PermissionResponse.ts +9 -0
- package/src/models/ProposeMemoryChunkRequest.ts +151 -0
- package/src/models/ProposedMemoryChunkResponse.ts +163 -0
- package/src/models/ReferenceType.ts +2 -0
- package/src/models/TextDiff.ts +127 -0
- package/src/models/TrashItemResponse.ts +156 -0
- package/src/models/UpdateGroupPermissionRequest.ts +8 -0
- package/src/models/UpdatePermissionRequest.ts +8 -0
- package/src/models/UpdateTableRequest.ts +98 -0
- package/src/models/VersionDiffResponse.ts +160 -0
- package/src/models/WorkflowDefinitionResponse.ts +15 -0
- package/src/models/WorkflowRunResponse.ts +15 -0
- package/src/models/index.ts +37 -2
- package/dist/esm/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponse.d.ts +0 -33
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.d.ts +0 -66
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDiscriminator.js +0 -78
package/src/apis/TenantsApi.ts
CHANGED
|
@@ -49,84 +49,60 @@ import {
|
|
|
49
49
|
export interface ActivateTenantUserRequest {
|
|
50
50
|
tenantId: string;
|
|
51
51
|
userId: string;
|
|
52
|
-
authorization?: string | null;
|
|
53
|
-
ksUat?: string | null;
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
export interface DeactivateTenantUserRequest {
|
|
57
55
|
tenantId: string;
|
|
58
56
|
userId: string;
|
|
59
|
-
authorization?: string | null;
|
|
60
|
-
ksUat?: string | null;
|
|
61
57
|
}
|
|
62
58
|
|
|
63
59
|
export interface DeleteTenantRequest {
|
|
64
60
|
tenantId: string;
|
|
65
|
-
authorization?: string | null;
|
|
66
|
-
ksUat?: string | null;
|
|
67
61
|
}
|
|
68
62
|
|
|
69
63
|
export interface DeleteTenantLogoRequest {
|
|
70
64
|
tenantId: string;
|
|
71
65
|
logoType?: BrandingLogoType;
|
|
72
|
-
authorization?: string | null;
|
|
73
|
-
ksUat?: string | null;
|
|
74
66
|
}
|
|
75
67
|
|
|
76
68
|
export interface DeleteTenantUserRequest {
|
|
77
69
|
tenantId: string;
|
|
78
70
|
userId: string;
|
|
79
|
-
authorization?: string | null;
|
|
80
|
-
ksUat?: string | null;
|
|
81
71
|
}
|
|
82
72
|
|
|
83
73
|
export interface GetTenantRequest {
|
|
84
74
|
tenantId: string;
|
|
85
|
-
authorization?: string | null;
|
|
86
|
-
ksUat?: string | null;
|
|
87
75
|
}
|
|
88
76
|
|
|
89
77
|
export interface GetTenantQuotaStateRequest {
|
|
90
78
|
tenantId: string;
|
|
91
|
-
authorization?: string | null;
|
|
92
|
-
ksUat?: string | null;
|
|
93
79
|
}
|
|
94
80
|
|
|
95
81
|
export interface ListTenantUsersRequest {
|
|
96
82
|
tenantId: string;
|
|
97
83
|
limit?: number;
|
|
98
84
|
offset?: number;
|
|
99
|
-
authorization?: string | null;
|
|
100
|
-
ksUat?: string | null;
|
|
101
85
|
}
|
|
102
86
|
|
|
103
87
|
export interface ListTenantsRequest {
|
|
104
88
|
limit?: number;
|
|
105
89
|
offset?: number;
|
|
106
|
-
authorization?: string | null;
|
|
107
|
-
ksUat?: string | null;
|
|
108
90
|
}
|
|
109
91
|
|
|
110
92
|
export interface UpdateTenantOperationRequest {
|
|
111
93
|
tenantId: string;
|
|
112
94
|
updateTenantRequest: UpdateTenantRequest;
|
|
113
|
-
authorization?: string | null;
|
|
114
|
-
ksUat?: string | null;
|
|
115
95
|
}
|
|
116
96
|
|
|
117
97
|
export interface UpdateTenantUserRequest {
|
|
118
98
|
tenantId: string;
|
|
119
99
|
userId: string;
|
|
120
100
|
tenantUserEditRequest: TenantUserEditRequest;
|
|
121
|
-
authorization?: string | null;
|
|
122
|
-
ksUat?: string | null;
|
|
123
101
|
}
|
|
124
102
|
|
|
125
103
|
export interface UploadTenantLogoRequest {
|
|
126
104
|
tenantId: string;
|
|
127
105
|
file: Blob;
|
|
128
|
-
authorization?: string | null;
|
|
129
|
-
ksUat?: string | null;
|
|
130
106
|
logoType?: BrandingLogoType;
|
|
131
107
|
}
|
|
132
108
|
|
|
@@ -141,8 +117,6 @@ export interface TenantsApiInterface {
|
|
|
141
117
|
* Creates request options for activateTenantUser without sending the request
|
|
142
118
|
* @param {string} tenantId
|
|
143
119
|
* @param {string} userId
|
|
144
|
-
* @param {string} [authorization]
|
|
145
|
-
* @param {string} [ksUat]
|
|
146
120
|
* @throws {RequiredError}
|
|
147
121
|
* @memberof TenantsApiInterface
|
|
148
122
|
*/
|
|
@@ -153,8 +127,6 @@ export interface TenantsApiInterface {
|
|
|
153
127
|
* @summary Activate Tenant User Handler
|
|
154
128
|
* @param {string} tenantId
|
|
155
129
|
* @param {string} userId
|
|
156
|
-
* @param {string} [authorization]
|
|
157
|
-
* @param {string} [ksUat]
|
|
158
130
|
* @param {*} [options] Override http request option.
|
|
159
131
|
* @throws {RequiredError}
|
|
160
132
|
* @memberof TenantsApiInterface
|
|
@@ -171,8 +143,6 @@ export interface TenantsApiInterface {
|
|
|
171
143
|
* Creates request options for deactivateTenantUser without sending the request
|
|
172
144
|
* @param {string} tenantId
|
|
173
145
|
* @param {string} userId
|
|
174
|
-
* @param {string} [authorization]
|
|
175
|
-
* @param {string} [ksUat]
|
|
176
146
|
* @throws {RequiredError}
|
|
177
147
|
* @memberof TenantsApiInterface
|
|
178
148
|
*/
|
|
@@ -183,8 +153,6 @@ export interface TenantsApiInterface {
|
|
|
183
153
|
* @summary Deactivate Tenant User Handler
|
|
184
154
|
* @param {string} tenantId
|
|
185
155
|
* @param {string} userId
|
|
186
|
-
* @param {string} [authorization]
|
|
187
|
-
* @param {string} [ksUat]
|
|
188
156
|
* @param {*} [options] Override http request option.
|
|
189
157
|
* @throws {RequiredError}
|
|
190
158
|
* @memberof TenantsApiInterface
|
|
@@ -200,8 +168,6 @@ export interface TenantsApiInterface {
|
|
|
200
168
|
/**
|
|
201
169
|
* Creates request options for deleteTenant without sending the request
|
|
202
170
|
* @param {string} tenantId
|
|
203
|
-
* @param {string} [authorization]
|
|
204
|
-
* @param {string} [ksUat]
|
|
205
171
|
* @throws {RequiredError}
|
|
206
172
|
* @memberof TenantsApiInterface
|
|
207
173
|
*/
|
|
@@ -211,8 +177,6 @@ export interface TenantsApiInterface {
|
|
|
211
177
|
* Delete a tenant. Requires OWNER role in the tenant. Deletes the tenant\'s LiteLLM team/keys and S3 bucket after the DB transaction commits.
|
|
212
178
|
* @summary Delete Tenant
|
|
213
179
|
* @param {string} tenantId
|
|
214
|
-
* @param {string} [authorization]
|
|
215
|
-
* @param {string} [ksUat]
|
|
216
180
|
* @param {*} [options] Override http request option.
|
|
217
181
|
* @throws {RequiredError}
|
|
218
182
|
* @memberof TenantsApiInterface
|
|
@@ -229,8 +193,6 @@ export interface TenantsApiInterface {
|
|
|
229
193
|
* Creates request options for deleteTenantLogo without sending the request
|
|
230
194
|
* @param {string} tenantId
|
|
231
195
|
* @param {BrandingLogoType} [logoType]
|
|
232
|
-
* @param {string} [authorization]
|
|
233
|
-
* @param {string} [ksUat]
|
|
234
196
|
* @throws {RequiredError}
|
|
235
197
|
* @memberof TenantsApiInterface
|
|
236
198
|
*/
|
|
@@ -241,8 +203,6 @@ export interface TenantsApiInterface {
|
|
|
241
203
|
* @summary Delete Tenant Logo
|
|
242
204
|
* @param {string} tenantId
|
|
243
205
|
* @param {BrandingLogoType} [logoType]
|
|
244
|
-
* @param {string} [authorization]
|
|
245
|
-
* @param {string} [ksUat]
|
|
246
206
|
* @param {*} [options] Override http request option.
|
|
247
207
|
* @throws {RequiredError}
|
|
248
208
|
* @memberof TenantsApiInterface
|
|
@@ -259,8 +219,6 @@ export interface TenantsApiInterface {
|
|
|
259
219
|
* Creates request options for deleteTenantUser without sending the request
|
|
260
220
|
* @param {string} tenantId
|
|
261
221
|
* @param {string} userId
|
|
262
|
-
* @param {string} [authorization]
|
|
263
|
-
* @param {string} [ksUat]
|
|
264
222
|
* @throws {RequiredError}
|
|
265
223
|
* @memberof TenantsApiInterface
|
|
266
224
|
*/
|
|
@@ -271,8 +229,6 @@ export interface TenantsApiInterface {
|
|
|
271
229
|
* @summary Delete Tenant User Handler
|
|
272
230
|
* @param {string} tenantId
|
|
273
231
|
* @param {string} userId
|
|
274
|
-
* @param {string} [authorization]
|
|
275
|
-
* @param {string} [ksUat]
|
|
276
232
|
* @param {*} [options] Override http request option.
|
|
277
233
|
* @throws {RequiredError}
|
|
278
234
|
* @memberof TenantsApiInterface
|
|
@@ -288,8 +244,6 @@ export interface TenantsApiInterface {
|
|
|
288
244
|
/**
|
|
289
245
|
* Creates request options for getTenant without sending the request
|
|
290
246
|
* @param {string} tenantId
|
|
291
|
-
* @param {string} [authorization]
|
|
292
|
-
* @param {string} [ksUat]
|
|
293
247
|
* @throws {RequiredError}
|
|
294
248
|
* @memberof TenantsApiInterface
|
|
295
249
|
*/
|
|
@@ -299,8 +253,6 @@ export interface TenantsApiInterface {
|
|
|
299
253
|
* Get tenant information by ID. User must be a member of the tenant.
|
|
300
254
|
* @summary Get Tenant
|
|
301
255
|
* @param {string} tenantId
|
|
302
|
-
* @param {string} [authorization]
|
|
303
|
-
* @param {string} [ksUat]
|
|
304
256
|
* @param {*} [options] Override http request option.
|
|
305
257
|
* @throws {RequiredError}
|
|
306
258
|
* @memberof TenantsApiInterface
|
|
@@ -316,8 +268,6 @@ export interface TenantsApiInterface {
|
|
|
316
268
|
/**
|
|
317
269
|
* Creates request options for getTenantQuotaState without sending the request
|
|
318
270
|
* @param {string} tenantId
|
|
319
|
-
* @param {string} [authorization]
|
|
320
|
-
* @param {string} [ksUat]
|
|
321
271
|
* @throws {RequiredError}
|
|
322
272
|
* @memberof TenantsApiInterface
|
|
323
273
|
*/
|
|
@@ -327,8 +277,6 @@ export interface TenantsApiInterface {
|
|
|
327
277
|
* 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.
|
|
328
278
|
* @summary Get Tenant Quota State Handler
|
|
329
279
|
* @param {string} tenantId
|
|
330
|
-
* @param {string} [authorization]
|
|
331
|
-
* @param {string} [ksUat]
|
|
332
280
|
* @param {*} [options] Override http request option.
|
|
333
281
|
* @throws {RequiredError}
|
|
334
282
|
* @memberof TenantsApiInterface
|
|
@@ -346,8 +294,6 @@ export interface TenantsApiInterface {
|
|
|
346
294
|
* @param {string} tenantId
|
|
347
295
|
* @param {number} [limit] Number of items per page
|
|
348
296
|
* @param {number} [offset] Number of items to skip
|
|
349
|
-
* @param {string} [authorization]
|
|
350
|
-
* @param {string} [ksUat]
|
|
351
297
|
* @throws {RequiredError}
|
|
352
298
|
* @memberof TenantsApiInterface
|
|
353
299
|
*/
|
|
@@ -359,8 +305,6 @@ export interface TenantsApiInterface {
|
|
|
359
305
|
* @param {string} tenantId
|
|
360
306
|
* @param {number} [limit] Number of items per page
|
|
361
307
|
* @param {number} [offset] Number of items to skip
|
|
362
|
-
* @param {string} [authorization]
|
|
363
|
-
* @param {string} [ksUat]
|
|
364
308
|
* @param {*} [options] Override http request option.
|
|
365
309
|
* @throws {RequiredError}
|
|
366
310
|
* @memberof TenantsApiInterface
|
|
@@ -377,8 +321,6 @@ export interface TenantsApiInterface {
|
|
|
377
321
|
* Creates request options for listTenants without sending the request
|
|
378
322
|
* @param {number} [limit] Number of items per page
|
|
379
323
|
* @param {number} [offset] Number of items to skip
|
|
380
|
-
* @param {string} [authorization]
|
|
381
|
-
* @param {string} [ksUat]
|
|
382
324
|
* @throws {RequiredError}
|
|
383
325
|
* @memberof TenantsApiInterface
|
|
384
326
|
*/
|
|
@@ -389,8 +331,6 @@ export interface TenantsApiInterface {
|
|
|
389
331
|
* @summary List Tenants
|
|
390
332
|
* @param {number} [limit] Number of items per page
|
|
391
333
|
* @param {number} [offset] Number of items to skip
|
|
392
|
-
* @param {string} [authorization]
|
|
393
|
-
* @param {string} [ksUat]
|
|
394
334
|
* @param {*} [options] Override http request option.
|
|
395
335
|
* @throws {RequiredError}
|
|
396
336
|
* @memberof TenantsApiInterface
|
|
@@ -407,8 +347,6 @@ export interface TenantsApiInterface {
|
|
|
407
347
|
* Creates request options for updateTenant without sending the request
|
|
408
348
|
* @param {string} tenantId
|
|
409
349
|
* @param {UpdateTenantRequest} updateTenantRequest
|
|
410
|
-
* @param {string} [authorization]
|
|
411
|
-
* @param {string} [ksUat]
|
|
412
350
|
* @throws {RequiredError}
|
|
413
351
|
* @memberof TenantsApiInterface
|
|
414
352
|
*/
|
|
@@ -419,8 +357,6 @@ export interface TenantsApiInterface {
|
|
|
419
357
|
* @summary Update Tenant
|
|
420
358
|
* @param {string} tenantId
|
|
421
359
|
* @param {UpdateTenantRequest} updateTenantRequest
|
|
422
|
-
* @param {string} [authorization]
|
|
423
|
-
* @param {string} [ksUat]
|
|
424
360
|
* @param {*} [options] Override http request option.
|
|
425
361
|
* @throws {RequiredError}
|
|
426
362
|
* @memberof TenantsApiInterface
|
|
@@ -438,8 +374,6 @@ export interface TenantsApiInterface {
|
|
|
438
374
|
* @param {string} tenantId
|
|
439
375
|
* @param {string} userId
|
|
440
376
|
* @param {TenantUserEditRequest} tenantUserEditRequest
|
|
441
|
-
* @param {string} [authorization]
|
|
442
|
-
* @param {string} [ksUat]
|
|
443
377
|
* @throws {RequiredError}
|
|
444
378
|
* @memberof TenantsApiInterface
|
|
445
379
|
*/
|
|
@@ -451,8 +385,6 @@ export interface TenantsApiInterface {
|
|
|
451
385
|
* @param {string} tenantId
|
|
452
386
|
* @param {string} userId
|
|
453
387
|
* @param {TenantUserEditRequest} tenantUserEditRequest
|
|
454
|
-
* @param {string} [authorization]
|
|
455
|
-
* @param {string} [ksUat]
|
|
456
388
|
* @param {*} [options] Override http request option.
|
|
457
389
|
* @throws {RequiredError}
|
|
458
390
|
* @memberof TenantsApiInterface
|
|
@@ -469,8 +401,6 @@ export interface TenantsApiInterface {
|
|
|
469
401
|
* Creates request options for uploadTenantLogo without sending the request
|
|
470
402
|
* @param {string} tenantId
|
|
471
403
|
* @param {Blob} file
|
|
472
|
-
* @param {string} [authorization]
|
|
473
|
-
* @param {string} [ksUat]
|
|
474
404
|
* @param {BrandingLogoType} [logoType]
|
|
475
405
|
* @throws {RequiredError}
|
|
476
406
|
* @memberof TenantsApiInterface
|
|
@@ -482,8 +412,6 @@ export interface TenantsApiInterface {
|
|
|
482
412
|
* @summary Upload Tenant Logo
|
|
483
413
|
* @param {string} tenantId
|
|
484
414
|
* @param {Blob} file
|
|
485
|
-
* @param {string} [authorization]
|
|
486
|
-
* @param {string} [ksUat]
|
|
487
415
|
* @param {BrandingLogoType} [logoType]
|
|
488
416
|
* @param {*} [options] Override http request option.
|
|
489
417
|
* @throws {RequiredError}
|
|
@@ -526,10 +454,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
526
454
|
|
|
527
455
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
528
456
|
|
|
529
|
-
if (
|
|
530
|
-
|
|
531
|
-
|
|
457
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
458
|
+
const token = this.configuration.accessToken;
|
|
459
|
+
const tokenString = await token("bearerAuth", []);
|
|
532
460
|
|
|
461
|
+
if (tokenString) {
|
|
462
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
533
465
|
|
|
534
466
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}/activate`;
|
|
535
467
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -585,10 +517,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
585
517
|
|
|
586
518
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
587
519
|
|
|
588
|
-
if (
|
|
589
|
-
|
|
590
|
-
|
|
520
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
521
|
+
const token = this.configuration.accessToken;
|
|
522
|
+
const tokenString = await token("bearerAuth", []);
|
|
591
523
|
|
|
524
|
+
if (tokenString) {
|
|
525
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
592
528
|
|
|
593
529
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}/deactivate`;
|
|
594
530
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -637,10 +573,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
637
573
|
|
|
638
574
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
639
575
|
|
|
640
|
-
if (
|
|
641
|
-
|
|
642
|
-
|
|
576
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
577
|
+
const token = this.configuration.accessToken;
|
|
578
|
+
const tokenString = await token("bearerAuth", []);
|
|
643
579
|
|
|
580
|
+
if (tokenString) {
|
|
581
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
644
584
|
|
|
645
585
|
let urlPath = `/v1/tenants/{tenant_id}`;
|
|
646
586
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -691,10 +631,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
691
631
|
|
|
692
632
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
693
633
|
|
|
694
|
-
if (
|
|
695
|
-
|
|
696
|
-
|
|
634
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
635
|
+
const token = this.configuration.accessToken;
|
|
636
|
+
const tokenString = await token("bearerAuth", []);
|
|
697
637
|
|
|
638
|
+
if (tokenString) {
|
|
639
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
698
642
|
|
|
699
643
|
let urlPath = `/v1/tenants/{tenant_id}/branding/logo`;
|
|
700
644
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -749,10 +693,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
749
693
|
|
|
750
694
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
751
695
|
|
|
752
|
-
if (
|
|
753
|
-
|
|
754
|
-
|
|
696
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
697
|
+
const token = this.configuration.accessToken;
|
|
698
|
+
const tokenString = await token("bearerAuth", []);
|
|
755
699
|
|
|
700
|
+
if (tokenString) {
|
|
701
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
756
704
|
|
|
757
705
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}`;
|
|
758
706
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -800,10 +748,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
800
748
|
|
|
801
749
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
802
750
|
|
|
803
|
-
if (
|
|
804
|
-
|
|
805
|
-
|
|
751
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
752
|
+
const token = this.configuration.accessToken;
|
|
753
|
+
const tokenString = await token("bearerAuth", []);
|
|
806
754
|
|
|
755
|
+
if (tokenString) {
|
|
756
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
807
759
|
|
|
808
760
|
let urlPath = `/v1/tenants/{tenant_id}`;
|
|
809
761
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -851,10 +803,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
851
803
|
|
|
852
804
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
853
805
|
|
|
854
|
-
if (
|
|
855
|
-
|
|
856
|
-
|
|
806
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
807
|
+
const token = this.configuration.accessToken;
|
|
808
|
+
const tokenString = await token("bearerAuth", []);
|
|
857
809
|
|
|
810
|
+
if (tokenString) {
|
|
811
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
858
814
|
|
|
859
815
|
let urlPath = `/v1/tenants/{tenant_id}/quota`;
|
|
860
816
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -910,10 +866,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
910
866
|
|
|
911
867
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
912
868
|
|
|
913
|
-
if (
|
|
914
|
-
|
|
915
|
-
|
|
869
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
870
|
+
const token = this.configuration.accessToken;
|
|
871
|
+
const tokenString = await token("bearerAuth", []);
|
|
916
872
|
|
|
873
|
+
if (tokenString) {
|
|
874
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
917
877
|
|
|
918
878
|
let urlPath = `/v1/tenants/{tenant_id}/users`;
|
|
919
879
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -962,10 +922,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
962
922
|
|
|
963
923
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
964
924
|
|
|
965
|
-
if (
|
|
966
|
-
|
|
967
|
-
|
|
925
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
926
|
+
const token = this.configuration.accessToken;
|
|
927
|
+
const tokenString = await token("bearerAuth", []);
|
|
968
928
|
|
|
929
|
+
if (tokenString) {
|
|
930
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
969
933
|
|
|
970
934
|
let urlPath = `/v1/tenants`;
|
|
971
935
|
|
|
@@ -1021,10 +985,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
1021
985
|
|
|
1022
986
|
headerParameters['Content-Type'] = 'application/json';
|
|
1023
987
|
|
|
1024
|
-
if (
|
|
1025
|
-
|
|
1026
|
-
|
|
988
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
989
|
+
const token = this.configuration.accessToken;
|
|
990
|
+
const tokenString = await token("bearerAuth", []);
|
|
1027
991
|
|
|
992
|
+
if (tokenString) {
|
|
993
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
994
|
+
}
|
|
995
|
+
}
|
|
1028
996
|
|
|
1029
997
|
let urlPath = `/v1/tenants/{tenant_id}`;
|
|
1030
998
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -1089,10 +1057,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
1089
1057
|
|
|
1090
1058
|
headerParameters['Content-Type'] = 'application/json';
|
|
1091
1059
|
|
|
1092
|
-
if (
|
|
1093
|
-
|
|
1094
|
-
|
|
1060
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1061
|
+
const token = this.configuration.accessToken;
|
|
1062
|
+
const tokenString = await token("bearerAuth", []);
|
|
1095
1063
|
|
|
1064
|
+
if (tokenString) {
|
|
1065
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1096
1068
|
|
|
1097
1069
|
let urlPath = `/v1/tenants/{tenant_id}/users/{user_id}`;
|
|
1098
1070
|
urlPath = urlPath.replace(`{${"tenant_id"}}`, encodeURIComponent(String(requestParameters['tenantId'])));
|
|
@@ -1149,10 +1121,14 @@ export class TenantsApi extends runtime.BaseAPI implements TenantsApiInterface {
|
|
|
1149
1121
|
|
|
1150
1122
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1151
1123
|
|
|
1152
|
-
if (
|
|
1153
|
-
|
|
1154
|
-
|
|
1124
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1125
|
+
const token = this.configuration.accessToken;
|
|
1126
|
+
const tokenString = await token("bearerAuth", []);
|
|
1155
1127
|
|
|
1128
|
+
if (tokenString) {
|
|
1129
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1156
1132
|
const consumes: runtime.Consume[] = [
|
|
1157
1133
|
{ contentType: 'multipart/form-data' },
|
|
1158
1134
|
];
|
|
@@ -34,16 +34,12 @@ import {
|
|
|
34
34
|
export interface CreateThreadMessageOperationRequest {
|
|
35
35
|
threadId: string;
|
|
36
36
|
createThreadMessageRequest: CreateThreadMessageRequest;
|
|
37
|
-
authorization?: string | null;
|
|
38
|
-
ksUat?: string | null;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
export interface GetThreadMessageRequest {
|
|
42
40
|
threadId: string;
|
|
43
41
|
messageId: string;
|
|
44
42
|
withDetails?: boolean;
|
|
45
|
-
authorization?: string | null;
|
|
46
|
-
ksUat?: string | null;
|
|
47
43
|
}
|
|
48
44
|
|
|
49
45
|
export interface ListThreadMessagesRequest {
|
|
@@ -52,8 +48,6 @@ export interface ListThreadMessagesRequest {
|
|
|
52
48
|
withDetails?: boolean;
|
|
53
49
|
limit?: number;
|
|
54
50
|
offset?: number;
|
|
55
|
-
authorization?: string | null;
|
|
56
|
-
ksUat?: string | null;
|
|
57
51
|
}
|
|
58
52
|
|
|
59
53
|
/**
|
|
@@ -67,8 +61,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
67
61
|
* Creates request options for createThreadMessage without sending the request
|
|
68
62
|
* @param {string} threadId
|
|
69
63
|
* @param {CreateThreadMessageRequest} createThreadMessageRequest
|
|
70
|
-
* @param {string} [authorization]
|
|
71
|
-
* @param {string} [ksUat]
|
|
72
64
|
* @throws {RequiredError}
|
|
73
65
|
* @memberof ThreadMessagesApiInterface
|
|
74
66
|
*/
|
|
@@ -79,8 +71,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
79
71
|
* @summary Create Thread Message Handler
|
|
80
72
|
* @param {string} threadId
|
|
81
73
|
* @param {CreateThreadMessageRequest} createThreadMessageRequest
|
|
82
|
-
* @param {string} [authorization]
|
|
83
|
-
* @param {string} [ksUat]
|
|
84
74
|
* @param {*} [options] Override http request option.
|
|
85
75
|
* @throws {RequiredError}
|
|
86
76
|
* @memberof ThreadMessagesApiInterface
|
|
@@ -98,8 +88,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
98
88
|
* @param {string} threadId
|
|
99
89
|
* @param {string} messageId
|
|
100
90
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
101
|
-
* @param {string} [authorization]
|
|
102
|
-
* @param {string} [ksUat]
|
|
103
91
|
* @throws {RequiredError}
|
|
104
92
|
* @memberof ThreadMessagesApiInterface
|
|
105
93
|
*/
|
|
@@ -111,8 +99,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
111
99
|
* @param {string} threadId
|
|
112
100
|
* @param {string} messageId
|
|
113
101
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
114
|
-
* @param {string} [authorization]
|
|
115
|
-
* @param {string} [ksUat]
|
|
116
102
|
* @param {*} [options] Override http request option.
|
|
117
103
|
* @throws {RequiredError}
|
|
118
104
|
* @memberof ThreadMessagesApiInterface
|
|
@@ -132,8 +118,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
132
118
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
133
119
|
* @param {number} [limit] Number of items per page
|
|
134
120
|
* @param {number} [offset] Number of items to skip
|
|
135
|
-
* @param {string} [authorization]
|
|
136
|
-
* @param {string} [ksUat]
|
|
137
121
|
* @throws {RequiredError}
|
|
138
122
|
* @memberof ThreadMessagesApiInterface
|
|
139
123
|
*/
|
|
@@ -147,8 +131,6 @@ export interface ThreadMessagesApiInterface {
|
|
|
147
131
|
* @param {boolean} [withDetails] Include execution steps in response (default true)
|
|
148
132
|
* @param {number} [limit] Number of items per page
|
|
149
133
|
* @param {number} [offset] Number of items to skip
|
|
150
|
-
* @param {string} [authorization]
|
|
151
|
-
* @param {string} [ksUat]
|
|
152
134
|
* @param {*} [options] Override http request option.
|
|
153
135
|
* @throws {RequiredError}
|
|
154
136
|
* @memberof ThreadMessagesApiInterface
|
|
@@ -192,10 +174,14 @@ export class ThreadMessagesApi extends runtime.BaseAPI implements ThreadMessages
|
|
|
192
174
|
|
|
193
175
|
headerParameters['Content-Type'] = 'application/json';
|
|
194
176
|
|
|
195
|
-
if (
|
|
196
|
-
|
|
197
|
-
|
|
177
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
178
|
+
const token = this.configuration.accessToken;
|
|
179
|
+
const tokenString = await token("bearerAuth", []);
|
|
198
180
|
|
|
181
|
+
if (tokenString) {
|
|
182
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
199
185
|
|
|
200
186
|
let urlPath = `/v1/threads/{thread_id}/messages`;
|
|
201
187
|
urlPath = urlPath.replace(`{${"thread_id"}}`, encodeURIComponent(String(requestParameters['threadId'])));
|
|
@@ -255,10 +241,14 @@ export class ThreadMessagesApi extends runtime.BaseAPI implements ThreadMessages
|
|
|
255
241
|
|
|
256
242
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
257
243
|
|
|
258
|
-
if (
|
|
259
|
-
|
|
260
|
-
|
|
244
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
245
|
+
const token = this.configuration.accessToken;
|
|
246
|
+
const tokenString = await token("bearerAuth", []);
|
|
261
247
|
|
|
248
|
+
if (tokenString) {
|
|
249
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
262
252
|
|
|
263
253
|
let urlPath = `/v1/threads/{thread_id}/messages/{message_id}`;
|
|
264
254
|
urlPath = urlPath.replace(`{${"thread_id"}}`, encodeURIComponent(String(requestParameters['threadId'])));
|
|
@@ -323,10 +313,14 @@ export class ThreadMessagesApi extends runtime.BaseAPI implements ThreadMessages
|
|
|
323
313
|
|
|
324
314
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
325
315
|
|
|
326
|
-
if (
|
|
327
|
-
|
|
328
|
-
|
|
316
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
317
|
+
const token = this.configuration.accessToken;
|
|
318
|
+
const tokenString = await token("bearerAuth", []);
|
|
329
319
|
|
|
320
|
+
if (tokenString) {
|
|
321
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
330
324
|
|
|
331
325
|
let urlPath = `/v1/threads/{thread_id}/messages`;
|
|
332
326
|
urlPath = urlPath.replace(`{${"thread_id"}}`, encodeURIComponent(String(requestParameters['threadId'])));
|