@knowledge-stack/ksapi 1.101.2 → 1.102.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 +60 -4
- package/README.md +41 -4
- package/dist/apis/ApiConnectionsApi.d.ts +225 -0
- package/dist/apis/ApiConnectionsApi.js +322 -0
- package/dist/apis/AuditEventsApi.d.ts +57 -1
- package/dist/apis/AuditEventsApi.js +65 -0
- package/dist/apis/AuthApi.d.ts +5 -5
- package/dist/apis/AuthApi.js +3 -2
- package/dist/apis/DocumentVersionsApi.d.ts +26 -5
- package/dist/apis/DocumentVersionsApi.js +23 -2
- package/dist/apis/DocumentsApi.d.ts +22 -1
- package/dist/apis/DocumentsApi.js +21 -0
- package/dist/apis/FeedbackApi.d.ts +19 -1
- package/dist/apis/FeedbackApi.js +18 -0
- package/dist/apis/FoldersApi.d.ts +27 -9
- package/dist/apis/FoldersApi.js +20 -2
- package/dist/apis/InvitesApi.d.ts +29 -5
- package/dist/apis/InvitesApi.js +26 -2
- package/dist/apis/PathPartsApi.d.ts +57 -1
- package/dist/apis/PathPartsApi.js +68 -0
- package/dist/apis/TagsApi.d.ts +22 -1
- package/dist/apis/TagsApi.js +21 -0
- package/dist/apis/TenantGroupsApi.d.ts +43 -1
- package/dist/apis/TenantGroupsApi.js +42 -0
- package/dist/apis/TenantsApi.d.ts +16 -1
- package/dist/apis/TenantsApi.js +15 -0
- package/dist/apis/ThreadMessagesApi.d.ts +7 -1
- package/dist/apis/ThreadMessagesApi.js +6 -0
- package/dist/apis/ThreadsApi.d.ts +22 -1
- package/dist/apis/ThreadsApi.js +21 -0
- package/dist/apis/TrashApi.d.ts +28 -1
- package/dist/apis/TrashApi.js +27 -0
- package/dist/apis/UserPermissionsApi.d.ts +10 -1
- package/dist/apis/UserPermissionsApi.js +9 -0
- package/dist/apis/WorkflowDefinitionsApi.d.ts +81 -1
- package/dist/apis/WorkflowDefinitionsApi.js +93 -0
- package/dist/apis/WorkflowRunsApi.d.ts +119 -1
- package/dist/apis/WorkflowRunsApi.js +136 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ApiConnectionsApi.d.ts +225 -0
- package/dist/esm/apis/ApiConnectionsApi.js +285 -0
- package/dist/esm/apis/AuditEventsApi.d.ts +57 -1
- package/dist/esm/apis/AuditEventsApi.js +65 -0
- package/dist/esm/apis/AuthApi.d.ts +5 -5
- package/dist/esm/apis/AuthApi.js +4 -3
- package/dist/esm/apis/DocumentVersionsApi.d.ts +26 -5
- package/dist/esm/apis/DocumentVersionsApi.js +23 -2
- package/dist/esm/apis/DocumentsApi.d.ts +22 -1
- package/dist/esm/apis/DocumentsApi.js +21 -0
- package/dist/esm/apis/FeedbackApi.d.ts +19 -1
- package/dist/esm/apis/FeedbackApi.js +18 -0
- package/dist/esm/apis/FoldersApi.d.ts +27 -9
- package/dist/esm/apis/FoldersApi.js +21 -3
- package/dist/esm/apis/InvitesApi.d.ts +29 -5
- package/dist/esm/apis/InvitesApi.js +26 -2
- package/dist/esm/apis/PathPartsApi.d.ts +57 -1
- package/dist/esm/apis/PathPartsApi.js +69 -1
- package/dist/esm/apis/TagsApi.d.ts +22 -1
- package/dist/esm/apis/TagsApi.js +21 -0
- package/dist/esm/apis/TenantGroupsApi.d.ts +43 -1
- package/dist/esm/apis/TenantGroupsApi.js +42 -0
- package/dist/esm/apis/TenantsApi.d.ts +16 -1
- package/dist/esm/apis/TenantsApi.js +15 -0
- package/dist/esm/apis/ThreadMessagesApi.d.ts +7 -1
- package/dist/esm/apis/ThreadMessagesApi.js +6 -0
- package/dist/esm/apis/ThreadsApi.d.ts +22 -1
- package/dist/esm/apis/ThreadsApi.js +21 -0
- package/dist/esm/apis/TrashApi.d.ts +28 -1
- package/dist/esm/apis/TrashApi.js +27 -0
- package/dist/esm/apis/UserPermissionsApi.d.ts +10 -1
- package/dist/esm/apis/UserPermissionsApi.js +9 -0
- package/dist/esm/apis/WorkflowDefinitionsApi.d.ts +81 -1
- package/dist/esm/apis/WorkflowDefinitionsApi.js +94 -1
- package/dist/esm/apis/WorkflowRunsApi.d.ts +119 -1
- package/dist/esm/apis/WorkflowRunsApi.js +137 -1
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AcceptDisclaimerRequest.d.ts +47 -0
- package/dist/esm/models/AcceptDisclaimerRequest.js +44 -0
- package/dist/esm/models/ApiAuthConfig.d.ts +56 -0
- package/dist/esm/models/ApiAuthConfig.js +55 -0
- package/dist/esm/models/ApiConnectionRequestRequest.d.ts +75 -0
- package/dist/esm/models/ApiConnectionRequestRequest.js +59 -0
- package/dist/esm/models/ApiConnectionRequestResponse.d.ts +73 -0
- package/dist/esm/models/ApiConnectionRequestResponse.js +60 -0
- package/dist/esm/models/ApiConnectionResponse.d.ts +163 -0
- package/dist/esm/models/ApiConnectionResponse.js +118 -0
- package/dist/esm/models/ApiKeyResponse.d.ts +12 -0
- package/dist/esm/models/ApiKeyResponse.js +8 -0
- package/dist/esm/models/CreateApiConnectionRequest.d.ts +85 -0
- package/dist/esm/models/CreateApiConnectionRequest.js +76 -0
- package/dist/esm/models/CreateApiKeyRequest.d.ts +6 -0
- package/dist/esm/models/CreateApiKeyRequest.js +2 -0
- package/dist/esm/models/CreateApiKeyResponse.d.ts +6 -0
- package/dist/esm/models/CreateApiKeyResponse.js +4 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/esm/models/CreateWorkflowDefinitionRequest.js +2 -0
- package/dist/esm/models/DataSourceQueryResponse.d.ts +10 -0
- package/dist/esm/models/DataSourceQueryResponse.js +2 -0
- package/dist/esm/models/DataSourceResponse.d.ts +7 -0
- package/dist/esm/models/DataSourceResponse.js +3 -0
- package/dist/esm/models/DocumentResponse.d.ts +2 -2
- package/dist/esm/models/DocumentResponse.js +1 -3
- package/dist/esm/models/DocumentVersionOrder.d.ts +25 -0
- package/dist/esm/models/DocumentVersionOrder.js +43 -0
- package/dist/esm/models/ErrorResponse.d.ts +59 -0
- package/dist/esm/models/ErrorResponse.js +50 -0
- package/dist/esm/models/FeedbackOrder.d.ts +24 -0
- package/dist/esm/models/FeedbackOrder.js +42 -0
- package/dist/esm/models/FolderResponse.d.ts +7 -0
- package/dist/esm/models/FolderResponse.js +3 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts} +9 -6
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.js} +11 -6
- package/dist/esm/models/GroupMemberOrder.d.ts +25 -0
- package/dist/esm/models/GroupMemberOrder.js +43 -0
- package/dist/esm/models/GroupPermissionOrder.d.ts +25 -0
- package/dist/esm/models/GroupPermissionOrder.js +43 -0
- package/dist/esm/models/InstantiateWorkflowTemplateRequest.d.ts +55 -0
- package/dist/esm/models/InstantiateWorkflowTemplateRequest.js +50 -0
- package/dist/esm/models/InviteOrder.d.ts +25 -0
- package/dist/esm/models/InviteOrder.js +43 -0
- package/dist/esm/models/InviteResponse.d.ts +6 -0
- package/dist/esm/models/InviteResponse.js +2 -0
- package/dist/esm/models/NetworkClass.d.ts +28 -0
- package/dist/esm/models/NetworkClass.js +46 -0
- package/dist/{models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts → esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts} +16 -16
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PartType.d.ts +1 -0
- package/dist/esm/models/PartType.js +2 -1
- package/dist/esm/models/ReferenceType.d.ts +1 -0
- package/dist/esm/models/ReferenceType.js +1 -0
- package/dist/esm/models/SortDirection.d.ts +25 -0
- package/dist/esm/models/SortDirection.js +43 -0
- package/dist/esm/models/TagOrder.d.ts +25 -0
- package/dist/esm/models/TagOrder.js +43 -0
- package/dist/esm/models/TenantGroupOrder.d.ts +25 -0
- package/dist/esm/models/TenantGroupOrder.js +43 -0
- package/dist/esm/models/TenantUserOrder.d.ts +26 -0
- package/dist/esm/models/TenantUserOrder.js +44 -0
- package/dist/esm/models/ThreadOrder.d.ts +25 -0
- package/dist/esm/models/ThreadOrder.js +43 -0
- package/dist/esm/models/ThreadResponse.d.ts +7 -0
- package/dist/esm/models/ThreadResponse.js +3 -0
- package/dist/esm/models/TransferOwnerRequest.d.ts +47 -0
- package/dist/esm/models/TransferOwnerRequest.js +44 -0
- package/dist/esm/models/TransferOwnerResponse.d.ts +53 -0
- package/dist/esm/models/TransferOwnerResponse.js +48 -0
- package/dist/esm/models/TrashItemResponse.d.ts +7 -0
- package/dist/esm/models/TrashItemResponse.js +3 -0
- package/dist/esm/models/UpdateApiConnectionRequest.d.ts +73 -0
- package/dist/esm/models/UpdateApiConnectionRequest.js +59 -0
- package/dist/esm/models/UserPermissionOrder.d.ts +25 -0
- package/dist/esm/models/UserPermissionOrder.js +43 -0
- package/dist/esm/models/WorkflowAdoptionStats.d.ts +63 -0
- package/dist/esm/models/WorkflowAdoptionStats.js +52 -0
- package/dist/esm/models/WorkflowDefinitionOrder.d.ts +25 -0
- package/dist/esm/models/WorkflowDefinitionOrder.js +43 -0
- package/dist/esm/models/WorkflowDefinitionResponse.d.ts +25 -0
- package/dist/esm/models/WorkflowDefinitionResponse.js +13 -0
- package/dist/esm/models/WorkflowRunOrder.d.ts +26 -0
- package/dist/esm/models/WorkflowRunOrder.js +44 -0
- package/dist/esm/models/WorkflowRunResponse.d.ts +6 -0
- package/dist/esm/models/WorkflowRunResponse.js +2 -0
- package/dist/esm/models/WorkflowRunSummaryResponse.d.ts +111 -0
- package/dist/esm/models/WorkflowRunSummaryResponse.js +81 -0
- package/dist/esm/models/index.d.ts +29 -2
- package/dist/esm/models/index.js +29 -2
- package/dist/models/AcceptDisclaimerRequest.d.ts +47 -0
- package/dist/models/AcceptDisclaimerRequest.js +52 -0
- package/dist/models/ApiAuthConfig.d.ts +56 -0
- package/dist/models/ApiAuthConfig.js +63 -0
- package/dist/models/ApiConnectionRequestRequest.d.ts +75 -0
- package/dist/models/ApiConnectionRequestRequest.js +67 -0
- package/dist/models/ApiConnectionRequestResponse.d.ts +73 -0
- package/dist/models/ApiConnectionRequestResponse.js +68 -0
- package/dist/models/ApiConnectionResponse.d.ts +163 -0
- package/dist/models/ApiConnectionResponse.js +126 -0
- package/dist/models/ApiKeyResponse.d.ts +12 -0
- package/dist/models/ApiKeyResponse.js +8 -0
- package/dist/models/CreateApiConnectionRequest.d.ts +85 -0
- package/dist/models/CreateApiConnectionRequest.js +84 -0
- package/dist/models/CreateApiKeyRequest.d.ts +6 -0
- package/dist/models/CreateApiKeyRequest.js +2 -0
- package/dist/models/CreateApiKeyResponse.d.ts +6 -0
- package/dist/models/CreateApiKeyResponse.js +4 -0
- package/dist/models/CreateWorkflowDefinitionRequest.d.ts +6 -0
- package/dist/models/CreateWorkflowDefinitionRequest.js +2 -0
- package/dist/models/DataSourceQueryResponse.d.ts +10 -0
- package/dist/models/DataSourceQueryResponse.js +2 -0
- package/dist/models/DataSourceResponse.d.ts +7 -0
- package/dist/models/DataSourceResponse.js +3 -0
- package/dist/models/DocumentResponse.d.ts +2 -2
- package/dist/models/DocumentResponse.js +1 -3
- package/dist/models/DocumentVersionOrder.d.ts +25 -0
- package/dist/models/DocumentVersionOrder.js +51 -0
- package/dist/models/ErrorResponse.d.ts +59 -0
- package/dist/models/ErrorResponse.js +58 -0
- package/dist/models/FeedbackOrder.d.ts +24 -0
- package/dist/models/FeedbackOrder.js +50 -0
- package/dist/models/FolderResponse.d.ts +7 -0
- package/dist/models/FolderResponse.js +3 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts} +9 -6
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.js} +15 -10
- package/dist/models/GroupMemberOrder.d.ts +25 -0
- package/dist/models/GroupMemberOrder.js +51 -0
- package/dist/models/GroupPermissionOrder.d.ts +25 -0
- package/dist/models/GroupPermissionOrder.js +51 -0
- package/dist/models/InstantiateWorkflowTemplateRequest.d.ts +55 -0
- package/dist/models/InstantiateWorkflowTemplateRequest.js +58 -0
- package/dist/models/InviteOrder.d.ts +25 -0
- package/dist/models/InviteOrder.js +51 -0
- package/dist/models/InviteResponse.d.ts +6 -0
- package/dist/models/InviteResponse.js +2 -0
- package/dist/models/NetworkClass.d.ts +28 -0
- package/dist/models/NetworkClass.js +54 -0
- package/dist/{esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.d.ts → models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts} +16 -16
- package/dist/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js} +18 -18
- package/dist/models/PartType.d.ts +1 -0
- package/dist/models/PartType.js +2 -1
- package/dist/models/ReferenceType.d.ts +1 -0
- package/dist/models/ReferenceType.js +1 -0
- package/dist/models/SortDirection.d.ts +25 -0
- package/dist/models/SortDirection.js +51 -0
- package/dist/models/TagOrder.d.ts +25 -0
- package/dist/models/TagOrder.js +51 -0
- package/dist/models/TenantGroupOrder.d.ts +25 -0
- package/dist/models/TenantGroupOrder.js +51 -0
- package/dist/models/TenantUserOrder.d.ts +26 -0
- package/dist/models/TenantUserOrder.js +52 -0
- package/dist/models/ThreadOrder.d.ts +25 -0
- package/dist/models/ThreadOrder.js +51 -0
- package/dist/models/ThreadResponse.d.ts +7 -0
- package/dist/models/ThreadResponse.js +3 -0
- package/dist/models/TransferOwnerRequest.d.ts +47 -0
- package/dist/models/TransferOwnerRequest.js +52 -0
- package/dist/models/TransferOwnerResponse.d.ts +53 -0
- package/dist/models/TransferOwnerResponse.js +56 -0
- package/dist/models/TrashItemResponse.d.ts +7 -0
- package/dist/models/TrashItemResponse.js +3 -0
- package/dist/models/UpdateApiConnectionRequest.d.ts +73 -0
- package/dist/models/UpdateApiConnectionRequest.js +67 -0
- package/dist/models/UserPermissionOrder.d.ts +25 -0
- package/dist/models/UserPermissionOrder.js +51 -0
- package/dist/models/WorkflowAdoptionStats.d.ts +63 -0
- package/dist/models/WorkflowAdoptionStats.js +60 -0
- package/dist/models/WorkflowDefinitionOrder.d.ts +25 -0
- package/dist/models/WorkflowDefinitionOrder.js +51 -0
- package/dist/models/WorkflowDefinitionResponse.d.ts +25 -0
- package/dist/models/WorkflowDefinitionResponse.js +13 -0
- package/dist/models/WorkflowRunOrder.d.ts +26 -0
- package/dist/models/WorkflowRunOrder.js +52 -0
- package/dist/models/WorkflowRunResponse.d.ts +6 -0
- package/dist/models/WorkflowRunResponse.js +2 -0
- package/dist/models/WorkflowRunSummaryResponse.d.ts +111 -0
- package/dist/models/WorkflowRunSummaryResponse.js +89 -0
- package/dist/models/index.d.ts +29 -2
- package/dist/models/index.js +29 -2
- package/docs/AcceptDisclaimerRequest.md +35 -0
- package/docs/AgentApi.md +2 -0
- package/docs/ApiAuthConfig.md +37 -0
- package/docs/ApiConnectionRequestRequest.md +43 -0
- package/docs/ApiConnectionRequestResponse.md +43 -0
- package/docs/ApiConnectionResponse.md +69 -0
- package/docs/ApiConnectionsApi.md +397 -0
- package/docs/ApiKeyResponse.md +4 -0
- package/docs/ApiKeysApi.md +4 -0
- package/docs/AuditEventsApi.md +96 -1
- package/docs/AuthApi.md +20 -2
- package/docs/ChunkLineagesApi.md +3 -0
- package/docs/ChunksApi.md +10 -1
- package/docs/CreateApiConnectionRequest.md +47 -0
- package/docs/CreateApiKeyRequest.md +2 -0
- package/docs/CreateApiKeyResponse.md +2 -0
- package/docs/CreateWorkflowDefinitionRequest.md +2 -0
- package/docs/DataSourceQueryResponse.md +3 -1
- package/docs/DataSourceResponse.md +2 -0
- package/docs/DataSourcesApi.md +7 -0
- package/docs/DefaultApi.md +2 -0
- package/docs/DocumentCheckoutApi.md +3 -0
- package/docs/DocumentVersionOrder.md +33 -0
- package/docs/DocumentVersionsApi.md +33 -2
- package/docs/DocumentsApi.md +30 -1
- package/docs/ErrorResponse.md +39 -0
- package/docs/FeaturesApi.md +1 -0
- package/docs/FeedbackApi.md +22 -1
- package/docs/FeedbackOrder.md +33 -0
- package/docs/FolderResponse.md +2 -0
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.md} +24 -6
- package/docs/FoldersApi.md +31 -5
- package/docs/GroupMemberOrder.md +33 -0
- package/docs/GroupPermissionOrder.md +33 -0
- package/docs/InstantiateWorkflowTemplateRequest.md +37 -0
- package/docs/InviteOrder.md +33 -0
- package/docs/InviteResponse.md +2 -0
- package/docs/InvitesApi.md +31 -2
- package/docs/MemoryApi.md +5 -0
- package/docs/NetworkClass.md +33 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.md} +5 -5
- package/docs/PathPartApprovalsApi.md +2 -0
- package/docs/PathPartsApi.md +105 -1
- package/docs/PublicApi.md +1 -0
- package/docs/SectionsApi.md +6 -0
- package/docs/SortDirection.md +33 -0
- package/docs/SubscriptionsApi.md +2 -0
- package/docs/TagOrder.md +33 -0
- package/docs/TagsApi.md +27 -1
- package/docs/TenantGroupOrder.md +33 -0
- package/docs/TenantGroupsApi.md +58 -3
- package/docs/TenantUserOrder.md +33 -0
- package/docs/TenantsApi.md +28 -1
- package/docs/ThreadMessagesApi.md +10 -1
- package/docs/ThreadOrder.md +33 -0
- package/docs/ThreadResponse.md +2 -0
- package/docs/ThreadsApi.md +29 -1
- package/docs/TransferOwnerRequest.md +35 -0
- package/docs/TransferOwnerResponse.md +36 -0
- package/docs/TrashApi.md +31 -1
- package/docs/TrashItemResponse.md +2 -0
- package/docs/UpdateApiConnectionRequest.md +43 -0
- package/docs/UserPermissionOrder.md +33 -0
- package/docs/UserPermissionsApi.md +14 -1
- package/docs/UsersApi.md +5 -0
- package/docs/WorkflowAdoptionStats.md +39 -0
- package/docs/WorkflowDefinitionOrder.md +33 -0
- package/docs/WorkflowDefinitionResponse.md +8 -0
- package/docs/WorkflowDefinitionsApi.md +128 -2
- package/docs/WorkflowMemoryApi.md +5 -0
- package/docs/WorkflowRunOrder.md +33 -0
- package/docs/WorkflowRunResponse.md +2 -0
- package/docs/WorkflowRunSummaryResponse.md +53 -0
- package/docs/WorkflowRunsApi.md +203 -0
- package/docs/WorkflowsApi.md +5 -0
- package/package.json +1 -1
- package/src/apis/AgentApi.ts +3 -0
- package/src/apis/ApiConnectionsApi.ts +516 -0
- package/src/apis/ApiKeysApi.ts +3 -0
- package/src/apis/AuditEventsApi.ts +127 -0
- package/src/apis/AuthApi.ts +10 -6
- package/src/apis/ChunkLineagesApi.ts +3 -0
- package/src/apis/ChunksApi.ts +3 -0
- package/src/apis/DataSourcesApi.ts +3 -0
- package/src/apis/DefaultApi.ts +3 -0
- package/src/apis/DocumentCheckoutApi.ts +3 -0
- package/src/apis/DocumentVersionsApi.ts +62 -4
- package/src/apis/DocumentsApi.ts +58 -0
- package/src/apis/FeaturesApi.ts +3 -0
- package/src/apis/FeedbackApi.ts +51 -0
- package/src/apis/FoldersApi.ts +61 -13
- package/src/apis/InvitesApi.ts +72 -4
- package/src/apis/MemoryApi.ts +3 -0
- package/src/apis/PathPartApprovalsApi.ts +3 -0
- package/src/apis/PathPartsApi.ts +143 -0
- package/src/apis/PublicApi.ts +3 -0
- package/src/apis/SectionsApi.ts +3 -0
- package/src/apis/SubscriptionsApi.ts +3 -0
- package/src/apis/TagsApi.ts +58 -0
- package/src/apis/TenantGroupsApi.ts +116 -0
- package/src/apis/TenantsApi.ts +47 -0
- package/src/apis/ThreadMessagesApi.ts +23 -0
- package/src/apis/ThreadsApi.ts +58 -0
- package/src/apis/TrashApi.ts +75 -0
- package/src/apis/UserPermissionsApi.ts +33 -0
- package/src/apis/UsersApi.ts +3 -0
- package/src/apis/WorkflowDefinitionsApi.ts +206 -0
- package/src/apis/WorkflowMemoryApi.ts +3 -0
- package/src/apis/WorkflowRunsApi.ts +274 -0
- package/src/apis/WorkflowsApi.ts +3 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AcceptDisclaimerRequest.ts +83 -0
- package/src/models/ApiAuthConfig.ts +101 -0
- package/src/models/ApiConnectionRequestRequest.ts +121 -0
- package/src/models/ApiConnectionRequestResponse.ts +119 -0
- package/src/models/ApiConnectionResponse.ts +276 -0
- package/src/models/ApiKeyResponse.ts +18 -0
- package/src/models/CreateApiConnectionRequest.ts +161 -0
- package/src/models/CreateApiKeyRequest.ts +8 -0
- package/src/models/CreateApiKeyResponse.ts +9 -0
- package/src/models/CreateWorkflowDefinitionRequest.ts +8 -0
- package/src/models/DataSourceQueryResponse.ts +12 -0
- package/src/models/DataSourceResponse.ts +15 -0
- package/src/models/DocumentResponse.ts +3 -4
- package/src/models/DocumentVersionOrder.ts +53 -0
- package/src/models/ErrorResponse.ts +100 -0
- package/src/models/FeedbackOrder.ts +52 -0
- package/src/models/FolderResponse.ts +15 -0
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.ts} +19 -8
- package/src/models/GroupMemberOrder.ts +53 -0
- package/src/models/GroupPermissionOrder.ts +53 -0
- package/src/models/InstantiateWorkflowTemplateRequest.ts +96 -0
- package/src/models/InviteOrder.ts +53 -0
- package/src/models/InviteResponse.ts +8 -0
- package/src/models/NetworkClass.ts +56 -0
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.ts} +25 -25
- package/src/models/PartType.ts +2 -1
- package/src/models/ReferenceType.ts +1 -0
- package/src/models/SortDirection.ts +53 -0
- package/src/models/TagOrder.ts +53 -0
- package/src/models/TenantGroupOrder.ts +53 -0
- package/src/models/TenantUserOrder.ts +54 -0
- package/src/models/ThreadOrder.ts +53 -0
- package/src/models/ThreadResponse.ts +16 -0
- package/src/models/TransferOwnerRequest.ts +83 -0
- package/src/models/TransferOwnerResponse.ts +92 -0
- package/src/models/TrashItemResponse.ts +15 -0
- package/src/models/UpdateApiConnectionRequest.ts +137 -0
- package/src/models/UserPermissionOrder.ts +53 -0
- package/src/models/WorkflowAdoptionStats.ts +105 -0
- package/src/models/WorkflowDefinitionOrder.ts +53 -0
- package/src/models/WorkflowDefinitionResponse.ts +41 -0
- package/src/models/WorkflowRunOrder.ts +54 -0
- package/src/models/WorkflowRunResponse.ts +8 -0
- package/src/models/WorkflowRunSummaryResponse.ts +179 -0
- package/src/models/index.ts +29 -2
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Knowledge Stack API
|
|
3
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { AcceptDisclaimerRequest, ApiConnectionRequestRequest, ApiConnectionRequestResponse, ApiConnectionResponse, CreateApiConnectionRequest, UpdateApiConnectionRequest } from '../models/index';
|
|
14
|
+
export interface AcceptApiConnectionDisclaimerRequest {
|
|
15
|
+
connectionId: string;
|
|
16
|
+
acceptDisclaimerRequest: AcceptDisclaimerRequest;
|
|
17
|
+
}
|
|
18
|
+
export interface CreateApiConnectionOperationRequest {
|
|
19
|
+
createApiConnectionRequest: CreateApiConnectionRequest;
|
|
20
|
+
}
|
|
21
|
+
export interface ExecuteApiConnectionRequestRequest {
|
|
22
|
+
connectionId: string;
|
|
23
|
+
apiConnectionRequestRequest: ApiConnectionRequestRequest;
|
|
24
|
+
}
|
|
25
|
+
export interface GetApiConnectionRequest {
|
|
26
|
+
connectionId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface UpdateApiConnectionOperationRequest {
|
|
29
|
+
connectionId: string;
|
|
30
|
+
updateApiConnectionRequest: UpdateApiConnectionRequest;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* ApiConnectionsApi - interface
|
|
34
|
+
*
|
|
35
|
+
* @export
|
|
36
|
+
* @interface ApiConnectionsApiInterface
|
|
37
|
+
*/
|
|
38
|
+
export interface ApiConnectionsApiInterface {
|
|
39
|
+
/**
|
|
40
|
+
* Creates request options for acceptApiConnectionDisclaimer without sending the request
|
|
41
|
+
* @param {string} connectionId
|
|
42
|
+
* @param {AcceptDisclaimerRequest} acceptDisclaimerRequest
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
* @memberof ApiConnectionsApiInterface
|
|
45
|
+
*/
|
|
46
|
+
acceptApiConnectionDisclaimerRequestOpts(requestParameters: AcceptApiConnectionDisclaimerRequest): Promise<runtime.RequestOpts>;
|
|
47
|
+
/**
|
|
48
|
+
* Accept the egress disclaimer (Admin/Owner).
|
|
49
|
+
* @summary Accept Api Connection Disclaimer Handler
|
|
50
|
+
* @param {string} connectionId
|
|
51
|
+
* @param {AcceptDisclaimerRequest} acceptDisclaimerRequest
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
* @memberof ApiConnectionsApiInterface
|
|
55
|
+
*/
|
|
56
|
+
acceptApiConnectionDisclaimerRaw(requestParameters: AcceptApiConnectionDisclaimerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
57
|
+
/**
|
|
58
|
+
* Accept the egress disclaimer (Admin/Owner).
|
|
59
|
+
* Accept Api Connection Disclaimer Handler
|
|
60
|
+
*/
|
|
61
|
+
acceptApiConnectionDisclaimer(requestParameters: AcceptApiConnectionDisclaimerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Creates request options for createApiConnection without sending the request
|
|
64
|
+
* @param {CreateApiConnectionRequest} createApiConnectionRequest
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
* @memberof ApiConnectionsApiInterface
|
|
67
|
+
*/
|
|
68
|
+
createApiConnectionRequestOpts(requestParameters: CreateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
69
|
+
/**
|
|
70
|
+
* Create a connection under a writable folder (Admin/Owner; egress on).
|
|
71
|
+
* @summary Create Api Connection Handler
|
|
72
|
+
* @param {CreateApiConnectionRequest} createApiConnectionRequest
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
* @memberof ApiConnectionsApiInterface
|
|
76
|
+
*/
|
|
77
|
+
createApiConnectionRaw(requestParameters: CreateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a connection under a writable folder (Admin/Owner; egress on).
|
|
80
|
+
* Create Api Connection Handler
|
|
81
|
+
*/
|
|
82
|
+
createApiConnection(requestParameters: CreateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Creates request options for executeApiConnectionRequest without sending the request
|
|
85
|
+
* @param {string} connectionId
|
|
86
|
+
* @param {ApiConnectionRequestRequest} apiConnectionRequestRequest
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
* @memberof ApiConnectionsApiInterface
|
|
89
|
+
*/
|
|
90
|
+
executeApiConnectionRequestRequestOpts(requestParameters: ExecuteApiConnectionRequestRequest): Promise<runtime.RequestOpts>;
|
|
91
|
+
/**
|
|
92
|
+
* Execute a safe, audited outbound request (all gates run in the service).
|
|
93
|
+
* @summary Execute Api Connection Request Handler
|
|
94
|
+
* @param {string} connectionId
|
|
95
|
+
* @param {ApiConnectionRequestRequest} apiConnectionRequestRequest
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
* @memberof ApiConnectionsApiInterface
|
|
99
|
+
*/
|
|
100
|
+
executeApiConnectionRequestRaw(requestParameters: ExecuteApiConnectionRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionRequestResponse>>;
|
|
101
|
+
/**
|
|
102
|
+
* Execute a safe, audited outbound request (all gates run in the service).
|
|
103
|
+
* Execute Api Connection Request Handler
|
|
104
|
+
*/
|
|
105
|
+
executeApiConnectionRequest(requestParameters: ExecuteApiConnectionRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionRequestResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* Creates request options for getApiConnection without sending the request
|
|
108
|
+
* @param {string} connectionId
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
* @memberof ApiConnectionsApiInterface
|
|
111
|
+
*/
|
|
112
|
+
getApiConnectionRequestOpts(requestParameters: GetApiConnectionRequest): Promise<runtime.RequestOpts>;
|
|
113
|
+
/**
|
|
114
|
+
* Get a connection (no secret); requires read access.
|
|
115
|
+
* @summary Get Api Connection Handler
|
|
116
|
+
* @param {string} connectionId
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
* @memberof ApiConnectionsApiInterface
|
|
120
|
+
*/
|
|
121
|
+
getApiConnectionRaw(requestParameters: GetApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
122
|
+
/**
|
|
123
|
+
* Get a connection (no secret); requires read access.
|
|
124
|
+
* Get Api Connection Handler
|
|
125
|
+
*/
|
|
126
|
+
getApiConnection(requestParameters: GetApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
127
|
+
/**
|
|
128
|
+
* Creates request options for updateApiConnection without sending the request
|
|
129
|
+
* @param {string} connectionId
|
|
130
|
+
* @param {UpdateApiConnectionRequest} updateApiConnectionRequest
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
* @memberof ApiConnectionsApiInterface
|
|
133
|
+
*/
|
|
134
|
+
updateApiConnectionRequestOpts(requestParameters: UpdateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
135
|
+
/**
|
|
136
|
+
* Update a connection (Admin/Owner). A risk-up change re-arms the disclaimer.
|
|
137
|
+
* @summary Update Api Connection Handler
|
|
138
|
+
* @param {string} connectionId
|
|
139
|
+
* @param {UpdateApiConnectionRequest} updateApiConnectionRequest
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
* @memberof ApiConnectionsApiInterface
|
|
143
|
+
*/
|
|
144
|
+
updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
145
|
+
/**
|
|
146
|
+
* Update a connection (Admin/Owner). A risk-up change re-arms the disclaimer.
|
|
147
|
+
* Update Api Connection Handler
|
|
148
|
+
*/
|
|
149
|
+
updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
*/
|
|
154
|
+
export declare class ApiConnectionsApi extends runtime.BaseAPI implements ApiConnectionsApiInterface {
|
|
155
|
+
/**
|
|
156
|
+
* Creates request options for acceptApiConnectionDisclaimer without sending the request
|
|
157
|
+
*/
|
|
158
|
+
acceptApiConnectionDisclaimerRequestOpts(requestParameters: AcceptApiConnectionDisclaimerRequest): Promise<runtime.RequestOpts>;
|
|
159
|
+
/**
|
|
160
|
+
* Accept the egress disclaimer (Admin/Owner).
|
|
161
|
+
* Accept Api Connection Disclaimer Handler
|
|
162
|
+
*/
|
|
163
|
+
acceptApiConnectionDisclaimerRaw(requestParameters: AcceptApiConnectionDisclaimerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
164
|
+
/**
|
|
165
|
+
* Accept the egress disclaimer (Admin/Owner).
|
|
166
|
+
* Accept Api Connection Disclaimer Handler
|
|
167
|
+
*/
|
|
168
|
+
acceptApiConnectionDisclaimer(requestParameters: AcceptApiConnectionDisclaimerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
169
|
+
/**
|
|
170
|
+
* Creates request options for createApiConnection without sending the request
|
|
171
|
+
*/
|
|
172
|
+
createApiConnectionRequestOpts(requestParameters: CreateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
173
|
+
/**
|
|
174
|
+
* Create a connection under a writable folder (Admin/Owner; egress on).
|
|
175
|
+
* Create Api Connection Handler
|
|
176
|
+
*/
|
|
177
|
+
createApiConnectionRaw(requestParameters: CreateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
178
|
+
/**
|
|
179
|
+
* Create a connection under a writable folder (Admin/Owner; egress on).
|
|
180
|
+
* Create Api Connection Handler
|
|
181
|
+
*/
|
|
182
|
+
createApiConnection(requestParameters: CreateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
183
|
+
/**
|
|
184
|
+
* Creates request options for executeApiConnectionRequest without sending the request
|
|
185
|
+
*/
|
|
186
|
+
executeApiConnectionRequestRequestOpts(requestParameters: ExecuteApiConnectionRequestRequest): Promise<runtime.RequestOpts>;
|
|
187
|
+
/**
|
|
188
|
+
* Execute a safe, audited outbound request (all gates run in the service).
|
|
189
|
+
* Execute Api Connection Request Handler
|
|
190
|
+
*/
|
|
191
|
+
executeApiConnectionRequestRaw(requestParameters: ExecuteApiConnectionRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionRequestResponse>>;
|
|
192
|
+
/**
|
|
193
|
+
* Execute a safe, audited outbound request (all gates run in the service).
|
|
194
|
+
* Execute Api Connection Request Handler
|
|
195
|
+
*/
|
|
196
|
+
executeApiConnectionRequest(requestParameters: ExecuteApiConnectionRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionRequestResponse>;
|
|
197
|
+
/**
|
|
198
|
+
* Creates request options for getApiConnection without sending the request
|
|
199
|
+
*/
|
|
200
|
+
getApiConnectionRequestOpts(requestParameters: GetApiConnectionRequest): Promise<runtime.RequestOpts>;
|
|
201
|
+
/**
|
|
202
|
+
* Get a connection (no secret); requires read access.
|
|
203
|
+
* Get Api Connection Handler
|
|
204
|
+
*/
|
|
205
|
+
getApiConnectionRaw(requestParameters: GetApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
206
|
+
/**
|
|
207
|
+
* Get a connection (no secret); requires read access.
|
|
208
|
+
* Get Api Connection Handler
|
|
209
|
+
*/
|
|
210
|
+
getApiConnection(requestParameters: GetApiConnectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
211
|
+
/**
|
|
212
|
+
* Creates request options for updateApiConnection without sending the request
|
|
213
|
+
*/
|
|
214
|
+
updateApiConnectionRequestOpts(requestParameters: UpdateApiConnectionOperationRequest): Promise<runtime.RequestOpts>;
|
|
215
|
+
/**
|
|
216
|
+
* Update a connection (Admin/Owner). A risk-up change re-arms the disclaimer.
|
|
217
|
+
* Update Api Connection Handler
|
|
218
|
+
*/
|
|
219
|
+
updateApiConnectionRaw(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiConnectionResponse>>;
|
|
220
|
+
/**
|
|
221
|
+
* Update a connection (Admin/Owner). A risk-up change re-arms the disclaimer.
|
|
222
|
+
* Update Api Connection Handler
|
|
223
|
+
*/
|
|
224
|
+
updateApiConnection(requestParameters: UpdateApiConnectionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiConnectionResponse>;
|
|
225
|
+
}
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Knowledge Stack API
|
|
6
|
+
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
49
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
50
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
51
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
52
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
53
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
54
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
|
+
exports.ApiConnectionsApi = void 0;
|
|
59
|
+
const runtime = __importStar(require("../runtime"));
|
|
60
|
+
const index_1 = require("../models/index");
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
class ApiConnectionsApi extends runtime.BaseAPI {
|
|
65
|
+
/**
|
|
66
|
+
* Creates request options for acceptApiConnectionDisclaimer without sending the request
|
|
67
|
+
*/
|
|
68
|
+
acceptApiConnectionDisclaimerRequestOpts(requestParameters) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
if (requestParameters['connectionId'] == null) {
|
|
71
|
+
throw new runtime.RequiredError('connectionId', 'Required parameter "connectionId" was null or undefined when calling acceptApiConnectionDisclaimer().');
|
|
72
|
+
}
|
|
73
|
+
if (requestParameters['acceptDisclaimerRequest'] == null) {
|
|
74
|
+
throw new runtime.RequiredError('acceptDisclaimerRequest', 'Required parameter "acceptDisclaimerRequest" was null or undefined when calling acceptApiConnectionDisclaimer().');
|
|
75
|
+
}
|
|
76
|
+
const queryParameters = {};
|
|
77
|
+
const headerParameters = {};
|
|
78
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
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
|
+
}
|
|
85
|
+
}
|
|
86
|
+
let urlPath = `/v1/api-connections/{connection_id}/disclaimer`;
|
|
87
|
+
urlPath = urlPath.replace(`{${"connection_id"}}`, encodeURIComponent(String(requestParameters['connectionId'])));
|
|
88
|
+
return {
|
|
89
|
+
path: urlPath,
|
|
90
|
+
method: 'POST',
|
|
91
|
+
headers: headerParameters,
|
|
92
|
+
query: queryParameters,
|
|
93
|
+
body: (0, index_1.AcceptDisclaimerRequestToJSON)(requestParameters['acceptDisclaimerRequest']),
|
|
94
|
+
};
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Accept the egress disclaimer (Admin/Owner).
|
|
99
|
+
* Accept Api Connection Disclaimer Handler
|
|
100
|
+
*/
|
|
101
|
+
acceptApiConnectionDisclaimerRaw(requestParameters, initOverrides) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const requestOptions = yield this.acceptApiConnectionDisclaimerRequestOpts(requestParameters);
|
|
104
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
105
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiConnectionResponseFromJSON)(jsonValue));
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Accept the egress disclaimer (Admin/Owner).
|
|
110
|
+
* Accept Api Connection Disclaimer Handler
|
|
111
|
+
*/
|
|
112
|
+
acceptApiConnectionDisclaimer(requestParameters, initOverrides) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
const response = yield this.acceptApiConnectionDisclaimerRaw(requestParameters, initOverrides);
|
|
115
|
+
return yield response.value();
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Creates request options for createApiConnection without sending the request
|
|
120
|
+
*/
|
|
121
|
+
createApiConnectionRequestOpts(requestParameters) {
|
|
122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
+
if (requestParameters['createApiConnectionRequest'] == null) {
|
|
124
|
+
throw new runtime.RequiredError('createApiConnectionRequest', 'Required parameter "createApiConnectionRequest" was null or undefined when calling createApiConnection().');
|
|
125
|
+
}
|
|
126
|
+
const queryParameters = {};
|
|
127
|
+
const headerParameters = {};
|
|
128
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
129
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
130
|
+
const token = this.configuration.accessToken;
|
|
131
|
+
const tokenString = yield token("bearerAuth", []);
|
|
132
|
+
if (tokenString) {
|
|
133
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
let urlPath = `/v1/api-connections`;
|
|
137
|
+
return {
|
|
138
|
+
path: urlPath,
|
|
139
|
+
method: 'POST',
|
|
140
|
+
headers: headerParameters,
|
|
141
|
+
query: queryParameters,
|
|
142
|
+
body: (0, index_1.CreateApiConnectionRequestToJSON)(requestParameters['createApiConnectionRequest']),
|
|
143
|
+
};
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Create a connection under a writable folder (Admin/Owner; egress on).
|
|
148
|
+
* Create Api Connection Handler
|
|
149
|
+
*/
|
|
150
|
+
createApiConnectionRaw(requestParameters, initOverrides) {
|
|
151
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
const requestOptions = yield this.createApiConnectionRequestOpts(requestParameters);
|
|
153
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
154
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiConnectionResponseFromJSON)(jsonValue));
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Create a connection under a writable folder (Admin/Owner; egress on).
|
|
159
|
+
* Create Api Connection Handler
|
|
160
|
+
*/
|
|
161
|
+
createApiConnection(requestParameters, initOverrides) {
|
|
162
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
163
|
+
const response = yield this.createApiConnectionRaw(requestParameters, initOverrides);
|
|
164
|
+
return yield response.value();
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Creates request options for executeApiConnectionRequest without sending the request
|
|
169
|
+
*/
|
|
170
|
+
executeApiConnectionRequestRequestOpts(requestParameters) {
|
|
171
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
172
|
+
if (requestParameters['connectionId'] == null) {
|
|
173
|
+
throw new runtime.RequiredError('connectionId', 'Required parameter "connectionId" was null or undefined when calling executeApiConnectionRequest().');
|
|
174
|
+
}
|
|
175
|
+
if (requestParameters['apiConnectionRequestRequest'] == null) {
|
|
176
|
+
throw new runtime.RequiredError('apiConnectionRequestRequest', 'Required parameter "apiConnectionRequestRequest" was null or undefined when calling executeApiConnectionRequest().');
|
|
177
|
+
}
|
|
178
|
+
const queryParameters = {};
|
|
179
|
+
const headerParameters = {};
|
|
180
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
181
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
182
|
+
const token = this.configuration.accessToken;
|
|
183
|
+
const tokenString = yield token("bearerAuth", []);
|
|
184
|
+
if (tokenString) {
|
|
185
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
let urlPath = `/v1/api-connections/{connection_id}/request`;
|
|
189
|
+
urlPath = urlPath.replace(`{${"connection_id"}}`, encodeURIComponent(String(requestParameters['connectionId'])));
|
|
190
|
+
return {
|
|
191
|
+
path: urlPath,
|
|
192
|
+
method: 'POST',
|
|
193
|
+
headers: headerParameters,
|
|
194
|
+
query: queryParameters,
|
|
195
|
+
body: (0, index_1.ApiConnectionRequestRequestToJSON)(requestParameters['apiConnectionRequestRequest']),
|
|
196
|
+
};
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* Execute a safe, audited outbound request (all gates run in the service).
|
|
201
|
+
* Execute Api Connection Request Handler
|
|
202
|
+
*/
|
|
203
|
+
executeApiConnectionRequestRaw(requestParameters, initOverrides) {
|
|
204
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
+
const requestOptions = yield this.executeApiConnectionRequestRequestOpts(requestParameters);
|
|
206
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
207
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiConnectionRequestResponseFromJSON)(jsonValue));
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Execute a safe, audited outbound request (all gates run in the service).
|
|
212
|
+
* Execute Api Connection Request Handler
|
|
213
|
+
*/
|
|
214
|
+
executeApiConnectionRequest(requestParameters, initOverrides) {
|
|
215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
+
const response = yield this.executeApiConnectionRequestRaw(requestParameters, initOverrides);
|
|
217
|
+
return yield response.value();
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Creates request options for getApiConnection without sending the request
|
|
222
|
+
*/
|
|
223
|
+
getApiConnectionRequestOpts(requestParameters) {
|
|
224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
225
|
+
if (requestParameters['connectionId'] == null) {
|
|
226
|
+
throw new runtime.RequiredError('connectionId', 'Required parameter "connectionId" was null or undefined when calling getApiConnection().');
|
|
227
|
+
}
|
|
228
|
+
const queryParameters = {};
|
|
229
|
+
const headerParameters = {};
|
|
230
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
231
|
+
const token = this.configuration.accessToken;
|
|
232
|
+
const tokenString = yield token("bearerAuth", []);
|
|
233
|
+
if (tokenString) {
|
|
234
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
let urlPath = `/v1/api-connections/{connection_id}`;
|
|
238
|
+
urlPath = urlPath.replace(`{${"connection_id"}}`, encodeURIComponent(String(requestParameters['connectionId'])));
|
|
239
|
+
return {
|
|
240
|
+
path: urlPath,
|
|
241
|
+
method: 'GET',
|
|
242
|
+
headers: headerParameters,
|
|
243
|
+
query: queryParameters,
|
|
244
|
+
};
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Get a connection (no secret); requires read access.
|
|
249
|
+
* Get Api Connection Handler
|
|
250
|
+
*/
|
|
251
|
+
getApiConnectionRaw(requestParameters, initOverrides) {
|
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
253
|
+
const requestOptions = yield this.getApiConnectionRequestOpts(requestParameters);
|
|
254
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
255
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiConnectionResponseFromJSON)(jsonValue));
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Get a connection (no secret); requires read access.
|
|
260
|
+
* Get Api Connection Handler
|
|
261
|
+
*/
|
|
262
|
+
getApiConnection(requestParameters, initOverrides) {
|
|
263
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
+
const response = yield this.getApiConnectionRaw(requestParameters, initOverrides);
|
|
265
|
+
return yield response.value();
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Creates request options for updateApiConnection without sending the request
|
|
270
|
+
*/
|
|
271
|
+
updateApiConnectionRequestOpts(requestParameters) {
|
|
272
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
273
|
+
if (requestParameters['connectionId'] == null) {
|
|
274
|
+
throw new runtime.RequiredError('connectionId', 'Required parameter "connectionId" was null or undefined when calling updateApiConnection().');
|
|
275
|
+
}
|
|
276
|
+
if (requestParameters['updateApiConnectionRequest'] == null) {
|
|
277
|
+
throw new runtime.RequiredError('updateApiConnectionRequest', 'Required parameter "updateApiConnectionRequest" was null or undefined when calling updateApiConnection().');
|
|
278
|
+
}
|
|
279
|
+
const queryParameters = {};
|
|
280
|
+
const headerParameters = {};
|
|
281
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
282
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
283
|
+
const token = this.configuration.accessToken;
|
|
284
|
+
const tokenString = yield token("bearerAuth", []);
|
|
285
|
+
if (tokenString) {
|
|
286
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
let urlPath = `/v1/api-connections/{connection_id}`;
|
|
290
|
+
urlPath = urlPath.replace(`{${"connection_id"}}`, encodeURIComponent(String(requestParameters['connectionId'])));
|
|
291
|
+
return {
|
|
292
|
+
path: urlPath,
|
|
293
|
+
method: 'PATCH',
|
|
294
|
+
headers: headerParameters,
|
|
295
|
+
query: queryParameters,
|
|
296
|
+
body: (0, index_1.UpdateApiConnectionRequestToJSON)(requestParameters['updateApiConnectionRequest']),
|
|
297
|
+
};
|
|
298
|
+
});
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Update a connection (Admin/Owner). A risk-up change re-arms the disclaimer.
|
|
302
|
+
* Update Api Connection Handler
|
|
303
|
+
*/
|
|
304
|
+
updateApiConnectionRaw(requestParameters, initOverrides) {
|
|
305
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
306
|
+
const requestOptions = yield this.updateApiConnectionRequestOpts(requestParameters);
|
|
307
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
308
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiConnectionResponseFromJSON)(jsonValue));
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Update a connection (Admin/Owner). A risk-up change re-arms the disclaimer.
|
|
313
|
+
* Update Api Connection Handler
|
|
314
|
+
*/
|
|
315
|
+
updateApiConnection(requestParameters, initOverrides) {
|
|
316
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
317
|
+
const response = yield this.updateApiConnectionRaw(requestParameters, initOverrides);
|
|
318
|
+
return yield response.value();
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
exports.ApiConnectionsApi = ApiConnectionsApi;
|
|
@@ -10,7 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { PaginatedResponseEventResponse } from '../models/index';
|
|
13
|
+
import type { PaginatedResponseEventResponse, SortDirection } from '../models/index';
|
|
14
|
+
export interface ExportAuditEventsRequest {
|
|
15
|
+
actorUserId?: string | null;
|
|
16
|
+
kind?: string | null;
|
|
17
|
+
since?: Date | null;
|
|
18
|
+
until?: Date | null;
|
|
19
|
+
subjectPathPartId?: string | null;
|
|
20
|
+
recursive?: boolean;
|
|
21
|
+
}
|
|
14
22
|
export interface ListAuditEventsRequest {
|
|
15
23
|
actorUserId?: string | null;
|
|
16
24
|
kind?: string | null;
|
|
@@ -18,6 +26,7 @@ export interface ListAuditEventsRequest {
|
|
|
18
26
|
until?: Date | null;
|
|
19
27
|
subjectPathPartId?: string | null;
|
|
20
28
|
recursive?: boolean;
|
|
29
|
+
sortDir?: SortDirection;
|
|
21
30
|
limit?: number;
|
|
22
31
|
offset?: number;
|
|
23
32
|
}
|
|
@@ -28,6 +37,37 @@ export interface ListAuditEventsRequest {
|
|
|
28
37
|
* @interface AuditEventsApiInterface
|
|
29
38
|
*/
|
|
30
39
|
export interface AuditEventsApiInterface {
|
|
40
|
+
/**
|
|
41
|
+
* Creates request options for exportAuditEvents without sending the request
|
|
42
|
+
* @param {string} [actorUserId] Filter to one actor
|
|
43
|
+
* @param {string} [kind] Filter to one event kind
|
|
44
|
+
* @param {Date} [since] Only events at or after this timestamp
|
|
45
|
+
* @param {Date} [until] Only events strictly before this timestamp
|
|
46
|
+
* @param {string} [subjectPathPartId] Scope to one document/folder/run subject
|
|
47
|
+
* @param {boolean} [recursive] Include the subject\'s descendants (needs subject)
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
* @memberof AuditEventsApiInterface
|
|
50
|
+
*/
|
|
51
|
+
exportAuditEventsRequestOpts(requestParameters: ExportAuditEventsRequest): Promise<runtime.RequestOpts>;
|
|
52
|
+
/**
|
|
53
|
+
* Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
|
|
54
|
+
* @summary Export Audit Events Handler
|
|
55
|
+
* @param {string} [actorUserId] Filter to one actor
|
|
56
|
+
* @param {string} [kind] Filter to one event kind
|
|
57
|
+
* @param {Date} [since] Only events at or after this timestamp
|
|
58
|
+
* @param {Date} [until] Only events strictly before this timestamp
|
|
59
|
+
* @param {string} [subjectPathPartId] Scope to one document/folder/run subject
|
|
60
|
+
* @param {boolean} [recursive] Include the subject\'s descendants (needs subject)
|
|
61
|
+
* @param {*} [options] Override http request option.
|
|
62
|
+
* @throws {RequiredError}
|
|
63
|
+
* @memberof AuditEventsApiInterface
|
|
64
|
+
*/
|
|
65
|
+
exportAuditEventsRaw(requestParameters: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
66
|
+
/**
|
|
67
|
+
* Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
|
|
68
|
+
* Export Audit Events Handler
|
|
69
|
+
*/
|
|
70
|
+
exportAuditEvents(requestParameters: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
31
71
|
/**
|
|
32
72
|
* Creates request options for listAuditEvents without sending the request
|
|
33
73
|
* @param {string} [actorUserId] Filter to one actor
|
|
@@ -36,6 +76,7 @@ export interface AuditEventsApiInterface {
|
|
|
36
76
|
* @param {Date} [until] Only events strictly before this timestamp
|
|
37
77
|
* @param {string} [subjectPathPartId] Scope to one document/folder/run subject
|
|
38
78
|
* @param {boolean} [recursive] Include the subject\'s descendants (needs subject)
|
|
79
|
+
* @param {SortDirection} [sortDir] Sort by timestamp (default: DESC, newest first)
|
|
39
80
|
* @param {number} [limit] Number of items per page
|
|
40
81
|
* @param {number} [offset] Number of items to skip
|
|
41
82
|
* @throws {RequiredError}
|
|
@@ -51,6 +92,7 @@ export interface AuditEventsApiInterface {
|
|
|
51
92
|
* @param {Date} [until] Only events strictly before this timestamp
|
|
52
93
|
* @param {string} [subjectPathPartId] Scope to one document/folder/run subject
|
|
53
94
|
* @param {boolean} [recursive] Include the subject\'s descendants (needs subject)
|
|
95
|
+
* @param {SortDirection} [sortDir] Sort by timestamp (default: DESC, newest first)
|
|
54
96
|
* @param {number} [limit] Number of items per page
|
|
55
97
|
* @param {number} [offset] Number of items to skip
|
|
56
98
|
* @param {*} [options] Override http request option.
|
|
@@ -68,6 +110,20 @@ export interface AuditEventsApiInterface {
|
|
|
68
110
|
*
|
|
69
111
|
*/
|
|
70
112
|
export declare class AuditEventsApi extends runtime.BaseAPI implements AuditEventsApiInterface {
|
|
113
|
+
/**
|
|
114
|
+
* Creates request options for exportAuditEvents without sending the request
|
|
115
|
+
*/
|
|
116
|
+
exportAuditEventsRequestOpts(requestParameters: ExportAuditEventsRequest): Promise<runtime.RequestOpts>;
|
|
117
|
+
/**
|
|
118
|
+
* Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
|
|
119
|
+
* Export Audit Events Handler
|
|
120
|
+
*/
|
|
121
|
+
exportAuditEventsRaw(requestParameters: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
122
|
+
/**
|
|
123
|
+
* Export the tenant\'s audit events as a CSV download (admin/owner only). Same filters as ``list_audit_events`` but unpaginated — streams every matching event newest-first. Each row resolves the actor\'s name and the subject\'s name + path so an auditor can read the file directly in Excel.
|
|
124
|
+
* Export Audit Events Handler
|
|
125
|
+
*/
|
|
126
|
+
exportAuditEvents(requestParameters?: ExportAuditEventsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
71
127
|
/**
|
|
72
128
|
* Creates request options for listAuditEvents without sending the request
|
|
73
129
|
*/
|