@openfilz-sdk/typescript-ee 1.3.5
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 +167 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -0
- package/.openapi-generator-ignore +23 -0
- package/LICENSE +148 -0
- package/README.md +211 -0
- package/api/audit-controller-api.ts +283 -0
- package/api/collaboration-controller-api.ts +1172 -0
- package/api/comments-api.ts +284 -0
- package/api/dashboard-api.ts +121 -0
- package/api/document-controller-api.ts +1287 -0
- package/api/document-suggestion-controller-api.ts +149 -0
- package/api/favorites-api.ts +340 -0
- package/api/file-controller-api.ts +363 -0
- package/api/folder-controller-api.ts +605 -0
- package/api/notifications-api.ts +386 -0
- package/api/scan-agent-api.ts +206 -0
- package/api/scanner-proxy-api.ts +428 -0
- package/api/search-administration-api.ts +314 -0
- package/api/settings-api.ts +196 -0
- package/api/tus-controller-api.ts +738 -0
- package/api.ts +32 -0
- package/base.ts +62 -0
- package/common.ts +127 -0
- package/configuration.ts +121 -0
- package/dist/api/audit-controller-api.d.ts +138 -0
- package/dist/api/audit-controller-api.js +275 -0
- package/dist/api/collaboration-controller-api.d.ts +534 -0
- package/dist/api/collaboration-controller-api.js +1120 -0
- package/dist/api/comments-api.d.ts +137 -0
- package/dist/api/comments-api.js +278 -0
- package/dist/api/dashboard-api.d.ts +63 -0
- package/dist/api/dashboard-api.js +125 -0
- package/dist/api/document-controller-api.d.ts +594 -0
- package/dist/api/document-controller-api.js +1219 -0
- package/dist/api/document-suggestion-controller-api.d.ts +73 -0
- package/dist/api/document-suggestion-controller-api.js +146 -0
- package/dist/api/favorites-api.d.ts +162 -0
- package/dist/api/favorites-api.js +337 -0
- package/dist/api/file-controller-api.d.ts +172 -0
- package/dist/api/file-controller-api.js +348 -0
- package/dist/api/folder-controller-api.d.ts +282 -0
- package/dist/api/folder-controller-api.js +573 -0
- package/dist/api/notifications-api.d.ts +179 -0
- package/dist/api/notifications-api.js +378 -0
- package/dist/api/scan-agent-api.d.ts +108 -0
- package/dist/api/scan-agent-api.js +208 -0
- package/dist/api/scanner-proxy-api.d.ts +202 -0
- package/dist/api/scanner-proxy-api.js +414 -0
- package/dist/api/search-administration-api.d.ts +146 -0
- package/dist/api/search-administration-api.js +311 -0
- package/dist/api/settings-api.d.ts +96 -0
- package/dist/api/settings-api.js +195 -0
- package/dist/api/tus-controller-api.d.ts +338 -0
- package/dist/api/tus-controller-api.js +712 -0
- package/dist/api.d.ts +26 -0
- package/dist/api.js +44 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +139 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api/audit-controller-api.d.ts +138 -0
- package/dist/esm/api/audit-controller-api.js +268 -0
- package/dist/esm/api/collaboration-controller-api.d.ts +534 -0
- package/dist/esm/api/collaboration-controller-api.js +1113 -0
- package/dist/esm/api/comments-api.d.ts +137 -0
- package/dist/esm/api/comments-api.js +271 -0
- package/dist/esm/api/dashboard-api.d.ts +63 -0
- package/dist/esm/api/dashboard-api.js +118 -0
- package/dist/esm/api/document-controller-api.d.ts +594 -0
- package/dist/esm/api/document-controller-api.js +1212 -0
- package/dist/esm/api/document-suggestion-controller-api.d.ts +73 -0
- package/dist/esm/api/document-suggestion-controller-api.js +139 -0
- package/dist/esm/api/favorites-api.d.ts +162 -0
- package/dist/esm/api/favorites-api.js +330 -0
- package/dist/esm/api/file-controller-api.d.ts +172 -0
- package/dist/esm/api/file-controller-api.js +341 -0
- package/dist/esm/api/folder-controller-api.d.ts +282 -0
- package/dist/esm/api/folder-controller-api.js +566 -0
- package/dist/esm/api/notifications-api.d.ts +179 -0
- package/dist/esm/api/notifications-api.js +371 -0
- package/dist/esm/api/scan-agent-api.d.ts +108 -0
- package/dist/esm/api/scan-agent-api.js +201 -0
- package/dist/esm/api/scanner-proxy-api.d.ts +202 -0
- package/dist/esm/api/scanner-proxy-api.js +407 -0
- package/dist/esm/api/search-administration-api.d.ts +146 -0
- package/dist/esm/api/search-administration-api.js +304 -0
- package/dist/esm/api/settings-api.d.ts +96 -0
- package/dist/esm/api/settings-api.js +188 -0
- package/dist/esm/api/tus-controller-api.d.ts +338 -0
- package/dist/esm/api/tus-controller-api.js +705 -0
- package/dist/esm/api.d.ts +26 -0
- package/dist/esm/api.js +28 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +34 -0
- package/dist/esm/common.js +126 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/models/ancestor-info.d.ts +16 -0
- package/dist/esm/models/ancestor-info.js +14 -0
- package/dist/esm/models/audit-log-details-one-of.d.ts +42 -0
- package/dist/esm/models/audit-log-details-one-of.js +14 -0
- package/dist/esm/models/audit-log-details.d.ts +14 -0
- package/dist/esm/models/audit-log-details.js +14 -0
- package/dist/esm/models/audit-log.d.ts +63 -0
- package/dist/esm/models/audit-log.js +49 -0
- package/dist/esm/models/audit-verification-result.d.ts +28 -0
- package/dist/esm/models/audit-verification-result.js +18 -0
- package/dist/esm/models/broken-link.d.ts +16 -0
- package/dist/esm/models/broken-link.js +14 -0
- package/dist/esm/models/comment-dto.d.ts +22 -0
- package/dist/esm/models/comment-dto.js +14 -0
- package/dist/esm/models/copy-audit.d.ts +17 -0
- package/dist/esm/models/copy-audit.js +14 -0
- package/dist/esm/models/copy-request.d.ts +25 -0
- package/dist/esm/models/copy-request.js +14 -0
- package/dist/esm/models/copy-response.d.ts +21 -0
- package/dist/esm/models/copy-response.js +14 -0
- package/dist/esm/models/create-blank-document-request.d.ts +29 -0
- package/dist/esm/models/create-blank-document-request.js +19 -0
- package/dist/esm/models/create-comment-request.d.ts +25 -0
- package/dist/esm/models/create-comment-request.js +14 -0
- package/dist/esm/models/create-folder-audit.d.ts +17 -0
- package/dist/esm/models/create-folder-audit.js +14 -0
- package/dist/esm/models/create-folder-request.d.ts +18 -0
- package/dist/esm/models/create-folder-request.js +14 -0
- package/dist/esm/models/create-team-request.d.ts +15 -0
- package/dist/esm/models/create-team-request.js +14 -0
- package/dist/esm/models/dashboard-statistics-response.d.ts +19 -0
- package/dist/esm/models/dashboard-statistics-response.js +14 -0
- package/dist/esm/models/delete-audit.d.ts +17 -0
- package/dist/esm/models/delete-audit.js +14 -0
- package/dist/esm/models/delete-metadata-audit.d.ts +17 -0
- package/dist/esm/models/delete-metadata-audit.js +14 -0
- package/dist/esm/models/delete-metadata-request.d.ts +17 -0
- package/dist/esm/models/delete-metadata-request.js +14 -0
- package/dist/esm/models/delete-request.d.ts +17 -0
- package/dist/esm/models/delete-request.js +14 -0
- package/dist/esm/models/delete-share-request.d.ts +18 -0
- package/dist/esm/models/delete-share-request.js +14 -0
- package/dist/esm/models/document-info.d.ts +44 -0
- package/dist/esm/models/document-info.js +17 -0
- package/dist/esm/models/document-position.d.ts +17 -0
- package/dist/esm/models/document-position.js +14 -0
- package/dist/esm/models/element-info.d.ts +16 -0
- package/dist/esm/models/element-info.js +14 -0
- package/dist/esm/models/file-type-stats.d.ts +16 -0
- package/dist/esm/models/file-type-stats.js +14 -0
- package/dist/esm/models/filter-input.d.ts +15 -0
- package/dist/esm/models/filter-input.js +14 -0
- package/dist/esm/models/folder-element-info.d.ts +30 -0
- package/dist/esm/models/folder-element-info.js +17 -0
- package/dist/esm/models/folder-response.d.ts +16 -0
- package/dist/esm/models/folder-response.js +14 -0
- package/dist/esm/models/index.d.ts +62 -0
- package/dist/esm/models/index.js +62 -0
- package/dist/esm/models/ingestion-status-dto.d.ts +22 -0
- package/dist/esm/models/ingestion-status-dto.js +14 -0
- package/dist/esm/models/move-audit.d.ts +17 -0
- package/dist/esm/models/move-audit.js +14 -0
- package/dist/esm/models/move-request.d.ts +25 -0
- package/dist/esm/models/move-request.js +14 -0
- package/dist/esm/models/notification-dto.d.ts +29 -0
- package/dist/esm/models/notification-dto.js +19 -0
- package/dist/esm/models/rename-audit.d.ts +17 -0
- package/dist/esm/models/rename-audit.js +14 -0
- package/dist/esm/models/rename-request.d.ts +14 -0
- package/dist/esm/models/rename-request.js +14 -0
- package/dist/esm/models/replace-audit.d.ts +17 -0
- package/dist/esm/models/replace-audit.js +14 -0
- package/dist/esm/models/scan-job-status-dto.d.ts +20 -0
- package/dist/esm/models/scan-job-status-dto.js +14 -0
- package/dist/esm/models/scan-request-dto.d.ts +18 -0
- package/dist/esm/models/scan-request-dto.js +14 -0
- package/dist/esm/models/scanner-info-dto.d.ts +22 -0
- package/dist/esm/models/scanner-info-dto.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +76 -0
- package/dist/esm/models/search-by-audit-log-request.js +49 -0
- package/dist/esm/models/search-by-metadata-request.d.ts +43 -0
- package/dist/esm/models/search-by-metadata-request.js +17 -0
- package/dist/esm/models/search-metadata-request.d.ts +17 -0
- package/dist/esm/models/search-metadata-request.js +14 -0
- package/dist/esm/models/settings.d.ts +19 -0
- package/dist/esm/models/settings.js +14 -0
- package/dist/esm/models/share-request.d.ts +35 -0
- package/dist/esm/models/share-request.js +18 -0
- package/dist/esm/models/share-result-error.d.ts +26 -0
- package/dist/esm/models/share-result-error.js +22 -0
- package/dist/esm/models/share-result-item.d.ts +15 -0
- package/dist/esm/models/share-result-item.js +14 -0
- package/dist/esm/models/share-result-response.d.ts +18 -0
- package/dist/esm/models/share-result-response.js +14 -0
- package/dist/esm/models/sort-input.d.ts +20 -0
- package/dist/esm/models/sort-input.js +17 -0
- package/dist/esm/models/storage-breakdown.d.ts +17 -0
- package/dist/esm/models/storage-breakdown.js +14 -0
- package/dist/esm/models/suggest.d.ts +17 -0
- package/dist/esm/models/suggest.js +14 -0
- package/dist/esm/models/team-member-info.d.ts +23 -0
- package/dist/esm/models/team-member-info.js +18 -0
- package/dist/esm/models/tus-config-response.d.ts +18 -0
- package/dist/esm/models/tus-config-response.js +14 -0
- package/dist/esm/models/tus-finalize-request.d.ts +19 -0
- package/dist/esm/models/tus-finalize-request.js +14 -0
- package/dist/esm/models/tus-upload-info.d.ts +18 -0
- package/dist/esm/models/tus-upload-info.js +14 -0
- package/dist/esm/models/update-comment-request.d.ts +21 -0
- package/dist/esm/models/update-comment-request.js +14 -0
- package/dist/esm/models/update-metadata-audit.d.ts +17 -0
- package/dist/esm/models/update-metadata-audit.js +14 -0
- package/dist/esm/models/update-metadata-request.d.ts +19 -0
- package/dist/esm/models/update-metadata-request.js +14 -0
- package/dist/esm/models/update-team-request.d.ts +15 -0
- package/dist/esm/models/update-team-request.js +14 -0
- package/dist/esm/models/update-user-request.d.ts +22 -0
- package/dist/esm/models/update-user-request.js +18 -0
- package/dist/esm/models/upload-audit.d.ts +17 -0
- package/dist/esm/models/upload-audit.js +14 -0
- package/dist/esm/models/upload-response.d.ts +19 -0
- package/dist/esm/models/upload-response.js +14 -0
- package/dist/esm/models/user-preferences-request.d.ts +15 -0
- package/dist/esm/models/user-preferences-request.js +14 -0
- package/dist/esm/models/user-registration-request.d.ts +22 -0
- package/dist/esm/models/user-registration-request.js +18 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/models/ancestor-info.d.ts +16 -0
- package/dist/models/ancestor-info.js +15 -0
- package/dist/models/audit-log-details-one-of.d.ts +42 -0
- package/dist/models/audit-log-details-one-of.js +15 -0
- package/dist/models/audit-log-details.d.ts +14 -0
- package/dist/models/audit-log-details.js +15 -0
- package/dist/models/audit-log.d.ts +63 -0
- package/dist/models/audit-log.js +52 -0
- package/dist/models/audit-verification-result.d.ts +28 -0
- package/dist/models/audit-verification-result.js +21 -0
- package/dist/models/broken-link.d.ts +16 -0
- package/dist/models/broken-link.js +15 -0
- package/dist/models/comment-dto.d.ts +22 -0
- package/dist/models/comment-dto.js +15 -0
- package/dist/models/copy-audit.d.ts +17 -0
- package/dist/models/copy-audit.js +15 -0
- package/dist/models/copy-request.d.ts +25 -0
- package/dist/models/copy-request.js +15 -0
- package/dist/models/copy-response.d.ts +21 -0
- package/dist/models/copy-response.js +15 -0
- package/dist/models/create-blank-document-request.d.ts +29 -0
- package/dist/models/create-blank-document-request.js +22 -0
- package/dist/models/create-comment-request.d.ts +25 -0
- package/dist/models/create-comment-request.js +15 -0
- package/dist/models/create-folder-audit.d.ts +17 -0
- package/dist/models/create-folder-audit.js +15 -0
- package/dist/models/create-folder-request.d.ts +18 -0
- package/dist/models/create-folder-request.js +15 -0
- package/dist/models/create-team-request.d.ts +15 -0
- package/dist/models/create-team-request.js +15 -0
- package/dist/models/dashboard-statistics-response.d.ts +19 -0
- package/dist/models/dashboard-statistics-response.js +15 -0
- package/dist/models/delete-audit.d.ts +17 -0
- package/dist/models/delete-audit.js +15 -0
- package/dist/models/delete-metadata-audit.d.ts +17 -0
- package/dist/models/delete-metadata-audit.js +15 -0
- package/dist/models/delete-metadata-request.d.ts +17 -0
- package/dist/models/delete-metadata-request.js +15 -0
- package/dist/models/delete-request.d.ts +17 -0
- package/dist/models/delete-request.js +15 -0
- package/dist/models/delete-share-request.d.ts +18 -0
- package/dist/models/delete-share-request.js +15 -0
- package/dist/models/document-info.d.ts +44 -0
- package/dist/models/document-info.js +20 -0
- package/dist/models/document-position.d.ts +17 -0
- package/dist/models/document-position.js +15 -0
- package/dist/models/element-info.d.ts +16 -0
- package/dist/models/element-info.js +15 -0
- package/dist/models/file-type-stats.d.ts +16 -0
- package/dist/models/file-type-stats.js +15 -0
- package/dist/models/filter-input.d.ts +15 -0
- package/dist/models/filter-input.js +15 -0
- package/dist/models/folder-element-info.d.ts +30 -0
- package/dist/models/folder-element-info.js +20 -0
- package/dist/models/folder-response.d.ts +16 -0
- package/dist/models/folder-response.js +15 -0
- package/dist/models/index.d.ts +62 -0
- package/dist/models/index.js +78 -0
- package/dist/models/ingestion-status-dto.d.ts +22 -0
- package/dist/models/ingestion-status-dto.js +15 -0
- package/dist/models/move-audit.d.ts +17 -0
- package/dist/models/move-audit.js +15 -0
- package/dist/models/move-request.d.ts +25 -0
- package/dist/models/move-request.js +15 -0
- package/dist/models/notification-dto.d.ts +29 -0
- package/dist/models/notification-dto.js +22 -0
- package/dist/models/rename-audit.d.ts +17 -0
- package/dist/models/rename-audit.js +15 -0
- package/dist/models/rename-request.d.ts +14 -0
- package/dist/models/rename-request.js +15 -0
- package/dist/models/replace-audit.d.ts +17 -0
- package/dist/models/replace-audit.js +15 -0
- package/dist/models/scan-job-status-dto.d.ts +20 -0
- package/dist/models/scan-job-status-dto.js +15 -0
- package/dist/models/scan-request-dto.d.ts +18 -0
- package/dist/models/scan-request-dto.js +15 -0
- package/dist/models/scanner-info-dto.d.ts +22 -0
- package/dist/models/scanner-info-dto.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +76 -0
- package/dist/models/search-by-audit-log-request.js +52 -0
- package/dist/models/search-by-metadata-request.d.ts +43 -0
- package/dist/models/search-by-metadata-request.js +20 -0
- package/dist/models/search-metadata-request.d.ts +17 -0
- package/dist/models/search-metadata-request.js +15 -0
- package/dist/models/settings.d.ts +19 -0
- package/dist/models/settings.js +15 -0
- package/dist/models/share-request.d.ts +35 -0
- package/dist/models/share-request.js +21 -0
- package/dist/models/share-result-error.d.ts +26 -0
- package/dist/models/share-result-error.js +25 -0
- package/dist/models/share-result-item.d.ts +15 -0
- package/dist/models/share-result-item.js +15 -0
- package/dist/models/share-result-response.d.ts +18 -0
- package/dist/models/share-result-response.js +15 -0
- package/dist/models/sort-input.d.ts +20 -0
- package/dist/models/sort-input.js +20 -0
- package/dist/models/storage-breakdown.d.ts +17 -0
- package/dist/models/storage-breakdown.js +15 -0
- package/dist/models/suggest.d.ts +17 -0
- package/dist/models/suggest.js +15 -0
- package/dist/models/team-member-info.d.ts +23 -0
- package/dist/models/team-member-info.js +21 -0
- package/dist/models/tus-config-response.d.ts +18 -0
- package/dist/models/tus-config-response.js +15 -0
- package/dist/models/tus-finalize-request.d.ts +19 -0
- package/dist/models/tus-finalize-request.js +15 -0
- package/dist/models/tus-upload-info.d.ts +18 -0
- package/dist/models/tus-upload-info.js +15 -0
- package/dist/models/update-comment-request.d.ts +21 -0
- package/dist/models/update-comment-request.js +15 -0
- package/dist/models/update-metadata-audit.d.ts +17 -0
- package/dist/models/update-metadata-audit.js +15 -0
- package/dist/models/update-metadata-request.d.ts +19 -0
- package/dist/models/update-metadata-request.js +15 -0
- package/dist/models/update-team-request.d.ts +15 -0
- package/dist/models/update-team-request.js +15 -0
- package/dist/models/update-user-request.d.ts +22 -0
- package/dist/models/update-user-request.js +21 -0
- package/dist/models/upload-audit.d.ts +17 -0
- package/dist/models/upload-audit.js +15 -0
- package/dist/models/upload-response.d.ts +19 -0
- package/dist/models/upload-response.js +15 -0
- package/dist/models/user-preferences-request.d.ts +15 -0
- package/dist/models/user-preferences-request.js +15 -0
- package/dist/models/user-registration-request.d.ts +22 -0
- package/dist/models/user-registration-request.js +21 -0
- package/docs/AncestorInfo.md +24 -0
- package/docs/AuditControllerApi.md +160 -0
- package/docs/AuditLog.md +35 -0
- package/docs/AuditLogDetails.md +20 -0
- package/docs/AuditLogDetailsOneOf.md +42 -0
- package/docs/AuditVerificationResult.md +29 -0
- package/docs/BrokenLink.md +24 -0
- package/docs/CollaborationControllerApi.md +802 -0
- package/docs/CommentDTO.md +36 -0
- package/docs/CommentsApi.md +168 -0
- package/docs/CopyAudit.md +25 -0
- package/docs/CopyRequest.md +24 -0
- package/docs/CopyResponse.md +22 -0
- package/docs/CreateBlankDocumentRequest.md +24 -0
- package/docs/CreateCommentRequest.md +24 -0
- package/docs/CreateFolderAudit.md +23 -0
- package/docs/CreateFolderRequest.md +22 -0
- package/docs/CreateTeamRequest.md +22 -0
- package/docs/DashboardApi.md +52 -0
- package/docs/DashboardStatisticsResponse.md +26 -0
- package/docs/DeleteAudit.md +21 -0
- package/docs/DeleteMetadataAudit.md +21 -0
- package/docs/DeleteMetadataRequest.md +20 -0
- package/docs/DeleteRequest.md +20 -0
- package/docs/DeleteShareRequest.md +22 -0
- package/docs/DocumentControllerApi.md +834 -0
- package/docs/DocumentInfo.md +30 -0
- package/docs/DocumentPosition.md +26 -0
- package/docs/DocumentSuggestionControllerApi.md +65 -0
- package/docs/ElementInfo.md +24 -0
- package/docs/FavoritesApi.md +215 -0
- package/docs/FileControllerApi.md +222 -0
- package/docs/FileTypeStats.md +24 -0
- package/docs/FilterInput.md +22 -0
- package/docs/FolderControllerApi.md +385 -0
- package/docs/FolderElementInfo.md +24 -0
- package/docs/FolderResponse.md +24 -0
- package/docs/IngestionStatusDto.md +36 -0
- package/docs/MoveAudit.md +21 -0
- package/docs/MoveRequest.md +24 -0
- package/docs/NotificationDTO.md +36 -0
- package/docs/NotificationsApi.md +239 -0
- package/docs/RenameAudit.md +21 -0
- package/docs/RenameRequest.md +20 -0
- package/docs/ReplaceAudit.md +23 -0
- package/docs/ScanAgentApi.md +110 -0
- package/docs/ScanJobStatusDto.md +32 -0
- package/docs/ScanRequestDto.md +28 -0
- package/docs/ScannerInfoDto.md +36 -0
- package/docs/ScannerProxyApi.md +263 -0
- package/docs/SearchAdministrationApi.md +187 -0
- package/docs/SearchByAuditLogRequest.md +29 -0
- package/docs/SearchByMetadataRequest.md +29 -0
- package/docs/SearchMetadataRequest.md +20 -0
- package/docs/Settings.md +30 -0
- package/docs/SettingsApi.md +105 -0
- package/docs/ShareRequest.md +26 -0
- package/docs/ShareResultError.md +24 -0
- package/docs/ShareResultItem.md +22 -0
- package/docs/ShareResultResponse.md +24 -0
- package/docs/SortInput.md +22 -0
- package/docs/StorageBreakdown.md +24 -0
- package/docs/Suggest.md +26 -0
- package/docs/TeamMemberInfo.md +26 -0
- package/docs/TusConfigResponse.md +28 -0
- package/docs/TusControllerApi.md +493 -0
- package/docs/TusFinalizeRequest.md +26 -0
- package/docs/TusUploadInfo.md +28 -0
- package/docs/UpdateCommentRequest.md +22 -0
- package/docs/UpdateMetadataAudit.md +21 -0
- package/docs/UpdateMetadataRequest.md +20 -0
- package/docs/UpdateTeamRequest.md +22 -0
- package/docs/UpdateUserRequest.md +24 -0
- package/docs/UploadAudit.md +25 -0
- package/docs/UploadResponse.md +30 -0
- package/docs/UserPreferencesRequest.md +22 -0
- package/docs/UserRegistrationRequest.md +24 -0
- package/git_push.sh +57 -0
- package/graphql/analytics.graphqls +101 -0
- package/graphql/comment.graphqls +33 -0
- package/graphql/document-search.graphqls +44 -0
- package/graphql/document.graphqls +116 -0
- package/graphql/share.graphqls +168 -0
- package/index.ts +18 -0
- package/models/ancestor-info.ts +22 -0
- package/models/audit-log-details-one-of.ts +70 -0
- package/models/audit-log-details.ts +20 -0
- package/models/audit-log.ts +75 -0
- package/models/audit-verification-result.ts +39 -0
- package/models/broken-link.ts +22 -0
- package/models/comment-dto.ts +28 -0
- package/models/copy-audit.ts +26 -0
- package/models/copy-request.ts +31 -0
- package/models/copy-response.ts +27 -0
- package/models/create-blank-document-request.ts +38 -0
- package/models/create-comment-request.ts +31 -0
- package/models/create-folder-audit.ts +29 -0
- package/models/create-folder-request.ts +24 -0
- package/models/create-team-request.ts +21 -0
- package/models/dashboard-statistics-response.ts +29 -0
- package/models/delete-audit.ts +26 -0
- package/models/delete-metadata-audit.ts +26 -0
- package/models/delete-metadata-request.ts +23 -0
- package/models/delete-request.ts +23 -0
- package/models/delete-share-request.ts +24 -0
- package/models/document-info.ts +51 -0
- package/models/document-position.ts +23 -0
- package/models/element-info.ts +22 -0
- package/models/file-type-stats.ts +22 -0
- package/models/filter-input.ts +21 -0
- package/models/folder-element-info.ts +39 -0
- package/models/folder-response.ts +22 -0
- package/models/index.ts +62 -0
- package/models/ingestion-status-dto.ts +28 -0
- package/models/move-audit.ts +26 -0
- package/models/move-request.ts +31 -0
- package/models/notification-dto.ts +38 -0
- package/models/rename-audit.ts +26 -0
- package/models/rename-request.ts +20 -0
- package/models/replace-audit.ts +26 -0
- package/models/scan-job-status-dto.ts +26 -0
- package/models/scan-request-dto.ts +24 -0
- package/models/scanner-info-dto.ts +28 -0
- package/models/search-by-audit-log-request.ts +84 -0
- package/models/search-by-metadata-request.ts +50 -0
- package/models/search-metadata-request.ts +23 -0
- package/models/settings.ts +25 -0
- package/models/share-request.ts +44 -0
- package/models/share-result-error.ts +35 -0
- package/models/share-result-item.ts +21 -0
- package/models/share-result-response.ts +28 -0
- package/models/sort-input.ts +29 -0
- package/models/storage-breakdown.ts +25 -0
- package/models/suggest.ts +23 -0
- package/models/team-member-info.ts +32 -0
- package/models/tus-config-response.ts +24 -0
- package/models/tus-finalize-request.ts +23 -0
- package/models/tus-upload-info.ts +24 -0
- package/models/update-comment-request.ts +27 -0
- package/models/update-metadata-audit.ts +26 -0
- package/models/update-metadata-request.ts +23 -0
- package/models/update-team-request.ts +21 -0
- package/models/update-user-request.ts +31 -0
- package/models/upload-audit.ts +26 -0
- package/models/upload-response.ts +25 -0
- package/models/user-preferences-request.ts +21 -0
- package/models/user-registration-request.ts +31 -0
- package/package.json +33 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import type { NotificationDTO } from '../models';
|
|
26
|
+
/**
|
|
27
|
+
* NotificationsApi - axios parameter creator
|
|
28
|
+
*/
|
|
29
|
+
export const NotificationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
+
return {
|
|
31
|
+
/**
|
|
32
|
+
* Retrieve all notifications for the authenticated user
|
|
33
|
+
* @summary Get all notifications
|
|
34
|
+
* @param {*} [options] Override http request option.
|
|
35
|
+
* @throws {RequiredError}
|
|
36
|
+
*/
|
|
37
|
+
getNotifications: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38
|
+
const localVarPath = `/api/v1/notifications`;
|
|
39
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41
|
+
let baseOptions;
|
|
42
|
+
if (configuration) {
|
|
43
|
+
baseOptions = configuration.baseOptions;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
47
|
+
const localVarHeaderParameter = {} as any;
|
|
48
|
+
const localVarQueryParameter = {} as any;
|
|
49
|
+
|
|
50
|
+
// authentication keycloak_auth required
|
|
51
|
+
// http bearer authentication required
|
|
52
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
53
|
+
|
|
54
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
55
|
+
|
|
56
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
url: toPathString(localVarUrlObj),
|
|
62
|
+
options: localVarRequestOptions,
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Get the count of unread notifications for the authenticated user
|
|
67
|
+
* @summary Get unread notification count
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
getUnreadCount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
72
|
+
const localVarPath = `/api/v1/notifications/unread/count`;
|
|
73
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
|
+
let baseOptions;
|
|
76
|
+
if (configuration) {
|
|
77
|
+
baseOptions = configuration.baseOptions;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
81
|
+
const localVarHeaderParameter = {} as any;
|
|
82
|
+
const localVarQueryParameter = {} as any;
|
|
83
|
+
|
|
84
|
+
// authentication keycloak_auth required
|
|
85
|
+
// http bearer authentication required
|
|
86
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
87
|
+
|
|
88
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
89
|
+
|
|
90
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
93
|
+
|
|
94
|
+
return {
|
|
95
|
+
url: toPathString(localVarUrlObj),
|
|
96
|
+
options: localVarRequestOptions,
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
/**
|
|
100
|
+
* Mark all notifications for the authenticated user as read
|
|
101
|
+
* @summary Mark all notifications as read
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
markAllAsRead: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
106
|
+
const localVarPath = `/api/v1/notifications/read-all`;
|
|
107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
109
|
+
let baseOptions;
|
|
110
|
+
if (configuration) {
|
|
111
|
+
baseOptions = configuration.baseOptions;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
115
|
+
const localVarHeaderParameter = {} as any;
|
|
116
|
+
const localVarQueryParameter = {} as any;
|
|
117
|
+
|
|
118
|
+
// authentication keycloak_auth required
|
|
119
|
+
// http bearer authentication required
|
|
120
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
124
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
125
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
126
|
+
|
|
127
|
+
return {
|
|
128
|
+
url: toPathString(localVarUrlObj),
|
|
129
|
+
options: localVarRequestOptions,
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
/**
|
|
133
|
+
* Mark a specific notification as read
|
|
134
|
+
* @summary Mark notification as read
|
|
135
|
+
* @param {string} id
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
markAsRead: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
|
+
// verify required parameter 'id' is not null or undefined
|
|
141
|
+
assertParamExists('markAsRead', 'id', id)
|
|
142
|
+
const localVarPath = `/api/v1/notifications/{id}/read`
|
|
143
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
144
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
145
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
146
|
+
let baseOptions;
|
|
147
|
+
if (configuration) {
|
|
148
|
+
baseOptions = configuration.baseOptions;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
152
|
+
const localVarHeaderParameter = {} as any;
|
|
153
|
+
const localVarQueryParameter = {} as any;
|
|
154
|
+
|
|
155
|
+
// authentication keycloak_auth required
|
|
156
|
+
// http bearer authentication required
|
|
157
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
161
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
162
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
163
|
+
|
|
164
|
+
return {
|
|
165
|
+
url: toPathString(localVarUrlObj),
|
|
166
|
+
options: localVarRequestOptions,
|
|
167
|
+
};
|
|
168
|
+
},
|
|
169
|
+
/**
|
|
170
|
+
* Server-Sent Events stream for real-time notifications
|
|
171
|
+
* @summary Subscribe to notification stream
|
|
172
|
+
* @param {*} [options] Override http request option.
|
|
173
|
+
* @throws {RequiredError}
|
|
174
|
+
*/
|
|
175
|
+
streamNotifications: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
176
|
+
const localVarPath = `/api/v1/notifications/stream`;
|
|
177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
179
|
+
let baseOptions;
|
|
180
|
+
if (configuration) {
|
|
181
|
+
baseOptions = configuration.baseOptions;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
185
|
+
const localVarHeaderParameter = {} as any;
|
|
186
|
+
const localVarQueryParameter = {} as any;
|
|
187
|
+
|
|
188
|
+
// authentication keycloak_auth required
|
|
189
|
+
// http bearer authentication required
|
|
190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
191
|
+
|
|
192
|
+
localVarHeaderParameter['Accept'] = 'text/event-stream';
|
|
193
|
+
|
|
194
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
196
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
197
|
+
|
|
198
|
+
return {
|
|
199
|
+
url: toPathString(localVarUrlObj),
|
|
200
|
+
options: localVarRequestOptions,
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* NotificationsApi - functional programming interface
|
|
208
|
+
*/
|
|
209
|
+
export const NotificationsApiFp = function(configuration?: Configuration) {
|
|
210
|
+
const localVarAxiosParamCreator = NotificationsApiAxiosParamCreator(configuration)
|
|
211
|
+
return {
|
|
212
|
+
/**
|
|
213
|
+
* Retrieve all notifications for the authenticated user
|
|
214
|
+
* @summary Get all notifications
|
|
215
|
+
* @param {*} [options] Override http request option.
|
|
216
|
+
* @throws {RequiredError}
|
|
217
|
+
*/
|
|
218
|
+
async getNotifications(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<NotificationDTO>>> {
|
|
219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getNotifications(options);
|
|
220
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
221
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.getNotifications']?.[localVarOperationServerIndex]?.url;
|
|
222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
223
|
+
},
|
|
224
|
+
/**
|
|
225
|
+
* Get the count of unread notifications for the authenticated user
|
|
226
|
+
* @summary Get unread notification count
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
async getUnreadCount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<number>> {
|
|
231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUnreadCount(options);
|
|
232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
233
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.getUnreadCount']?.[localVarOperationServerIndex]?.url;
|
|
234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
235
|
+
},
|
|
236
|
+
/**
|
|
237
|
+
* Mark all notifications for the authenticated user as read
|
|
238
|
+
* @summary Mark all notifications as read
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
async markAllAsRead(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
243
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.markAllAsRead(options);
|
|
244
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
245
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.markAllAsRead']?.[localVarOperationServerIndex]?.url;
|
|
246
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
247
|
+
},
|
|
248
|
+
/**
|
|
249
|
+
* Mark a specific notification as read
|
|
250
|
+
* @summary Mark notification as read
|
|
251
|
+
* @param {string} id
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
*/
|
|
255
|
+
async markAsRead(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
256
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.markAsRead(id, options);
|
|
257
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
258
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.markAsRead']?.[localVarOperationServerIndex]?.url;
|
|
259
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
260
|
+
},
|
|
261
|
+
/**
|
|
262
|
+
* Server-Sent Events stream for real-time notifications
|
|
263
|
+
* @summary Subscribe to notification stream
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
async streamNotifications(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>> {
|
|
268
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.streamNotifications(options);
|
|
269
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
270
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationsApi.streamNotifications']?.[localVarOperationServerIndex]?.url;
|
|
271
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
272
|
+
},
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* NotificationsApi - factory interface
|
|
278
|
+
*/
|
|
279
|
+
export const NotificationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
280
|
+
const localVarFp = NotificationsApiFp(configuration)
|
|
281
|
+
return {
|
|
282
|
+
/**
|
|
283
|
+
* Retrieve all notifications for the authenticated user
|
|
284
|
+
* @summary Get all notifications
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @throws {RequiredError}
|
|
287
|
+
*/
|
|
288
|
+
getNotifications(options?: RawAxiosRequestConfig): AxiosPromise<Array<NotificationDTO>> {
|
|
289
|
+
return localVarFp.getNotifications(options).then((request) => request(axios, basePath));
|
|
290
|
+
},
|
|
291
|
+
/**
|
|
292
|
+
* Get the count of unread notifications for the authenticated user
|
|
293
|
+
* @summary Get unread notification count
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
getUnreadCount(options?: RawAxiosRequestConfig): AxiosPromise<number> {
|
|
298
|
+
return localVarFp.getUnreadCount(options).then((request) => request(axios, basePath));
|
|
299
|
+
},
|
|
300
|
+
/**
|
|
301
|
+
* Mark all notifications for the authenticated user as read
|
|
302
|
+
* @summary Mark all notifications as read
|
|
303
|
+
* @param {*} [options] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
markAllAsRead(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
307
|
+
return localVarFp.markAllAsRead(options).then((request) => request(axios, basePath));
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
* Mark a specific notification as read
|
|
311
|
+
* @summary Mark notification as read
|
|
312
|
+
* @param {string} id
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
markAsRead(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
317
|
+
return localVarFp.markAsRead(id, options).then((request) => request(axios, basePath));
|
|
318
|
+
},
|
|
319
|
+
/**
|
|
320
|
+
* Server-Sent Events stream for real-time notifications
|
|
321
|
+
* @summary Subscribe to notification stream
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
streamNotifications(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>> {
|
|
326
|
+
return localVarFp.streamNotifications(options).then((request) => request(axios, basePath));
|
|
327
|
+
},
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* NotificationsApi - object-oriented interface
|
|
333
|
+
*/
|
|
334
|
+
export class NotificationsApi extends BaseAPI {
|
|
335
|
+
/**
|
|
336
|
+
* Retrieve all notifications for the authenticated user
|
|
337
|
+
* @summary Get all notifications
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
public getNotifications(options?: RawAxiosRequestConfig) {
|
|
342
|
+
return NotificationsApiFp(this.configuration).getNotifications(options).then((request) => request(this.axios, this.basePath));
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Get the count of unread notifications for the authenticated user
|
|
347
|
+
* @summary Get unread notification count
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
*/
|
|
351
|
+
public getUnreadCount(options?: RawAxiosRequestConfig) {
|
|
352
|
+
return NotificationsApiFp(this.configuration).getUnreadCount(options).then((request) => request(this.axios, this.basePath));
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Mark all notifications for the authenticated user as read
|
|
357
|
+
* @summary Mark all notifications as read
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
public markAllAsRead(options?: RawAxiosRequestConfig) {
|
|
362
|
+
return NotificationsApiFp(this.configuration).markAllAsRead(options).then((request) => request(this.axios, this.basePath));
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Mark a specific notification as read
|
|
367
|
+
* @summary Mark notification as read
|
|
368
|
+
* @param {string} id
|
|
369
|
+
* @param {*} [options] Override http request option.
|
|
370
|
+
* @throws {RequiredError}
|
|
371
|
+
*/
|
|
372
|
+
public markAsRead(id: string, options?: RawAxiosRequestConfig) {
|
|
373
|
+
return NotificationsApiFp(this.configuration).markAsRead(id, options).then((request) => request(this.axios, this.basePath));
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Server-Sent Events stream for real-time notifications
|
|
378
|
+
* @summary Subscribe to notification stream
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
*/
|
|
382
|
+
public streamNotifications(options?: RawAxiosRequestConfig) {
|
|
383
|
+
return NotificationsApiFp(this.configuration).streamNotifications(options).then((request) => request(this.axios, this.basePath));
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* openfilz-api
|
|
5
|
+
* API for Document Management System
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
/**
|
|
25
|
+
* ScanAgentApi - axios parameter creator
|
|
26
|
+
*/
|
|
27
|
+
export const ScanAgentApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
28
|
+
return {
|
|
29
|
+
/**
|
|
30
|
+
* Downloads the scan agent for the specified platform. Use format=zip (default) for the portable ZIP archive, or format=installer for the native installer (.deb/.exe/.dmg). Supports ETag-based caching to avoid redundant downloads.
|
|
31
|
+
* @summary Download agent binary
|
|
32
|
+
* @param {string} platform
|
|
33
|
+
* @param {string} [format]
|
|
34
|
+
* @param {string} [ifNoneMatch]
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
download: async (platform: string, format?: string, ifNoneMatch?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
+
// verify required parameter 'platform' is not null or undefined
|
|
40
|
+
assertParamExists('download', 'platform', platform)
|
|
41
|
+
const localVarPath = `/api/v1/agent/download/{platform}`
|
|
42
|
+
.replace(`{${"platform"}}`, encodeURIComponent(String(platform)));
|
|
43
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45
|
+
let baseOptions;
|
|
46
|
+
if (configuration) {
|
|
47
|
+
baseOptions = configuration.baseOptions;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
51
|
+
const localVarHeaderParameter = {} as any;
|
|
52
|
+
const localVarQueryParameter = {} as any;
|
|
53
|
+
|
|
54
|
+
// authentication keycloak_auth required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57
|
+
|
|
58
|
+
if (format !== undefined) {
|
|
59
|
+
localVarQueryParameter['format'] = format;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
63
|
+
|
|
64
|
+
if (ifNoneMatch != null) {
|
|
65
|
+
localVarHeaderParameter['If-None-Match'] = String(ifNoneMatch);
|
|
66
|
+
}
|
|
67
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
url: toPathString(localVarUrlObj),
|
|
73
|
+
options: localVarRequestOptions,
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Returns the expected agent version, available platforms, and download formats (zip, installer)
|
|
78
|
+
* @summary Get agent version
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
getVersion: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
83
|
+
const localVarPath = `/api/v1/agent/version`;
|
|
84
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
86
|
+
let baseOptions;
|
|
87
|
+
if (configuration) {
|
|
88
|
+
baseOptions = configuration.baseOptions;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
92
|
+
const localVarHeaderParameter = {} as any;
|
|
93
|
+
const localVarQueryParameter = {} as any;
|
|
94
|
+
|
|
95
|
+
// authentication keycloak_auth required
|
|
96
|
+
// http bearer authentication required
|
|
97
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
98
|
+
|
|
99
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
100
|
+
|
|
101
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
102
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
103
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
104
|
+
|
|
105
|
+
return {
|
|
106
|
+
url: toPathString(localVarUrlObj),
|
|
107
|
+
options: localVarRequestOptions,
|
|
108
|
+
};
|
|
109
|
+
},
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* ScanAgentApi - functional programming interface
|
|
115
|
+
*/
|
|
116
|
+
export const ScanAgentApiFp = function(configuration?: Configuration) {
|
|
117
|
+
const localVarAxiosParamCreator = ScanAgentApiAxiosParamCreator(configuration)
|
|
118
|
+
return {
|
|
119
|
+
/**
|
|
120
|
+
* Downloads the scan agent for the specified platform. Use format=zip (default) for the portable ZIP archive, or format=installer for the native installer (.deb/.exe/.dmg). Supports ETag-based caching to avoid redundant downloads.
|
|
121
|
+
* @summary Download agent binary
|
|
122
|
+
* @param {string} platform
|
|
123
|
+
* @param {string} [format]
|
|
124
|
+
* @param {string} [ifNoneMatch]
|
|
125
|
+
* @param {*} [options] Override http request option.
|
|
126
|
+
* @throws {RequiredError}
|
|
127
|
+
*/
|
|
128
|
+
async download(platform: string, format?: string, ifNoneMatch?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
129
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.download(platform, format, ifNoneMatch, options);
|
|
130
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
131
|
+
const localVarOperationServerBasePath = operationServerMap['ScanAgentApi.download']?.[localVarOperationServerIndex]?.url;
|
|
132
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
* Returns the expected agent version, available platforms, and download formats (zip, installer)
|
|
136
|
+
* @summary Get agent version
|
|
137
|
+
* @param {*} [options] Override http request option.
|
|
138
|
+
* @throws {RequiredError}
|
|
139
|
+
*/
|
|
140
|
+
async getVersion(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
141
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVersion(options);
|
|
142
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
143
|
+
const localVarOperationServerBasePath = operationServerMap['ScanAgentApi.getVersion']?.[localVarOperationServerIndex]?.url;
|
|
144
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
145
|
+
},
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* ScanAgentApi - factory interface
|
|
151
|
+
*/
|
|
152
|
+
export const ScanAgentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
153
|
+
const localVarFp = ScanAgentApiFp(configuration)
|
|
154
|
+
return {
|
|
155
|
+
/**
|
|
156
|
+
* Downloads the scan agent for the specified platform. Use format=zip (default) for the portable ZIP archive, or format=installer for the native installer (.deb/.exe/.dmg). Supports ETag-based caching to avoid redundant downloads.
|
|
157
|
+
* @summary Download agent binary
|
|
158
|
+
* @param {string} platform
|
|
159
|
+
* @param {string} [format]
|
|
160
|
+
* @param {string} [ifNoneMatch]
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
download(platform: string, format?: string, ifNoneMatch?: string, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
165
|
+
return localVarFp.download(platform, format, ifNoneMatch, options).then((request) => request(axios, basePath));
|
|
166
|
+
},
|
|
167
|
+
/**
|
|
168
|
+
* Returns the expected agent version, available platforms, and download formats (zip, installer)
|
|
169
|
+
* @summary Get agent version
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
getVersion(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
174
|
+
return localVarFp.getVersion(options).then((request) => request(axios, basePath));
|
|
175
|
+
},
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* ScanAgentApi - object-oriented interface
|
|
181
|
+
*/
|
|
182
|
+
export class ScanAgentApi extends BaseAPI {
|
|
183
|
+
/**
|
|
184
|
+
* Downloads the scan agent for the specified platform. Use format=zip (default) for the portable ZIP archive, or format=installer for the native installer (.deb/.exe/.dmg). Supports ETag-based caching to avoid redundant downloads.
|
|
185
|
+
* @summary Download agent binary
|
|
186
|
+
* @param {string} platform
|
|
187
|
+
* @param {string} [format]
|
|
188
|
+
* @param {string} [ifNoneMatch]
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
public download(platform: string, format?: string, ifNoneMatch?: string, options?: RawAxiosRequestConfig) {
|
|
193
|
+
return ScanAgentApiFp(this.configuration).download(platform, format, ifNoneMatch, options).then((request) => request(this.axios, this.basePath));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Returns the expected agent version, available platforms, and download formats (zip, installer)
|
|
198
|
+
* @summary Get agent version
|
|
199
|
+
* @param {*} [options] Override http request option.
|
|
200
|
+
* @throws {RequiredError}
|
|
201
|
+
*/
|
|
202
|
+
public getVersion(options?: RawAxiosRequestConfig) {
|
|
203
|
+
return ScanAgentApiFp(this.configuration).getVersion(options).then((request) => request(this.axios, this.basePath));
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|