@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
|
@@ -76,8 +76,12 @@ class WorkflowRunsApi 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/workflow-runs/{run_id}/clone`;
|
|
83
87
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -121,8 +125,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
121
125
|
}
|
|
122
126
|
const queryParameters = {};
|
|
123
127
|
const headerParameters = {};
|
|
124
|
-
if (
|
|
125
|
-
|
|
128
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
129
|
+
const token = this.configuration.accessToken;
|
|
130
|
+
const tokenString = yield token("bearerAuth", []);
|
|
131
|
+
if (tokenString) {
|
|
132
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
133
|
+
}
|
|
126
134
|
}
|
|
127
135
|
let urlPath = `/v1/workflow-runs/{run_id}`;
|
|
128
136
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -162,8 +170,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
162
170
|
}
|
|
163
171
|
const queryParameters = {};
|
|
164
172
|
const headerParameters = {};
|
|
165
|
-
if (
|
|
166
|
-
|
|
173
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
174
|
+
const token = this.configuration.accessToken;
|
|
175
|
+
const tokenString = yield token("bearerAuth", []);
|
|
176
|
+
if (tokenString) {
|
|
177
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
178
|
+
}
|
|
167
179
|
}
|
|
168
180
|
let urlPath = `/v1/workflow-runs/{run_id}`;
|
|
169
181
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -204,8 +216,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
204
216
|
}
|
|
205
217
|
const queryParameters = {};
|
|
206
218
|
const headerParameters = {};
|
|
207
|
-
if (
|
|
208
|
-
|
|
219
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
220
|
+
const token = this.configuration.accessToken;
|
|
221
|
+
const tokenString = yield token("bearerAuth", []);
|
|
222
|
+
if (tokenString) {
|
|
223
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
224
|
+
}
|
|
209
225
|
}
|
|
210
226
|
let urlPath = `/v1/workflow-runs/{run_id}/retry`;
|
|
211
227
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -252,8 +268,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
252
268
|
const queryParameters = {};
|
|
253
269
|
const headerParameters = {};
|
|
254
270
|
headerParameters['Content-Type'] = 'application/json';
|
|
255
|
-
if (
|
|
256
|
-
|
|
271
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
272
|
+
const token = this.configuration.accessToken;
|
|
273
|
+
const tokenString = yield token("bearerAuth", []);
|
|
274
|
+
if (tokenString) {
|
|
275
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
276
|
+
}
|
|
257
277
|
}
|
|
258
278
|
let urlPath = `/v1/workflow-runs/{run_id}/approval`;
|
|
259
279
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -267,7 +287,7 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
267
287
|
});
|
|
268
288
|
}
|
|
269
289
|
/**
|
|
270
|
-
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires
|
|
290
|
+
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires approve access to the run folder and refuses agents (assumed identities) — approval is human-in-the-loop. ``run_id`` is the WorkflowRun id.
|
|
271
291
|
* Set Workflow Run Approval Handler
|
|
272
292
|
*/
|
|
273
293
|
setWorkflowRunApprovalRaw(requestParameters, initOverrides) {
|
|
@@ -278,7 +298,7 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
278
298
|
});
|
|
279
299
|
}
|
|
280
300
|
/**
|
|
281
|
-
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires
|
|
301
|
+
* Approve an entire completed run in one call. Approves every output document under ``outputs/`` then the run folder. The run must be ``COMPLETED`` and its definition must have required approval. Requires approve access to the run folder and refuses agents (assumed identities) — approval is human-in-the-loop. ``run_id`` is the WorkflowRun id.
|
|
282
302
|
* Set Workflow Run Approval Handler
|
|
283
303
|
*/
|
|
284
304
|
setWorkflowRunApproval(requestParameters, initOverrides) {
|
|
@@ -297,8 +317,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
297
317
|
}
|
|
298
318
|
const queryParameters = {};
|
|
299
319
|
const headerParameters = {};
|
|
300
|
-
if (
|
|
301
|
-
|
|
320
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
321
|
+
const token = this.configuration.accessToken;
|
|
322
|
+
const tokenString = yield token("bearerAuth", []);
|
|
323
|
+
if (tokenString) {
|
|
324
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
325
|
+
}
|
|
302
326
|
}
|
|
303
327
|
let urlPath = `/v1/workflow-runs/{run_id}/start`;
|
|
304
328
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -341,8 +365,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
341
365
|
}
|
|
342
366
|
const queryParameters = {};
|
|
343
367
|
const headerParameters = {};
|
|
344
|
-
if (
|
|
345
|
-
|
|
368
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
369
|
+
const token = this.configuration.accessToken;
|
|
370
|
+
const tokenString = yield token("bearerAuth", []);
|
|
371
|
+
if (tokenString) {
|
|
372
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
373
|
+
}
|
|
346
374
|
}
|
|
347
375
|
let urlPath = `/v1/workflow-runs/{run_id}/stop`;
|
|
348
376
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -389,8 +417,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
389
417
|
const queryParameters = {};
|
|
390
418
|
const headerParameters = {};
|
|
391
419
|
headerParameters['Content-Type'] = 'application/json';
|
|
392
|
-
if (
|
|
393
|
-
|
|
420
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
421
|
+
const token = this.configuration.accessToken;
|
|
422
|
+
const tokenString = yield token("bearerAuth", []);
|
|
423
|
+
if (tokenString) {
|
|
424
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
425
|
+
}
|
|
394
426
|
}
|
|
395
427
|
let urlPath = `/v1/workflow-runs/{run_id}`;
|
|
396
428
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -438,8 +470,12 @@ class WorkflowRunsApi extends runtime.BaseAPI {
|
|
|
438
470
|
const queryParameters = {};
|
|
439
471
|
const headerParameters = {};
|
|
440
472
|
headerParameters['Content-Type'] = 'application/json';
|
|
441
|
-
if (
|
|
442
|
-
|
|
473
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
474
|
+
const token = this.configuration.accessToken;
|
|
475
|
+
const tokenString = yield token("bearerAuth", []);
|
|
476
|
+
if (tokenString) {
|
|
477
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
478
|
+
}
|
|
443
479
|
}
|
|
444
480
|
let urlPath = `/v1/workflow-runs/{run_id}/callback`;
|
|
445
481
|
urlPath = urlPath.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId'])));
|
|
@@ -13,29 +13,19 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { PaginatedResponseWorkflowSummaryResponse, TemporalWorkflowStatusResponse, WorkflowActionResponse, WorkflowCancelResponse, WorkflowDetailResponse } from '../models/index';
|
|
14
14
|
export interface CancelTemporalWorkflowRequest {
|
|
15
15
|
workflowId: string;
|
|
16
|
-
authorization?: string | null;
|
|
17
|
-
ksUat?: string | null;
|
|
18
16
|
}
|
|
19
17
|
export interface DvWorkflowRerunRequest {
|
|
20
18
|
workflowId: string;
|
|
21
|
-
authorization?: string | null;
|
|
22
|
-
ksUat?: string | null;
|
|
23
19
|
}
|
|
24
20
|
export interface GetDvWorkflowRequest {
|
|
25
21
|
workflowId: string;
|
|
26
|
-
authorization?: string | null;
|
|
27
|
-
ksUat?: string | null;
|
|
28
22
|
}
|
|
29
23
|
export interface GetTemporalWorkflowStatusRequest {
|
|
30
24
|
workflowId: string;
|
|
31
|
-
authorization?: string | null;
|
|
32
|
-
ksUat?: string | null;
|
|
33
25
|
}
|
|
34
26
|
export interface ListDvWorkflowsRequest {
|
|
35
27
|
limit?: number;
|
|
36
28
|
offset?: number;
|
|
37
|
-
authorization?: string | null;
|
|
38
|
-
ksUat?: string | null;
|
|
39
29
|
}
|
|
40
30
|
/**
|
|
41
31
|
* WorkflowsApi - interface
|
|
@@ -47,8 +37,6 @@ export interface WorkflowsApiInterface {
|
|
|
47
37
|
/**
|
|
48
38
|
* Creates request options for cancelTemporalWorkflow without sending the request
|
|
49
39
|
* @param {string} workflowId
|
|
50
|
-
* @param {string} [authorization]
|
|
51
|
-
* @param {string} [ksUat]
|
|
52
40
|
* @throws {RequiredError}
|
|
53
41
|
* @memberof WorkflowsApiInterface
|
|
54
42
|
*/
|
|
@@ -57,8 +45,6 @@ export interface WorkflowsApiInterface {
|
|
|
57
45
|
* Cancel any Temporal workflow owned by the caller\'s tenant. No status guard — this is a thin Temporal wrapper. Cancelling an already-terminal workflow is a no-op on the Temporal side.
|
|
58
46
|
* @summary Cancel Temporal Workflow Handler
|
|
59
47
|
* @param {string} workflowId
|
|
60
|
-
* @param {string} [authorization]
|
|
61
|
-
* @param {string} [ksUat]
|
|
62
48
|
* @param {*} [options] Override http request option.
|
|
63
49
|
* @throws {RequiredError}
|
|
64
50
|
* @memberof WorkflowsApiInterface
|
|
@@ -72,8 +58,6 @@ export interface WorkflowsApiInterface {
|
|
|
72
58
|
/**
|
|
73
59
|
* Creates request options for dvWorkflowRerun without sending the request
|
|
74
60
|
* @param {string} workflowId
|
|
75
|
-
* @param {string} [authorization]
|
|
76
|
-
* @param {string} [ksUat]
|
|
77
61
|
* @throws {RequiredError}
|
|
78
62
|
* @memberof WorkflowsApiInterface
|
|
79
63
|
*/
|
|
@@ -82,8 +66,6 @@ export interface WorkflowsApiInterface {
|
|
|
82
66
|
* Rerun a workflow. USER role requires ``can_write`` on the document path. ``s3_client`` is injected because ``DocumentIngestionService.__init__`` requires it, even though the re-ingestion path reuses the existing S3 source.
|
|
83
67
|
* @summary Dv Workflow Rerun Handler
|
|
84
68
|
* @param {string} workflowId
|
|
85
|
-
* @param {string} [authorization]
|
|
86
|
-
* @param {string} [ksUat]
|
|
87
69
|
* @param {*} [options] Override http request option.
|
|
88
70
|
* @throws {RequiredError}
|
|
89
71
|
* @memberof WorkflowsApiInterface
|
|
@@ -97,8 +79,6 @@ export interface WorkflowsApiInterface {
|
|
|
97
79
|
/**
|
|
98
80
|
* Creates request options for getDvWorkflow without sending the request
|
|
99
81
|
* @param {string} workflowId
|
|
100
|
-
* @param {string} [authorization]
|
|
101
|
-
* @param {string} [ksUat]
|
|
102
82
|
* @throws {RequiredError}
|
|
103
83
|
* @memberof WorkflowsApiInterface
|
|
104
84
|
*/
|
|
@@ -107,8 +87,6 @@ export interface WorkflowsApiInterface {
|
|
|
107
87
|
* Get single workflow detail with live Temporal status.
|
|
108
88
|
* @summary Get Dv Workflow Handler
|
|
109
89
|
* @param {string} workflowId
|
|
110
|
-
* @param {string} [authorization]
|
|
111
|
-
* @param {string} [ksUat]
|
|
112
90
|
* @param {*} [options] Override http request option.
|
|
113
91
|
* @throws {RequiredError}
|
|
114
92
|
* @memberof WorkflowsApiInterface
|
|
@@ -122,8 +100,6 @@ export interface WorkflowsApiInterface {
|
|
|
122
100
|
/**
|
|
123
101
|
* Creates request options for getTemporalWorkflowStatus without sending the request
|
|
124
102
|
* @param {string} workflowId
|
|
125
|
-
* @param {string} [authorization]
|
|
126
|
-
* @param {string} [ksUat]
|
|
127
103
|
* @throws {RequiredError}
|
|
128
104
|
* @memberof WorkflowsApiInterface
|
|
129
105
|
*/
|
|
@@ -132,8 +108,6 @@ export interface WorkflowsApiInterface {
|
|
|
132
108
|
* Get live Temporal status for any workflow owned by the caller\'s tenant.
|
|
133
109
|
* @summary Get Temporal Workflow Status Handler
|
|
134
110
|
* @param {string} workflowId
|
|
135
|
-
* @param {string} [authorization]
|
|
136
|
-
* @param {string} [ksUat]
|
|
137
111
|
* @param {*} [options] Override http request option.
|
|
138
112
|
* @throws {RequiredError}
|
|
139
113
|
* @memberof WorkflowsApiInterface
|
|
@@ -148,8 +122,6 @@ export interface WorkflowsApiInterface {
|
|
|
148
122
|
* Creates request options for listDvWorkflows without sending the request
|
|
149
123
|
* @param {number} [limit] Number of items per page
|
|
150
124
|
* @param {number} [offset] Number of items to skip
|
|
151
|
-
* @param {string} [authorization]
|
|
152
|
-
* @param {string} [ksUat]
|
|
153
125
|
* @throws {RequiredError}
|
|
154
126
|
* @memberof WorkflowsApiInterface
|
|
155
127
|
*/
|
|
@@ -159,8 +131,6 @@ export interface WorkflowsApiInterface {
|
|
|
159
131
|
* @summary List Dv Workflows Handler
|
|
160
132
|
* @param {number} [limit] Number of items per page
|
|
161
133
|
* @param {number} [offset] Number of items to skip
|
|
162
|
-
* @param {string} [authorization]
|
|
163
|
-
* @param {string} [ksUat]
|
|
164
134
|
* @param {*} [options] Override http request option.
|
|
165
135
|
* @throws {RequiredError}
|
|
166
136
|
* @memberof WorkflowsApiInterface
|
|
@@ -72,8 +72,12 @@ class WorkflowsApi extends runtime.BaseAPI {
|
|
|
72
72
|
}
|
|
73
73
|
const queryParameters = {};
|
|
74
74
|
const headerParameters = {};
|
|
75
|
-
if (
|
|
76
|
-
|
|
75
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
76
|
+
const token = this.configuration.accessToken;
|
|
77
|
+
const tokenString = yield token("bearerAuth", []);
|
|
78
|
+
if (tokenString) {
|
|
79
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
80
|
+
}
|
|
77
81
|
}
|
|
78
82
|
let urlPath = `/v1/workflows/{workflow_id}`;
|
|
79
83
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -116,8 +120,12 @@ class WorkflowsApi extends runtime.BaseAPI {
|
|
|
116
120
|
}
|
|
117
121
|
const queryParameters = {};
|
|
118
122
|
const headerParameters = {};
|
|
119
|
-
if (
|
|
120
|
-
|
|
123
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
124
|
+
const token = this.configuration.accessToken;
|
|
125
|
+
const tokenString = yield token("bearerAuth", []);
|
|
126
|
+
if (tokenString) {
|
|
127
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
128
|
+
}
|
|
121
129
|
}
|
|
122
130
|
let urlPath = `/v1/workflows/document_versions/{workflow_id}`;
|
|
123
131
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -160,8 +168,12 @@ class WorkflowsApi extends runtime.BaseAPI {
|
|
|
160
168
|
}
|
|
161
169
|
const queryParameters = {};
|
|
162
170
|
const headerParameters = {};
|
|
163
|
-
if (
|
|
164
|
-
|
|
171
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
172
|
+
const token = this.configuration.accessToken;
|
|
173
|
+
const tokenString = yield token("bearerAuth", []);
|
|
174
|
+
if (tokenString) {
|
|
175
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
176
|
+
}
|
|
165
177
|
}
|
|
166
178
|
let urlPath = `/v1/workflows/document_versions/{workflow_id}`;
|
|
167
179
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -204,8 +216,12 @@ class WorkflowsApi extends runtime.BaseAPI {
|
|
|
204
216
|
}
|
|
205
217
|
const queryParameters = {};
|
|
206
218
|
const headerParameters = {};
|
|
207
|
-
if (
|
|
208
|
-
|
|
219
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
220
|
+
const token = this.configuration.accessToken;
|
|
221
|
+
const tokenString = yield token("bearerAuth", []);
|
|
222
|
+
if (tokenString) {
|
|
223
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
224
|
+
}
|
|
209
225
|
}
|
|
210
226
|
let urlPath = `/v1/workflows/{workflow_id}`;
|
|
211
227
|
urlPath = urlPath.replace(`{${"workflow_id"}}`, encodeURIComponent(String(requestParameters['workflowId'])));
|
|
@@ -251,8 +267,12 @@ class WorkflowsApi extends runtime.BaseAPI {
|
|
|
251
267
|
queryParameters['offset'] = requestParameters['offset'];
|
|
252
268
|
}
|
|
253
269
|
const headerParameters = {};
|
|
254
|
-
if (
|
|
255
|
-
|
|
270
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
271
|
+
const token = this.configuration.accessToken;
|
|
272
|
+
const tokenString = yield token("bearerAuth", []);
|
|
273
|
+
if (tokenString) {
|
|
274
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
275
|
+
}
|
|
256
276
|
}
|
|
257
277
|
let urlPath = `/v1/workflows/document_versions`;
|
|
258
278
|
return {
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './AgentApi';
|
|
2
2
|
export * from './ApiKeysApi';
|
|
3
|
+
export * from './AuditEventsApi';
|
|
3
4
|
export * from './AuthApi';
|
|
4
5
|
export * from './ChunkLineagesApi';
|
|
5
6
|
export * from './ChunksApi';
|
|
7
|
+
export * from './DataSourcesApi';
|
|
6
8
|
export * from './DefaultApi';
|
|
7
9
|
export * from './DocumentCheckoutApi';
|
|
8
10
|
export * from './DocumentVersionsApi';
|
|
@@ -11,6 +13,7 @@ export * from './FeaturesApi';
|
|
|
11
13
|
export * from './FeedbackApi';
|
|
12
14
|
export * from './FoldersApi';
|
|
13
15
|
export * from './InvitesApi';
|
|
16
|
+
export * from './MemoryApi';
|
|
14
17
|
export * from './PathPartApprovalsApi';
|
|
15
18
|
export * from './PathPartsApi';
|
|
16
19
|
export * from './PublicApi';
|
|
@@ -21,6 +24,7 @@ export * from './TenantGroupsApi';
|
|
|
21
24
|
export * from './TenantsApi';
|
|
22
25
|
export * from './ThreadMessagesApi';
|
|
23
26
|
export * from './ThreadsApi';
|
|
27
|
+
export * from './TrashApi';
|
|
24
28
|
export * from './UserPermissionsApi';
|
|
25
29
|
export * from './UsersApi';
|
|
26
30
|
export * from './WorkflowDefinitionsApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -18,9 +18,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AgentApi"), exports);
|
|
20
20
|
__exportStar(require("./ApiKeysApi"), exports);
|
|
21
|
+
__exportStar(require("./AuditEventsApi"), exports);
|
|
21
22
|
__exportStar(require("./AuthApi"), exports);
|
|
22
23
|
__exportStar(require("./ChunkLineagesApi"), exports);
|
|
23
24
|
__exportStar(require("./ChunksApi"), exports);
|
|
25
|
+
__exportStar(require("./DataSourcesApi"), exports);
|
|
24
26
|
__exportStar(require("./DefaultApi"), exports);
|
|
25
27
|
__exportStar(require("./DocumentCheckoutApi"), exports);
|
|
26
28
|
__exportStar(require("./DocumentVersionsApi"), exports);
|
|
@@ -29,6 +31,7 @@ __exportStar(require("./FeaturesApi"), exports);
|
|
|
29
31
|
__exportStar(require("./FeedbackApi"), exports);
|
|
30
32
|
__exportStar(require("./FoldersApi"), exports);
|
|
31
33
|
__exportStar(require("./InvitesApi"), exports);
|
|
34
|
+
__exportStar(require("./MemoryApi"), exports);
|
|
32
35
|
__exportStar(require("./PathPartApprovalsApi"), exports);
|
|
33
36
|
__exportStar(require("./PathPartsApi"), exports);
|
|
34
37
|
__exportStar(require("./PublicApi"), exports);
|
|
@@ -39,6 +42,7 @@ __exportStar(require("./TenantGroupsApi"), exports);
|
|
|
39
42
|
__exportStar(require("./TenantsApi"), exports);
|
|
40
43
|
__exportStar(require("./ThreadMessagesApi"), exports);
|
|
41
44
|
__exportStar(require("./ThreadsApi"), exports);
|
|
45
|
+
__exportStar(require("./TrashApi"), exports);
|
|
42
46
|
__exportStar(require("./UserPermissionsApi"), exports);
|
|
43
47
|
__exportStar(require("./UsersApi"), exports);
|
|
44
48
|
__exportStar(require("./WorkflowDefinitionsApi"), exports);
|
|
@@ -13,13 +13,9 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { AskRequest, AskResponse, ExtractRequest, ExtractResponse } from '../models/index';
|
|
14
14
|
export interface AgentAskRequest {
|
|
15
15
|
askRequest: AskRequest;
|
|
16
|
-
authorization?: string | null;
|
|
17
|
-
ksUat?: string | null;
|
|
18
16
|
}
|
|
19
17
|
export interface AgentExtractRequest {
|
|
20
18
|
extractRequest: ExtractRequest;
|
|
21
|
-
authorization?: string | null;
|
|
22
|
-
ksUat?: string | null;
|
|
23
19
|
}
|
|
24
20
|
/**
|
|
25
21
|
* AgentApi - interface
|
|
@@ -31,8 +27,6 @@ export interface AgentApiInterface {
|
|
|
31
27
|
/**
|
|
32
28
|
* Creates request options for agentAsk without sending the request
|
|
33
29
|
* @param {AskRequest} askRequest
|
|
34
|
-
* @param {string} [authorization]
|
|
35
|
-
* @param {string} [ksUat]
|
|
36
30
|
* @throws {RequiredError}
|
|
37
31
|
* @memberof AgentApiInterface
|
|
38
32
|
*/
|
|
@@ -41,8 +35,6 @@ export interface AgentApiInterface {
|
|
|
41
35
|
* Run a one-shot text agent request to completion and return the payload. The request blocks until the underlying Temporal workflow finishes. Clients should set a generous HTTP timeout to accommodate tool-heavy runs. Quota: consumes one MESSAGE before ``start_workflow``. Refund semantics distinguish cause: * **Cancellation** (client disconnect → ``asyncio.CancelledError``, OR explicit ``DELETE /v1/workflows/{id}`` while we await ``handle.result()`` → Temporal-wrapped ``CancelledError``) → **NO REFUND.** The user walked away or actively cancelled; that\'s their volition. We still best-effort cancel the workflow so the agent stops burning LLM tokens, but the consume stays charged. Detection uses ``temporalio.exceptions.is_cancelled_exception`` which spans both forms. * Any other exception (pre-enqueue ``start_workflow`` raise, Temporal failure, workflow-internal error) → **REFUND.** Server / our-problem failures don\'t bill the user.
|
|
42
36
|
* @summary Agent Ask Handler
|
|
43
37
|
* @param {AskRequest} askRequest
|
|
44
|
-
* @param {string} [authorization]
|
|
45
|
-
* @param {string} [ksUat]
|
|
46
38
|
* @param {*} [options] Override http request option.
|
|
47
39
|
* @throws {RequiredError}
|
|
48
40
|
* @memberof AgentApiInterface
|
|
@@ -56,8 +48,6 @@ export interface AgentApiInterface {
|
|
|
56
48
|
/**
|
|
57
49
|
* Creates request options for agentExtract without sending the request
|
|
58
50
|
* @param {ExtractRequest} extractRequest
|
|
59
|
-
* @param {string} [authorization]
|
|
60
|
-
* @param {string} [ksUat]
|
|
61
51
|
* @throws {RequiredError}
|
|
62
52
|
* @memberof AgentApiInterface
|
|
63
53
|
*/
|
|
@@ -66,8 +56,6 @@ export interface AgentApiInterface {
|
|
|
66
56
|
* Run a one-shot structured extraction request and return the payload. Validates the schema input on the route side (DOCUMENT → active version → valid JSON object) BEFORE consuming quota or starting the workflow. Bad schema → 400 with no quota debit. The workflow activity trusts the input and does not re-validate. Quota: consumes one MESSAGE before ``start_workflow``. Refunds on any failure between consume and ``handle.result()`` returning — pre-enqueue ``start_workflow`` raises and post-enqueue workflow failures both refund.
|
|
67
57
|
* @summary Agent Extract Handler
|
|
68
58
|
* @param {ExtractRequest} extractRequest
|
|
69
|
-
* @param {string} [authorization]
|
|
70
|
-
* @param {string} [ksUat]
|
|
71
59
|
* @param {*} [options] Override http request option.
|
|
72
60
|
* @throws {RequiredError}
|
|
73
61
|
* @memberof AgentApiInterface
|
|
@@ -37,8 +37,12 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
39
|
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
-
if (
|
|
41
|
-
|
|
40
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
41
|
+
const token = this.configuration.accessToken;
|
|
42
|
+
const tokenString = yield token("bearerAuth", []);
|
|
43
|
+
if (tokenString) {
|
|
44
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
+
}
|
|
42
46
|
}
|
|
43
47
|
let urlPath = `/v1/agent/ask`;
|
|
44
48
|
return {
|
|
@@ -82,8 +86,12 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
82
86
|
const queryParameters = {};
|
|
83
87
|
const headerParameters = {};
|
|
84
88
|
headerParameters['Content-Type'] = 'application/json';
|
|
85
|
-
if (
|
|
86
|
-
|
|
89
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
90
|
+
const token = this.configuration.accessToken;
|
|
91
|
+
const tokenString = yield token("bearerAuth", []);
|
|
92
|
+
if (tokenString) {
|
|
93
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
94
|
+
}
|
|
87
95
|
}
|
|
88
96
|
let urlPath = `/v1/agent/extract`;
|
|
89
97
|
return {
|
|
@@ -13,18 +13,12 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { ApiKeyResponse, CreateApiKeyRequest, CreateApiKeyResponse } from '../models/index';
|
|
14
14
|
export interface CreateApiKeyOperationRequest {
|
|
15
15
|
createApiKeyRequest: CreateApiKeyRequest;
|
|
16
|
-
ksUat?: string | null;
|
|
17
16
|
}
|
|
18
17
|
export interface DeleteApiKeyRequest {
|
|
19
18
|
apiKeyId: string;
|
|
20
|
-
ksUat?: string | null;
|
|
21
19
|
}
|
|
22
20
|
export interface GetApiKeyRequest {
|
|
23
21
|
apiKeyId: string;
|
|
24
|
-
ksUat?: string | null;
|
|
25
|
-
}
|
|
26
|
-
export interface ListApiKeysRequest {
|
|
27
|
-
ksUat?: string | null;
|
|
28
22
|
}
|
|
29
23
|
/**
|
|
30
24
|
* ApiKeysApi - interface
|
|
@@ -36,7 +30,6 @@ export interface ApiKeysApiInterface {
|
|
|
36
30
|
/**
|
|
37
31
|
* Creates request options for createApiKey without sending the request
|
|
38
32
|
* @param {CreateApiKeyRequest} createApiKeyRequest
|
|
39
|
-
* @param {string} [ksUat]
|
|
40
33
|
* @throws {RequiredError}
|
|
41
34
|
* @memberof ApiKeysApiInterface
|
|
42
35
|
*/
|
|
@@ -45,7 +38,6 @@ export interface ApiKeysApiInterface {
|
|
|
45
38
|
* Create a new API key. The full key is returned only once.
|
|
46
39
|
* @summary Create Api Key Handler
|
|
47
40
|
* @param {CreateApiKeyRequest} createApiKeyRequest
|
|
48
|
-
* @param {string} [ksUat]
|
|
49
41
|
* @param {*} [options] Override http request option.
|
|
50
42
|
* @throws {RequiredError}
|
|
51
43
|
* @memberof ApiKeysApiInterface
|
|
@@ -59,7 +51,6 @@ export interface ApiKeysApiInterface {
|
|
|
59
51
|
/**
|
|
60
52
|
* Creates request options for deleteApiKey without sending the request
|
|
61
53
|
* @param {string} apiKeyId
|
|
62
|
-
* @param {string} [ksUat]
|
|
63
54
|
* @throws {RequiredError}
|
|
64
55
|
* @memberof ApiKeysApiInterface
|
|
65
56
|
*/
|
|
@@ -68,7 +59,6 @@ export interface ApiKeysApiInterface {
|
|
|
68
59
|
* Delete an API key.
|
|
69
60
|
* @summary Delete Api Key Handler
|
|
70
61
|
* @param {string} apiKeyId
|
|
71
|
-
* @param {string} [ksUat]
|
|
72
62
|
* @param {*} [options] Override http request option.
|
|
73
63
|
* @throws {RequiredError}
|
|
74
64
|
* @memberof ApiKeysApiInterface
|
|
@@ -82,7 +72,6 @@ export interface ApiKeysApiInterface {
|
|
|
82
72
|
/**
|
|
83
73
|
* Creates request options for getApiKey without sending the request
|
|
84
74
|
* @param {string} apiKeyId
|
|
85
|
-
* @param {string} [ksUat]
|
|
86
75
|
* @throws {RequiredError}
|
|
87
76
|
* @memberof ApiKeysApiInterface
|
|
88
77
|
*/
|
|
@@ -91,7 +80,6 @@ export interface ApiKeysApiInterface {
|
|
|
91
80
|
* Get a single API key by ID.
|
|
92
81
|
* @summary Get Api Key Handler
|
|
93
82
|
* @param {string} apiKeyId
|
|
94
|
-
* @param {string} [ksUat]
|
|
95
83
|
* @param {*} [options] Override http request option.
|
|
96
84
|
* @throws {RequiredError}
|
|
97
85
|
* @memberof ApiKeysApiInterface
|
|
@@ -104,25 +92,23 @@ export interface ApiKeysApiInterface {
|
|
|
104
92
|
getApiKey(requestParameters: GetApiKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiKeyResponse>;
|
|
105
93
|
/**
|
|
106
94
|
* Creates request options for listApiKeys without sending the request
|
|
107
|
-
* @param {string} [ksUat]
|
|
108
95
|
* @throws {RequiredError}
|
|
109
96
|
* @memberof ApiKeysApiInterface
|
|
110
97
|
*/
|
|
111
|
-
listApiKeysRequestOpts(
|
|
98
|
+
listApiKeysRequestOpts(): Promise<runtime.RequestOpts>;
|
|
112
99
|
/**
|
|
113
100
|
* List all API keys for the current user.
|
|
114
101
|
* @summary List Api Keys Handler
|
|
115
|
-
* @param {string} [ksUat]
|
|
116
102
|
* @param {*} [options] Override http request option.
|
|
117
103
|
* @throws {RequiredError}
|
|
118
104
|
* @memberof ApiKeysApiInterface
|
|
119
105
|
*/
|
|
120
|
-
listApiKeysRaw(
|
|
106
|
+
listApiKeysRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiKeyResponse>>>;
|
|
121
107
|
/**
|
|
122
108
|
* List all API keys for the current user.
|
|
123
109
|
* List Api Keys Handler
|
|
124
110
|
*/
|
|
125
|
-
listApiKeys(
|
|
111
|
+
listApiKeys(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiKeyResponse>>;
|
|
126
112
|
}
|
|
127
113
|
/**
|
|
128
114
|
*
|
|
@@ -173,15 +159,15 @@ export declare class ApiKeysApi extends runtime.BaseAPI implements ApiKeysApiInt
|
|
|
173
159
|
/**
|
|
174
160
|
* Creates request options for listApiKeys without sending the request
|
|
175
161
|
*/
|
|
176
|
-
listApiKeysRequestOpts(
|
|
162
|
+
listApiKeysRequestOpts(): Promise<runtime.RequestOpts>;
|
|
177
163
|
/**
|
|
178
164
|
* List all API keys for the current user.
|
|
179
165
|
* List Api Keys Handler
|
|
180
166
|
*/
|
|
181
|
-
listApiKeysRaw(
|
|
167
|
+
listApiKeysRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ApiKeyResponse>>>;
|
|
182
168
|
/**
|
|
183
169
|
* List all API keys for the current user.
|
|
184
170
|
* List Api Keys Handler
|
|
185
171
|
*/
|
|
186
|
-
listApiKeys(
|
|
172
|
+
listApiKeys(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ApiKeyResponse>>;
|
|
187
173
|
}
|
|
@@ -152,7 +152,7 @@ export class ApiKeysApi extends runtime.BaseAPI {
|
|
|
152
152
|
/**
|
|
153
153
|
* Creates request options for listApiKeys without sending the request
|
|
154
154
|
*/
|
|
155
|
-
listApiKeysRequestOpts(
|
|
155
|
+
listApiKeysRequestOpts() {
|
|
156
156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
157
|
const queryParameters = {};
|
|
158
158
|
const headerParameters = {};
|
|
@@ -169,9 +169,9 @@ export class ApiKeysApi extends runtime.BaseAPI {
|
|
|
169
169
|
* List all API keys for the current user.
|
|
170
170
|
* List Api Keys Handler
|
|
171
171
|
*/
|
|
172
|
-
listApiKeysRaw(
|
|
172
|
+
listApiKeysRaw(initOverrides) {
|
|
173
173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
174
|
-
const requestOptions = yield this.listApiKeysRequestOpts(
|
|
174
|
+
const requestOptions = yield this.listApiKeysRequestOpts();
|
|
175
175
|
const response = yield this.request(requestOptions, initOverrides);
|
|
176
176
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ApiKeyResponseFromJSON));
|
|
177
177
|
});
|
|
@@ -180,9 +180,9 @@ export class ApiKeysApi extends runtime.BaseAPI {
|
|
|
180
180
|
* List all API keys for the current user.
|
|
181
181
|
* List Api Keys Handler
|
|
182
182
|
*/
|
|
183
|
-
listApiKeys() {
|
|
184
|
-
return __awaiter(this,
|
|
185
|
-
const response = yield this.listApiKeysRaw(
|
|
183
|
+
listApiKeys(initOverrides) {
|
|
184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
185
|
+
const response = yield this.listApiKeysRaw(initOverrides);
|
|
186
186
|
return yield response.value();
|
|
187
187
|
});
|
|
188
188
|
}
|