@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,407 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* ScannerProxyApi - axios parameter creator
|
|
31
|
+
*/
|
|
32
|
+
export const ScannerProxyApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
* Returns ingestion service status including eSCL feature flag
|
|
36
|
+
* @summary Get ingestion status
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
getIngestionStatus: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
41
|
+
const localVarPath = `/api/v1/scan/status`;
|
|
42
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
44
|
+
let baseOptions;
|
|
45
|
+
if (configuration) {
|
|
46
|
+
baseOptions = configuration.baseOptions;
|
|
47
|
+
}
|
|
48
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
49
|
+
const localVarHeaderParameter = {};
|
|
50
|
+
const localVarQueryParameter = {};
|
|
51
|
+
// authentication keycloak_auth required
|
|
52
|
+
// http bearer authentication required
|
|
53
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
54
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
55
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
58
|
+
return {
|
|
59
|
+
url: toPathString(localVarUrlObj),
|
|
60
|
+
options: localVarRequestOptions,
|
|
61
|
+
};
|
|
62
|
+
}),
|
|
63
|
+
/**
|
|
64
|
+
* Get the status of a specific scan job
|
|
65
|
+
* @summary Get scan job status
|
|
66
|
+
* @param {string} id
|
|
67
|
+
* @param {string} jobId
|
|
68
|
+
* @param {*} [options] Override http request option.
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
getScanJobStatus: (id_1, jobId_1, ...args_1) => __awaiter(this, [id_1, jobId_1, ...args_1], void 0, function* (id, jobId, options = {}) {
|
|
72
|
+
// verify required parameter 'id' is not null or undefined
|
|
73
|
+
assertParamExists('getScanJobStatus', 'id', id);
|
|
74
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
75
|
+
assertParamExists('getScanJobStatus', 'jobId', jobId);
|
|
76
|
+
const localVarPath = `/api/v1/scan/scanners/{id}/scan/{jobId}/status`
|
|
77
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)))
|
|
78
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
79
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
+
let baseOptions;
|
|
82
|
+
if (configuration) {
|
|
83
|
+
baseOptions = configuration.baseOptions;
|
|
84
|
+
}
|
|
85
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
86
|
+
const localVarHeaderParameter = {};
|
|
87
|
+
const localVarQueryParameter = {};
|
|
88
|
+
// authentication keycloak_auth required
|
|
89
|
+
// http bearer authentication required
|
|
90
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
91
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
95
|
+
return {
|
|
96
|
+
url: toPathString(localVarUrlObj),
|
|
97
|
+
options: localVarRequestOptions,
|
|
98
|
+
};
|
|
99
|
+
}),
|
|
100
|
+
/**
|
|
101
|
+
* Get detailed capabilities for a specific scanner
|
|
102
|
+
* @summary Get scanner capabilities
|
|
103
|
+
* @param {string} id
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
getScannerCapabilities: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
108
|
+
// verify required parameter 'id' is not null or undefined
|
|
109
|
+
assertParamExists('getScannerCapabilities', 'id', id);
|
|
110
|
+
const localVarPath = `/api/v1/scan/scanners/{id}/capabilities`
|
|
111
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
114
|
+
let baseOptions;
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
}
|
|
118
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
119
|
+
const localVarHeaderParameter = {};
|
|
120
|
+
const localVarQueryParameter = {};
|
|
121
|
+
// authentication keycloak_auth required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
124
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
125
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
126
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
128
|
+
return {
|
|
129
|
+
url: toPathString(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
};
|
|
132
|
+
}),
|
|
133
|
+
/**
|
|
134
|
+
* List all discovered eSCL scanners on the network
|
|
135
|
+
* @summary List scanners
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
listScanners: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
140
|
+
const localVarPath = `/api/v1/scan/scanners`;
|
|
141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
143
|
+
let baseOptions;
|
|
144
|
+
if (configuration) {
|
|
145
|
+
baseOptions = configuration.baseOptions;
|
|
146
|
+
}
|
|
147
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
148
|
+
const localVarHeaderParameter = {};
|
|
149
|
+
const localVarQueryParameter = {};
|
|
150
|
+
// authentication keycloak_auth required
|
|
151
|
+
// http bearer authentication required
|
|
152
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
153
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
154
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
157
|
+
return {
|
|
158
|
+
url: toPathString(localVarUrlObj),
|
|
159
|
+
options: localVarRequestOptions,
|
|
160
|
+
};
|
|
161
|
+
}),
|
|
162
|
+
/**
|
|
163
|
+
* Trigger a scan on a specific scanner
|
|
164
|
+
* @summary Trigger scan
|
|
165
|
+
* @param {string} id
|
|
166
|
+
* @param {string} [authorization]
|
|
167
|
+
* @param {ScanRequestDto} [scanRequestDto]
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
*/
|
|
171
|
+
triggerScan: (id_1, authorization_1, scanRequestDto_1, ...args_1) => __awaiter(this, [id_1, authorization_1, scanRequestDto_1, ...args_1], void 0, function* (id, authorization, scanRequestDto, options = {}) {
|
|
172
|
+
// verify required parameter 'id' is not null or undefined
|
|
173
|
+
assertParamExists('triggerScan', 'id', id);
|
|
174
|
+
const localVarPath = `/api/v1/scan/scanners/{id}/scan`
|
|
175
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
176
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
177
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
178
|
+
let baseOptions;
|
|
179
|
+
if (configuration) {
|
|
180
|
+
baseOptions = configuration.baseOptions;
|
|
181
|
+
}
|
|
182
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
183
|
+
const localVarHeaderParameter = {};
|
|
184
|
+
const localVarQueryParameter = {};
|
|
185
|
+
// authentication keycloak_auth required
|
|
186
|
+
// http bearer authentication required
|
|
187
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
188
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
189
|
+
localVarHeaderParameter['Accept'] = '*/*';
|
|
190
|
+
if (authorization != null) {
|
|
191
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
192
|
+
}
|
|
193
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
194
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
196
|
+
localVarRequestOptions.data = serializeDataIfNeeded(scanRequestDto, localVarRequestOptions, configuration);
|
|
197
|
+
return {
|
|
198
|
+
url: toPathString(localVarUrlObj),
|
|
199
|
+
options: localVarRequestOptions,
|
|
200
|
+
};
|
|
201
|
+
}),
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* ScannerProxyApi - functional programming interface
|
|
206
|
+
*/
|
|
207
|
+
export const ScannerProxyApiFp = function (configuration) {
|
|
208
|
+
const localVarAxiosParamCreator = ScannerProxyApiAxiosParamCreator(configuration);
|
|
209
|
+
return {
|
|
210
|
+
/**
|
|
211
|
+
* Returns ingestion service status including eSCL feature flag
|
|
212
|
+
* @summary Get ingestion status
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
getIngestionStatus(options) {
|
|
217
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
218
|
+
var _a, _b, _c;
|
|
219
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getIngestionStatus(options);
|
|
220
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
221
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScannerProxyApi.getIngestionStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
223
|
+
});
|
|
224
|
+
},
|
|
225
|
+
/**
|
|
226
|
+
* Get the status of a specific scan job
|
|
227
|
+
* @summary Get scan job status
|
|
228
|
+
* @param {string} id
|
|
229
|
+
* @param {string} jobId
|
|
230
|
+
* @param {*} [options] Override http request option.
|
|
231
|
+
* @throws {RequiredError}
|
|
232
|
+
*/
|
|
233
|
+
getScanJobStatus(id, jobId, options) {
|
|
234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
235
|
+
var _a, _b, _c;
|
|
236
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScanJobStatus(id, jobId, options);
|
|
237
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
238
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScannerProxyApi.getScanJobStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
239
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
240
|
+
});
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* Get detailed capabilities for a specific scanner
|
|
244
|
+
* @summary Get scanner capabilities
|
|
245
|
+
* @param {string} id
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
getScannerCapabilities(id, options) {
|
|
250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
251
|
+
var _a, _b, _c;
|
|
252
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getScannerCapabilities(id, options);
|
|
253
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
254
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScannerProxyApi.getScannerCapabilities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
255
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
256
|
+
});
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
* List all discovered eSCL scanners on the network
|
|
260
|
+
* @summary List scanners
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
*/
|
|
264
|
+
listScanners(options) {
|
|
265
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
266
|
+
var _a, _b, _c;
|
|
267
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listScanners(options);
|
|
268
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
269
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScannerProxyApi.listScanners']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
270
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
271
|
+
});
|
|
272
|
+
},
|
|
273
|
+
/**
|
|
274
|
+
* Trigger a scan on a specific scanner
|
|
275
|
+
* @summary Trigger scan
|
|
276
|
+
* @param {string} id
|
|
277
|
+
* @param {string} [authorization]
|
|
278
|
+
* @param {ScanRequestDto} [scanRequestDto]
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
triggerScan(id, authorization, scanRequestDto, options) {
|
|
283
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
284
|
+
var _a, _b, _c;
|
|
285
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.triggerScan(id, authorization, scanRequestDto, options);
|
|
286
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
287
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ScannerProxyApi.triggerScan']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
288
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
289
|
+
});
|
|
290
|
+
},
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* ScannerProxyApi - factory interface
|
|
295
|
+
*/
|
|
296
|
+
export const ScannerProxyApiFactory = function (configuration, basePath, axios) {
|
|
297
|
+
const localVarFp = ScannerProxyApiFp(configuration);
|
|
298
|
+
return {
|
|
299
|
+
/**
|
|
300
|
+
* Returns ingestion service status including eSCL feature flag
|
|
301
|
+
* @summary Get ingestion status
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
*/
|
|
305
|
+
getIngestionStatus(options) {
|
|
306
|
+
return localVarFp.getIngestionStatus(options).then((request) => request(axios, basePath));
|
|
307
|
+
},
|
|
308
|
+
/**
|
|
309
|
+
* Get the status of a specific scan job
|
|
310
|
+
* @summary Get scan job status
|
|
311
|
+
* @param {string} id
|
|
312
|
+
* @param {string} jobId
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
getScanJobStatus(id, jobId, options) {
|
|
317
|
+
return localVarFp.getScanJobStatus(id, jobId, options).then((request) => request(axios, basePath));
|
|
318
|
+
},
|
|
319
|
+
/**
|
|
320
|
+
* Get detailed capabilities for a specific scanner
|
|
321
|
+
* @summary Get scanner capabilities
|
|
322
|
+
* @param {string} id
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
getScannerCapabilities(id, options) {
|
|
327
|
+
return localVarFp.getScannerCapabilities(id, options).then((request) => request(axios, basePath));
|
|
328
|
+
},
|
|
329
|
+
/**
|
|
330
|
+
* List all discovered eSCL scanners on the network
|
|
331
|
+
* @summary List scanners
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
*/
|
|
335
|
+
listScanners(options) {
|
|
336
|
+
return localVarFp.listScanners(options).then((request) => request(axios, basePath));
|
|
337
|
+
},
|
|
338
|
+
/**
|
|
339
|
+
* Trigger a scan on a specific scanner
|
|
340
|
+
* @summary Trigger scan
|
|
341
|
+
* @param {string} id
|
|
342
|
+
* @param {string} [authorization]
|
|
343
|
+
* @param {ScanRequestDto} [scanRequestDto]
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @throws {RequiredError}
|
|
346
|
+
*/
|
|
347
|
+
triggerScan(id, authorization, scanRequestDto, options) {
|
|
348
|
+
return localVarFp.triggerScan(id, authorization, scanRequestDto, options).then((request) => request(axios, basePath));
|
|
349
|
+
},
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
/**
|
|
353
|
+
* ScannerProxyApi - object-oriented interface
|
|
354
|
+
*/
|
|
355
|
+
export class ScannerProxyApi extends BaseAPI {
|
|
356
|
+
/**
|
|
357
|
+
* Returns ingestion service status including eSCL feature flag
|
|
358
|
+
* @summary Get ingestion status
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
getIngestionStatus(options) {
|
|
363
|
+
return ScannerProxyApiFp(this.configuration).getIngestionStatus(options).then((request) => request(this.axios, this.basePath));
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Get the status of a specific scan job
|
|
367
|
+
* @summary Get scan job status
|
|
368
|
+
* @param {string} id
|
|
369
|
+
* @param {string} jobId
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
getScanJobStatus(id, jobId, options) {
|
|
374
|
+
return ScannerProxyApiFp(this.configuration).getScanJobStatus(id, jobId, options).then((request) => request(this.axios, this.basePath));
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Get detailed capabilities for a specific scanner
|
|
378
|
+
* @summary Get scanner capabilities
|
|
379
|
+
* @param {string} id
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @throws {RequiredError}
|
|
382
|
+
*/
|
|
383
|
+
getScannerCapabilities(id, options) {
|
|
384
|
+
return ScannerProxyApiFp(this.configuration).getScannerCapabilities(id, options).then((request) => request(this.axios, this.basePath));
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* List all discovered eSCL scanners on the network
|
|
388
|
+
* @summary List scanners
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
listScanners(options) {
|
|
393
|
+
return ScannerProxyApiFp(this.configuration).listScanners(options).then((request) => request(this.axios, this.basePath));
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Trigger a scan on a specific scanner
|
|
397
|
+
* @summary Trigger scan
|
|
398
|
+
* @param {string} id
|
|
399
|
+
* @param {string} [authorization]
|
|
400
|
+
* @param {ScanRequestDto} [scanRequestDto]
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
triggerScan(id, authorization, scanRequestDto, options) {
|
|
405
|
+
return ScannerProxyApiFp(this.configuration).triggerScan(id, authorization, scanRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
406
|
+
}
|
|
407
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.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 type { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
/**
|
|
16
|
+
* SearchAdministrationApi - axios parameter creator
|
|
17
|
+
*/
|
|
18
|
+
export declare const SearchAdministrationApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
19
|
+
/**
|
|
20
|
+
* Creates or recreates the OpenSearch index with proper mappings and analyzer settings.
|
|
21
|
+
* @summary Create search index
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
*/
|
|
25
|
+
createIndex: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26
|
+
/**
|
|
27
|
+
* Deletes the OpenSearch index. Requires full-text search to be enabled.
|
|
28
|
+
* @summary Delete search index
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
deleteIndex: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the current status of the reindexation process.
|
|
35
|
+
* @summary Get reindexation status
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
getStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
* Triggers a full reindexation of all documents. Runs asynchronously in the background.
|
|
42
|
+
* @summary Reindex all documents
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
reindexAll: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* SearchAdministrationApi - functional programming interface
|
|
50
|
+
*/
|
|
51
|
+
export declare const SearchAdministrationApiFp: (configuration?: Configuration) => {
|
|
52
|
+
/**
|
|
53
|
+
* Creates or recreates the OpenSearch index with proper mappings and analyzer settings.
|
|
54
|
+
* @summary Create search index
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
createIndex(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
59
|
+
/**
|
|
60
|
+
* Deletes the OpenSearch index. Requires full-text search to be enabled.
|
|
61
|
+
* @summary Delete search index
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
deleteIndex(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
66
|
+
/**
|
|
67
|
+
* Returns the current status of the reindexation process.
|
|
68
|
+
* @summary Get reindexation status
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
*/
|
|
72
|
+
getStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
73
|
+
/**
|
|
74
|
+
* Triggers a full reindexation of all documents. Runs asynchronously in the background.
|
|
75
|
+
* @summary Reindex all documents
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
reindexAll(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* SearchAdministrationApi - factory interface
|
|
83
|
+
*/
|
|
84
|
+
export declare const SearchAdministrationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
85
|
+
/**
|
|
86
|
+
* Creates or recreates the OpenSearch index with proper mappings and analyzer settings.
|
|
87
|
+
* @summary Create search index
|
|
88
|
+
* @param {*} [options] Override http request option.
|
|
89
|
+
* @throws {RequiredError}
|
|
90
|
+
*/
|
|
91
|
+
createIndex(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
92
|
+
/**
|
|
93
|
+
* Deletes the OpenSearch index. Requires full-text search to be enabled.
|
|
94
|
+
* @summary Delete search index
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
deleteIndex(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
99
|
+
/**
|
|
100
|
+
* Returns the current status of the reindexation process.
|
|
101
|
+
* @summary Get reindexation status
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
getStatus(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
106
|
+
/**
|
|
107
|
+
* Triggers a full reindexation of all documents. Runs asynchronously in the background.
|
|
108
|
+
* @summary Reindex all documents
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
reindexAll(options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* SearchAdministrationApi - object-oriented interface
|
|
116
|
+
*/
|
|
117
|
+
export declare class SearchAdministrationApi extends BaseAPI {
|
|
118
|
+
/**
|
|
119
|
+
* Creates or recreates the OpenSearch index with proper mappings and analyzer settings.
|
|
120
|
+
* @summary Create search index
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
createIndex(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
125
|
+
/**
|
|
126
|
+
* Deletes the OpenSearch index. Requires full-text search to be enabled.
|
|
127
|
+
* @summary Delete search index
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
deleteIndex(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
132
|
+
/**
|
|
133
|
+
* Returns the current status of the reindexation process.
|
|
134
|
+
* @summary Get reindexation status
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
getStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
139
|
+
/**
|
|
140
|
+
* Triggers a full reindexation of all documents. Runs asynchronously in the background.
|
|
141
|
+
* @summary Reindex all documents
|
|
142
|
+
* @param {*} [options] Override http request option.
|
|
143
|
+
* @throws {RequiredError}
|
|
144
|
+
*/
|
|
145
|
+
reindexAll(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
146
|
+
}
|