From 37495f62de638514f7a7393241c946e63d42da9a Mon Sep 17 00:00:00 2001 From: Firas Shmit Date: Mon, 12 Aug 2024 12:53:59 +0200 Subject: [PATCH 01/14] EW-835 create a script to filter spec of APIs --- scripts/filter_spec-apis.js | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 scripts/filter_spec-apis.js diff --git a/scripts/filter_spec-apis.js b/scripts/filter_spec-apis.js new file mode 100644 index 00000000000..d0d3577bb30 --- /dev/null +++ b/scripts/filter_spec-apis.js @@ -0,0 +1,48 @@ +const fs = require('fs'); +const axios = require('axios'); +const pathHelper = require('path'); + +// Get the path prefix from command line arguments +const pathPrefix = process.argv[2]; +const outputPath = pathHelper.resolve(__dirname, 'filtered-spec.json'); + +// URL to fetch the Swagger JSON +const swaggerUrl = 'http://localhost:3030/api/v3/docs-json'; + +if (!pathPrefix) { + console.error('Please provide a controller name to filter as a command line argument.'); + process.exit(1); +} + +axios + .get(swaggerUrl) + // eslint-disable-next-line promise/always-return + .then((response) => { + const spec = response.data; + // Filter paths that start with the provided prefix + const filteredPaths = Object.keys(spec.paths) + .filter((path) => path.startsWith(pathPrefix)) + .reduce((obj, key) => { + obj[key] = spec.paths[key]; + return obj; + }, {}); + + // Create top-level fields from the original spec + const filteredSwaggerDoc = { + openapi: spec.openapi, + info: spec.info, + servers: spec.servers, + paths: filteredPaths, + components: spec.components, + }; + + fs.writeFileSync(outputPath, JSON.stringify(filteredSwaggerDoc, null, 2)); + console.log(`Filtered spec of ${pathPrefix} written to ${outputPath}`); + }) + .catch((error) => { + console.error(`Error fetching the OpenAPI spec: ${error}`); + }); + +/** use this command to generate the client and delete the filtered spec file + * npx openapi-generator-cli generate -i './scripts/filtered-spec.json' -g typescript-axios -o "apps/server/src/modules/common-cartridge/common-cartridge-client/courses-api-client" --skip-validate-spec -c 'openapitools-config.json'; rm .\scripts\filtered-spec.json && rm .\scripts\filtered-spec.json + */ From 29c24d6f9da0b66ef706cacba839f37c138e26ed Mon Sep 17 00:00:00 2001 From: Simone Radtke Date: Fri, 16 Aug 2024 14:16:37 +0200 Subject: [PATCH 02/14] EW-811 Generate api client for boards --- .../board-client/board-api-client/.gitignore | 4 + .../board-client/board-api-client/.npmignore | 1 + .../.openapi-generator-ignore | 23 + .../board-api-client/.openapi-generator/FILES | 271 ++++++ .../board-client/board-api-client/api.ts | 18 + .../board-api-client/api/board-api.ts | 772 ++++++++++++++++++ .../board-client/board-api-client/base.ts | 86 ++ .../board-client/board-api-client/common.ts | 150 ++++ .../board-api-client/configuration.ts | 110 +++ .../board-client/board-api-client/git_push.sh | 57 ++ .../board-client/board-api-client/index.ts | 18 + .../models/account-by-id-body-params.ts | 42 + .../models/account-response.ts | 54 ++ .../models/account-search-list-response.ts | 51 ++ .../board-api-client/models/action.ts | 31 + .../board-api-client/models/alert-response.ts | 33 + .../models/api-validation-error.ts | 54 ++ .../models/authorization-body-params.ts | 64 ++ .../models/authorization-context-params.ts | 44 + .../models/authorized-reponse.ts | 36 + .../models/basic-tool-config-params.ts | 36 + .../models/board-context-response.ts | 41 + .../models/board-element-response.ts | 45 + .../models/board-external-reference-type.ts | 31 + .../board-api-client/models/board-layout.ts | 32 + .../models/board-parent-type.ts | 31 + .../board-api-client/models/board-response.ts | 66 ++ .../models/card-list-response.ts | 33 + .../models/card-response-elements-inner.ts | 50 ++ .../board-api-client/models/card-response.ts | 69 ++ .../models/card-skeleton-response.ts | 36 + .../models/change-language-params.ts | 35 + .../models/class-info-response.ts | 89 ++ .../models/class-info-search-list-response.ts | 51 ++ .../models/class-request-context.ts | 31 + .../board-api-client/models/class-response.ts | 36 + .../models/class-sort-query-type.ts | 34 + ...laborative-text-editor-element-response.ts | 56 ++ .../collaborative-text-editor-parent-type.ts | 30 + .../collaborative-text-editor-response.ts | 30 + .../models/collapsable-body-params.ts | 30 + .../models/color-body-params.ts | 35 + .../models/column-response.ts | 54 ++ .../models/config-response.ts | 437 ++++++++++ .../models/consent-request-body.ts | 72 ++ .../models/consent-response.ts | 108 +++ .../models/consent-session-response.ts | 42 + .../models/consents-response.ts | 42 + .../models/content-element-type.ts | 36 + .../context-external-tool-body-params.ts | 41 + ...rnal-tool-configuration-status-response.ts | 60 ++ ...ol-configuration-template-list-response.ts | 33 + ...al-tool-configuration-template-response.ts | 63 ++ ...xternal-tool-count-per-context-response.ts | 42 + .../context-external-tool-post-params.ts | 57 ++ .../models/context-external-tool-response.ts | 78 ++ ...text-external-tool-search-list-response.ts | 33 + .../models/copy-api-response.ts | 114 +++ .../models/county-response.ts | 48 ++ .../models/course-export-body-params.ts | 42 + .../models/course-import-body-params.ts | 30 + .../models/course-info-response.ts | 36 + .../models/course-metadata-list-response.ts | 51 ++ .../models/course-metadata-response.ts | 66 ++ .../models/create-board-body-params.ts | 56 ++ .../models/create-board-response.ts | 30 + .../models/create-card-body-params.ts | 43 + .../create-content-element-body-params.ts | 41 + .../create-media-element-body-params.ts | 42 + .../models/create-news-params.ts | 63 ++ .../create-submission-item-body-params.ts | 30 + .../models/custom-parameter-entry-param.ts | 36 + .../models/custom-parameter-entry-response.ts | 36 + .../models/custom-parameter-post-params.ts | 90 ++ .../models/custom-parameter-response.ts | 119 +++ .../models/dashboard-grid-element-response.ts | 87 ++ .../dashboard-grid-sub-element-response.ts | 48 ++ .../models/dashboard-response.ts | 39 + .../models/drawing-content-body.ts | 30 + .../models/drawing-element-content-body.ts | 44 + .../models/drawing-element-content.ts | 30 + .../models/drawing-element-response.ts | 59 ++ .../models/entity-not-found-error.ts | 54 ++ .../models/external-source-response.ts | 36 + .../external-tool-bulk-create-params.ts | 33 + .../models/external-tool-content-body.ts | 30 + .../models/external-tool-create-params.ts | 108 +++ .../external-tool-element-content-body.ts | 44 + .../models/external-tool-element-content.ts | 30 + .../models/external-tool-element-response.ts | 59 ++ .../models/external-tool-medium-params.ts | 42 + .../models/external-tool-medium-response.ts | 42 + .../models/external-tool-metadata-response.ts | 39 + .../models/external-tool-response-config.ts | 39 + .../models/external-tool-response.ts | 114 +++ .../external-tool-search-list-response.ts | 51 ++ .../external-tool-update-params-config.ts | 39 + .../models/external-tool-update-params.ts | 114 +++ .../models/federal-state-response.ts | 57 ++ .../models/file-content-body.ts | 36 + .../models/file-element-content-body.ts | 44 + .../models/file-element-content.ts | 36 + .../models/file-element-response.ts | 59 ++ .../models/file-storage-type.ts | 30 + .../models/forbidden-operation-error.ts | 54 ++ .../models/force-migration-params.ts | 42 + .../models/get-meta-tag-data-body.ts | 30 + .../models/group-list-response.ts | 51 ++ .../board-api-client/models/group-response.ts | 75 ++ .../models/group-user-response.ts | 53 ++ .../models/import-user-list-response.ts | 51 ++ .../models/import-user-response.ts | 84 ++ .../board-api-client/models/index.ts | 260 ++++++ .../models/layout-body-params.ts | 35 + .../models/ldap-authorization-body-params.ts | 48 ++ .../models/lesson-content-response.ts | 73 ++ .../models/lesson-copy-api-params.ts | 30 + .../models/lesson-metadata-list-response.ts | 51 ++ .../models/lesson-metadata-response.ts | 36 + .../models/lesson-response.ts | 85 ++ .../models/link-content-body.ts | 48 ++ .../models/link-element-content-body.ts | 44 + .../models/link-element-content.ts | 48 ++ .../models/link-element-response.ts | 59 ++ .../models/local-authorization-body-params.ts | 36 + .../models/login-request-body.ts | 66 ++ .../board-api-client/models/login-response.ts | 90 ++ .../models/lti-message-type.ts | 30 + .../models/lti-privacy-permission.ts | 34 + .../models/lti11-tool-config-create-params.ts | 77 ++ .../models/lti11-tool-config-update-params.ts | 77 ++ .../models/material-response.ts | 72 ++ .../models/me-account-response.ts | 30 + .../board-api-client/models/me-response.ts | 77 ++ .../models/me-role-response.ts | 36 + .../models/me-school-logo-response.ts | 36 + .../models/me-school-response.ts | 45 + .../models/me-user-response.ts | 48 ++ .../media-available-line-element-response.ts | 54 ++ .../models/media-available-line-response.ts | 50 ++ .../models/media-board-colors.ts | 49 ++ .../models/media-board-layout-type.ts | 32 + .../models/media-board-response.ts | 59 ++ .../media-external-tool-element-content.ts | 30 + .../media-external-tool-element-response.ts | 48 ++ .../models/media-line-response.ts | 71 ++ .../board-api-client/models/message-origin.ts | 36 + .../board-api-client/models/message.ts | 69 ++ .../models/meta-tag-extractor-response.ts | 66 ++ .../models/move-card-body-params.ts | 36 + .../models/move-column-body-params.ts | 36 + .../models/move-content-element-body.ts | 36 + .../models/move-element-body-params.ts | 36 + .../models/move-element-params.ts | 39 + .../models/move-element-position-params.ts | 42 + .../models/news-list-response.ts | 51 ++ .../board-api-client/models/news-response.ts | 134 +++ .../models/news-target-model.ts | 32 + .../models/oauth-client-create-body.ts | 84 ++ .../models/oauth-client-response.ts | 300 +++++++ .../models/oauth-client-update-body.ts | 78 ++ .../models/oauth-config-response.ts | 96 +++ .../models/oauth-token-dto.ts | 42 + .../oauth2-authorization-body-params.ts | 42 + .../models/oauth2-migration-params.ts | 42 + .../oauth2-tool-config-create-params.ts | 78 ++ .../oauth2-tool-config-update-params.ts | 78 ++ .../models/oidc-context-response.ts | 54 ++ .../models/parent-consent-response.ts | 60 ++ .../models/patch-group-params.ts | 30 + .../models/patch-my-account-params.ts | 54 ++ .../models/patch-my-password-params.ts | 36 + .../models/patch-order-params.ts | 30 + .../models/patch-visibility-params.ts | 30 + .../models/provider-config-response.ts | 30 + .../models/pseudonym-response.ts | 42 + .../models/public-system-list-response.ts | 33 + .../public-system-response-oauth-config.ts | 27 + .../models/public-system-response.ts | 57 ++ .../models/redirect-response.ts | 30 + .../models/rename-body-params.ts | 30 + .../models/resolved-user-response.ts | 72 ++ .../models/rich-text-content-body.ts | 36 + .../models/rich-text-element-content-body.ts | 44 + .../models/rich-text-element-content.ts | 36 + .../models/rich-text-element-response.ts | 59 ++ .../board-api-client/models/rich-text.ts | 46 ++ .../board-api-client/models/role-name.ts | 48 ++ .../models/school-exists-response.ts | 30 + ...rnal-tool-configuration-status-response.ts | 36 + ...ol-configuration-template-list-response.ts | 33 + ...al-tool-configuration-template-response.ts | 57 ++ .../school-external-tool-metadata-response.ts | 33 + .../school-external-tool-post-params.ts | 51 ++ .../models/school-external-tool-response.ts | 72 ++ ...hool-external-tool-search-list-response.ts | 33 + .../school-for-external-invite-response.ts | 36 + .../models/school-for-ldap-login-response.ts | 45 + .../models/school-info-response.ts | 36 + .../board-api-client/models/school-logo.ts | 36 + .../models/school-permissions-params.ts | 42 + .../board-api-client/models/school-purpose.ts | 34 + .../models/school-response.ts | 179 ++++ .../models/school-system-response.ts | 57 ++ .../models/school-update-body-params.ts | 97 +++ .../models/school-year-query-type.ts | 32 + .../models/school-year-response.ts | 48 ++ ...chul-conne-xprovisioning-options-params.ts | 48 ++ ...ul-conne-xprovisioning-options-response.ts | 48 ++ .../models/schulcloud-theme.ts | 33 + .../models/set-height-body-params.ts | 30 + .../models/share-token-body-params.ts | 58 ++ .../models/share-token-import-body-params.ts | 36 + .../models/share-token-info-response.ts | 52 ++ .../models/share-token-payload-response.ts | 46 ++ .../models/share-token-response.ts | 45 + .../models/single-column-board-response.ts | 63 ++ .../models/student-permission-params.ts | 30 + .../submission-container-content-body.ts | 30 + ...bmission-container-element-content-body.ts | 44 + .../submission-container-element-content.ts | 30 + .../submission-container-element-response.ts | 59 ++ ...submission-item-response-elements-inner.ts | 38 + .../models/submission-item-response.ts | 60 ++ .../models/submission-status-list-response.ts | 33 + .../models/submission-status-response.ts | 60 ++ .../models/submissions-response.ts | 42 + .../models/successful-response.ts | 30 + .../models/system-for-ldap-login-response.ts | 42 + .../board-api-client/models/system-type.ts | 39 + .../models/target-info-response.ts | 36 + .../models/task-copy-api-params.ts | 36 + .../models/task-list-response.ts | 51 ++ .../board-api-client/models/task-response.ts | 108 +++ .../models/task-status-response.ts | 60 ++ .../models/teacher-permission-params.ts | 30 + .../models/team-permissions-body.ts | 54 ++ .../models/timestamps-response.ts | 42 + .../board-api-client/models/timezone.ts | 30 + .../models/tool-config-type.ts | 32 + .../models/tool-context-type.ts | 32 + .../tool-context-types-list-response.ts | 33 + .../models/tool-launch-request-response.ts | 56 ++ .../models/tool-reference-list-response.ts | 33 + .../models/tool-reference-response.ts | 69 ++ .../models/update-board-title-params.ts | 30 + ...update-element-content-body-params-data.ts | 47 ++ .../update-element-content-body-params.ts | 33 + .../models/update-flag-params.ts | 30 + .../models/update-match-params.ts | 30 + .../models/update-news-params.ts | 42 + .../update-submission-item-body-params.ts | 30 + .../models/user-consent-response.ts | 54 ++ .../models/user-data-response.ts | 42 + .../models/user-info-response.ts | 42 + .../models/user-list-response.ts | 51 ++ .../user-login-migration-mandatory-params.ts | 30 + .../models/user-login-migration-response.ts | 66 ++ ...er-login-migration-search-list-response.ts | 51 ++ .../models/user-match-list-response.ts | 51 ++ .../models/user-match-response.ts | 75 ++ .../board-api-client/models/user-response.ts | 108 +++ .../models/validation-error.ts | 54 ++ .../models/video-conference-create-params.ts | 48 ++ .../models/video-conference-info-response.ts | 44 + .../models/video-conference-join-response.ts | 30 + .../video-conference-options-response.ts | 42 + .../models/video-conference-scope.ts | 31 + .../models/video-conference-state-response.ts | 32 + .../models/visibility-body-params.ts | 30 + .../models/visibility-settings-response.ts | 30 + .../board-api-client/models/years-response.ts | 51 ++ 272 files changed, 15120 insertions(+) create mode 100644 apps/server/src/infra/board-client/board-api-client/.gitignore create mode 100644 apps/server/src/infra/board-client/board-api-client/.npmignore create mode 100644 apps/server/src/infra/board-client/board-api-client/.openapi-generator-ignore create mode 100644 apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES create mode 100644 apps/server/src/infra/board-client/board-api-client/api.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/api/board-api.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/base.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/common.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/configuration.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/git_push.sh create mode 100644 apps/server/src/infra/board-client/board-api-client/index.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/account-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/action.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/alert-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/api-validation-error.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/board-context-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/board-external-reference-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/board-layout.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/board-parent-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/board-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/card-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/card-skeleton-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/column-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/config-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/consent-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/consents-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/copy-api-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/county-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-board-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-board-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/group-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/index.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/login-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/material-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/message-origin.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/message.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/news-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/role-name.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-logo.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/successful-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/system-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/timestamps-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/timezone.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-board-title-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/validation-error.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/visibility-body-params.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts create mode 100644 apps/server/src/infra/board-client/board-api-client/models/years-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/.gitignore b/apps/server/src/infra/board-client/board-api-client/.gitignore new file mode 100644 index 00000000000..149b5765472 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/.gitignore @@ -0,0 +1,4 @@ +wwwroot/*.js +node_modules +typings +dist diff --git a/apps/server/src/infra/board-client/board-api-client/.npmignore b/apps/server/src/infra/board-client/board-api-client/.npmignore new file mode 100644 index 00000000000..999d88df693 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/.npmignore @@ -0,0 +1 @@ +# empty npmignore to ensure all required files (e.g., in the dist folder) are published by npm \ No newline at end of file diff --git a/apps/server/src/infra/board-client/board-api-client/.openapi-generator-ignore b/apps/server/src/infra/board-client/board-api-client/.openapi-generator-ignore new file mode 100644 index 00000000000..7484ee590a3 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES b/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES new file mode 100644 index 00000000000..1aea46bfec4 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES @@ -0,0 +1,271 @@ +.gitignore +.npmignore +.openapi-generator-ignore +api.ts +api/board-api.ts +base.ts +common.ts +configuration.ts +git_push.sh +index.ts +models/account-by-id-body-params.ts +models/account-response.ts +models/account-search-list-response.ts +models/action.ts +models/alert-response.ts +models/api-validation-error.ts +models/authorization-body-params.ts +models/authorization-context-params.ts +models/authorized-reponse.ts +models/basic-tool-config-params.ts +models/board-context-response.ts +models/board-element-response.ts +models/board-external-reference-type.ts +models/board-layout.ts +models/board-parent-type.ts +models/board-response.ts +models/card-list-response.ts +models/card-response-elements-inner.ts +models/card-response.ts +models/card-skeleton-response.ts +models/change-language-params.ts +models/class-info-response.ts +models/class-info-search-list-response.ts +models/class-request-context.ts +models/class-response.ts +models/class-sort-query-type.ts +models/collaborative-text-editor-element-response.ts +models/collaborative-text-editor-parent-type.ts +models/collaborative-text-editor-response.ts +models/collapsable-body-params.ts +models/color-body-params.ts +models/column-response.ts +models/config-response.ts +models/consent-request-body.ts +models/consent-response.ts +models/consent-session-response.ts +models/consents-response.ts +models/content-element-type.ts +models/context-external-tool-body-params.ts +models/context-external-tool-configuration-status-response.ts +models/context-external-tool-configuration-template-list-response.ts +models/context-external-tool-configuration-template-response.ts +models/context-external-tool-count-per-context-response.ts +models/context-external-tool-post-params.ts +models/context-external-tool-response.ts +models/context-external-tool-search-list-response.ts +models/copy-api-response.ts +models/county-response.ts +models/course-export-body-params.ts +models/course-import-body-params.ts +models/course-info-response.ts +models/course-metadata-list-response.ts +models/course-metadata-response.ts +models/create-board-body-params.ts +models/create-board-response.ts +models/create-card-body-params.ts +models/create-content-element-body-params.ts +models/create-media-element-body-params.ts +models/create-news-params.ts +models/create-submission-item-body-params.ts +models/custom-parameter-entry-param.ts +models/custom-parameter-entry-response.ts +models/custom-parameter-post-params.ts +models/custom-parameter-response.ts +models/dashboard-grid-element-response.ts +models/dashboard-grid-sub-element-response.ts +models/dashboard-response.ts +models/drawing-content-body.ts +models/drawing-element-content-body.ts +models/drawing-element-content.ts +models/drawing-element-response.ts +models/entity-not-found-error.ts +models/external-source-response.ts +models/external-tool-bulk-create-params.ts +models/external-tool-content-body.ts +models/external-tool-create-params.ts +models/external-tool-element-content-body.ts +models/external-tool-element-content.ts +models/external-tool-element-response.ts +models/external-tool-medium-params.ts +models/external-tool-medium-response.ts +models/external-tool-metadata-response.ts +models/external-tool-response-config.ts +models/external-tool-response.ts +models/external-tool-search-list-response.ts +models/external-tool-update-params-config.ts +models/external-tool-update-params.ts +models/federal-state-response.ts +models/file-content-body.ts +models/file-element-content-body.ts +models/file-element-content.ts +models/file-element-response.ts +models/file-storage-type.ts +models/forbidden-operation-error.ts +models/force-migration-params.ts +models/get-meta-tag-data-body.ts +models/group-list-response.ts +models/group-response.ts +models/group-user-response.ts +models/import-user-list-response.ts +models/import-user-response.ts +models/index.ts +models/layout-body-params.ts +models/ldap-authorization-body-params.ts +models/lesson-content-response.ts +models/lesson-copy-api-params.ts +models/lesson-metadata-list-response.ts +models/lesson-metadata-response.ts +models/lesson-response.ts +models/link-content-body.ts +models/link-element-content-body.ts +models/link-element-content.ts +models/link-element-response.ts +models/local-authorization-body-params.ts +models/login-request-body.ts +models/login-response.ts +models/lti-message-type.ts +models/lti-privacy-permission.ts +models/lti11-tool-config-create-params.ts +models/lti11-tool-config-update-params.ts +models/material-response.ts +models/me-account-response.ts +models/me-response.ts +models/me-role-response.ts +models/me-school-logo-response.ts +models/me-school-response.ts +models/me-user-response.ts +models/media-available-line-element-response.ts +models/media-available-line-response.ts +models/media-board-colors.ts +models/media-board-layout-type.ts +models/media-board-response.ts +models/media-external-tool-element-content.ts +models/media-external-tool-element-response.ts +models/media-line-response.ts +models/message-origin.ts +models/message.ts +models/meta-tag-extractor-response.ts +models/move-card-body-params.ts +models/move-column-body-params.ts +models/move-content-element-body.ts +models/move-element-body-params.ts +models/move-element-params.ts +models/move-element-position-params.ts +models/news-list-response.ts +models/news-response.ts +models/news-target-model.ts +models/oauth-client-create-body.ts +models/oauth-client-response.ts +models/oauth-client-update-body.ts +models/oauth-config-response.ts +models/oauth-token-dto.ts +models/oauth2-authorization-body-params.ts +models/oauth2-migration-params.ts +models/oauth2-tool-config-create-params.ts +models/oauth2-tool-config-update-params.ts +models/oidc-context-response.ts +models/parent-consent-response.ts +models/patch-group-params.ts +models/patch-my-account-params.ts +models/patch-my-password-params.ts +models/patch-order-params.ts +models/patch-visibility-params.ts +models/provider-config-response.ts +models/pseudonym-response.ts +models/public-system-list-response.ts +models/public-system-response-oauth-config.ts +models/public-system-response.ts +models/redirect-response.ts +models/rename-body-params.ts +models/resolved-user-response.ts +models/rich-text-content-body.ts +models/rich-text-element-content-body.ts +models/rich-text-element-content.ts +models/rich-text-element-response.ts +models/rich-text.ts +models/role-name.ts +models/school-exists-response.ts +models/school-external-tool-configuration-status-response.ts +models/school-external-tool-configuration-template-list-response.ts +models/school-external-tool-configuration-template-response.ts +models/school-external-tool-metadata-response.ts +models/school-external-tool-post-params.ts +models/school-external-tool-response.ts +models/school-external-tool-search-list-response.ts +models/school-for-external-invite-response.ts +models/school-for-ldap-login-response.ts +models/school-info-response.ts +models/school-logo.ts +models/school-permissions-params.ts +models/school-purpose.ts +models/school-response.ts +models/school-system-response.ts +models/school-update-body-params.ts +models/school-year-query-type.ts +models/school-year-response.ts +models/schul-conne-xprovisioning-options-params.ts +models/schul-conne-xprovisioning-options-response.ts +models/schulcloud-theme.ts +models/set-height-body-params.ts +models/share-token-body-params.ts +models/share-token-import-body-params.ts +models/share-token-info-response.ts +models/share-token-payload-response.ts +models/share-token-response.ts +models/single-column-board-response.ts +models/student-permission-params.ts +models/submission-container-content-body.ts +models/submission-container-element-content-body.ts +models/submission-container-element-content.ts +models/submission-container-element-response.ts +models/submission-item-response-elements-inner.ts +models/submission-item-response.ts +models/submission-status-list-response.ts +models/submission-status-response.ts +models/submissions-response.ts +models/successful-response.ts +models/system-for-ldap-login-response.ts +models/system-type.ts +models/target-info-response.ts +models/task-copy-api-params.ts +models/task-list-response.ts +models/task-response.ts +models/task-status-response.ts +models/teacher-permission-params.ts +models/team-permissions-body.ts +models/timestamps-response.ts +models/timezone.ts +models/tool-config-type.ts +models/tool-context-type.ts +models/tool-context-types-list-response.ts +models/tool-launch-request-response.ts +models/tool-reference-list-response.ts +models/tool-reference-response.ts +models/update-board-title-params.ts +models/update-element-content-body-params-data.ts +models/update-element-content-body-params.ts +models/update-flag-params.ts +models/update-match-params.ts +models/update-news-params.ts +models/update-submission-item-body-params.ts +models/user-consent-response.ts +models/user-data-response.ts +models/user-info-response.ts +models/user-list-response.ts +models/user-login-migration-mandatory-params.ts +models/user-login-migration-response.ts +models/user-login-migration-search-list-response.ts +models/user-match-list-response.ts +models/user-match-response.ts +models/user-response.ts +models/validation-error.ts +models/video-conference-create-params.ts +models/video-conference-info-response.ts +models/video-conference-join-response.ts +models/video-conference-options-response.ts +models/video-conference-scope.ts +models/video-conference-state-response.ts +models/visibility-body-params.ts +models/visibility-settings-response.ts +models/years-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/api.ts b/apps/server/src/infra/board-client/board-api-client/api.ts new file mode 100644 index 00000000000..3c267401ba8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/api.ts @@ -0,0 +1,18 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +export * from './api/board-api'; + diff --git a/apps/server/src/infra/board-client/board-api-client/api/board-api.ts b/apps/server/src/infra/board-client/board-api-client/api/board-api.ts new file mode 100644 index 00000000000..72900986b52 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/api/board-api.ts @@ -0,0 +1,772 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { Configuration } from '../configuration'; +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; +// Some imports not used depending on template conditions +// @ts-ignore +import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common'; +// @ts-ignore +import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; +// @ts-ignore +import type { ApiValidationError } from '../models'; +// @ts-ignore +import type { BoardContextResponse } from '../models'; +// @ts-ignore +import type { BoardResponse } from '../models'; +// @ts-ignore +import type { ColumnResponse } from '../models'; +// @ts-ignore +import type { CopyApiResponse } from '../models'; +// @ts-ignore +import type { CreateBoardBodyParams } from '../models'; +// @ts-ignore +import type { CreateBoardResponse } from '../models'; +// @ts-ignore +import type { UpdateBoardTitleParams } from '../models'; +// @ts-ignore +import type { VisibilityBodyParams } from '../models'; +/** + * BoardApi - axios parameter creator + * @export + */ +export const BoardApiAxiosParamCreator = function (configuration?: Configuration) { + return { + /** + * + * @summary Create a board copy. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerCopyBoard: async (boardId: string, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('boardControllerCopyBoard', 'boardId', boardId) + const localVarPath = `/boards/{boardId}/copy` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Create a new board. + * @param {CreateBoardBodyParams} createBoardBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerCreateBoard: async (createBoardBodyParams: CreateBoardBodyParams, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'createBoardBodyParams' is not null or undefined + assertParamExists('boardControllerCreateBoard', 'createBoardBodyParams', createBoardBodyParams) + const localVarPath = `/boards`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(createBoardBodyParams, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Create a new column on a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerCreateColumn: async (boardId: string, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('boardControllerCreateColumn', 'boardId', boardId) + const localVarPath = `/boards/{boardId}/columns` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Delete a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerDeleteBoard: async (boardId: string, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('boardControllerDeleteBoard', 'boardId', boardId) + const localVarPath = `/boards/{boardId}` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Get the context of a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerGetBoardContext: async (boardId: string, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('boardControllerGetBoardContext', 'boardId', boardId) + const localVarPath = `/boards/{boardId}/context` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Get the skeleton of a a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerGetBoardSkeleton: async (boardId: string, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('boardControllerGetBoardSkeleton', 'boardId', boardId) + const localVarPath = `/boards/{boardId}` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Update the title of a board. + * @param {string} boardId The id of the board. + * @param {UpdateBoardTitleParams} updateBoardTitleParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerUpdateBoardTitle: async (boardId: string, updateBoardTitleParams: UpdateBoardTitleParams, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('boardControllerUpdateBoardTitle', 'boardId', boardId) + // verify required parameter 'updateBoardTitleParams' is not null or undefined + assertParamExists('boardControllerUpdateBoardTitle', 'updateBoardTitleParams', updateBoardTitleParams) + const localVarPath = `/boards/{boardId}/title` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(updateBoardTitleParams, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Update the visibility of a board. + * @param {string} boardId The id of the board. + * @param {VisibilityBodyParams} visibilityBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerUpdateVisibility: async (boardId: string, visibilityBodyParams: VisibilityBodyParams, options: RawAxiosRequestConfig = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('boardControllerUpdateVisibility', 'boardId', boardId) + // verify required parameter 'visibilityBodyParams' is not null or undefined + assertParamExists('boardControllerUpdateVisibility', 'visibilityBodyParams', visibilityBodyParams) + const localVarPath = `/boards/{boardId}/visibility` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(visibilityBodyParams, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + } +}; + +/** + * BoardApi - functional programming interface + * @export + */ +export const BoardApiFp = function(configuration?: Configuration) { + const localVarAxiosParamCreator = BoardApiAxiosParamCreator(configuration) + return { + /** + * + * @summary Create a board copy. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerCopyBoard(boardId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerCopyBoard(boardId, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerCopyBoard']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary Create a new board. + * @param {CreateBoardBodyParams} createBoardBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerCreateBoard(createBoardBodyParams: CreateBoardBodyParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerCreateBoard(createBoardBodyParams, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerCreateBoard']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary Create a new column on a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerCreateColumn(boardId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerCreateColumn(boardId, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerCreateColumn']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary Delete a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerDeleteBoard(boardId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerDeleteBoard(boardId, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerDeleteBoard']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary Get the context of a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerGetBoardContext(boardId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerGetBoardContext(boardId, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerGetBoardContext']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary Get the skeleton of a a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerGetBoardSkeleton(boardId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerGetBoardSkeleton(boardId, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerGetBoardSkeleton']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary Update the title of a board. + * @param {string} boardId The id of the board. + * @param {UpdateBoardTitleParams} updateBoardTitleParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerUpdateBoardTitle(boardId: string, updateBoardTitleParams: UpdateBoardTitleParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerUpdateBoardTitle(boardId, updateBoardTitleParams, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerUpdateBoardTitle']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + /** + * + * @summary Update the visibility of a board. + * @param {string} boardId The id of the board. + * @param {VisibilityBodyParams} visibilityBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async boardControllerUpdateVisibility(boardId: string, visibilityBodyParams: VisibilityBodyParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.boardControllerUpdateVisibility(boardId, visibilityBodyParams, options); + const localVarOperationServerIndex = configuration?.serverIndex ?? 0; + const localVarOperationServerBasePath = operationServerMap['BoardApi.boardControllerUpdateVisibility']?.[localVarOperationServerIndex]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); + }, + } +}; + +/** + * BoardApi - factory interface + * @export + */ +export const BoardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { + const localVarFp = BoardApiFp(configuration) + return { + /** + * + * @summary Create a board copy. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerCopyBoard(boardId: string, options?: any): AxiosPromise { + return localVarFp.boardControllerCopyBoard(boardId, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Create a new board. + * @param {CreateBoardBodyParams} createBoardBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerCreateBoard(createBoardBodyParams: CreateBoardBodyParams, options?: any): AxiosPromise { + return localVarFp.boardControllerCreateBoard(createBoardBodyParams, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Create a new column on a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerCreateColumn(boardId: string, options?: any): AxiosPromise { + return localVarFp.boardControllerCreateColumn(boardId, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Delete a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerDeleteBoard(boardId: string, options?: any): AxiosPromise { + return localVarFp.boardControllerDeleteBoard(boardId, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Get the context of a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerGetBoardContext(boardId: string, options?: any): AxiosPromise { + return localVarFp.boardControllerGetBoardContext(boardId, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Get the skeleton of a a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerGetBoardSkeleton(boardId: string, options?: any): AxiosPromise { + return localVarFp.boardControllerGetBoardSkeleton(boardId, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Update the title of a board. + * @param {string} boardId The id of the board. + * @param {UpdateBoardTitleParams} updateBoardTitleParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerUpdateBoardTitle(boardId: string, updateBoardTitleParams: UpdateBoardTitleParams, options?: any): AxiosPromise { + return localVarFp.boardControllerUpdateBoardTitle(boardId, updateBoardTitleParams, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Update the visibility of a board. + * @param {string} boardId The id of the board. + * @param {VisibilityBodyParams} visibilityBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + boardControllerUpdateVisibility(boardId: string, visibilityBodyParams: VisibilityBodyParams, options?: any): AxiosPromise { + return localVarFp.boardControllerUpdateVisibility(boardId, visibilityBodyParams, options).then((request) => request(axios, basePath)); + }, + }; +}; + +/** + * BoardApi - interface + * @export + * @interface BoardApi + */ +export interface BoardApiInterface { + /** + * + * @summary Create a board copy. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerCopyBoard(boardId: string, options?: RawAxiosRequestConfig): AxiosPromise; + + /** + * + * @summary Create a new board. + * @param {CreateBoardBodyParams} createBoardBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerCreateBoard(createBoardBodyParams: CreateBoardBodyParams, options?: RawAxiosRequestConfig): AxiosPromise; + + /** + * + * @summary Create a new column on a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerCreateColumn(boardId: string, options?: RawAxiosRequestConfig): AxiosPromise; + + /** + * + * @summary Delete a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerDeleteBoard(boardId: string, options?: RawAxiosRequestConfig): AxiosPromise; + + /** + * + * @summary Get the context of a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerGetBoardContext(boardId: string, options?: RawAxiosRequestConfig): AxiosPromise; + + /** + * + * @summary Get the skeleton of a a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerGetBoardSkeleton(boardId: string, options?: RawAxiosRequestConfig): AxiosPromise; + + /** + * + * @summary Update the title of a board. + * @param {string} boardId The id of the board. + * @param {UpdateBoardTitleParams} updateBoardTitleParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerUpdateBoardTitle(boardId: string, updateBoardTitleParams: UpdateBoardTitleParams, options?: RawAxiosRequestConfig): AxiosPromise; + + /** + * + * @summary Update the visibility of a board. + * @param {string} boardId The id of the board. + * @param {VisibilityBodyParams} visibilityBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApiInterface + */ + boardControllerUpdateVisibility(boardId: string, visibilityBodyParams: VisibilityBodyParams, options?: RawAxiosRequestConfig): AxiosPromise; + +} + +/** + * BoardApi - object-oriented interface + * @export + * @class BoardApi + * @extends {BaseAPI} + */ +export class BoardApi extends BaseAPI implements BoardApiInterface { + /** + * + * @summary Create a board copy. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerCopyBoard(boardId: string, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerCopyBoard(boardId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Create a new board. + * @param {CreateBoardBodyParams} createBoardBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerCreateBoard(createBoardBodyParams: CreateBoardBodyParams, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerCreateBoard(createBoardBodyParams, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Create a new column on a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerCreateColumn(boardId: string, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerCreateColumn(boardId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Delete a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerDeleteBoard(boardId: string, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerDeleteBoard(boardId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Get the context of a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerGetBoardContext(boardId: string, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerGetBoardContext(boardId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Get the skeleton of a a board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerGetBoardSkeleton(boardId: string, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerGetBoardSkeleton(boardId, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Update the title of a board. + * @param {string} boardId The id of the board. + * @param {UpdateBoardTitleParams} updateBoardTitleParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerUpdateBoardTitle(boardId: string, updateBoardTitleParams: UpdateBoardTitleParams, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerUpdateBoardTitle(boardId, updateBoardTitleParams, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Update the visibility of a board. + * @param {string} boardId The id of the board. + * @param {VisibilityBodyParams} visibilityBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BoardApi + */ + public boardControllerUpdateVisibility(boardId: string, visibilityBodyParams: VisibilityBodyParams, options?: RawAxiosRequestConfig) { + return BoardApiFp(this.configuration).boardControllerUpdateVisibility(boardId, visibilityBodyParams, options).then((request) => request(this.axios, this.basePath)); + } +} + diff --git a/apps/server/src/infra/board-client/board-api-client/base.ts b/apps/server/src/infra/board-client/board-api-client/base.ts new file mode 100644 index 00000000000..82686c7b81b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/base.ts @@ -0,0 +1,86 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { Configuration } from './configuration'; +// Some imports not used depending on template conditions +// @ts-ignore +import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; +import globalAxios from 'axios'; + +export const BASE_PATH = "http://localhost/api/v3".replace(/\/+$/, ""); + +/** + * + * @export + */ +export const COLLECTION_FORMATS = { + csv: ",", + ssv: " ", + tsv: "\t", + pipes: "|", +}; + +/** + * + * @export + * @interface RequestArgs + */ +export interface RequestArgs { + url: string; + options: RawAxiosRequestConfig; +} + +/** + * + * @export + * @class BaseAPI + */ +export class BaseAPI { + protected configuration: Configuration | undefined; + + constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) { + if (configuration) { + this.configuration = configuration; + this.basePath = configuration.basePath ?? basePath; + } + } +}; + +/** + * + * @export + * @class RequiredError + * @extends {Error} + */ +export class RequiredError extends Error { + constructor(public field: string, msg?: string) { + super(msg); + this.name = "RequiredError" + } +} + +interface ServerMap { + [key: string]: { + url: string, + description: string, + }[]; +} + +/** + * + * @export + */ +export const operationServerMap: ServerMap = { +} diff --git a/apps/server/src/infra/board-client/board-api-client/common.ts b/apps/server/src/infra/board-client/board-api-client/common.ts new file mode 100644 index 00000000000..6c119efb60d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/common.ts @@ -0,0 +1,150 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +import type { Configuration } from "./configuration"; +import type { RequestArgs } from "./base"; +import type { AxiosInstance, AxiosResponse } from 'axios'; +import { RequiredError } from "./base"; + +/** + * + * @export + */ +export const DUMMY_BASE_URL = 'https://example.com' + +/** + * + * @throws {RequiredError} + * @export + */ +export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) { + if (paramValue === null || paramValue === undefined) { + throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`); + } +} + +/** + * + * @export + */ +export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) { + if (configuration && configuration.apiKey) { + const localVarApiKeyValue = typeof configuration.apiKey === 'function' + ? await configuration.apiKey(keyParamName) + : await configuration.apiKey; + object[keyParamName] = localVarApiKeyValue; + } +} + +/** + * + * @export + */ +export const setBasicAuthToObject = function (object: any, configuration?: Configuration) { + if (configuration && (configuration.username || configuration.password)) { + object["auth"] = { username: configuration.username, password: configuration.password }; + } +} + +/** + * + * @export + */ +export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) { + if (configuration && configuration.accessToken) { + const accessToken = typeof configuration.accessToken === 'function' + ? await configuration.accessToken() + : await configuration.accessToken; + object["Authorization"] = "Bearer " + accessToken; + } +} + +/** + * + * @export + */ +export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) { + if (configuration && configuration.accessToken) { + const localVarAccessTokenValue = typeof configuration.accessToken === 'function' + ? await configuration.accessToken(name, scopes) + : await configuration.accessToken; + object["Authorization"] = "Bearer " + localVarAccessTokenValue; + } +} + +function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void { + if (parameter == null) return; + if (typeof parameter === "object") { + if (Array.isArray(parameter)) { + (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key)); + } + else { + Object.keys(parameter).forEach(currentKey => + setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`) + ); + } + } + else { + if (urlSearchParams.has(key)) { + urlSearchParams.append(key, parameter); + } + else { + urlSearchParams.set(key, parameter); + } + } +} + +/** + * + * @export + */ +export const setSearchParams = function (url: URL, ...objects: any[]) { + const searchParams = new URLSearchParams(url.search); + setFlattenedQueryParams(searchParams, objects); + url.search = searchParams.toString(); +} + +/** + * + * @export + */ +export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) { + const nonString = typeof value !== 'string'; + const needsSerialization = nonString && configuration && configuration.isJsonMime + ? configuration.isJsonMime(requestOptions.headers['Content-Type']) + : nonString; + return needsSerialization + ? JSON.stringify(value !== undefined ? value : {}) + : (value || ""); +} + +/** + * + * @export + */ +export const toPathString = function (url: URL) { + return url.pathname + url.search + url.hash +} + +/** + * + * @export + */ +export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) { + return >(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { + const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url}; + return axios.request(axiosRequestArgs); + }; +} diff --git a/apps/server/src/infra/board-client/board-api-client/configuration.ts b/apps/server/src/infra/board-client/board-api-client/configuration.ts new file mode 100644 index 00000000000..8c97d307cf4 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/configuration.ts @@ -0,0 +1,110 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export interface ConfigurationParameters { + apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); + username?: string; + password?: string; + accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise); + basePath?: string; + serverIndex?: number; + baseOptions?: any; + formDataCtor?: new () => any; +} + +export class Configuration { + /** + * parameter for apiKey security + * @param name security name + * @memberof Configuration + */ + apiKey?: string | Promise | ((name: string) => string) | ((name: string) => Promise); + /** + * parameter for basic security + * + * @type {string} + * @memberof Configuration + */ + username?: string; + /** + * parameter for basic security + * + * @type {string} + * @memberof Configuration + */ + password?: string; + /** + * parameter for oauth2 security + * @param name security name + * @param scopes oauth2 scope + * @memberof Configuration + */ + accessToken?: string | Promise | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise); + /** + * override base path + * + * @type {string} + * @memberof Configuration + */ + basePath?: string; + /** + * override server index + * + * @type {number} + * @memberof Configuration + */ + serverIndex?: number; + /** + * base options for axios calls + * + * @type {any} + * @memberof Configuration + */ + baseOptions?: any; + /** + * The FormData constructor that will be used to create multipart form data + * requests. You can inject this here so that execution environments that + * do not support the FormData class can still run the generated client. + * + * @type {new () => FormData} + */ + formDataCtor?: new () => any; + + constructor(param: ConfigurationParameters = {}) { + this.apiKey = param.apiKey; + this.username = param.username; + this.password = param.password; + this.accessToken = param.accessToken; + this.basePath = param.basePath; + this.serverIndex = param.serverIndex; + this.baseOptions = param.baseOptions; + this.formDataCtor = param.formDataCtor; + } + + /** + * Check if the given MIME is a JSON MIME. + * JSON MIME examples: + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json + * @param mime - MIME (Multipurpose Internet Mail Extensions) + * @return True if the given MIME is JSON, false otherwise. + */ + public isJsonMime(mime: string): boolean { + const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i'); + return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json'); + } +} diff --git a/apps/server/src/infra/board-client/board-api-client/git_push.sh b/apps/server/src/infra/board-client/board-api-client/git_push.sh new file mode 100644 index 00000000000..f53a75d4fab --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/git_push.sh @@ -0,0 +1,57 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 +git_host=$4 + +if [ "$git_host" = "" ]; then + git_host="github.com" + echo "[INFO] No command line input provided. Set \$git_host to $git_host" +fi + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=$(git remote) +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' diff --git a/apps/server/src/infra/board-client/board-api-client/index.ts b/apps/server/src/infra/board-client/board-api-client/index.ts new file mode 100644 index 00000000000..8b762df664e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/index.ts @@ -0,0 +1,18 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +export * from "./api"; +export * from "./configuration"; +export * from "./models"; diff --git a/apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts new file mode 100644 index 00000000000..38e5f7d5165 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AccountByIdBodyParams + */ +export interface AccountByIdBodyParams { + /** + * The new user name for the user. + * @type {string} + * @memberof AccountByIdBodyParams + */ + 'username'?: string | null; + /** + * The new password for the user. + * @type {string} + * @memberof AccountByIdBodyParams + */ + 'password'?: string | null; + /** + * The new activation state of the user. + * @type {boolean} + * @memberof AccountByIdBodyParams + */ + 'activated'?: boolean | null; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/account-response.ts b/apps/server/src/infra/board-client/board-api-client/models/account-response.ts new file mode 100644 index 00000000000..c1e1a980fb5 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/account-response.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AccountResponse + */ +export interface AccountResponse { + /** + * + * @type {string} + * @memberof AccountResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof AccountResponse + */ + 'username': string; + /** + * + * @type {string} + * @memberof AccountResponse + */ + 'userId': string; + /** + * + * @type {boolean} + * @memberof AccountResponse + */ + 'activated': boolean; + /** + * + * @type {string} + * @memberof AccountResponse + */ + 'updatedAt': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts new file mode 100644 index 00000000000..a3898607781 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { AccountResponse } from './account-response'; + +/** + * + * @export + * @interface AccountSearchListResponse + */ +export interface AccountSearchListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof AccountSearchListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof AccountSearchListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof AccountSearchListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof AccountSearchListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/action.ts b/apps/server/src/infra/board-client/board-api-client/models/action.ts new file mode 100644 index 00000000000..c74334d322b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/action.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const Action = { + READ: 'read', + WRITE: 'write' +} as const; + +export type Action = typeof Action[keyof typeof Action]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/alert-response.ts b/apps/server/src/infra/board-client/board-api-client/models/alert-response.ts new file mode 100644 index 00000000000..33d0034b8c9 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/alert-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { Message } from './message'; + +/** + * + * @export + * @interface AlertResponse + */ +export interface AlertResponse { + /** + * + * @type {Array} + * @memberof AlertResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/api-validation-error.ts b/apps/server/src/infra/board-client/board-api-client/models/api-validation-error.ts new file mode 100644 index 00000000000..3f49cf86f0d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/api-validation-error.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ApiValidationError + */ +export interface ApiValidationError { + /** + * The response status code. + * @type {number} + * @memberof ApiValidationError + */ + 'code': number; + /** + * The error type. + * @type {string} + * @memberof ApiValidationError + */ + 'type': string; + /** + * The error title. + * @type {string} + * @memberof ApiValidationError + */ + 'title': string; + /** + * The error message. + * @type {string} + * @memberof ApiValidationError + */ + 'message': string; + /** + * The error details. + * @type {object} + * @memberof ApiValidationError + */ + 'details'?: object; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts new file mode 100644 index 00000000000..cea578bd6f3 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts @@ -0,0 +1,64 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { AuthorizationContextParams } from './authorization-context-params'; + +/** + * + * @export + * @interface AuthorizationBodyParams + */ +export interface AuthorizationBodyParams { + /** + * + * @type {AuthorizationContextParams} + * @memberof AuthorizationBodyParams + */ + 'context': AuthorizationContextParams; + /** + * The entity or domain object the operation should be performed on. + * @type {string} + * @memberof AuthorizationBodyParams + */ + 'referenceType': AuthorizationBodyParamsReferenceType; + /** + * The id of the entity/domain object of the defined referenceType. + * @type {string} + * @memberof AuthorizationBodyParams + */ + 'referenceId': string; +} + +export const AuthorizationBodyParamsReferenceType = { + USERS: 'users', + SCHOOLS: 'schools', + COURSES: 'courses', + COURSEGROUPS: 'coursegroups', + TASKS: 'tasks', + LESSONS: 'lessons', + TEAMS: 'teams', + SUBMISSIONS: 'submissions', + SCHOOL_EXTERNAL_TOOLS: 'school-external-tools', + BOARDNODES: 'boardnodes', + CONTEXT_EXTERNAL_TOOLS: 'context-external-tools', + EXTERNAL_TOOLS: 'external-tools', + INSTANCES: 'instances' +} as const; + +export type AuthorizationBodyParamsReferenceType = typeof AuthorizationBodyParamsReferenceType[keyof typeof AuthorizationBodyParamsReferenceType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts b/apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts new file mode 100644 index 00000000000..055adfae85a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { Action } from './action'; +// May contain unused imports in some cases +// @ts-ignore +import type { Permission } from './permission'; + +/** + * + * @export + * @interface AuthorizationContextParams + */ +export interface AuthorizationContextParams { + /** + * + * @type {Action} + * @memberof AuthorizationContextParams + */ + 'action': Action; + /** + * User permissions that are needed to execute the operation. + * @type {Array} + * @memberof AuthorizationContextParams + */ + 'requiredPermissions': Array; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts b/apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts new file mode 100644 index 00000000000..b69c757a07a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface AuthorizedReponse + */ +export interface AuthorizedReponse { + /** + * + * @type {string} + * @memberof AuthorizedReponse + */ + 'userId': string; + /** + * + * @type {boolean} + * @memberof AuthorizedReponse + */ + 'isAuthorized': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts b/apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts new file mode 100644 index 00000000000..eb7d5d3191c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface BasicToolConfigParams + */ +export interface BasicToolConfigParams { + /** + * + * @type {string} + * @memberof BasicToolConfigParams + */ + 'type': string; + /** + * + * @type {string} + * @memberof BasicToolConfigParams + */ + 'baseUrl': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-context-response.ts b/apps/server/src/infra/board-client/board-api-client/models/board-context-response.ts new file mode 100644 index 00000000000..e2c9b1b0a19 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/board-context-response.ts @@ -0,0 +1,41 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { BoardExternalReferenceType } from './board-external-reference-type'; + +/** + * + * @export + * @interface BoardContextResponse + */ +export interface BoardContextResponse { + /** + * + * @type {string} + * @memberof BoardContextResponse + */ + 'id': string; + /** + * + * @type {BoardExternalReferenceType} + * @memberof BoardContextResponse + */ + 'type': BoardExternalReferenceType; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts new file mode 100644 index 00000000000..e320730ea3e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface BoardElementResponse + */ +export interface BoardElementResponse { + /** + * the type of the element in the content. For possible types, please refer to the enum + * @type {string} + * @memberof BoardElementResponse + */ + 'type': BoardElementResponseType; + /** + * Content of the Board, either: a task or a lesson specific for the board + * @type {object} + * @memberof BoardElementResponse + */ + 'content': object; +} + +export const BoardElementResponseType = { + TASK: 'task', + LESSON: 'lesson', + COLUMN_BOARD: 'column-board' +} as const; + +export type BoardElementResponseType = typeof BoardElementResponseType[keyof typeof BoardElementResponseType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-external-reference-type.ts b/apps/server/src/infra/board-client/board-api-client/models/board-external-reference-type.ts new file mode 100644 index 00000000000..5510db52c19 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/board-external-reference-type.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const BoardExternalReferenceType = { + COURSE: 'course', + USER: 'user' +} as const; + +export type BoardExternalReferenceType = typeof BoardExternalReferenceType[keyof typeof BoardExternalReferenceType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-layout.ts b/apps/server/src/infra/board-client/board-api-client/models/board-layout.ts new file mode 100644 index 00000000000..ea8a7890671 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/board-layout.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const BoardLayout = { + COLUMNS: 'columns', + LIST: 'list', + GRID: 'grid' +} as const; + +export type BoardLayout = typeof BoardLayout[keyof typeof BoardLayout]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-parent-type.ts b/apps/server/src/infra/board-client/board-api-client/models/board-parent-type.ts new file mode 100644 index 00000000000..3c8d64356bc --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/board-parent-type.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const BoardParentType = { + COURSE: 'course', + USER: 'user' +} as const; + +export type BoardParentType = typeof BoardParentType[keyof typeof BoardParentType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-response.ts b/apps/server/src/infra/board-client/board-api-client/models/board-response.ts new file mode 100644 index 00000000000..032a6c00330 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/board-response.ts @@ -0,0 +1,66 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ColumnResponse } from './column-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface BoardResponse + */ +export interface BoardResponse { + /** + * + * @type {string} + * @memberof BoardResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof BoardResponse + */ + 'title': string; + /** + * + * @type {Array} + * @memberof BoardResponse + */ + 'columns': Array; + /** + * + * @type {TimestampsResponse} + * @memberof BoardResponse + */ + 'timestamps': TimestampsResponse; + /** + * + * @type {boolean} + * @memberof BoardResponse + */ + 'isVisible': boolean; + /** + * + * @type {string} + * @memberof BoardResponse + */ + 'layout': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts new file mode 100644 index 00000000000..d3127c46646 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CardResponse } from './card-response'; + +/** + * + * @export + * @interface CardListResponse + */ +export interface CardListResponse { + /** + * + * @type {Array} + * @memberof CardListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts b/apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts new file mode 100644 index 00000000000..14834c27c4a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts @@ -0,0 +1,50 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CollaborativeTextEditorElementResponse } from './collaborative-text-editor-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { DrawingElementResponse } from './drawing-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolElementResponse } from './external-tool-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { FileElementResponse } from './file-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { LinkElementResponse } from './link-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { RichTextElementResponse } from './rich-text-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { SubmissionContainerElementResponse } from './submission-container-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * @type CardResponseElementsInner + * @export + */ +export type CardResponseElementsInner = CollaborativeTextEditorElementResponse | DrawingElementResponse | ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-response.ts b/apps/server/src/infra/board-client/board-api-client/models/card-response.ts new file mode 100644 index 00000000000..93f03bf3e78 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/card-response.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CardResponseElementsInner } from './card-response-elements-inner'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { VisibilitySettingsResponse } from './visibility-settings-response'; + +/** + * + * @export + * @interface CardResponse + */ +export interface CardResponse { + /** + * + * @type {string} + * @memberof CardResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof CardResponse + */ + 'title'?: string; + /** + * + * @type {number} + * @memberof CardResponse + */ + 'height': number; + /** + * + * @type {Array} + * @memberof CardResponse + */ + 'elements': Array; + /** + * + * @type {VisibilitySettingsResponse} + * @memberof CardResponse + */ + 'visibilitySettings': VisibilitySettingsResponse; + /** + * + * @type {TimestampsResponse} + * @memberof CardResponse + */ + 'timestamps': TimestampsResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-skeleton-response.ts b/apps/server/src/infra/board-client/board-api-client/models/card-skeleton-response.ts new file mode 100644 index 00000000000..8ffe57e4eda --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/card-skeleton-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CardSkeletonResponse + */ +export interface CardSkeletonResponse { + /** + * + * @type {string} + * @memberof CardSkeletonResponse + */ + 'cardId': string; + /** + * The approximate height of the referenced card. Intended to be used for prerendering purposes. Note, that different devices can lead to this value not being precise + * @type {number} + * @memberof CardSkeletonResponse + */ + 'height': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts b/apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts new file mode 100644 index 00000000000..e751fb28144 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LanguageType } from './language-type'; + +/** + * + * @export + * @interface ChangeLanguageParams + */ +export interface ChangeLanguageParams { + /** + * + * @type {LanguageType} + * @memberof ChangeLanguageParams + */ + 'language': LanguageType; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts new file mode 100644 index 00000000000..0eeee4aa801 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts @@ -0,0 +1,89 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CourseInfoResponse } from './course-info-response'; + +/** + * + * @export + * @interface ClassInfoResponse + */ +export interface ClassInfoResponse { + /** + * + * @type {string} + * @memberof ClassInfoResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof ClassInfoResponse + */ + 'type': ClassInfoResponseType; + /** + * + * @type {string} + * @memberof ClassInfoResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof ClassInfoResponse + */ + 'externalSourceName'?: string; + /** + * + * @type {Array} + * @memberof ClassInfoResponse + */ + 'teacherNames': Array; + /** + * + * @type {string} + * @memberof ClassInfoResponse + */ + 'schoolYear'?: string; + /** + * + * @type {boolean} + * @memberof ClassInfoResponse + */ + 'isUpgradable'?: boolean; + /** + * + * @type {number} + * @memberof ClassInfoResponse + */ + 'studentCount': number; + /** + * + * @type {Array} + * @memberof ClassInfoResponse + */ + 'synchronizedCourses'?: Array; +} + +export const ClassInfoResponseType = { + CLASS: 'class', + GROUP: 'group' +} as const; + +export type ClassInfoResponseType = typeof ClassInfoResponseType[keyof typeof ClassInfoResponseType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts new file mode 100644 index 00000000000..014973879f3 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ClassInfoResponse } from './class-info-response'; + +/** + * + * @export + * @interface ClassInfoSearchListResponse + */ +export interface ClassInfoSearchListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof ClassInfoSearchListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof ClassInfoSearchListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof ClassInfoSearchListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof ClassInfoSearchListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts b/apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts new file mode 100644 index 00000000000..a0cc1a81dea --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const ClassRequestContext = { + COURSE: 'course', + CLASS_OVERVIEW: 'class-overview' +} as const; + +export type ClassRequestContext = typeof ClassRequestContext[keyof typeof ClassRequestContext]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-response.ts b/apps/server/src/infra/board-client/board-api-client/models/class-response.ts new file mode 100644 index 00000000000..d4f310a2761 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/class-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ClassResponse + */ +export interface ClassResponse { + /** + * + * @type {string} + * @memberof ClassResponse + */ + 'name': string; + /** + * + * @type {number} + * @memberof ClassResponse + */ + 'gradeLevel': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts b/apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts new file mode 100644 index 00000000000..25fa72ff2df --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts @@ -0,0 +1,34 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const ClassSortQueryType = { + NAME: 'name', + EXTERNAL_SOURCE_NAME: 'externalSourceName', + SYNCHRONIZED_COURSES: 'synchronizedCourses', + STUDENT_COUNT: 'studentCount', + TEACHER_NAMES: 'teacherNames' +} as const; + +export type ClassSortQueryType = typeof ClassSortQueryType[keyof typeof ClassSortQueryType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts new file mode 100644 index 00000000000..83f02148bea --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface CollaborativeTextEditorElementResponse + */ +export interface CollaborativeTextEditorElementResponse { + /** + * + * @type {string} + * @memberof CollaborativeTextEditorElementResponse + */ + 'id': string; + /** + * + * @type {ContentElementType} + * @memberof CollaborativeTextEditorElementResponse + */ + 'type': ContentElementType; + /** + * + * @type {TimestampsResponse} + * @memberof CollaborativeTextEditorElementResponse + */ + 'timestamps': TimestampsResponse; + /** + * + * @type {object} + * @memberof CollaborativeTextEditorElementResponse + */ + 'content': object; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts new file mode 100644 index 00000000000..05899a41ef6 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const CollaborativeTextEditorParentType = { + CONTENT_ELEMENT: 'content-element' +} as const; + +export type CollaborativeTextEditorParentType = typeof CollaborativeTextEditorParentType[keyof typeof CollaborativeTextEditorParentType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts new file mode 100644 index 00000000000..238a72f72f8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CollaborativeTextEditorResponse + */ +export interface CollaborativeTextEditorResponse { + /** + * + * @type {string} + * @memberof CollaborativeTextEditorResponse + */ + 'url': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts new file mode 100644 index 00000000000..d69b6f7e019 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CollapsableBodyParams + */ +export interface CollapsableBodyParams { + /** + * + * @type {boolean} + * @memberof CollapsableBodyParams + */ + 'collapsed': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts new file mode 100644 index 00000000000..ad627ac5e48 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MediaBoardColors } from './media-board-colors'; + +/** + * + * @export + * @interface ColorBodyParams + */ +export interface ColorBodyParams { + /** + * + * @type {MediaBoardColors} + * @memberof ColorBodyParams + */ + 'backgroundColor': MediaBoardColors; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/column-response.ts b/apps/server/src/infra/board-client/board-api-client/models/column-response.ts new file mode 100644 index 00000000000..1f87a974785 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/column-response.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CardSkeletonResponse } from './card-skeleton-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface ColumnResponse + */ +export interface ColumnResponse { + /** + * + * @type {string} + * @memberof ColumnResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof ColumnResponse + */ + 'title': string; + /** + * + * @type {Array} + * @memberof ColumnResponse + */ + 'cards': Array; + /** + * + * @type {TimestampsResponse} + * @memberof ColumnResponse + */ + 'timestamps': TimestampsResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/config-response.ts b/apps/server/src/infra/board-client/board-api-client/models/config-response.ts new file mode 100644 index 00000000000..0749b6508ca --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/config-response.ts @@ -0,0 +1,437 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LanguageType } from './language-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchulcloudTheme } from './schulcloud-theme'; +// May contain unused imports in some cases +// @ts-ignore +import type { Timezone } from './timezone'; + +/** + * + * @export + * @interface ConfigResponse + */ +export interface ConfigResponse { + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'ACCESSIBILITY_REPORT_EMAIL': string; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_NEW_SCHOOL_ADMINISTRATION_PAGE_AS_DEFAULT_ENABLED': boolean; + /** + * + * @type {number} + * @memberof ConfigResponse + */ + 'MIGRATION_END_GRACE_PERIOD_MS': number; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_CTL_TOOLS_TAB_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_LTI_TOOLS_TAB_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SHOW_OUTDATED_USERS': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_ENABLE_LDAP_SYNC_DURING_MIGRATION': boolean; + /** + * + * @type {number} + * @memberof ConfigResponse + */ + 'CTL_TOOLS_RELOAD_TIME_MS': number; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SHOW_NEW_CLASS_VIEW_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_CTL_TOOLS_COPY_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SHOW_MIGRATION_WIZARD': boolean; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'MIGRATION_WIZARD_DOCUMENTATION_LINK'?: string; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_TLDRAW_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'TLDRAW__ASSETS_ENABLED': boolean; + /** + * + * @type {number} + * @memberof ConfigResponse + */ + 'TLDRAW__ASSETS_MAX_SIZE': number; + /** + * + * @type {Array} + * @memberof ConfigResponse + */ + 'TLDRAW__ASSETS_ALLOWED_MIME_TYPES_LIST': Array; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'ADMIN_TABLES_DISPLAY_CONSENT_COLUMN': boolean; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'ALERT_STATUS_URL': string | null; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_ES_COLLECTIONS_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_EXTENSIONS_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_TEAMS_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_LERNSTORE_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_ADMIN_TOGGLE_STUDENT_LERNSTORE_VIEW_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'TEACHER_STUDENT_VISIBILITY__IS_CONFIGURABLE': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'TEACHER_STUDENT_VISIBILITY__IS_ENABLED_BY_DEFAULT': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'TEACHER_STUDENT_VISIBILITY__IS_VISIBLE': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SCHOOL_POLICY_ENABLED_NEW': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SCHOOL_TERMS_OF_USE_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_NEXBOARD_COPY_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_VIDEOCONFERENCE_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COLUMN_BOARD_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COLUMN_BOARD_SUBMISSIONS_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COLUMN_BOARD_COLLABORATIVE_TEXT_EDITOR_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COLUMN_BOARD_LINK_ELEMENT_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COLUMN_BOARD_EXTERNAL_TOOLS_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COLUMN_BOARD_SHARE': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COLUMN_BOARD_SOCKET_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COURSE_SHARE': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_LOGIN_LINK_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_LESSON_SHARE': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_TASK_SHARE': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_BOARD_LAYOUT_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_USER_MIGRATION_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COPY_SERVICE_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_CONSENT_NECESSARY': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COMMON_CARTRIDGE_COURSE_EXPORT_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_COMMON_CARTRIDGE_COURSE_IMPORT_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SCHOOL_SANIS_USER_MIGRATION_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SCHULCONNEX_COURSE_SYNC_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_ALLOW_INSECURE_LDAP_URL_ENABLED': boolean; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'GHOST_BASE_URL': string; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'ROCKETCHAT_SERVICE_ENABLED': boolean; + /** + * + * @type {Array} + * @memberof ConfigResponse + */ + 'I18N__AVAILABLE_LANGUAGES': Array; + /** + * + * @type {LanguageType} + * @memberof ConfigResponse + */ + 'I18N__DEFAULT_LANGUAGE': LanguageType; + /** + * + * @type {LanguageType} + * @memberof ConfigResponse + */ + 'I18N__FALLBACK_LANGUAGE': LanguageType; + /** + * + * @type {Timezone} + * @memberof ConfigResponse + */ + 'I18N__DEFAULT_TIMEZONE': Timezone; + /** + * + * @type {number} + * @memberof ConfigResponse + */ + 'JWT_SHOW_TIMEOUT_WARNING_SECONDS': number; + /** + * + * @type {number} + * @memberof ConfigResponse + */ + 'JWT_TIMEOUT_SECONDS': number; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'NOT_AUTHENTICATED_REDIRECT_URL': string; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'DOCUMENT_BASE_DIR': string; + /** + * + * @type {SchulcloudTheme} + * @memberof ConfigResponse + */ + 'SC_THEME': SchulcloudTheme; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'SC_TITLE': string; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'TRAINING_URL': string; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_MEDIA_SHELF_ENABLED': boolean; + /** + * + * @type {string} + * @memberof ConfigResponse + */ + 'BOARD_COLLABORATION_URI': string; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED': boolean; + /** + * + * @type {boolean} + * @memberof ConfigResponse + */ + 'FEATURE_AI_TUTOR_ENABLED': boolean; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts b/apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts new file mode 100644 index 00000000000..81794a11048 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts @@ -0,0 +1,72 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ConsentRequestBody + */ +export interface ConsentRequestBody { + /** + * The error should follow the OAuth2 error format (e.g. invalid_request, login_required). Defaults to request_denied. + * @type {string} + * @memberof ConsentRequestBody + */ + 'error'?: string; + /** + * Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. + * @type {string} + * @memberof ConsentRequestBody + */ + 'error_debug'?: string; + /** + * Description of the error in a human readable format. + * @type {string} + * @memberof ConsentRequestBody + */ + 'error_description'?: string; + /** + * Hint to help resolve the error. + * @type {string} + * @memberof ConsentRequestBody + */ + 'error_hint'?: string; + /** + * Represents the HTTP status code of the error (e.g. 401 or 403). Defaults to 400. + * @type {number} + * @memberof ConsentRequestBody + */ + 'status_code'?: number; + /** + * The Oauth2 client id. + * @type {Array} + * @memberof ConsentRequestBody + */ + 'grant_scope'?: Array; + /** + * Remember, if set to true, tells the oauth provider to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. + * @type {boolean} + * @memberof ConsentRequestBody + */ + 'remember'?: boolean; + /** + * RememberFor sets how long the consent authorization should be remembered for in seconds. If set to 0, the authorization will be remembered indefinitely. + * @type {number} + * @memberof ConsentRequestBody + */ + 'remember_for'?: number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/consent-response.ts b/apps/server/src/infra/board-client/board-api-client/models/consent-response.ts new file mode 100644 index 00000000000..ebf3115892c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/consent-response.ts @@ -0,0 +1,108 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { OauthClientResponse } from './oauth-client-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { OidcContextResponse } from './oidc-context-response'; + +/** + * + * @export + * @interface ConsentResponse + */ +export interface ConsentResponse { + /** + * ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session + * @type {string} + * @memberof ConsentResponse + */ + 'acr': string; + /** + * + * @type {Array} + * @memberof ConsentResponse + */ + 'amr'?: Array; + /** + * Is the id/authorization challenge of the consent authorization request. It is used to identify the session. + * @type {string} + * @memberof ConsentResponse + */ + 'challenge': string; + /** + * + * @type {OauthClientResponse} + * @memberof ConsentResponse + */ + 'client': OauthClientResponse; + /** + * + * @type {object} + * @memberof ConsentResponse + */ + 'context': object; + /** + * LoginChallenge is the login challenge this consent challenge belongs to. + * @type {string} + * @memberof ConsentResponse + */ + 'login_challenge': string; + /** + * LoginSessionID is the login session ID. + * @type {string} + * @memberof ConsentResponse + */ + 'login_session_id': string; + /** + * + * @type {OidcContextResponse} + * @memberof ConsentResponse + */ + 'oidc_context': OidcContextResponse; + /** + * RequestUrl is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. + * @type {string} + * @memberof ConsentResponse + */ + 'request_url': string; + /** + * + * @type {Array} + * @memberof ConsentResponse + */ + 'requested_access_token_audience'?: Array; + /** + * The request scopes of the login request. + * @type {Array} + * @memberof ConsentResponse + */ + 'requested_scope'?: Array; + /** + * Skip, if true, implies that the client has requested the same scopes from the same user previously. + * @type {boolean} + * @memberof ConsentResponse + */ + 'skip': boolean; + /** + * Subject is the user id of the end-user that is authenticated. + * @type {string} + * @memberof ConsentResponse + */ + 'subject': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts b/apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts new file mode 100644 index 00000000000..2064b02e3ac --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ConsentSessionResponse + */ +export interface ConsentSessionResponse { + /** + * The id of the client. + * @type {string} + * @memberof ConsentSessionResponse + */ + 'client_id': string; + /** + * The name of the client. + * @type {string} + * @memberof ConsentSessionResponse + */ + 'client_name': string; + /** + * The id/challenge of the consent authorization request. + * @type {string} + * @memberof ConsentSessionResponse + */ + 'challenge': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/consents-response.ts b/apps/server/src/infra/board-client/board-api-client/models/consents-response.ts new file mode 100644 index 00000000000..5388c1367f9 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/consents-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ParentConsentResponse } from './parent-consent-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { UserConsentResponse } from './user-consent-response'; + +/** + * + * @export + * @interface ConsentsResponse + */ +export interface ConsentsResponse { + /** + * + * @type {UserConsentResponse} + * @memberof ConsentsResponse + */ + 'userConsent': UserConsentResponse; + /** + * + * @type {Array} + * @memberof ConsentsResponse + */ + 'parentConsents': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts b/apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts new file mode 100644 index 00000000000..f48f8551d2a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const ContentElementType = { + FILE: 'file', + DRAWING: 'drawing', + LINK: 'link', + RICH_TEXT: 'richText', + SUBMISSION_CONTAINER: 'submissionContainer', + EXTERNAL_TOOL: 'externalTool', + COLLABORATIVE_TEXT_EDITOR: 'collaborativeTextEditor' +} as const; + +export type ContentElementType = typeof ContentElementType[keyof typeof ContentElementType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts new file mode 100644 index 00000000000..ed8dca45832 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts @@ -0,0 +1,41 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ToolContextType } from './tool-context-type'; + +/** + * + * @export + * @interface ContextExternalToolBodyParams + */ +export interface ContextExternalToolBodyParams { + /** + * + * @type {string} + * @memberof ContextExternalToolBodyParams + */ + 'contextId': string; + /** + * + * @type {ToolContextType} + * @memberof ContextExternalToolBodyParams + */ + 'contextType': ToolContextType; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts new file mode 100644 index 00000000000..8f91afe7c8d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts @@ -0,0 +1,60 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ContextExternalToolConfigurationStatusResponse + */ +export interface ContextExternalToolConfigurationStatusResponse { + /** + * Is the tool outdated on school scope, because of non matching versions or required parameter changes on ExternalTool? + * @type {boolean} + * @memberof ContextExternalToolConfigurationStatusResponse + */ + 'isOutdatedOnScopeSchool': boolean; + /** + * Is the tool outdated on context scope, because of non matching versions or required parameter changes on SchoolExternalTool? + * @type {boolean} + * @memberof ContextExternalToolConfigurationStatusResponse + */ + 'isOutdatedOnScopeContext': boolean; + /** + * True, if a mandatory parameter on the context external tool is missing a value + * @type {boolean} + * @memberof ContextExternalToolConfigurationStatusResponse + */ + 'isIncompleteOnScopeContext': boolean; + /** + * True, if a optional parameter on the context external tool is missing a value. This is happening, when course is copied. + * @type {boolean} + * @memberof ContextExternalToolConfigurationStatusResponse + */ + 'isIncompleteOperationalOnScopeContext': boolean; + /** + * Is the tool deactivated, because of superhero or school administrator + * @type {boolean} + * @memberof ContextExternalToolConfigurationStatusResponse + */ + 'isDeactivated': boolean; + /** + * True if the tool is not licensed for user + * @type {boolean} + * @memberof ContextExternalToolConfigurationStatusResponse + */ + 'isNotLicensed': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts new file mode 100644 index 00000000000..be983d62f71 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContextExternalToolConfigurationTemplateResponse } from './context-external-tool-configuration-template-response'; + +/** + * + * @export + * @interface ContextExternalToolConfigurationTemplateListResponse + */ +export interface ContextExternalToolConfigurationTemplateListResponse { + /** + * + * @type {Array} + * @memberof ContextExternalToolConfigurationTemplateListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts new file mode 100644 index 00000000000..868bde9fc6a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts @@ -0,0 +1,63 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterResponse } from './custom-parameter-response'; + +/** + * + * @export + * @interface ContextExternalToolConfigurationTemplateResponse + */ +export interface ContextExternalToolConfigurationTemplateResponse { + /** + * + * @type {string} + * @memberof ContextExternalToolConfigurationTemplateResponse + */ + 'externalToolId': string; + /** + * + * @type {string} + * @memberof ContextExternalToolConfigurationTemplateResponse + */ + 'schoolExternalToolId': string; + /** + * + * @type {string} + * @memberof ContextExternalToolConfigurationTemplateResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof ContextExternalToolConfigurationTemplateResponse + */ + 'baseUrl': string; + /** + * + * @type {string} + * @memberof ContextExternalToolConfigurationTemplateResponse + */ + 'logoUrl'?: string; + /** + * + * @type {Array} + * @memberof ContextExternalToolConfigurationTemplateResponse + */ + 'parameters': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts new file mode 100644 index 00000000000..aeb41c99b65 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ContextExternalToolCountPerContextResponse + */ +export interface ContextExternalToolCountPerContextResponse { + /** + * + * @type {number} + * @memberof ContextExternalToolCountPerContextResponse + */ + 'course': number; + /** + * + * @type {number} + * @memberof ContextExternalToolCountPerContextResponse + */ + 'boardElement': number; + /** + * + * @type {number} + * @memberof ContextExternalToolCountPerContextResponse + */ + 'mediaBoard': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts new file mode 100644 index 00000000000..87a2672ea6f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts @@ -0,0 +1,57 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterEntryParam } from './custom-parameter-entry-param'; + +/** + * + * @export + * @interface ContextExternalToolPostParams + */ +export interface ContextExternalToolPostParams { + /** + * + * @type {string} + * @memberof ContextExternalToolPostParams + */ + 'schoolToolId': string; + /** + * + * @type {string} + * @memberof ContextExternalToolPostParams + */ + 'contextId': string; + /** + * + * @type {string} + * @memberof ContextExternalToolPostParams + */ + 'contextType': string; + /** + * + * @type {string} + * @memberof ContextExternalToolPostParams + */ + 'displayName'?: string; + /** + * + * @type {Array} + * @memberof ContextExternalToolPostParams + */ + 'parameters'?: Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts new file mode 100644 index 00000000000..88556ab4664 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts @@ -0,0 +1,78 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterEntryResponse } from './custom-parameter-entry-response'; + +/** + * + * @export + * @interface ContextExternalToolResponse + */ +export interface ContextExternalToolResponse { + /** + * + * @type {string} + * @memberof ContextExternalToolResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof ContextExternalToolResponse + */ + 'schoolToolId': string; + /** + * + * @type {string} + * @memberof ContextExternalToolResponse + */ + 'contextId': string; + /** + * + * @type {string} + * @memberof ContextExternalToolResponse + */ + 'contextType': ContextExternalToolResponseContextType; + /** + * + * @type {string} + * @memberof ContextExternalToolResponse + */ + 'displayName'?: string; + /** + * + * @type {Array} + * @memberof ContextExternalToolResponse + */ + 'parameters': Array; + /** + * + * @type {string} + * @memberof ContextExternalToolResponse + */ + 'logoUrl'?: string; +} + +export const ContextExternalToolResponseContextType = { + COURSE: 'course', + BOARD_ELEMENT: 'board-element', + MEDIA_BOARD: 'media-board' +} as const; + +export type ContextExternalToolResponseContextType = typeof ContextExternalToolResponseContextType[keyof typeof ContextExternalToolResponseContextType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts new file mode 100644 index 00000000000..556ba42bea6 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContextExternalToolResponse } from './context-external-tool-response'; + +/** + * + * @export + * @interface ContextExternalToolSearchListResponse + */ +export interface ContextExternalToolSearchListResponse { + /** + * + * @type {Array} + * @memberof ContextExternalToolSearchListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/copy-api-response.ts b/apps/server/src/infra/board-client/board-api-client/models/copy-api-response.ts new file mode 100644 index 00000000000..4921f0d6484 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/copy-api-response.ts @@ -0,0 +1,114 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CopyApiResponse + */ +export interface CopyApiResponse { + /** + * Id of copied element + * @type {string} + * @memberof CopyApiResponse + */ + 'id'?: string; + /** + * Title of copied element + * @type {string} + * @memberof CopyApiResponse + */ + 'title'?: string; + /** + * Type of copied element + * @type {string} + * @memberof CopyApiResponse + */ + 'type': CopyApiResponseType; + /** + * Id of destination course + * @type {string} + * @memberof CopyApiResponse + */ + 'destinationCourseId'?: string; + /** + * Copy progress status of copied element + * @type {string} + * @memberof CopyApiResponse + */ + 'status': CopyApiResponseStatus; + /** + * List of included sub elements with recursive type structure + * @type {Array} + * @memberof CopyApiResponse + */ + 'elements'?: Array; +} + +export const CopyApiResponseType = { + BOARD: 'BOARD', + CARD: 'CARD', + COLLABORATIVE_TEXT_EDITOR_ELEMENT: 'COLLABORATIVE_TEXT_EDITOR_ELEMENT', + COLUMN: 'COLUMN', + COLUMNBOARD: 'COLUMNBOARD', + CONTENT: 'CONTENT', + COURSE: 'COURSE', + COURSEGROUP_GROUP: 'COURSEGROUP_GROUP', + EXTERNAL_TOOL: 'EXTERNAL_TOOL', + EXTERNAL_TOOL_ELEMENT: 'EXTERNAL_TOOL_ELEMENT', + FILE: 'FILE', + FILE_ELEMENT: 'FILE_ELEMENT', + DRAWING_ELEMENT: 'DRAWING_ELEMENT', + FILE_GROUP: 'FILE_GROUP', + LEAF: 'LEAF', + LESSON: 'LESSON', + LESSON_CONTENT_ETHERPAD: 'LESSON_CONTENT_ETHERPAD', + LESSON_CONTENT_GEOGEBRA: 'LESSON_CONTENT_GEOGEBRA', + LESSON_CONTENT_GROUP: 'LESSON_CONTENT_GROUP', + LESSON_CONTENT_LERNSTORE: 'LESSON_CONTENT_LERNSTORE', + LESSON_CONTENT_NEXBOARD: 'LESSON_CONTENT_NEXBOARD', + LESSON_CONTENT_TASK: 'LESSON_CONTENT_TASK', + LESSON_CONTENT_TEXT: 'LESSON_CONTENT_TEXT', + LERNSTORE_MATERIAL: 'LERNSTORE_MATERIAL', + LERNSTORE_MATERIAL_GROUP: 'LERNSTORE_MATERIAL_GROUP', + LINK_ELEMENT: 'LINK_ELEMENT', + LTITOOL_GROUP: 'LTITOOL_GROUP', + MEDIA_BOARD: 'MEDIA_BOARD', + MEDIA_LINE: 'MEDIA_LINE', + MEDIA_EXTERNAL_TOOL_ELEMENT: 'MEDIA_EXTERNAL_TOOL_ELEMENT', + METADATA: 'METADATA', + RICHTEXT_ELEMENT: 'RICHTEXT_ELEMENT', + SUBMISSION_CONTAINER_ELEMENT: 'SUBMISSION_CONTAINER_ELEMENT', + SUBMISSION_ITEM: 'SUBMISSION_ITEM', + SUBMISSION_GROUP: 'SUBMISSION_GROUP', + TASK: 'TASK', + TASK_GROUP: 'TASK_GROUP', + TIME_GROUP: 'TIME_GROUP', + USER_GROUP: 'USER_GROUP' +} as const; + +export type CopyApiResponseType = typeof CopyApiResponseType[keyof typeof CopyApiResponseType]; +export const CopyApiResponseStatus = { + SUCCESS: 'success', + FAILURE: 'failure', + NOT_DOING: 'not-doing', + NOT_IMPLEMENTED: 'not-implemented', + PARTIAL: 'partial' +} as const; + +export type CopyApiResponseStatus = typeof CopyApiResponseStatus[keyof typeof CopyApiResponseStatus]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/county-response.ts b/apps/server/src/infra/board-client/board-api-client/models/county-response.ts new file mode 100644 index 00000000000..a2937815a61 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/county-response.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CountyResponse + */ +export interface CountyResponse { + /** + * + * @type {string} + * @memberof CountyResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof CountyResponse + */ + 'name': string; + /** + * + * @type {number} + * @memberof CountyResponse + */ + 'countyId': number; + /** + * + * @type {string} + * @memberof CountyResponse + */ + 'antaresKey': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts new file mode 100644 index 00000000000..7fe921f621c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CourseExportBodyParams + */ +export interface CourseExportBodyParams { + /** + * The list of ids of topics which should be exported. If empty no topics are exported. + * @type {Array} + * @memberof CourseExportBodyParams + */ + 'topics': Array; + /** + * The list of ids of tasks which should be exported. If empty no tasks are exported. + * @type {Array} + * @memberof CourseExportBodyParams + */ + 'tasks': Array; + /** + * The list of ids of column boards which should be exported. If empty no column boards are exported. + * @type {Array} + * @memberof CourseExportBodyParams + */ + 'columnBoards': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts new file mode 100644 index 00000000000..43c7171e7e0 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CourseImportBodyParams + */ +export interface CourseImportBodyParams { + /** + * The Common Cartridge file to import. + * @type {File} + * @memberof CourseImportBodyParams + */ + 'file': File; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts new file mode 100644 index 00000000000..06320c70812 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CourseInfoResponse + */ +export interface CourseInfoResponse { + /** + * + * @type {string} + * @memberof CourseInfoResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof CourseInfoResponse + */ + 'name': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts new file mode 100644 index 00000000000..489f5be83ea --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CourseMetadataResponse } from './course-metadata-response'; + +/** + * + * @export + * @interface CourseMetadataListResponse + */ +export interface CourseMetadataListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof CourseMetadataListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof CourseMetadataListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof CourseMetadataListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof CourseMetadataListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts new file mode 100644 index 00000000000..0ba6eacd5a7 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts @@ -0,0 +1,66 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CourseMetadataResponse + */ +export interface CourseMetadataResponse { + /** + * The id of the Grid element + * @type {string} + * @memberof CourseMetadataResponse + */ + 'id': string; + /** + * Title of the Grid element + * @type {string} + * @memberof CourseMetadataResponse + */ + 'title': string; + /** + * Short title of the Grid element + * @type {string} + * @memberof CourseMetadataResponse + */ + 'shortTitle': string; + /** + * Color of the Grid element + * @type {string} + * @memberof CourseMetadataResponse + */ + 'displayColor': string; + /** + * Start date of the course + * @type {string} + * @memberof CourseMetadataResponse + */ + 'startDate'?: string; + /** + * End date of the course. After this the course counts as archived + * @type {string} + * @memberof CourseMetadataResponse + */ + 'untilDate'?: string; + /** + * Start of the copying process if it is still ongoing - otherwise property is not set. + * @type {string} + * @memberof CourseMetadataResponse + */ + 'copyingSince'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-board-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-board-body-params.ts new file mode 100644 index 00000000000..aeff2cb8769 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/create-board-body-params.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { BoardLayout } from './board-layout'; +// May contain unused imports in some cases +// @ts-ignore +import type { BoardParentType } from './board-parent-type'; + +/** + * + * @export + * @interface CreateBoardBodyParams + */ +export interface CreateBoardBodyParams { + /** + * The title of the board + * @type {string} + * @memberof CreateBoardBodyParams + */ + 'title': string; + /** + * The id of the parent + * @type {string} + * @memberof CreateBoardBodyParams + */ + 'parentId': string; + /** + * + * @type {BoardParentType} + * @memberof CreateBoardBodyParams + */ + 'parentType': BoardParentType; + /** + * + * @type {BoardLayout} + * @memberof CreateBoardBodyParams + */ + 'layout': BoardLayout; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-board-response.ts b/apps/server/src/infra/board-client/board-api-client/models/create-board-response.ts new file mode 100644 index 00000000000..5ae6b3d2a7a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/create-board-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreateBoardResponse + */ +export interface CreateBoardResponse { + /** + * + * @type {string} + * @memberof CreateBoardResponse + */ + 'id': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts new file mode 100644 index 00000000000..002e511ba39 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts @@ -0,0 +1,43 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreateCardBodyParams + */ +export interface CreateCardBodyParams { + /** + * + * @type {Array} + * @memberof CreateCardBodyParams + */ + 'requiredEmptyElements'?: Array; +} + +export const CreateCardBodyParamsRequiredEmptyElements = { + FILE: 'file', + DRAWING: 'drawing', + LINK: 'link', + RICH_TEXT: 'richText', + SUBMISSION_CONTAINER: 'submissionContainer', + EXTERNAL_TOOL: 'externalTool', + COLLABORATIVE_TEXT_EDITOR: 'collaborativeTextEditor' +} as const; + +export type CreateCardBodyParamsRequiredEmptyElements = typeof CreateCardBodyParamsRequiredEmptyElements[keyof typeof CreateCardBodyParamsRequiredEmptyElements]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts new file mode 100644 index 00000000000..d3dc356aebf --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts @@ -0,0 +1,41 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; + +/** + * + * @export + * @interface CreateContentElementBodyParams + */ +export interface CreateContentElementBodyParams { + /** + * + * @type {ContentElementType} + * @memberof CreateContentElementBodyParams + */ + 'type': ContentElementType; + /** + * to bring element to a specific position, default is last position + * @type {number} + * @memberof CreateContentElementBodyParams + */ + 'toPosition'?: number; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts new file mode 100644 index 00000000000..d1ffb6d4fa9 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreateMediaElementBodyParams + */ +export interface CreateMediaElementBodyParams { + /** + * The id of the line where the element is created + * @type {string} + * @memberof CreateMediaElementBodyParams + */ + 'lineId': string; + /** + * The position where the element is created + * @type {number} + * @memberof CreateMediaElementBodyParams + */ + 'position': number; + /** + * The id of the school external tool + * @type {string} + * @memberof CreateMediaElementBodyParams + */ + 'schoolExternalToolId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts new file mode 100644 index 00000000000..f6d9d6bc14c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts @@ -0,0 +1,63 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreateNewsParams + */ +export interface CreateNewsParams { + /** + * Title of the News entity + * @type {string} + * @memberof CreateNewsParams + */ + 'title': string; + /** + * Content of the News entity + * @type {string} + * @memberof CreateNewsParams + */ + 'content': string; + /** + * The point in time from when the News entity schould be displayed. Defaults to now so that the news is published + * @type {string} + * @memberof CreateNewsParams + */ + 'displayAt'?: string; + /** + * Target model to which the News entity is related + * @type {string} + * @memberof CreateNewsParams + */ + 'targetModel': CreateNewsParamsTargetModel; + /** + * Specific target id to which the News entity is related + * @type {string} + * @memberof CreateNewsParams + */ + 'targetId': string; +} + +export const CreateNewsParamsTargetModel = { + SCHOOLS: 'schools', + COURSES: 'courses', + TEAMS: 'teams' +} as const; + +export type CreateNewsParamsTargetModel = typeof CreateNewsParamsTargetModel[keyof typeof CreateNewsParamsTargetModel]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts new file mode 100644 index 00000000000..a799cd438b1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CreateSubmissionItemBodyParams + */ +export interface CreateSubmissionItemBodyParams { + /** + * Boolean indicating whether the submission is completed. + * @type {boolean} + * @memberof CreateSubmissionItemBodyParams + */ + 'completed': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts new file mode 100644 index 00000000000..97f0a67f9e2 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CustomParameterEntryParam + */ +export interface CustomParameterEntryParam { + /** + * + * @type {string} + * @memberof CustomParameterEntryParam + */ + 'name': string; + /** + * + * @type {string} + * @memberof CustomParameterEntryParam + */ + 'value'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts new file mode 100644 index 00000000000..905286040cd --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CustomParameterEntryResponse + */ +export interface CustomParameterEntryResponse { + /** + * + * @type {string} + * @memberof CustomParameterEntryResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof CustomParameterEntryResponse + */ + 'value'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts new file mode 100644 index 00000000000..469a824b5e3 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts @@ -0,0 +1,90 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CustomParameterPostParams + */ +export interface CustomParameterPostParams { + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'name': string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'displayName': string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'description'?: string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'defaultValue'?: string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'regex'?: string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'regexComment'?: string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'scope': string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'location': string; + /** + * + * @type {string} + * @memberof CustomParameterPostParams + */ + 'type': string; + /** + * + * @type {boolean} + * @memberof CustomParameterPostParams + */ + 'isOptional': boolean; + /** + * + * @type {boolean} + * @memberof CustomParameterPostParams + */ + 'isProtected': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts new file mode 100644 index 00000000000..7d314e0038e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts @@ -0,0 +1,119 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface CustomParameterResponse + */ +export interface CustomParameterResponse { + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'displayName': string; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'description'?: string; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'defaultValue'?: string; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'regex'?: string; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'regexComment'?: string; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'scope': CustomParameterResponseScope; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'location': CustomParameterResponseLocation; + /** + * + * @type {string} + * @memberof CustomParameterResponse + */ + 'type': CustomParameterResponseType; + /** + * + * @type {boolean} + * @memberof CustomParameterResponse + */ + 'isOptional': boolean; + /** + * + * @type {boolean} + * @memberof CustomParameterResponse + */ + 'isProtected': boolean; +} + +export const CustomParameterResponseScope = { + GLOBAL: 'global', + SCHOOL: 'school', + CONTEXT: 'context' +} as const; + +export type CustomParameterResponseScope = typeof CustomParameterResponseScope[keyof typeof CustomParameterResponseScope]; +export const CustomParameterResponseLocation = { + PATH: 'path', + BODY: 'body', + QUERY: 'query' +} as const; + +export type CustomParameterResponseLocation = typeof CustomParameterResponseLocation[keyof typeof CustomParameterResponseLocation]; +export const CustomParameterResponseType = { + STRING: 'string', + NUMBER: 'number', + BOOLEAN: 'boolean', + AUTO_CONTEXTID: 'auto_contextid', + AUTO_CONTEXTNAME: 'auto_contextname', + AUTO_SCHOOLID: 'auto_schoolid', + AUTO_SCHOOLNUMBER: 'auto_schoolnumber', + AUTO_MEDIUMID: 'auto_mediumid', + AUTO_GROUP_EXTERNALUUID: 'auto_group_externaluuid' +} as const; + +export type CustomParameterResponseType = typeof CustomParameterResponseType[keyof typeof CustomParameterResponseType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts new file mode 100644 index 00000000000..52799cb432a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts @@ -0,0 +1,87 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { DashboardGridSubElementResponse } from './dashboard-grid-sub-element-response'; + +/** + * + * @export + * @interface DashboardGridElementResponse + */ +export interface DashboardGridElementResponse { + /** + * The id of the Grid element + * @type {string} + * @memberof DashboardGridElementResponse + */ + 'id': string; + /** + * Title of the Grid element + * @type {string} + * @memberof DashboardGridElementResponse + */ + 'title': string; + /** + * Short title of the Grid element + * @type {string} + * @memberof DashboardGridElementResponse + */ + 'shortTitle': string; + /** + * Color of the Grid element + * @type {string} + * @memberof DashboardGridElementResponse + */ + 'displayColor': string; + /** + * X position of the Grid element + * @type {number} + * @memberof DashboardGridElementResponse + */ + 'xPosition': number; + /** + * Y position of the Grid element + * @type {number} + * @memberof DashboardGridElementResponse + */ + 'yPosition': number; + /** + * The id of the group element + * @type {string} + * @memberof DashboardGridElementResponse + */ + 'groupId': string; + /** + * List of all subelements in the group + * @type {Array} + * @memberof DashboardGridElementResponse + */ + 'groupElements': Array; + /** + * Start of the copying process if it is still ongoing - otherwise property is not set. + * @type {string} + * @memberof DashboardGridElementResponse + */ + 'copyingSince': string; + /** + * Is the course synchronized with a group? + * @type {boolean} + * @memberof DashboardGridElementResponse + */ + 'isSynchronized': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts new file mode 100644 index 00000000000..9ec4f32922a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface DashboardGridSubElementResponse + */ +export interface DashboardGridSubElementResponse { + /** + * The id of the Grid element + * @type {string} + * @memberof DashboardGridSubElementResponse + */ + 'id': string; + /** + * Title of the Grid element + * @type {string} + * @memberof DashboardGridSubElementResponse + */ + 'title': string; + /** + * Short title of the Grid element + * @type {string} + * @memberof DashboardGridSubElementResponse + */ + 'shortTitle': string; + /** + * Color of the Grid element + * @type {string} + * @memberof DashboardGridSubElementResponse + */ + 'displayColor': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts b/apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts new file mode 100644 index 00000000000..93f877067f1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { DashboardGridElementResponse } from './dashboard-grid-element-response'; + +/** + * + * @export + * @interface DashboardResponse + */ +export interface DashboardResponse { + /** + * The id of the Dashboard entity + * @type {string} + * @memberof DashboardResponse + */ + 'id': string; + /** + * List of all elements visible on the dashboard + * @type {Array} + * @memberof DashboardResponse + */ + 'gridElements': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts new file mode 100644 index 00000000000..f2db6190632 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface DrawingContentBody + */ +export interface DrawingContentBody { + /** + * + * @type {string} + * @memberof DrawingContentBody + */ + 'description': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts new file mode 100644 index 00000000000..41529d11d66 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { DrawingContentBody } from './drawing-content-body'; + +/** + * + * @export + * @interface DrawingElementContentBody + */ +export interface DrawingElementContentBody { + /** + * + * @type {ContentElementType} + * @memberof DrawingElementContentBody + */ + 'type': ContentElementType; + /** + * + * @type {DrawingContentBody} + * @memberof DrawingElementContentBody + */ + 'content': DrawingContentBody; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts new file mode 100644 index 00000000000..dda7fca8f5d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface DrawingElementContent + */ +export interface DrawingElementContent { + /** + * + * @type {string} + * @memberof DrawingElementContent + */ + 'description': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts new file mode 100644 index 00000000000..b65f9714169 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { DrawingElementContent } from './drawing-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface DrawingElementResponse + */ +export interface DrawingElementResponse { + /** + * + * @type {string} + * @memberof DrawingElementResponse + */ + 'id': string; + /** + * + * @type {ContentElementType} + * @memberof DrawingElementResponse + */ + 'type': ContentElementType; + /** + * + * @type {TimestampsResponse} + * @memberof DrawingElementResponse + */ + 'timestamps': TimestampsResponse; + /** + * + * @type {DrawingElementContent} + * @memberof DrawingElementResponse + */ + 'content': DrawingElementContent; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts b/apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts new file mode 100644 index 00000000000..e43320ba892 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface EntityNotFoundError + */ +export interface EntityNotFoundError { + /** + * The response status code. + * @type {number} + * @memberof EntityNotFoundError + */ + 'code': number; + /** + * The error type. + * @type {string} + * @memberof EntityNotFoundError + */ + 'type': string; + /** + * The error title. + * @type {string} + * @memberof EntityNotFoundError + */ + 'title': string; + /** + * The error message. + * @type {string} + * @memberof EntityNotFoundError + */ + 'message': string; + /** + * The error details. + * @type {object} + * @memberof EntityNotFoundError + */ + 'details'?: object; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts new file mode 100644 index 00000000000..298ea564dd2 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExternalSourceResponse + */ +export interface ExternalSourceResponse { + /** + * + * @type {string} + * @memberof ExternalSourceResponse + */ + 'externalId': string; + /** + * + * @type {string} + * @memberof ExternalSourceResponse + */ + 'systemId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts new file mode 100644 index 00000000000..e4e4baa3344 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolCreateParams } from './external-tool-create-params'; + +/** + * + * @export + * @interface ExternalToolBulkCreateParams + */ +export interface ExternalToolBulkCreateParams { + /** + * List of external tools + * @type {Array} + * @memberof ExternalToolBulkCreateParams + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts new file mode 100644 index 00000000000..00a3b930f0e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExternalToolContentBody + */ +export interface ExternalToolContentBody { + /** + * + * @type {string} + * @memberof ExternalToolContentBody + */ + 'contextExternalToolId'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts new file mode 100644 index 00000000000..d62fd5fa484 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts @@ -0,0 +1,108 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterPostParams } from './custom-parameter-post-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolMediumParams } from './external-tool-medium-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolResponseConfig } from './external-tool-response-config'; +// May contain unused imports in some cases +// @ts-ignore +import type { ToolContextType } from './tool-context-type'; + +/** + * + * @export + * @interface ExternalToolCreateParams + */ +export interface ExternalToolCreateParams { + /** + * Name of the external tool + * @type {string} + * @memberof ExternalToolCreateParams + */ + 'name': string; + /** + * Description of the external tool + * @type {string} + * @memberof ExternalToolCreateParams + */ + 'description'?: string; + /** + * URL of the external tool + * @type {string} + * @memberof ExternalToolCreateParams + */ + 'url'?: string; + /** + * URL of the logo of the external tool + * @type {string} + * @memberof ExternalToolCreateParams + */ + 'logoUrl'?: string; + /** + * URL of the thumbnail of the external tool + * @type {string} + * @memberof ExternalToolCreateParams + */ + 'thumbnailUrl'?: string; + /** + * + * @type {ExternalToolResponseConfig} + * @memberof ExternalToolCreateParams + */ + 'config': ExternalToolResponseConfig; + /** + * Custom parameters of the external tool + * @type {Array} + * @memberof ExternalToolCreateParams + */ + 'parameters'?: Array; + /** + * Tool can be hidden, those tools cant be added to e.g. school, course or board + * @type {boolean} + * @memberof ExternalToolCreateParams + */ + 'isHidden': boolean; + /** + * Tool can be deactivated, related tools can not be added to e.g. school, course or board anymore + * @type {boolean} + * @memberof ExternalToolCreateParams + */ + 'isDeactivated': boolean; + /** + * Tool should be opened in a new tab + * @type {boolean} + * @memberof ExternalToolCreateParams + */ + 'openNewTab': boolean; + /** + * Restrict tools to specific contexts + * @type {Array} + * @memberof ExternalToolCreateParams + */ + 'restrictToContexts'?: Array; + /** + * Medium of the external tool + * @type {ExternalToolMediumParams} + * @memberof ExternalToolCreateParams + */ + 'medium'?: ExternalToolMediumParams; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts new file mode 100644 index 00000000000..d4a09a8672b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolContentBody } from './external-tool-content-body'; + +/** + * + * @export + * @interface ExternalToolElementContentBody + */ +export interface ExternalToolElementContentBody { + /** + * + * @type {ContentElementType} + * @memberof ExternalToolElementContentBody + */ + 'type': ContentElementType; + /** + * + * @type {ExternalToolContentBody} + * @memberof ExternalToolElementContentBody + */ + 'content': ExternalToolContentBody; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts new file mode 100644 index 00000000000..357ab4ae07e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExternalToolElementContent + */ +export interface ExternalToolElementContent { + /** + * + * @type {string} + * @memberof ExternalToolElementContent + */ + 'contextExternalToolId': string | null; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts new file mode 100644 index 00000000000..fb6f4b60fd0 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolElementContent } from './external-tool-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface ExternalToolElementResponse + */ +export interface ExternalToolElementResponse { + /** + * + * @type {string} + * @memberof ExternalToolElementResponse + */ + 'id': string; + /** + * + * @type {ContentElementType} + * @memberof ExternalToolElementResponse + */ + 'type': ContentElementType; + /** + * + * @type {ExternalToolElementContent} + * @memberof ExternalToolElementResponse + */ + 'content': ExternalToolElementContent; + /** + * + * @type {TimestampsResponse} + * @memberof ExternalToolElementResponse + */ + 'timestamps': TimestampsResponse; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts new file mode 100644 index 00000000000..e24a20ec1dc --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExternalToolMediumParams + */ +export interface ExternalToolMediumParams { + /** + * Id of the medium + * @type {string} + * @memberof ExternalToolMediumParams + */ + 'mediumId': string; + /** + * Publisher of the medium + * @type {string} + * @memberof ExternalToolMediumParams + */ + 'publisher'?: string; + /** + * The id of the media source + * @type {string} + * @memberof ExternalToolMediumParams + */ + 'mediaSourceId'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts new file mode 100644 index 00000000000..700c1642af7 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ExternalToolMediumResponse + */ +export interface ExternalToolMediumResponse { + /** + * Id of the medium + * @type {string} + * @memberof ExternalToolMediumResponse + */ + 'mediumId': string; + /** + * Publisher of the medium + * @type {string} + * @memberof ExternalToolMediumResponse + */ + 'publisher'?: string; + /** + * The id of the media source + * @type {string} + * @memberof ExternalToolMediumResponse + */ + 'mediaSourceId'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts new file mode 100644 index 00000000000..d8809197465 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContextExternalToolCountPerContextResponse } from './context-external-tool-count-per-context-response'; + +/** + * + * @export + * @interface ExternalToolMetadataResponse + */ +export interface ExternalToolMetadataResponse { + /** + * + * @type {number} + * @memberof ExternalToolMetadataResponse + */ + 'schoolExternalToolCount': number; + /** + * + * @type {ContextExternalToolCountPerContextResponse} + * @memberof ExternalToolMetadataResponse + */ + 'contextExternalToolCountPerContext': ContextExternalToolCountPerContextResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts new file mode 100644 index 00000000000..373a06d7200 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { BasicToolConfigParams } from './basic-tool-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { Lti11ToolConfigCreateParams } from './lti11-tool-config-create-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { LtiMessageType } from './lti-message-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { LtiPrivacyPermission } from './lti-privacy-permission'; +// May contain unused imports in some cases +// @ts-ignore +import type { Oauth2ToolConfigCreateParams } from './oauth2-tool-config-create-params'; + +/** + * @type ExternalToolResponseConfig + * Configuration of the external tool + * @export + */ +export type ExternalToolResponseConfig = BasicToolConfigParams | Lti11ToolConfigCreateParams | Oauth2ToolConfigCreateParams; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts new file mode 100644 index 00000000000..5637b58c047 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts @@ -0,0 +1,114 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterResponse } from './custom-parameter-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolMediumResponse } from './external-tool-medium-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolResponseConfig } from './external-tool-response-config'; +// May contain unused imports in some cases +// @ts-ignore +import type { ToolContextType } from './tool-context-type'; + +/** + * + * @export + * @interface ExternalToolResponse + */ +export interface ExternalToolResponse { + /** + * Id of the external tool + * @type {string} + * @memberof ExternalToolResponse + */ + 'id': string; + /** + * Name of the external tool + * @type {string} + * @memberof ExternalToolResponse + */ + 'name': string; + /** + * Description of the external tool + * @type {string} + * @memberof ExternalToolResponse + */ + 'description'?: string; + /** + * URL of the external tool + * @type {string} + * @memberof ExternalToolResponse + */ + 'url'?: string; + /** + * URL of the logo of the external tool + * @type {string} + * @memberof ExternalToolResponse + */ + 'logoUrl'?: string; + /** + * URL of the thumbnail of the external tool + * @type {string} + * @memberof ExternalToolResponse + */ + 'thumbnailUrl'?: string; + /** + * + * @type {ExternalToolResponseConfig} + * @memberof ExternalToolResponse + */ + 'config': ExternalToolResponseConfig; + /** + * Custom parameters of the external tool + * @type {Array} + * @memberof ExternalToolResponse + */ + 'parameters': Array; + /** + * Is the external tool hidden + * @type {boolean} + * @memberof ExternalToolResponse + */ + 'isHidden': boolean; + /** + * Is the external tool deactivated + * @type {boolean} + * @memberof ExternalToolResponse + */ + 'isDeactivated': boolean; + /** + * Should the external tool be opened in a new tab + * @type {boolean} + * @memberof ExternalToolResponse + */ + 'openNewTab': boolean; + /** + * Contexts in which the external tool is restricted + * @type {Array} + * @memberof ExternalToolResponse + */ + 'restrictToContexts'?: Array; + /** + * Medium of the external tool + * @type {ExternalToolMediumResponse} + * @memberof ExternalToolResponse + */ + 'medium'?: ExternalToolMediumResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts new file mode 100644 index 00000000000..9ee3dca4108 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolResponse } from './external-tool-response'; + +/** + * + * @export + * @interface ExternalToolSearchListResponse + */ +export interface ExternalToolSearchListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof ExternalToolSearchListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof ExternalToolSearchListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof ExternalToolSearchListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof ExternalToolSearchListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts new file mode 100644 index 00000000000..e34cb5969f4 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { BasicToolConfigParams } from './basic-tool-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { Lti11ToolConfigUpdateParams } from './lti11-tool-config-update-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { LtiMessageType } from './lti-message-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { LtiPrivacyPermission } from './lti-privacy-permission'; +// May contain unused imports in some cases +// @ts-ignore +import type { Oauth2ToolConfigUpdateParams } from './oauth2-tool-config-update-params'; + +/** + * @type ExternalToolUpdateParamsConfig + * Configuration of the external tool + * @export + */ +export type ExternalToolUpdateParamsConfig = BasicToolConfigParams | Lti11ToolConfigUpdateParams | Oauth2ToolConfigUpdateParams; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts new file mode 100644 index 00000000000..be572e1e69f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts @@ -0,0 +1,114 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterPostParams } from './custom-parameter-post-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolMediumParams } from './external-tool-medium-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolUpdateParamsConfig } from './external-tool-update-params-config'; +// May contain unused imports in some cases +// @ts-ignore +import type { ToolContextType } from './tool-context-type'; + +/** + * + * @export + * @interface ExternalToolUpdateParams + */ +export interface ExternalToolUpdateParams { + /** + * ID of the external tool + * @type {string} + * @memberof ExternalToolUpdateParams + */ + 'id': string; + /** + * + * @type {string} + * @memberof ExternalToolUpdateParams + */ + 'name': string; + /** + * Description of the external tool + * @type {string} + * @memberof ExternalToolUpdateParams + */ + 'description'?: string; + /** + * URL of the external tool + * @type {string} + * @memberof ExternalToolUpdateParams + */ + 'url'?: string; + /** + * URL of the logo of the external tool + * @type {string} + * @memberof ExternalToolUpdateParams + */ + 'logoUrl'?: string; + /** + * URL of the thumbnail of the external tool + * @type {string} + * @memberof ExternalToolUpdateParams + */ + 'thumbnailUrl'?: string; + /** + * + * @type {ExternalToolUpdateParamsConfig} + * @memberof ExternalToolUpdateParams + */ + 'config': ExternalToolUpdateParamsConfig; + /** + * Custom parameters of the external tool + * @type {Array} + * @memberof ExternalToolUpdateParams + */ + 'parameters'?: Array; + /** + * + * @type {boolean} + * @memberof ExternalToolUpdateParams + */ + 'isHidden': boolean; + /** + * Tool can be deactivated, related tools can not be added to e.g. school, course or board anymore + * @type {boolean} + * @memberof ExternalToolUpdateParams + */ + 'isDeactivated': boolean; + /** + * Open the tool in a new tab + * @type {boolean} + * @memberof ExternalToolUpdateParams + */ + 'openNewTab': boolean; + /** + * Restrict the tool to certain contexts + * @type {Array} + * @memberof ExternalToolUpdateParams + */ + 'restrictToContexts'?: Array; + /** + * Medium of the external tool + * @type {ExternalToolMediumParams} + * @memberof ExternalToolUpdateParams + */ + 'medium'?: ExternalToolMediumParams; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts b/apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts new file mode 100644 index 00000000000..f7b1013a010 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts @@ -0,0 +1,57 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CountyResponse } from './county-response'; + +/** + * + * @export + * @interface FederalStateResponse + */ +export interface FederalStateResponse { + /** + * + * @type {string} + * @memberof FederalStateResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof FederalStateResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof FederalStateResponse + */ + 'abbreviation': string; + /** + * + * @type {string} + * @memberof FederalStateResponse + */ + 'logoUrl': string; + /** + * + * @type {Array} + * @memberof FederalStateResponse + */ + 'counties': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts new file mode 100644 index 00000000000..29ed1c848e8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface FileContentBody + */ +export interface FileContentBody { + /** + * + * @type {string} + * @memberof FileContentBody + */ + 'caption': string; + /** + * + * @type {string} + * @memberof FileContentBody + */ + 'alternativeText': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts new file mode 100644 index 00000000000..bdf60627a56 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { FileContentBody } from './file-content-body'; + +/** + * + * @export + * @interface FileElementContentBody + */ +export interface FileElementContentBody { + /** + * + * @type {ContentElementType} + * @memberof FileElementContentBody + */ + 'type': ContentElementType; + /** + * + * @type {FileContentBody} + * @memberof FileElementContentBody + */ + 'content': FileContentBody; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts new file mode 100644 index 00000000000..fd8c90b8352 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface FileElementContent + */ +export interface FileElementContent { + /** + * + * @type {string} + * @memberof FileElementContent + */ + 'caption': string; + /** + * + * @type {string} + * @memberof FileElementContent + */ + 'alternativeText': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts new file mode 100644 index 00000000000..8e3c2b8ffff --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { FileElementContent } from './file-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface FileElementResponse + */ +export interface FileElementResponse { + /** + * + * @type {string} + * @memberof FileElementResponse + */ + 'id': string; + /** + * + * @type {ContentElementType} + * @memberof FileElementResponse + */ + 'type': ContentElementType; + /** + * + * @type {FileElementContent} + * @memberof FileElementResponse + */ + 'content': FileElementContent; + /** + * + * @type {TimestampsResponse} + * @memberof FileElementResponse + */ + 'timestamps': TimestampsResponse; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts b/apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts new file mode 100644 index 00000000000..b04a528b0f1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const FileStorageType = { + AWS_S3: 'awsS3' +} as const; + +export type FileStorageType = typeof FileStorageType[keyof typeof FileStorageType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts b/apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts new file mode 100644 index 00000000000..71644e2e5ce --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ForbiddenOperationError + */ +export interface ForbiddenOperationError { + /** + * The response status code. + * @type {number} + * @memberof ForbiddenOperationError + */ + 'code': number; + /** + * The error type. + * @type {string} + * @memberof ForbiddenOperationError + */ + 'type': string; + /** + * The error title. + * @type {string} + * @memberof ForbiddenOperationError + */ + 'title': string; + /** + * The error message. + * @type {string} + * @memberof ForbiddenOperationError + */ + 'message': string; + /** + * The error details. + * @type {object} + * @memberof ForbiddenOperationError + */ + 'details'?: object; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts b/apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts new file mode 100644 index 00000000000..27520f06109 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ForceMigrationParams + */ +export interface ForceMigrationParams { + /** + * Email of the administrator + * @type {string} + * @memberof ForceMigrationParams + */ + 'email': string; + /** + * Target externalId to link it with an external account + * @type {string} + * @memberof ForceMigrationParams + */ + 'externalUserId': string; + /** + * Target externalId to link it with an external school + * @type {string} + * @memberof ForceMigrationParams + */ + 'externalSchoolId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts b/apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts new file mode 100644 index 00000000000..428f34fa8ed --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface GetMetaTagDataBody + */ +export interface GetMetaTagDataBody { + /** + * + * @type {string} + * @memberof GetMetaTagDataBody + */ + 'url': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts new file mode 100644 index 00000000000..8759ba5b513 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { GroupResponse } from './group-response'; + +/** + * + * @export + * @interface GroupListResponse + */ +export interface GroupListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof GroupListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof GroupListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof GroupListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof GroupListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/group-response.ts b/apps/server/src/infra/board-client/board-api-client/models/group-response.ts new file mode 100644 index 00000000000..4cc443884eb --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/group-response.ts @@ -0,0 +1,75 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalSourceResponse } from './external-source-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { GroupUserResponse } from './group-user-response'; + +/** + * + * @export + * @interface GroupResponse + */ +export interface GroupResponse { + /** + * + * @type {string} + * @memberof GroupResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof GroupResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof GroupResponse + */ + 'type': GroupResponseType; + /** + * + * @type {Array} + * @memberof GroupResponse + */ + 'users': Array; + /** + * + * @type {ExternalSourceResponse} + * @memberof GroupResponse + */ + 'externalSource'?: ExternalSourceResponse; + /** + * + * @type {string} + * @memberof GroupResponse + */ + 'organizationId'?: string; +} + +export const GroupResponseType = { + CLASS: 'class', + COURSE: 'course', + OTHER: 'other' +} as const; + +export type GroupResponseType = typeof GroupResponseType[keyof typeof GroupResponseType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts new file mode 100644 index 00000000000..57e0c3eb8b5 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts @@ -0,0 +1,53 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { RoleName } from './role-name'; + +/** + * + * @export + * @interface GroupUserResponse + */ +export interface GroupUserResponse { + /** + * + * @type {string} + * @memberof GroupUserResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof GroupUserResponse + */ + 'firstName': string; + /** + * + * @type {string} + * @memberof GroupUserResponse + */ + 'lastName': string; + /** + * + * @type {RoleName} + * @memberof GroupUserResponse + */ + 'role': RoleName; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts new file mode 100644 index 00000000000..f21bb384efc --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ImportUserResponse } from './import-user-response'; + +/** + * + * @export + * @interface ImportUserListResponse + */ +export interface ImportUserListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof ImportUserListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof ImportUserListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof ImportUserListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof ImportUserListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts new file mode 100644 index 00000000000..1b777eeb3a7 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts @@ -0,0 +1,84 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { UserMatchResponse } from './user-match-response'; + +/** + * + * @export + * @interface ImportUserResponse + */ +export interface ImportUserResponse { + /** + * id reference to a import user + * @type {string} + * @memberof ImportUserResponse + */ + 'importUserId': string; + /** + * login name from external system + * @type {string} + * @memberof ImportUserResponse + */ + 'loginName': string; + /** + * external systems user firstname + * @type {string} + * @memberof ImportUserResponse + */ + 'firstName': string; + /** + * external systems user lastname + * @type {string} + * @memberof ImportUserResponse + */ + 'lastName': string; + /** + * list of user roles from external system: student, teacher, admin + * @type {Array} + * @memberof ImportUserResponse + */ + 'roleNames': Array; + /** + * names of classes the user attends from external system + * @type {Array} + * @memberof ImportUserResponse + */ + 'classNames': Array; + /** + * assignemnt to a local user account + * @type {UserMatchResponse} + * @memberof ImportUserResponse + */ + 'match'?: UserMatchResponse; + /** + * manual flag to apply it as filter + * @type {boolean} + * @memberof ImportUserResponse + */ + 'flagged': boolean; +} + +export const ImportUserResponseRoleNames = { + STUDENT: 'student', + TEACHER: 'teacher', + ADMIN: 'admin' +} as const; + +export type ImportUserResponseRoleNames = typeof ImportUserResponseRoleNames[keyof typeof ImportUserResponseRoleNames]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/index.ts b/apps/server/src/infra/board-client/board-api-client/models/index.ts new file mode 100644 index 00000000000..5ecccf6452e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/index.ts @@ -0,0 +1,260 @@ +export * from './account-by-id-body-params'; +export * from './account-response'; +export * from './account-search-list-response'; +export * from './action'; +export * from './alert-response'; +export * from './api-validation-error'; +export * from './authorization-body-params'; +export * from './authorization-context-params'; +export * from './authorized-reponse'; +export * from './basic-tool-config-params'; +export * from './board-context-response'; +export * from './board-element-response'; +export * from './board-external-reference-type'; +export * from './board-layout'; +export * from './board-parent-type'; +export * from './board-response'; +export * from './card-list-response'; +export * from './card-response'; +export * from './card-response-elements-inner'; +export * from './card-skeleton-response'; +export * from './change-language-params'; +export * from './class-info-response'; +export * from './class-info-search-list-response'; +export * from './class-request-context'; +export * from './class-response'; +export * from './class-sort-query-type'; +export * from './collaborative-text-editor-element-response'; +export * from './collaborative-text-editor-parent-type'; +export * from './collaborative-text-editor-response'; +export * from './collapsable-body-params'; +export * from './color-body-params'; +export * from './column-response'; +export * from './config-response'; +export * from './consent-request-body'; +export * from './consent-response'; +export * from './consent-session-response'; +export * from './consents-response'; +export * from './content-element-type'; +export * from './context-external-tool-body-params'; +export * from './context-external-tool-configuration-status-response'; +export * from './context-external-tool-configuration-template-list-response'; +export * from './context-external-tool-configuration-template-response'; +export * from './context-external-tool-count-per-context-response'; +export * from './context-external-tool-post-params'; +export * from './context-external-tool-response'; +export * from './context-external-tool-search-list-response'; +export * from './copy-api-response'; +export * from './county-response'; +export * from './course-export-body-params'; +export * from './course-import-body-params'; +export * from './course-info-response'; +export * from './course-metadata-list-response'; +export * from './course-metadata-response'; +export * from './create-board-body-params'; +export * from './create-board-response'; +export * from './create-card-body-params'; +export * from './create-content-element-body-params'; +export * from './create-media-element-body-params'; +export * from './create-news-params'; +export * from './create-submission-item-body-params'; +export * from './custom-parameter-entry-param'; +export * from './custom-parameter-entry-response'; +export * from './custom-parameter-post-params'; +export * from './custom-parameter-response'; +export * from './dashboard-grid-element-response'; +export * from './dashboard-grid-sub-element-response'; +export * from './dashboard-response'; +export * from './drawing-content-body'; +export * from './drawing-element-content'; +export * from './drawing-element-content-body'; +export * from './drawing-element-response'; +export * from './entity-not-found-error'; +export * from './external-source-response'; +export * from './external-tool-bulk-create-params'; +export * from './external-tool-content-body'; +export * from './external-tool-create-params'; +export * from './external-tool-element-content'; +export * from './external-tool-element-content-body'; +export * from './external-tool-element-response'; +export * from './external-tool-medium-params'; +export * from './external-tool-medium-response'; +export * from './external-tool-metadata-response'; +export * from './external-tool-response'; +export * from './external-tool-response-config'; +export * from './external-tool-search-list-response'; +export * from './external-tool-update-params'; +export * from './external-tool-update-params-config'; +export * from './federal-state-response'; +export * from './file-content-body'; +export * from './file-element-content'; +export * from './file-element-content-body'; +export * from './file-element-response'; +export * from './file-storage-type'; +export * from './forbidden-operation-error'; +export * from './force-migration-params'; +export * from './get-meta-tag-data-body'; +export * from './group-list-response'; +export * from './group-response'; +export * from './group-user-response'; +export * from './import-user-list-response'; +export * from './import-user-response'; +export * from './layout-body-params'; +export * from './ldap-authorization-body-params'; +export * from './lesson-content-response'; +export * from './lesson-copy-api-params'; +export * from './lesson-metadata-list-response'; +export * from './lesson-metadata-response'; +export * from './lesson-response'; +export * from './link-content-body'; +export * from './link-element-content'; +export * from './link-element-content-body'; +export * from './link-element-response'; +export * from './local-authorization-body-params'; +export * from './login-request-body'; +export * from './login-response'; +export * from './lti11-tool-config-create-params'; +export * from './lti11-tool-config-update-params'; +export * from './lti-message-type'; +export * from './lti-privacy-permission'; +export * from './material-response'; +export * from './me-account-response'; +export * from './me-response'; +export * from './me-role-response'; +export * from './me-school-logo-response'; +export * from './me-school-response'; +export * from './me-user-response'; +export * from './media-available-line-element-response'; +export * from './media-available-line-response'; +export * from './media-board-colors'; +export * from './media-board-layout-type'; +export * from './media-board-response'; +export * from './media-external-tool-element-content'; +export * from './media-external-tool-element-response'; +export * from './media-line-response'; +export * from './message'; +export * from './message-origin'; +export * from './meta-tag-extractor-response'; +export * from './move-card-body-params'; +export * from './move-column-body-params'; +export * from './move-content-element-body'; +export * from './move-element-body-params'; +export * from './move-element-params'; +export * from './move-element-position-params'; +export * from './news-list-response'; +export * from './news-response'; +export * from './news-target-model'; +export * from './oauth-token-dto'; +export * from './oauth2-authorization-body-params'; +export * from './oauth2-migration-params'; +export * from './oauth2-tool-config-create-params'; +export * from './oauth2-tool-config-update-params'; +export * from './oauth-client-create-body'; +export * from './oauth-client-response'; +export * from './oauth-client-update-body'; +export * from './oauth-config-response'; +export * from './oidc-context-response'; +export * from './parent-consent-response'; +export * from './patch-group-params'; +export * from './patch-my-account-params'; +export * from './patch-my-password-params'; +export * from './patch-order-params'; +export * from './patch-visibility-params'; +export * from './provider-config-response'; +export * from './pseudonym-response'; +export * from './public-system-list-response'; +export * from './public-system-response'; +export * from './public-system-response-oauth-config'; +export * from './redirect-response'; +export * from './rename-body-params'; +export * from './resolved-user-response'; +export * from './rich-text'; +export * from './rich-text-content-body'; +export * from './rich-text-element-content'; +export * from './rich-text-element-content-body'; +export * from './rich-text-element-response'; +export * from './role-name'; +export * from './school-exists-response'; +export * from './school-external-tool-configuration-status-response'; +export * from './school-external-tool-configuration-template-list-response'; +export * from './school-external-tool-configuration-template-response'; +export * from './school-external-tool-metadata-response'; +export * from './school-external-tool-post-params'; +export * from './school-external-tool-response'; +export * from './school-external-tool-search-list-response'; +export * from './school-for-external-invite-response'; +export * from './school-for-ldap-login-response'; +export * from './school-info-response'; +export * from './school-logo'; +export * from './school-permissions-params'; +export * from './school-purpose'; +export * from './school-response'; +export * from './school-system-response'; +export * from './school-update-body-params'; +export * from './school-year-query-type'; +export * from './school-year-response'; +export * from './schul-conne-xprovisioning-options-params'; +export * from './schul-conne-xprovisioning-options-response'; +export * from './schulcloud-theme'; +export * from './set-height-body-params'; +export * from './share-token-body-params'; +export * from './share-token-import-body-params'; +export * from './share-token-info-response'; +export * from './share-token-payload-response'; +export * from './share-token-response'; +export * from './single-column-board-response'; +export * from './student-permission-params'; +export * from './submission-container-content-body'; +export * from './submission-container-element-content'; +export * from './submission-container-element-content-body'; +export * from './submission-container-element-response'; +export * from './submission-item-response'; +export * from './submission-item-response-elements-inner'; +export * from './submission-status-list-response'; +export * from './submission-status-response'; +export * from './submissions-response'; +export * from './successful-response'; +export * from './system-for-ldap-login-response'; +export * from './system-type'; +export * from './target-info-response'; +export * from './task-copy-api-params'; +export * from './task-list-response'; +export * from './task-response'; +export * from './task-status-response'; +export * from './teacher-permission-params'; +export * from './team-permissions-body'; +export * from './timestamps-response'; +export * from './timezone'; +export * from './tool-config-type'; +export * from './tool-context-type'; +export * from './tool-context-types-list-response'; +export * from './tool-launch-request-response'; +export * from './tool-reference-list-response'; +export * from './tool-reference-response'; +export * from './update-board-title-params'; +export * from './update-element-content-body-params'; +export * from './update-element-content-body-params-data'; +export * from './update-flag-params'; +export * from './update-match-params'; +export * from './update-news-params'; +export * from './update-submission-item-body-params'; +export * from './user-consent-response'; +export * from './user-data-response'; +export * from './user-info-response'; +export * from './user-list-response'; +export * from './user-login-migration-mandatory-params'; +export * from './user-login-migration-response'; +export * from './user-login-migration-search-list-response'; +export * from './user-match-list-response'; +export * from './user-match-response'; +export * from './user-response'; +export * from './validation-error'; +export * from './video-conference-create-params'; +export * from './video-conference-info-response'; +export * from './video-conference-join-response'; +export * from './video-conference-options-response'; +export * from './video-conference-scope'; +export * from './video-conference-state-response'; +export * from './visibility-body-params'; +export * from './visibility-settings-response'; +export * from './years-response'; diff --git a/apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts new file mode 100644 index 00000000000..c9348e32627 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts @@ -0,0 +1,35 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MediaBoardLayoutType } from './media-board-layout-type'; + +/** + * + * @export + * @interface LayoutBodyParams + */ +export interface LayoutBodyParams { + /** + * + * @type {MediaBoardLayoutType} + * @memberof LayoutBodyParams + */ + 'layout': MediaBoardLayoutType; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts new file mode 100644 index 00000000000..901936dc39d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LdapAuthorizationBodyParams + */ +export interface LdapAuthorizationBodyParams { + /** + * + * @type {string} + * @memberof LdapAuthorizationBodyParams + */ + 'systemId': string; + /** + * + * @type {string} + * @memberof LdapAuthorizationBodyParams + */ + 'username': string; + /** + * + * @type {string} + * @memberof LdapAuthorizationBodyParams + */ + 'password': string; + /** + * + * @type {string} + * @memberof LdapAuthorizationBodyParams + */ + 'schoolId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts new file mode 100644 index 00000000000..da12106638f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts @@ -0,0 +1,73 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LessonContentResponse + */ +export interface LessonContentResponse { + /** + * + * @type {object} + * @memberof LessonContentResponse + */ + 'content': object; + /** + * The id of the Material entity + * @type {string} + * @memberof LessonContentResponse + * @deprecated + */ + '_id': string; + /** + * The id of the Material entity + * @type {string} + * @memberof LessonContentResponse + */ + 'id': string; + /** + * Title of the Material entity + * @type {string} + * @memberof LessonContentResponse + */ + 'title': string; + /** + * + * @type {string} + * @memberof LessonContentResponse + */ + 'component': LessonContentResponseComponent; + /** + * + * @type {boolean} + * @memberof LessonContentResponse + */ + 'hidden': boolean; +} + +export const LessonContentResponseComponent = { + ETHERPAD: 'Etherpad', + GEO_GEBRA: 'geoGebra', + INTERNAL: 'internal', + RESOURCES: 'resources', + TEXT: 'text', + NE_XBOARD: 'neXboard' +} as const; + +export type LessonContentResponseComponent = typeof LessonContentResponseComponent[keyof typeof LessonContentResponseComponent]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts new file mode 100644 index 00000000000..b7b460e8cce --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LessonCopyApiParams + */ +export interface LessonCopyApiParams { + /** + * Destination course parent Id the lesson is copied to + * @type {string} + * @memberof LessonCopyApiParams + */ + 'courseId'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts new file mode 100644 index 00000000000..4a528b10ead --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LessonMetadataResponse } from './lesson-metadata-response'; + +/** + * + * @export + * @interface LessonMetadataListResponse + */ +export interface LessonMetadataListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof LessonMetadataListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof LessonMetadataListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof LessonMetadataListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof LessonMetadataListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts new file mode 100644 index 00000000000..c9e144139a1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LessonMetadataResponse + */ +export interface LessonMetadataResponse { + /** + * The id of the Lesson entity + * @type {string} + * @memberof LessonMetadataResponse + */ + '_id': string; + /** + * Name of the Lesson entity + * @type {string} + * @memberof LessonMetadataResponse + */ + 'name': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts new file mode 100644 index 00000000000..ac2a0c697ba --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts @@ -0,0 +1,85 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LessonContentResponse } from './lesson-content-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { MaterialResponse } from './material-response'; + +/** + * + * @export + * @interface LessonResponse + */ +export interface LessonResponse { + /** + * The id of the Lesson entity + * @type {string} + * @memberof LessonResponse + * @deprecated + */ + '_id': string; + /** + * The id of the Lesson entity + * @type {string} + * @memberof LessonResponse + */ + 'id': string; + /** + * Name of the Lesson entity + * @type {string} + * @memberof LessonResponse + */ + 'name': string; + /** + * The id of the Course entity + * @type {string} + * @memberof LessonResponse + */ + 'courseId'?: string; + /** + * The id of the Course-group entity + * @type {string} + * @memberof LessonResponse + */ + 'courseGroupId'?: string; + /** + * Hidden status of the Lesson entity + * @type {boolean} + * @memberof LessonResponse + */ + 'hidden': boolean; + /** + * Position of the Lesson entity + * @type {number} + * @memberof LessonResponse + */ + 'position': number; + /** + * Contents of the Lesson entity + * @type {Array} + * @memberof LessonResponse + */ + 'contents': Array; + /** + * Materials of the Lesson entity + * @type {Array} + * @memberof LessonResponse + */ + 'materials': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts new file mode 100644 index 00000000000..9d9a8db0714 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LinkContentBody + */ +export interface LinkContentBody { + /** + * + * @type {string} + * @memberof LinkContentBody + */ + 'url': string; + /** + * + * @type {string} + * @memberof LinkContentBody + */ + 'title': string; + /** + * + * @type {string} + * @memberof LinkContentBody + */ + 'description': string; + /** + * + * @type {string} + * @memberof LinkContentBody + */ + 'imageUrl': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts new file mode 100644 index 00000000000..aa255c6a22c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { LinkContentBody } from './link-content-body'; + +/** + * + * @export + * @interface LinkElementContentBody + */ +export interface LinkElementContentBody { + /** + * + * @type {ContentElementType} + * @memberof LinkElementContentBody + */ + 'type': ContentElementType; + /** + * + * @type {LinkContentBody} + * @memberof LinkElementContentBody + */ + 'content': LinkContentBody; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts new file mode 100644 index 00000000000..298c02b7a88 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LinkElementContent + */ +export interface LinkElementContent { + /** + * + * @type {string} + * @memberof LinkElementContent + */ + 'url': string; + /** + * + * @type {string} + * @memberof LinkElementContent + */ + 'title': string; + /** + * + * @type {string} + * @memberof LinkElementContent + */ + 'description'?: string; + /** + * + * @type {string} + * @memberof LinkElementContent + */ + 'imageUrl'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts new file mode 100644 index 00000000000..9ce6c6958e0 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { LinkElementContent } from './link-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface LinkElementResponse + */ +export interface LinkElementResponse { + /** + * + * @type {string} + * @memberof LinkElementResponse + */ + 'id': string; + /** + * + * @type {ContentElementType} + * @memberof LinkElementResponse + */ + 'type': ContentElementType; + /** + * + * @type {LinkElementContent} + * @memberof LinkElementResponse + */ + 'content': LinkElementContent; + /** + * + * @type {TimestampsResponse} + * @memberof LinkElementResponse + */ + 'timestamps': TimestampsResponse; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts new file mode 100644 index 00000000000..964031a609e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LocalAuthorizationBodyParams + */ +export interface LocalAuthorizationBodyParams { + /** + * + * @type {string} + * @memberof LocalAuthorizationBodyParams + */ + 'username': string; + /** + * + * @type {string} + * @memberof LocalAuthorizationBodyParams + */ + 'password': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts b/apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts new file mode 100644 index 00000000000..c549a7105f8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts @@ -0,0 +1,66 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface LoginRequestBody + */ +export interface LoginRequestBody { + /** + * The error should follow the OAuth2 error format (e.g. invalid_request, login_required). Defaults to request_denied. + * @type {string} + * @memberof LoginRequestBody + */ + 'error'?: string; + /** + * Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. + * @type {string} + * @memberof LoginRequestBody + */ + 'error_debug'?: string; + /** + * Description of the error in a human readable format. + * @type {string} + * @memberof LoginRequestBody + */ + 'error_description'?: string; + /** + * Hint to help resolve the error. + * @type {string} + * @memberof LoginRequestBody + */ + 'error_hint'?: string; + /** + * Represents the HTTP status code of the error (e.g. 401 or 403). Defaults to 400. + * @type {number} + * @memberof LoginRequestBody + */ + 'status_code'?: number; + /** + * Remember, if set to true, tells the oauth provider to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. + * @type {boolean} + * @memberof LoginRequestBody + */ + 'remember'?: boolean; + /** + * RememberFor sets how long the consent authorization should be remembered for in seconds. If set to 0, the authorization will be remembered indefinitely. + * @type {number} + * @memberof LoginRequestBody + */ + 'remember_for'?: number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/login-response.ts b/apps/server/src/infra/board-client/board-api-client/models/login-response.ts new file mode 100644 index 00000000000..51561ad52af --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/login-response.ts @@ -0,0 +1,90 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { OauthClientResponse } from './oauth-client-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { OidcContextResponse } from './oidc-context-response'; + +/** + * + * @export + * @interface LoginResponse + */ +export interface LoginResponse { + /** + * Id of the corresponding client. + * @type {string} + * @memberof LoginResponse + */ + 'client_id': string; + /** + * The id/challenge of the consent login request. + * @type {string} + * @memberof LoginResponse + */ + 'challenge': string; + /** + * + * @type {OauthClientResponse} + * @memberof LoginResponse + */ + 'client': OauthClientResponse; + /** + * + * @type {OidcContextResponse} + * @memberof LoginResponse + */ + 'oidc_context': OidcContextResponse; + /** + * The original oauth2.0 authorization url request by the client. + * @type {string} + * @memberof LoginResponse + */ + 'request_url': string; + /** + * + * @type {Array} + * @memberof LoginResponse + */ + 'requested_access_token_audience': Array; + /** + * The request scopes of the login request. + * @type {Array} + * @memberof LoginResponse + */ + 'requested_scope'?: Array; + /** + * The login session id. This parameter is used as sid for the oidc front-/backchannel logout. + * @type {string} + * @memberof LoginResponse + */ + 'session_id': string; + /** + * Skip, if true, implies that the client has requested the same scopes from the same user previously. + * @type {boolean} + * @memberof LoginResponse + */ + 'skip': boolean; + /** + * User id of the end-user that is authenticated. + * @type {string} + * @memberof LoginResponse + */ + 'subject': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts b/apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts new file mode 100644 index 00000000000..a0a69039121 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const LtiMessageType = { + BASIC_LTI_LAUNCH_REQUEST: 'basic-lti-launch-request' +} as const; + +export type LtiMessageType = typeof LtiMessageType[keyof typeof LtiMessageType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts b/apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts new file mode 100644 index 00000000000..c2de3cb3157 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts @@ -0,0 +1,34 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const LtiPrivacyPermission = { + ANONYMOUS: 'anonymous', + E_MAIL: 'e-mail', + NAME: 'name', + PUBLIC: 'public', + PSEUDONYMOUS: 'pseudonymous' +} as const; + +export type LtiPrivacyPermission = typeof LtiPrivacyPermission[keyof typeof LtiPrivacyPermission]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts new file mode 100644 index 00000000000..d5041601680 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts @@ -0,0 +1,77 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LtiMessageType } from './lti-message-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { LtiPrivacyPermission } from './lti-privacy-permission'; +// May contain unused imports in some cases +// @ts-ignore +import type { ToolConfigType } from './tool-config-type'; + +/** + * + * @export + * @interface Lti11ToolConfigCreateParams + */ +export interface Lti11ToolConfigCreateParams { + /** + * + * @type {ToolConfigType} + * @memberof Lti11ToolConfigCreateParams + */ + 'type': ToolConfigType; + /** + * + * @type {string} + * @memberof Lti11ToolConfigCreateParams + */ + 'baseUrl': string; + /** + * + * @type {string} + * @memberof Lti11ToolConfigCreateParams + */ + 'key': string; + /** + * + * @type {string} + * @memberof Lti11ToolConfigCreateParams + */ + 'secret': string; + /** + * + * @type {LtiMessageType} + * @memberof Lti11ToolConfigCreateParams + */ + 'lti_message_type': LtiMessageType; + /** + * + * @type {LtiPrivacyPermission} + * @memberof Lti11ToolConfigCreateParams + */ + 'privacy_permission': LtiPrivacyPermission; + /** + * + * @type {string} + * @memberof Lti11ToolConfigCreateParams + */ + 'launch_presentation_locale': string; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts b/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts new file mode 100644 index 00000000000..e74cbc0a8f1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts @@ -0,0 +1,77 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LtiMessageType } from './lti-message-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { LtiPrivacyPermission } from './lti-privacy-permission'; +// May contain unused imports in some cases +// @ts-ignore +import type { ToolConfigType } from './tool-config-type'; + +/** + * + * @export + * @interface Lti11ToolConfigUpdateParams + */ +export interface Lti11ToolConfigUpdateParams { + /** + * + * @type {ToolConfigType} + * @memberof Lti11ToolConfigUpdateParams + */ + 'type': ToolConfigType; + /** + * + * @type {string} + * @memberof Lti11ToolConfigUpdateParams + */ + 'baseUrl': string; + /** + * + * @type {string} + * @memberof Lti11ToolConfigUpdateParams + */ + 'key': string; + /** + * + * @type {string} + * @memberof Lti11ToolConfigUpdateParams + */ + 'secret'?: string; + /** + * + * @type {LtiMessageType} + * @memberof Lti11ToolConfigUpdateParams + */ + 'lti_message_type': LtiMessageType; + /** + * + * @type {LtiPrivacyPermission} + * @memberof Lti11ToolConfigUpdateParams + */ + 'privacy_permission': LtiPrivacyPermission; + /** + * + * @type {string} + * @memberof Lti11ToolConfigUpdateParams + */ + 'launch_presentation_locale': string; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/material-response.ts b/apps/server/src/infra/board-client/board-api-client/models/material-response.ts new file mode 100644 index 00000000000..6b427cb511f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/material-response.ts @@ -0,0 +1,72 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MaterialResponse + */ +export interface MaterialResponse { + /** + * The id of the Material entity + * @type {string} + * @memberof MaterialResponse + */ + '_id': string; + /** + * The id of the Material entity + * @type {string} + * @memberof MaterialResponse + */ + 'id': string; + /** + * Title of the Material entity + * @type {string} + * @memberof MaterialResponse + */ + 'title': string; + /** + * ? + * @type {Array} + * @memberof MaterialResponse + */ + 'relatedResources': Array; + /** + * Url of the material + * @type {string} + * @memberof MaterialResponse + */ + 'url': string; + /** + * Position of the Lesson entity + * @type {string} + * @memberof MaterialResponse + */ + 'client': string; + /** + * Description of the material license + * @type {Array} + * @memberof MaterialResponse + */ + 'license': Array; + /** + * For material from Merlin, the Merlin reference + * @type {string} + * @memberof MaterialResponse + */ + 'merlinReference': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts new file mode 100644 index 00000000000..687001f2ef6 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MeAccountResponse + */ +export interface MeAccountResponse { + /** + * + * @type {string} + * @memberof MeAccountResponse + */ + 'id': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-response.ts new file mode 100644 index 00000000000..8c34f3b4509 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/me-response.ts @@ -0,0 +1,77 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LanguageType } from './language-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { MeAccountResponse } from './me-account-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { MeRoleResponse } from './me-role-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { MeSchoolResponse } from './me-school-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { MeUserResponse } from './me-user-response'; + +/** + * + * @export + * @interface MeResponse + */ +export interface MeResponse { + /** + * + * @type {MeSchoolResponse} + * @memberof MeResponse + */ + 'school': MeSchoolResponse; + /** + * + * @type {MeUserResponse} + * @memberof MeResponse + */ + 'user': MeUserResponse; + /** + * + * @type {Array} + * @memberof MeResponse + */ + 'roles': Array; + /** + * + * @type {Array} + * @memberof MeResponse + */ + 'permissions': Array; + /** + * + * @type {LanguageType} + * @memberof MeResponse + */ + 'language': LanguageType; + /** + * + * @type {MeAccountResponse} + * @memberof MeResponse + */ + 'account': MeAccountResponse; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts new file mode 100644 index 00000000000..a14e406a487 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MeRoleResponse + */ +export interface MeRoleResponse { + /** + * + * @type {string} + * @memberof MeRoleResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof MeRoleResponse + */ + 'name': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts new file mode 100644 index 00000000000..01f7871c668 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MeSchoolLogoResponse + */ +export interface MeSchoolLogoResponse { + /** + * + * @type {string} + * @memberof MeSchoolLogoResponse + */ + 'url'?: string; + /** + * + * @type {string} + * @memberof MeSchoolLogoResponse + */ + 'name'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts new file mode 100644 index 00000000000..0e7cbd6c769 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MeSchoolLogoResponse } from './me-school-logo-response'; + +/** + * + * @export + * @interface MeSchoolResponse + */ +export interface MeSchoolResponse { + /** + * + * @type {string} + * @memberof MeSchoolResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof MeSchoolResponse + */ + 'name': string; + /** + * + * @type {MeSchoolLogoResponse} + * @memberof MeSchoolResponse + */ + 'logo': MeSchoolLogoResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts new file mode 100644 index 00000000000..3f070f2e453 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MeUserResponse + */ +export interface MeUserResponse { + /** + * + * @type {string} + * @memberof MeUserResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof MeUserResponse + */ + 'firstName': string; + /** + * + * @type {string} + * @memberof MeUserResponse + */ + 'lastName': string; + /** + * + * @type {string} + * @memberof MeUserResponse + */ + 'customAvatarBackgroundColor'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts new file mode 100644 index 00000000000..3159aa04ba6 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MediaAvailableLineElementResponse + */ +export interface MediaAvailableLineElementResponse { + /** + * School External tool id of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + 'schoolExternalToolId': string; + /** + * Name of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + 'name': string; + /** + * Description of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + 'description'?: string; + /** + * Logo url of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + 'logoUrl'?: string; + /** + * Thumbnail url of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + 'thumbnailUrl'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts new file mode 100644 index 00000000000..c6424077083 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts @@ -0,0 +1,50 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MediaAvailableLineElementResponse } from './media-available-line-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { MediaBoardColors } from './media-board-colors'; + +/** + * + * @export + * @interface MediaAvailableLineResponse + */ +export interface MediaAvailableLineResponse { + /** + * Available media elements in the line + * @type {Array} + * @memberof MediaAvailableLineResponse + */ + 'elements': Array; + /** + * + * @type {MediaBoardColors} + * @memberof MediaAvailableLineResponse + */ + 'backgroundColor': MediaBoardColors; + /** + * Collapse available media line + * @type {boolean} + * @memberof MediaAvailableLineResponse + */ + 'collapsed': boolean; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts b/apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts new file mode 100644 index 00000000000..4bcb262d3b4 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts @@ -0,0 +1,49 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const MediaBoardColors = { + TRANSPARENT: 'transparent', + RED: 'red', + PINK: 'pink', + PURPLE: 'purple', + DEEP_PURPLE: 'deepPurple', + INDIGO: 'indigo', + BLUE: 'blue', + LIGHT_BLUE: 'lightBlue', + CYAN: 'cyan', + TEAL: 'teal', + GREEN: 'green', + LIGHT_GREEN: 'lightGreen', + LIME: 'lime', + YELLOW: 'yellow', + AMBER: 'amber', + ORANGE: 'orange', + DEEP_ORANGE: 'deepOrange', + BROWN: 'brown', + GREY: 'grey', + BLUE_GREY: 'blueGrey' +} as const; + +export type MediaBoardColors = typeof MediaBoardColors[keyof typeof MediaBoardColors]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts b/apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts new file mode 100644 index 00000000000..3a39aab0098 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const MediaBoardLayoutType = { + COLUMNS: 'columns', + LIST: 'list', + GRID: 'grid' +} as const; + +export type MediaBoardLayoutType = typeof MediaBoardLayoutType[keyof typeof MediaBoardLayoutType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts new file mode 100644 index 00000000000..10e4c8b2d04 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MediaBoardLayoutType } from './media-board-layout-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { MediaLineResponse } from './media-line-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface MediaBoardResponse + */ +export interface MediaBoardResponse { + /** + * The id of the media board + * @type {string} + * @memberof MediaBoardResponse + */ + 'id': string; + /** + * The lines of the media board + * @type {Array} + * @memberof MediaBoardResponse + */ + 'lines': Array; + /** + * The timestamps of the media board + * @type {TimestampsResponse} + * @memberof MediaBoardResponse + */ + 'timestamps': TimestampsResponse; + /** + * + * @type {MediaBoardLayoutType} + * @memberof MediaBoardResponse + */ + 'layout': MediaBoardLayoutType; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts new file mode 100644 index 00000000000..ed0d323efda --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MediaExternalToolElementContent + */ +export interface MediaExternalToolElementContent { + /** + * The id of the context external tool + * @type {string} + * @memberof MediaExternalToolElementContent + */ + 'contextExternalToolId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts new file mode 100644 index 00000000000..38d0e1a8c51 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MediaExternalToolElementContent } from './media-external-tool-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface MediaExternalToolElementResponse + */ +export interface MediaExternalToolElementResponse { + /** + * The id of the media external tool element + * @type {string} + * @memberof MediaExternalToolElementResponse + */ + 'id': string; + /** + * The content of the media external tool element + * @type {MediaExternalToolElementContent} + * @memberof MediaExternalToolElementResponse + */ + 'content': MediaExternalToolElementContent; + /** + * The timestamps of the media external tool element + * @type {TimestampsResponse} + * @memberof MediaExternalToolElementResponse + */ + 'timestamps': TimestampsResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts new file mode 100644 index 00000000000..6a36b66e5cc --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts @@ -0,0 +1,71 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MediaBoardColors } from './media-board-colors'; +// May contain unused imports in some cases +// @ts-ignore +import type { MediaExternalToolElementResponse } from './media-external-tool-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface MediaLineResponse + */ +export interface MediaLineResponse { + /** + * The id of the media line + * @type {string} + * @memberof MediaLineResponse + */ + 'id': string; + /** + * The title of the media line + * @type {string} + * @memberof MediaLineResponse + */ + 'title': string; + /** + * The elements of the media line + * @type {Array} + * @memberof MediaLineResponse + */ + 'elements': Array; + /** + * The timestamps of the media line + * @type {TimestampsResponse} + * @memberof MediaLineResponse + */ + 'timestamps': TimestampsResponse; + /** + * + * @type {MediaBoardColors} + * @memberof MediaLineResponse + */ + 'backgroundColor': MediaBoardColors; + /** + * Collapse the media line + * @type {boolean} + * @memberof MediaLineResponse + */ + 'collapsed': boolean; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/message-origin.ts b/apps/server/src/infra/board-client/board-api-client/models/message-origin.ts new file mode 100644 index 00000000000..0573484298c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/message-origin.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MessageOrigin + */ +export interface MessageOrigin { + /** + * + * @type {number} + * @memberof MessageOrigin + */ + 'message_id': number; + /** + * + * @type {string} + * @memberof MessageOrigin + */ + 'page': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/message.ts b/apps/server/src/infra/board-client/board-api-client/models/message.ts new file mode 100644 index 00000000000..3481fbbf4b8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/message.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MessageOrigin } from './message-origin'; + +/** + * + * @export + * @interface Message + */ +export interface Message { + /** + * + * @type {string} + * @memberof Message + */ + 'title': string; + /** + * + * @type {string} + * @memberof Message + */ + 'text': string; + /** + * + * @type {string} + * @memberof Message + */ + 'timestamp': string; + /** + * + * @type {MessageOrigin} + * @memberof Message + */ + 'origin': MessageOrigin; + /** + * + * @type {string} + * @memberof Message + */ + 'url': string; + /** + * + * @type {string} + * @memberof Message + */ + 'status': string; + /** + * + * @type {string} + * @memberof Message + */ + 'createdAt': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts b/apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts new file mode 100644 index 00000000000..d0bfc7e1439 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts @@ -0,0 +1,66 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MetaTagExtractorResponse + */ +export interface MetaTagExtractorResponse { + /** + * + * @type {string} + * @memberof MetaTagExtractorResponse + */ + 'url': string; + /** + * + * @type {string} + * @memberof MetaTagExtractorResponse + */ + 'title': string; + /** + * + * @type {string} + * @memberof MetaTagExtractorResponse + */ + 'description': string; + /** + * + * @type {string} + * @memberof MetaTagExtractorResponse + */ + 'imageUrl': string; + /** + * + * @type {string} + * @memberof MetaTagExtractorResponse + */ + 'type': string; + /** + * + * @type {string} + * @memberof MetaTagExtractorResponse + */ + 'parentTitle': string; + /** + * + * @type {string} + * @memberof MetaTagExtractorResponse + */ + 'parentType': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts new file mode 100644 index 00000000000..56c4bdac0f6 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MoveCardBodyParams + */ +export interface MoveCardBodyParams { + /** + * + * @type {string} + * @memberof MoveCardBodyParams + */ + 'toColumnId': string; + /** + * + * @type {number} + * @memberof MoveCardBodyParams + */ + 'toPosition': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts new file mode 100644 index 00000000000..c6523ca2982 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MoveColumnBodyParams + */ +export interface MoveColumnBodyParams { + /** + * The id of the target board + * @type {string} + * @memberof MoveColumnBodyParams + */ + 'toBoardId': string; + /** + * + * @type {number} + * @memberof MoveColumnBodyParams + */ + 'toPosition': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts b/apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts new file mode 100644 index 00000000000..acc2280542b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MoveContentElementBody + */ +export interface MoveContentElementBody { + /** + * + * @type {string} + * @memberof MoveContentElementBody + */ + 'toCardId': string; + /** + * + * @type {number} + * @memberof MoveContentElementBody + */ + 'toPosition': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts new file mode 100644 index 00000000000..b619098b450 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MoveElementBodyParams + */ +export interface MoveElementBodyParams { + /** + * The id of the line where the element is moved to + * @type {string} + * @memberof MoveElementBodyParams + */ + 'toLineId': string; + /** + * The position where the element is moved to + * @type {number} + * @memberof MoveElementBodyParams + */ + 'toPosition': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts new file mode 100644 index 00000000000..5c9d8f0ce62 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { MoveElementPositionParams } from './move-element-position-params'; + +/** + * + * @export + * @interface MoveElementParams + */ +export interface MoveElementParams { + /** + * + * @type {MoveElementPositionParams} + * @memberof MoveElementParams + */ + 'from': MoveElementPositionParams; + /** + * + * @type {MoveElementPositionParams} + * @memberof MoveElementParams + */ + 'to': MoveElementPositionParams; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts new file mode 100644 index 00000000000..dbbeff92863 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface MoveElementPositionParams + */ +export interface MoveElementPositionParams { + /** + * + * @type {number} + * @memberof MoveElementPositionParams + */ + 'x': number; + /** + * + * @type {number} + * @memberof MoveElementPositionParams + */ + 'y': number; + /** + * used to identify a position within a group. + * @type {number} + * @memberof MoveElementPositionParams + */ + 'groupIndex'?: number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts new file mode 100644 index 00000000000..9fe0dfe5d3d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { NewsResponse } from './news-response'; + +/** + * + * @export + * @interface NewsListResponse + */ +export interface NewsListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof NewsListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof NewsListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof NewsListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof NewsListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/news-response.ts b/apps/server/src/infra/board-client/board-api-client/models/news-response.ts new file mode 100644 index 00000000000..cb00c8fae58 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/news-response.ts @@ -0,0 +1,134 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { NewsTargetModel } from './news-target-model'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolInfoResponse } from './school-info-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { TargetInfoResponse } from './target-info-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { UserInfoResponse } from './user-info-response'; + +/** + * + * @export + * @interface NewsResponse + */ +export interface NewsResponse { + /** + * The id of the News entity + * @type {string} + * @memberof NewsResponse + */ + 'id': string; + /** + * Title of the News entity + * @type {string} + * @memberof NewsResponse + */ + 'title': string; + /** + * Content of the News entity + * @type {string} + * @memberof NewsResponse + */ + 'content': string; + /** + * The point in time from when the News entity schould be displayed + * @type {string} + * @memberof NewsResponse + */ + 'displayAt': string; + /** + * The type of source of the News entity + * @type {string} + * @memberof NewsResponse + */ + 'source'?: NewsResponseSource; + /** + * The source description of the News entity + * @type {string} + * @memberof NewsResponse + */ + 'sourceDescription'?: string; + /** + * + * @type {NewsTargetModel} + * @memberof NewsResponse + */ + 'targetModel': NewsTargetModel; + /** + * Specific target id to which the News entity is related + * @type {string} + * @memberof NewsResponse + */ + 'targetId': string; + /** + * The target object with id and name, could be the school, team, or course name + * @type {TargetInfoResponse} + * @memberof NewsResponse + */ + 'target': TargetInfoResponse; + /** + * The School ownership + * @type {SchoolInfoResponse} + * @memberof NewsResponse + */ + 'school': SchoolInfoResponse; + /** + * Reference to the User that created the News entity + * @type {UserInfoResponse} + * @memberof NewsResponse + */ + 'creator': UserInfoResponse; + /** + * Reference to the User that updated the News entity + * @type {UserInfoResponse} + * @memberof NewsResponse + */ + 'updater'?: UserInfoResponse; + /** + * The creation timestamp + * @type {string} + * @memberof NewsResponse + */ + 'createdAt': string; + /** + * The update timestamp + * @type {string} + * @memberof NewsResponse + */ + 'updatedAt': string; + /** + * List of permissions the current user has for the News entity + * @type {Array} + * @memberof NewsResponse + */ + 'permissions': Array; +} + +export const NewsResponseSource = { + INTERNAL: 'internal', + RSS: 'rss' +} as const; + +export type NewsResponseSource = typeof NewsResponseSource[keyof typeof NewsResponseSource]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts b/apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts new file mode 100644 index 00000000000..255a4530d5d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const NewsTargetModel = { + SCHOOLS: 'schools', + COURSES: 'courses', + TEAMS: 'teams' +} as const; + +export type NewsTargetModel = typeof NewsTargetModel[keyof typeof NewsTargetModel]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts new file mode 100644 index 00000000000..4984986e099 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts @@ -0,0 +1,84 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface OauthClientCreateBody + */ +export interface OauthClientCreateBody { + /** + * The Oauth2 client id. + * @type {string} + * @memberof OauthClientCreateBody + */ + 'client_id': string; + /** + * The Oauth2 client name. + * @type {string} + * @memberof OauthClientCreateBody + */ + 'client_name': string; + /** + * The Oauth2 client secret. + * @type {string} + * @memberof OauthClientCreateBody + */ + 'client_secret': string; + /** + * The allowed redirect urls of the Oauth2 client. + * @type {Array} + * @memberof OauthClientCreateBody + */ + 'redirect_uris'?: Array; + /** + * Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. + * @type {string} + * @memberof OauthClientCreateBody + */ + 'token_endpoint_auth_method': string; + /** + * SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include pairwise and public. + * @type {string} + * @memberof OauthClientCreateBody + */ + 'subject_type': string; + /** + * Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. + * @type {string} + * @memberof OauthClientCreateBody + */ + 'scope'?: string; + /** + * Thr frontchannel logout uri. + * @type {string} + * @memberof OauthClientCreateBody + */ + 'frontchannel_logout_uri'?: string; + /** + * The grant types of the Oauth2 client. + * @type {Array} + * @memberof OauthClientCreateBody + */ + 'grant_types'?: Array; + /** + * The response types of the Oauth2 client. + * @type {Array} + * @memberof OauthClientCreateBody + */ + 'response_types'?: Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts new file mode 100644 index 00000000000..046cbcbc3cd --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts @@ -0,0 +1,300 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface OauthClientResponse + */ +export interface OauthClientResponse { + /** + * + * @type {Array} + * @memberof OauthClientResponse + */ + 'allowed_cors_origins'?: Array; + /** + * + * @type {Array} + * @memberof OauthClientResponse + */ + 'audience': Array; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'authorization_code_grant_access_token_lifespan': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'authorization_code_grant_id_token_lifespan': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'authorization_code_grant_refresh_token_lifespan': string; + /** + * Boolean value specifying whether the RP requires that a sid (session ID) Claim. + * @type {boolean} + * @memberof OauthClientResponse + */ + 'backchannel_logout_session_required': boolean; + /** + * RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. + * @type {string} + * @memberof OauthClientResponse + */ + 'backchannel_logout_uri': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'client_credentials_grant_access_token_lifespan': string; + /** + * Id of the client. + * @type {string} + * @memberof OauthClientResponse + */ + 'client_id': string; + /** + * Human-readable string name of the client presented to the end-user. + * @type {string} + * @memberof OauthClientResponse + */ + 'client_name': string; + /** + * SecretExpiresAt is an integer holding the time at which the client secret will expire or 0 if it will not expire. + * @type {number} + * @memberof OauthClientResponse + */ + 'client_secret_expires_at': number; + /** + * ClientUri is an URL string of a web page providing information about the client. + * @type {string} + * @memberof OauthClientResponse + */ + 'client_uri': string; + /** + * + * @type {Array} + * @memberof OauthClientResponse + */ + 'contacts'?: Array; + /** + * CreatedAt returns the timestamp of the clients creation. + * @type {string} + * @memberof OauthClientResponse + */ + 'created_at': string; + /** + * Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters. + * @type {boolean} + * @memberof OauthClientResponse + */ + 'frontchannel_logout_session_required': boolean; + /** + * RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. + * @type {string} + * @memberof OauthClientResponse + */ + 'frontchannel_logout_uri': string; + /** + * The grant types of the Oauth2 client. + * @type {Array} + * @memberof OauthClientResponse + */ + 'grant_types'?: Array; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'implicit_grant_access_token_lifespan': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'implicit_grant_id_token_lifespan': string; + /** + * + * @type {object} + * @memberof OauthClientResponse + */ + 'jwks': object; + /** + * URL for the clients JSON Web Key Set [JWK] document + * @type {string} + * @memberof OauthClientResponse + */ + 'jwks_uri': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'jwt_bearer_grant_access_token_lifespan': string; + /** + * LogoUri is an URL string that references a logo for the client. + * @type {string} + * @memberof OauthClientResponse + */ + 'logo_uri': string; + /** + * + * @type {object} + * @memberof OauthClientResponse + */ + 'metadata': object; + /** + * Owner is a string identifying the owner of the OAuth 2.0 Client. + * @type {string} + * @memberof OauthClientResponse + */ + 'owner': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'password_grant_access_token_lifespan': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'password_grant_refresh_token_lifespan': string; + /** + * PolicyUri is a URL string that points to a human-readable privacy policy document + * @type {string} + * @memberof OauthClientResponse + */ + 'policy_uri': string; + /** + * + * @type {Array} + * @memberof OauthClientResponse + */ + 'post_logout_redirect_uris'?: Array; + /** + * + * @type {Array} + * @memberof OauthClientResponse + */ + 'redirect_uris'?: Array; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'refresh_token_grant_access_token_lifespan': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'refresh_token_grant_id_token_lifespan': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'refresh_token_grant_refresh_token_lifespan': string; + /** + * RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. + * @type {string} + * @memberof OauthClientResponse + */ + 'registration_access_token': string; + /** + * RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. + * @type {string} + * @memberof OauthClientResponse + */ + 'registration_client_uri': string; + /** + * JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. + * @type {string} + * @memberof OauthClientResponse + */ + 'request_object_signing_alg': string; + /** + * + * @type {Array} + * @memberof OauthClientResponse + */ + 'request_uris'?: Array; + /** + * The response types of the Oauth2 client. + * @type {Array} + * @memberof OauthClientResponse + */ + 'response_types'?: Array; + /** + * Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. + * @type {string} + * @memberof OauthClientResponse + */ + 'scope': string; + /** + * URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. + * @type {string} + * @memberof OauthClientResponse + */ + 'sector_identifier_uri': string; + /** + * SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include pairwise and public. + * @type {string} + * @memberof OauthClientResponse + */ + 'subject_type': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'token_endpoint_auth_method': string; + /** + * + * @type {string} + * @memberof OauthClientResponse + */ + 'token_endpoint_auth_signing_alg': string; + /** + * TermsOfServiceUri is a URL string that points to a human-readable terms of service document for the client. + * @type {string} + * @memberof OauthClientResponse + */ + 'tos_uri': string; + /** + * UpdatedAt returns the timestamp of the last update. + * @type {string} + * @memberof OauthClientResponse + */ + 'updated_at': string; + /** + * JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. + * @type {string} + * @memberof OauthClientResponse + */ + 'userinfo_signed_response_alg': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts new file mode 100644 index 00000000000..060bc28073a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts @@ -0,0 +1,78 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface OauthClientUpdateBody + */ +export interface OauthClientUpdateBody { + /** + * The Oauth2 client name. + * @type {string} + * @memberof OauthClientUpdateBody + */ + 'client_name': string; + /** + * The Oauth2 client secret. + * @type {string} + * @memberof OauthClientUpdateBody + */ + 'client_secret'?: string; + /** + * The allowed redirect urls of the Oauth2 client. + * @type {Array} + * @memberof OauthClientUpdateBody + */ + 'redirect_uris'?: Array; + /** + * Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. + * @type {string} + * @memberof OauthClientUpdateBody + */ + 'token_endpoint_auth_method': string; + /** + * SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include pairwise and public. + * @type {string} + * @memberof OauthClientUpdateBody + */ + 'subject_type': string; + /** + * Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. + * @type {string} + * @memberof OauthClientUpdateBody + */ + 'scope'?: string; + /** + * Thr frontchannel logout uri. + * @type {string} + * @memberof OauthClientUpdateBody + */ + 'frontchannel_logout_uri'?: string; + /** + * The grant types of the Oauth2 client. + * @type {Array} + * @memberof OauthClientUpdateBody + */ + 'grant_types'?: Array; + /** + * The response types of the Oauth2 client. + * @type {Array} + * @memberof OauthClientUpdateBody + */ + 'response_types'?: Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts new file mode 100644 index 00000000000..1a3a25ea438 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts @@ -0,0 +1,96 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface OauthConfigResponse + */ +export interface OauthConfigResponse { + /** + * Client id + * @type {string} + * @memberof OauthConfigResponse + */ + 'clientId': string; + /** + * Hint for idp redirects (optional) + * @type {string} + * @memberof OauthConfigResponse + */ + 'idpHint'?: string | null; + /** + * Redirect uri + * @type {string} + * @memberof OauthConfigResponse + */ + 'redirectUri': string; + /** + * Grant type + * @type {string} + * @memberof OauthConfigResponse + */ + 'grantType': string; + /** + * Token endpoint + * @type {string} + * @memberof OauthConfigResponse + */ + 'tokenEndpoint': string; + /** + * Auth endpoint + * @type {string} + * @memberof OauthConfigResponse + */ + 'authEndpoint': string; + /** + * Response type + * @type {string} + * @memberof OauthConfigResponse + */ + 'responseType': string; + /** + * Scope + * @type {string} + * @memberof OauthConfigResponse + */ + 'scope': string; + /** + * Provider + * @type {string} + * @memberof OauthConfigResponse + */ + 'provider': string; + /** + * Logout endpoint + * @type {string} + * @memberof OauthConfigResponse + */ + 'logoutEndpoint'?: string; + /** + * Issuer + * @type {string} + * @memberof OauthConfigResponse + */ + 'issuer': string; + /** + * Jwks endpoint + * @type {string} + * @memberof OauthConfigResponse + */ + 'jwksEndpoint': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts new file mode 100644 index 00000000000..669db0bf207 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface OAuthTokenDto + */ +export interface OAuthTokenDto { + /** + * + * @type {string} + * @memberof OAuthTokenDto + */ + 'idToken': string; + /** + * + * @type {string} + * @memberof OAuthTokenDto + */ + 'refreshToken': string; + /** + * + * @type {string} + * @memberof OAuthTokenDto + */ + 'accessToken': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts new file mode 100644 index 00000000000..370a6427c34 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface Oauth2AuthorizationBodyParams + */ +export interface Oauth2AuthorizationBodyParams { + /** + * + * @type {string} + * @memberof Oauth2AuthorizationBodyParams + */ + 'redirectUri': string; + /** + * + * @type {string} + * @memberof Oauth2AuthorizationBodyParams + */ + 'code': string; + /** + * + * @type {string} + * @memberof Oauth2AuthorizationBodyParams + */ + 'systemId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts new file mode 100644 index 00000000000..a2344b7dc83 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface Oauth2MigrationParams + */ +export interface Oauth2MigrationParams { + /** + * + * @type {string} + * @memberof Oauth2MigrationParams + */ + 'redirectUri': string; + /** + * + * @type {string} + * @memberof Oauth2MigrationParams + */ + 'code': string; + /** + * + * @type {string} + * @memberof Oauth2MigrationParams + */ + 'systemId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts new file mode 100644 index 00000000000..6cd607ffe8e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts @@ -0,0 +1,78 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface Oauth2ToolConfigCreateParams + */ +export interface Oauth2ToolConfigCreateParams { + /** + * + * @type {string} + * @memberof Oauth2ToolConfigCreateParams + */ + 'type': string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigCreateParams + */ + 'baseUrl': string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigCreateParams + */ + 'clientId': string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigCreateParams + */ + 'clientSecret': string; + /** + * + * @type {boolean} + * @memberof Oauth2ToolConfigCreateParams + */ + 'skipConsent': boolean; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigCreateParams + */ + 'frontchannelLogoutUri'?: string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigCreateParams + */ + 'scope'?: string; + /** + * + * @type {Array} + * @memberof Oauth2ToolConfigCreateParams + */ + 'redirectUris': Array; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigCreateParams + */ + 'tokenEndpointAuthMethod': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts new file mode 100644 index 00000000000..36dc4a83320 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts @@ -0,0 +1,78 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface Oauth2ToolConfigUpdateParams + */ +export interface Oauth2ToolConfigUpdateParams { + /** + * + * @type {string} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'type': string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'baseUrl': string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'clientId': string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'clientSecret'?: string; + /** + * + * @type {boolean} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'skipConsent': boolean; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'frontchannelLogoutUri'?: string; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'scope'?: string; + /** + * + * @type {Array} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'redirectUris': Array; + /** + * + * @type {string} + * @memberof Oauth2ToolConfigUpdateParams + */ + 'tokenEndpointAuthMethod': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts b/apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts new file mode 100644 index 00000000000..a59dc77af06 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface OidcContextResponse + */ +export interface OidcContextResponse { + /** + * + * @type {Array} + * @memberof OidcContextResponse + */ + 'acr_values': Array; + /** + * + * @type {string} + * @memberof OidcContextResponse + */ + 'display': string; + /** + * + * @type {object} + * @memberof OidcContextResponse + */ + 'id_token_hint_claims': object; + /** + * + * @type {string} + * @memberof OidcContextResponse + */ + 'login_hint': string; + /** + * + * @type {Array} + * @memberof OidcContextResponse + */ + 'ui_locales': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts b/apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts new file mode 100644 index 00000000000..ed7ed69c770 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts @@ -0,0 +1,60 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ParentConsentResponse + */ +export interface ParentConsentResponse { + /** + * + * @type {string} + * @memberof ParentConsentResponse + */ + 'form': string; + /** + * + * @type {boolean} + * @memberof ParentConsentResponse + */ + 'privacyConsent': boolean; + /** + * + * @type {boolean} + * @memberof ParentConsentResponse + */ + 'termsOfUseConsent': boolean; + /** + * + * @type {string} + * @memberof ParentConsentResponse + */ + 'dateOfPrivacyConsent': string; + /** + * + * @type {string} + * @memberof ParentConsentResponse + */ + 'dateOfTermsOfUseConsent': string; + /** + * + * @type {string} + * @memberof ParentConsentResponse + */ + '_id': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts new file mode 100644 index 00000000000..24f1e49946f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface PatchGroupParams + */ +export interface PatchGroupParams { + /** + * Title of the Group grid element + * @type {string} + * @memberof PatchGroupParams + */ + 'title': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts new file mode 100644 index 00000000000..af3e7385a26 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface PatchMyAccountParams + */ +export interface PatchMyAccountParams { + /** + * The current user password to authorize the update action. + * @type {string} + * @memberof PatchMyAccountParams + */ + 'passwordOld': string; + /** + * The new password for the current user. + * @type {string} + * @memberof PatchMyAccountParams + */ + 'passwordNew'?: string | null; + /** + * The new email address for the current user. + * @type {string} + * @memberof PatchMyAccountParams + */ + 'email'?: string | null; + /** + * The new first name for the current user. + * @type {string} + * @memberof PatchMyAccountParams + */ + 'firstName'?: string | null; + /** + * The new last name for the current user. + * @type {string} + * @memberof PatchMyAccountParams + */ + 'lastName'?: string | null; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts new file mode 100644 index 00000000000..bc3e8c0e0f0 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface PatchMyPasswordParams + */ +export interface PatchMyPasswordParams { + /** + * The new user password. + * @type {string} + * @memberof PatchMyPasswordParams + */ + 'password': string; + /** + * The confirmed new user password. Must match the password field. + * @type {string} + * @memberof PatchMyPasswordParams + */ + 'confirmPassword': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts new file mode 100644 index 00000000000..b41db00228d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface PatchOrderParams + */ +export interface PatchOrderParams { + /** + * Array ids determining the new order + * @type {Array} + * @memberof PatchOrderParams + */ + 'elements': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts new file mode 100644 index 00000000000..2e366709780 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface PatchVisibilityParams + */ +export interface PatchVisibilityParams { + /** + * true to publish the element, false to unpublish + * @type {boolean} + * @memberof PatchVisibilityParams + */ + 'visibility': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts b/apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts new file mode 100644 index 00000000000..d95bf284c77 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ProviderConfigResponse + */ +export interface ProviderConfigResponse { + /** + * + * @type {string} + * @memberof ProviderConfigResponse + */ + 'provider': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts b/apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts new file mode 100644 index 00000000000..5818296b6b2 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface PseudonymResponse + */ +export interface PseudonymResponse { + /** + * + * @type {string} + * @memberof PseudonymResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof PseudonymResponse + */ + 'toolId': string; + /** + * + * @type {string} + * @memberof PseudonymResponse + */ + 'userId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts new file mode 100644 index 00000000000..31c92279138 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { PublicSystemResponse } from './public-system-response'; + +/** + * + * @export + * @interface PublicSystemListResponse + */ +export interface PublicSystemListResponse { + /** + * + * @type {Array} + * @memberof PublicSystemListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts b/apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts new file mode 100644 index 00000000000..f41de7d16ab --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts @@ -0,0 +1,27 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { OauthConfigResponse } from './oauth-config-response'; + +/** + * @type PublicSystemResponseOauthConfig + * Oauth config of the system. + * @export + */ +export type PublicSystemResponseOauthConfig = OauthConfigResponse; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts b/apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts new file mode 100644 index 00000000000..db924afecba --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts @@ -0,0 +1,57 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { PublicSystemResponseOauthConfig } from './public-system-response-oauth-config'; + +/** + * + * @export + * @interface PublicSystemResponse + */ +export interface PublicSystemResponse { + /** + * Id of the system. + * @type {string} + * @memberof PublicSystemResponse + */ + 'id': string; + /** + * Flag to request only systems with oauth-config. + * @type {string} + * @memberof PublicSystemResponse + */ + 'type'?: string | null; + /** + * Alias of the system. + * @type {string} + * @memberof PublicSystemResponse + */ + 'alias'?: string | null; + /** + * Display name of the system. + * @type {string} + * @memberof PublicSystemResponse + */ + 'displayName'?: string | null; + /** + * + * @type {PublicSystemResponseOauthConfig} + * @memberof PublicSystemResponse + */ + 'oauthConfig'?: PublicSystemResponseOauthConfig | null; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts b/apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts new file mode 100644 index 00000000000..039bd4bf549 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface RedirectResponse + */ +export interface RedirectResponse { + /** + * RedirectURL is the URL which you should redirect the user to once the authentication process is completed. + * @type {string} + * @memberof RedirectResponse + */ + 'redirect_to': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts new file mode 100644 index 00000000000..1c52e3f08f9 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface RenameBodyParams + */ +export interface RenameBodyParams { + /** + * + * @type {string} + * @memberof RenameBodyParams + */ + 'title': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts new file mode 100644 index 00000000000..41bb47ce986 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts @@ -0,0 +1,72 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ResolvedUserResponse + */ +export interface ResolvedUserResponse { + /** + * + * @type {string} + * @memberof ResolvedUserResponse + */ + 'firstName': string; + /** + * + * @type {string} + * @memberof ResolvedUserResponse + */ + 'lastName': string; + /** + * + * @type {string} + * @memberof ResolvedUserResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof ResolvedUserResponse + */ + 'createdAt': string; + /** + * + * @type {string} + * @memberof ResolvedUserResponse + */ + 'updatedAt': string; + /** + * + * @type {Array} + * @memberof ResolvedUserResponse + */ + 'roles': Array; + /** + * + * @type {Array} + * @memberof ResolvedUserResponse + */ + 'permissions': Array; + /** + * + * @type {string} + * @memberof ResolvedUserResponse + */ + 'schoolId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts new file mode 100644 index 00000000000..352a3e685f8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface RichTextContentBody + */ +export interface RichTextContentBody { + /** + * + * @type {string} + * @memberof RichTextContentBody + */ + 'text': string; + /** + * + * @type {string} + * @memberof RichTextContentBody + */ + 'inputFormat': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts new file mode 100644 index 00000000000..f5a9890b3a1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { RichTextContentBody } from './rich-text-content-body'; + +/** + * + * @export + * @interface RichTextElementContentBody + */ +export interface RichTextElementContentBody { + /** + * + * @type {ContentElementType} + * @memberof RichTextElementContentBody + */ + 'type': ContentElementType; + /** + * + * @type {RichTextContentBody} + * @memberof RichTextElementContentBody + */ + 'content': RichTextContentBody; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts new file mode 100644 index 00000000000..c1c1deec6c4 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface RichTextElementContent + */ +export interface RichTextElementContent { + /** + * + * @type {string} + * @memberof RichTextElementContent + */ + 'text': string; + /** + * + * @type {string} + * @memberof RichTextElementContent + */ + 'inputFormat': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts new file mode 100644 index 00000000000..b46c3b623e2 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { RichTextElementContent } from './rich-text-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface RichTextElementResponse + */ +export interface RichTextElementResponse { + /** + * + * @type {string} + * @memberof RichTextElementResponse + */ + 'id': string; + /** + * + * @type {ContentElementType} + * @memberof RichTextElementResponse + */ + 'type': ContentElementType; + /** + * + * @type {RichTextElementContent} + * @memberof RichTextElementResponse + */ + 'content': RichTextElementContent; + /** + * + * @type {TimestampsResponse} + * @memberof RichTextElementResponse + */ + 'timestamps': TimestampsResponse; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text.ts new file mode 100644 index 00000000000..31c62725f86 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/rich-text.ts @@ -0,0 +1,46 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface RichText + */ +export interface RichText { + /** + * Content of the rich text element + * @type {string} + * @memberof RichText + */ + 'content': string; + /** + * Input format of the rich text element + * @type {string} + * @memberof RichText + */ + 'type': RichTextType; +} + +export const RichTextType = { + PLAIN_TEXT: 'plainText', + RICH_TEXT_CK5_SIMPLE: 'richTextCk5Simple', + RICH_TEXT_CK4: 'richTextCk4', + RICH_TEXT_CK5: 'richTextCk5' +} as const; + +export type RichTextType = typeof RichTextType[keyof typeof RichTextType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/role-name.ts b/apps/server/src/infra/board-client/board-api-client/models/role-name.ts new file mode 100644 index 00000000000..f96013f876f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/role-name.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const RoleName = { + ADMINISTRATOR: 'administrator', + COURSE_ADMINISTRATOR: 'courseAdministrator', + COURSE_STUDENT: 'courseStudent', + COURSE_SUBSTITUTION_TEACHER: 'courseSubstitutionTeacher', + COURSE_TEACHER: 'courseTeacher', + DEMO: 'demo', + DEMO_STUDENT: 'demoStudent', + DEMO_TEACHER: 'demoTeacher', + EXPERT: 'expert', + HELPDESK: 'helpdesk', + STUDENT: 'student', + SUPERHERO: 'superhero', + TEACHER: 'teacher', + TEAMADMINISTRATOR: 'teamadministrator', + TEAMEXPERT: 'teamexpert', + TEAMLEADER: 'teamleader', + TEAMMEMBER: 'teammember', + TEAMOWNER: 'teamowner', + USER: 'user' +} as const; + +export type RoleName = typeof RoleName[keyof typeof RoleName]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts new file mode 100644 index 00000000000..f4f765a0b48 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchoolExistsResponse + */ +export interface SchoolExistsResponse { + /** + * + * @type {boolean} + * @memberof SchoolExistsResponse + */ + 'exists': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts new file mode 100644 index 00000000000..f7249a0b900 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchoolExternalToolConfigurationStatusResponse + */ +export interface SchoolExternalToolConfigurationStatusResponse { + /** + * Is the tool outdated on school scope, because of non matching versions or required parameter changes on ExternalTool? + * @type {boolean} + * @memberof SchoolExternalToolConfigurationStatusResponse + */ + 'isOutdatedOnScopeSchool': boolean; + /** + * Is the tool deactivated, because of instance administrator? + * @type {boolean} + * @memberof SchoolExternalToolConfigurationStatusResponse + */ + 'isGloballyDeactivated': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts new file mode 100644 index 00000000000..1f51b0b836b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolExternalToolConfigurationTemplateResponse } from './school-external-tool-configuration-template-response'; + +/** + * + * @export + * @interface SchoolExternalToolConfigurationTemplateListResponse + */ +export interface SchoolExternalToolConfigurationTemplateListResponse { + /** + * + * @type {Array} + * @memberof SchoolExternalToolConfigurationTemplateListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts new file mode 100644 index 00000000000..948ff9c9bb1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts @@ -0,0 +1,57 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterResponse } from './custom-parameter-response'; + +/** + * + * @export + * @interface SchoolExternalToolConfigurationTemplateResponse + */ +export interface SchoolExternalToolConfigurationTemplateResponse { + /** + * + * @type {string} + * @memberof SchoolExternalToolConfigurationTemplateResponse + */ + 'externalToolId': string; + /** + * + * @type {string} + * @memberof SchoolExternalToolConfigurationTemplateResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof SchoolExternalToolConfigurationTemplateResponse + */ + 'baseUrl': string; + /** + * + * @type {string} + * @memberof SchoolExternalToolConfigurationTemplateResponse + */ + 'logoUrl'?: string; + /** + * + * @type {Array} + * @memberof SchoolExternalToolConfigurationTemplateResponse + */ + 'parameters': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts new file mode 100644 index 00000000000..4e36360cf44 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContextExternalToolCountPerContextResponse } from './context-external-tool-count-per-context-response'; + +/** + * + * @export + * @interface SchoolExternalToolMetadataResponse + */ +export interface SchoolExternalToolMetadataResponse { + /** + * + * @type {ContextExternalToolCountPerContextResponse} + * @memberof SchoolExternalToolMetadataResponse + */ + 'contextExternalToolCountPerContext': ContextExternalToolCountPerContextResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts new file mode 100644 index 00000000000..d13e704ca80 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterEntryParam } from './custom-parameter-entry-param'; + +/** + * + * @export + * @interface SchoolExternalToolPostParams + */ +export interface SchoolExternalToolPostParams { + /** + * + * @type {string} + * @memberof SchoolExternalToolPostParams + */ + 'toolId': string; + /** + * + * @type {string} + * @memberof SchoolExternalToolPostParams + */ + 'schoolId': string; + /** + * + * @type {Array} + * @memberof SchoolExternalToolPostParams + */ + 'parameters'?: Array; + /** + * Tool can be deactivated, related tools can not be added to e.g. course or board anymore + * @type {boolean} + * @memberof SchoolExternalToolPostParams + */ + 'isDeactivated': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts new file mode 100644 index 00000000000..8d71fa686db --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts @@ -0,0 +1,72 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CustomParameterEntryResponse } from './custom-parameter-entry-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolExternalToolConfigurationStatusResponse } from './school-external-tool-configuration-status-response'; + +/** + * + * @export + * @interface SchoolExternalToolResponse + */ +export interface SchoolExternalToolResponse { + /** + * + * @type {string} + * @memberof SchoolExternalToolResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof SchoolExternalToolResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof SchoolExternalToolResponse + */ + 'toolId': string; + /** + * + * @type {string} + * @memberof SchoolExternalToolResponse + */ + 'schoolId': string; + /** + * + * @type {boolean} + * @memberof SchoolExternalToolResponse + */ + 'isDeactivated': boolean; + /** + * + * @type {Array} + * @memberof SchoolExternalToolResponse + */ + 'parameters': Array; + /** + * + * @type {SchoolExternalToolConfigurationStatusResponse} + * @memberof SchoolExternalToolResponse + */ + 'status': SchoolExternalToolConfigurationStatusResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts new file mode 100644 index 00000000000..87f1f5146bc --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolExternalToolResponse } from './school-external-tool-response'; + +/** + * + * @export + * @interface SchoolExternalToolSearchListResponse + */ +export interface SchoolExternalToolSearchListResponse { + /** + * + * @type {Array} + * @memberof SchoolExternalToolSearchListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts new file mode 100644 index 00000000000..1c240fa506b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchoolForExternalInviteResponse + */ +export interface SchoolForExternalInviteResponse { + /** + * + * @type {string} + * @memberof SchoolForExternalInviteResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof SchoolForExternalInviteResponse + */ + 'name': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts new file mode 100644 index 00000000000..2fe7c0da5f8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { SystemForLdapLoginResponse } from './system-for-ldap-login-response'; + +/** + * + * @export + * @interface SchoolForLdapLoginResponse + */ +export interface SchoolForLdapLoginResponse { + /** + * + * @type {string} + * @memberof SchoolForLdapLoginResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof SchoolForLdapLoginResponse + */ + 'name': string; + /** + * + * @type {Array} + * @memberof SchoolForLdapLoginResponse + */ + 'systems': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts new file mode 100644 index 00000000000..6d47fd2ecf5 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchoolInfoResponse + */ +export interface SchoolInfoResponse { + /** + * The id of the School entity + * @type {string} + * @memberof SchoolInfoResponse + */ + 'id': string; + /** + * The name of the School entity + * @type {string} + * @memberof SchoolInfoResponse + */ + 'name': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-logo.ts b/apps/server/src/infra/board-client/board-api-client/models/school-logo.ts new file mode 100644 index 00000000000..52c4fade524 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-logo.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchoolLogo + */ +export interface SchoolLogo { + /** + * + * @type {string} + * @memberof SchoolLogo + */ + 'dataUrl'?: string; + /** + * + * @type {string} + * @memberof SchoolLogo + */ + 'name'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts b/apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts new file mode 100644 index 00000000000..d61f1efdf3a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { StudentPermissionParams } from './student-permission-params'; +// May contain unused imports in some cases +// @ts-ignore +import type { TeacherPermissionParams } from './teacher-permission-params'; + +/** + * + * @export + * @interface SchoolPermissionsParams + */ +export interface SchoolPermissionsParams { + /** + * + * @type {TeacherPermissionParams} + * @memberof SchoolPermissionsParams + */ + 'teacher'?: TeacherPermissionParams; + /** + * + * @type {StudentPermissionParams} + * @memberof SchoolPermissionsParams + */ + 'student'?: StudentPermissionParams; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts b/apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts new file mode 100644 index 00000000000..ac1b2d89e99 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts @@ -0,0 +1,34 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const SchoolPurpose = { + EXPERT: 'expert', + TOMBSTONE: 'tombstone', + DEMO: 'demo', + TEST: 'test', + MINT_EC: 'MINT-EC' +} as const; + +export type SchoolPurpose = typeof SchoolPurpose[keyof typeof SchoolPurpose]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-response.ts new file mode 100644 index 00000000000..12bc1f9d7c8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-response.ts @@ -0,0 +1,179 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { CountyResponse } from './county-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { FederalStateResponse } from './federal-state-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { FileStorageType } from './file-storage-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { InstanceFeature } from './instance-feature'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolFeature } from './school-feature'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolLogo } from './school-logo'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolPurpose } from './school-purpose'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolYearResponse } from './school-year-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { YearsResponse } from './years-response'; + +/** + * + * @export + * @interface SchoolResponse + */ +export interface SchoolResponse { + /** + * + * @type {string} + * @memberof SchoolResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof SchoolResponse + */ + 'createdAt': string; + /** + * + * @type {string} + * @memberof SchoolResponse + */ + 'updatedAt': string; + /** + * + * @type {string} + * @memberof SchoolResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof SchoolResponse + */ + 'officialSchoolNumber'?: string; + /** + * + * @type {SchoolYearResponse} + * @memberof SchoolResponse + */ + 'currentYear'?: SchoolYearResponse; + /** + * + * @type {FederalStateResponse} + * @memberof SchoolResponse + */ + 'federalState': FederalStateResponse; + /** + * + * @type {CountyResponse} + * @memberof SchoolResponse + */ + 'county'?: CountyResponse; + /** + * + * @type {SchoolPurpose} + * @memberof SchoolResponse + */ + 'purpose'?: SchoolPurpose; + /** + * + * @type {Array} + * @memberof SchoolResponse + */ + 'features': Array; + /** + * + * @type {Array} + * @memberof SchoolResponse + */ + 'systemIds': Array; + /** + * + * @type {boolean} + * @memberof SchoolResponse + */ + 'inUserMigration'?: boolean; + /** + * + * @type {boolean} + * @memberof SchoolResponse + */ + 'inMaintenance': boolean; + /** + * + * @type {boolean} + * @memberof SchoolResponse + */ + 'isExternal': boolean; + /** + * + * @type {SchoolLogo} + * @memberof SchoolResponse + */ + 'logo'?: SchoolLogo; + /** + * + * @type {FileStorageType} + * @memberof SchoolResponse + */ + 'fileStorageType'?: FileStorageType; + /** + * + * @type {string} + * @memberof SchoolResponse + */ + 'language'?: string; + /** + * + * @type {string} + * @memberof SchoolResponse + */ + 'timezone'?: string; + /** + * + * @type {object} + * @memberof SchoolResponse + */ + 'permissions'?: object; + /** + * + * @type {YearsResponse} + * @memberof SchoolResponse + */ + 'years': YearsResponse; + /** + * + * @type {Array} + * @memberof SchoolResponse + */ + 'instanceFeatures': Array; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts new file mode 100644 index 00000000000..2c3b80860f2 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts @@ -0,0 +1,57 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ProviderConfigResponse } from './provider-config-response'; + +/** + * + * @export + * @interface SchoolSystemResponse + */ +export interface SchoolSystemResponse { + /** + * + * @type {string} + * @memberof SchoolSystemResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof SchoolSystemResponse + */ + 'type': string; + /** + * + * @type {string} + * @memberof SchoolSystemResponse + */ + 'alias'?: string; + /** + * + * @type {ProviderConfigResponse} + * @memberof SchoolSystemResponse + */ + 'ldapConfig'?: ProviderConfigResponse; + /** + * + * @type {ProviderConfigResponse} + * @memberof SchoolSystemResponse + */ + 'oauthConfig'?: ProviderConfigResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts new file mode 100644 index 00000000000..16362c27119 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { LanguageType } from './language-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolFeature } from './school-feature'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolLogo } from './school-logo'; +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolPermissionsParams } from './school-permissions-params'; + +/** + * + * @export + * @interface SchoolUpdateBodyParams + */ +export interface SchoolUpdateBodyParams { + /** + * + * @type {string} + * @memberof SchoolUpdateBodyParams + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof SchoolUpdateBodyParams + */ + 'officialSchoolNumber'?: string; + /** + * + * @type {SchoolLogo} + * @memberof SchoolUpdateBodyParams + */ + 'logo'?: SchoolLogo; + /** + * + * @type {string} + * @memberof SchoolUpdateBodyParams + */ + 'fileStorageType'?: SchoolUpdateBodyParamsFileStorageType; + /** + * + * @type {LanguageType} + * @memberof SchoolUpdateBodyParams + */ + 'language'?: LanguageType; + /** + * + * @type {Array} + * @memberof SchoolUpdateBodyParams + */ + 'features'?: Array; + /** + * + * @type {SchoolPermissionsParams} + * @memberof SchoolUpdateBodyParams + */ + 'permissions'?: SchoolPermissionsParams; + /** + * + * @type {string} + * @memberof SchoolUpdateBodyParams + */ + 'countyId'?: string; + /** + * + * @type {boolean} + * @memberof SchoolUpdateBodyParams + */ + 'enableStudentTeamCreation'?: boolean; +} + +export const SchoolUpdateBodyParamsFileStorageType = { + AWS_S3: 'awsS3' +} as const; + +export type SchoolUpdateBodyParamsFileStorageType = typeof SchoolUpdateBodyParamsFileStorageType[keyof typeof SchoolUpdateBodyParamsFileStorageType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts b/apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts new file mode 100644 index 00000000000..a6b6e5b2300 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const SchoolYearQueryType = { + NEXT_YEAR: 'nextYear', + CURRENT_YEAR: 'currentYear', + PREVIOUS_YEARS: 'previousYears' +} as const; + +export type SchoolYearQueryType = typeof SchoolYearQueryType[keyof typeof SchoolYearQueryType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts new file mode 100644 index 00000000000..84406f77b76 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchoolYearResponse + */ +export interface SchoolYearResponse { + /** + * + * @type {string} + * @memberof SchoolYearResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof SchoolYearResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof SchoolYearResponse + */ + 'startDate': string; + /** + * + * @type {string} + * @memberof SchoolYearResponse + */ + 'endDate': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts b/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts new file mode 100644 index 00000000000..ad8698c304f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchulConneXProvisioningOptionsParams + */ +export interface SchulConneXProvisioningOptionsParams { + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsParams + */ + 'groupProvisioningClassesEnabled': boolean; + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsParams + */ + 'groupProvisioningCoursesEnabled': boolean; + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsParams + */ + 'groupProvisioningOtherEnabled': boolean; + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsParams + */ + 'schoolExternalToolProvisioningEnabled': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts b/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts new file mode 100644 index 00000000000..228c37e33fc --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SchulConneXProvisioningOptionsResponse + */ +export interface SchulConneXProvisioningOptionsResponse { + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsResponse + */ + 'groupProvisioningClassesEnabled': boolean; + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsResponse + */ + 'groupProvisioningCoursesEnabled': boolean; + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsResponse + */ + 'groupProvisioningOtherEnabled': boolean; + /** + * + * @type {boolean} + * @memberof SchulConneXProvisioningOptionsResponse + */ + 'schoolExternalToolProvisioningEnabled': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts b/apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts new file mode 100644 index 00000000000..0a0df6a156c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const SchulcloudTheme = { + BRB: 'brb', + DEFAULT: 'default', + N21: 'n21', + THR: 'thr' +} as const; + +export type SchulcloudTheme = typeof SchulcloudTheme[keyof typeof SchulcloudTheme]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts new file mode 100644 index 00000000000..c74c7e490bf --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SetHeightBodyParams + */ +export interface SetHeightBodyParams { + /** + * + * @type {number} + * @memberof SetHeightBodyParams + */ + 'height': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts new file mode 100644 index 00000000000..18296e5d658 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts @@ -0,0 +1,58 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ShareTokenBodyParams + */ +export interface ShareTokenBodyParams { + /** + * the type of the object being shared + * @type {string} + * @memberof ShareTokenBodyParams + */ + 'parentType': ShareTokenBodyParamsParentType; + /** + * the id of the object being shared. + * @type {string} + * @memberof ShareTokenBodyParams + */ + 'parentId': string; + /** + * when defined, the sharetoken will expire after the given number of days. + * @type {number} + * @memberof ShareTokenBodyParams + */ + 'expiresInDays'?: number | null; + /** + * when defined, the sharetoken will be usable exclusively by members of the users school. + * @type {boolean} + * @memberof ShareTokenBodyParams + */ + 'schoolExclusive'?: boolean | null; +} + +export const ShareTokenBodyParamsParentType = { + COURSES: 'courses', + TASKS: 'tasks', + LESSONS: 'lessons', + COLUMN_BOARD: 'columnBoard' +} as const; + +export type ShareTokenBodyParamsParentType = typeof ShareTokenBodyParamsParentType[keyof typeof ShareTokenBodyParamsParentType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts new file mode 100644 index 00000000000..dd63b40c0f9 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ShareTokenImportBodyParams + */ +export interface ShareTokenImportBodyParams { + /** + * the new name of the imported object. + * @type {string} + * @memberof ShareTokenImportBodyParams + */ + 'newName': string; + /** + * Id of the course to which the lesson/task will be added + * @type {string} + * @memberof ShareTokenImportBodyParams + */ + 'destinationCourseId'?: string | null; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts new file mode 100644 index 00000000000..1d9852b8755 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts @@ -0,0 +1,52 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ShareTokenInfoResponse + */ +export interface ShareTokenInfoResponse { + /** + * + * @type {string} + * @memberof ShareTokenInfoResponse + */ + 'token': string; + /** + * + * @type {string} + * @memberof ShareTokenInfoResponse + */ + 'parentType': ShareTokenInfoResponseParentType; + /** + * + * @type {string} + * @memberof ShareTokenInfoResponse + */ + 'parentName': string; +} + +export const ShareTokenInfoResponseParentType = { + COURSES: 'courses', + TASKS: 'tasks', + LESSONS: 'lessons', + COLUMN_BOARD: 'columnBoard' +} as const; + +export type ShareTokenInfoResponseParentType = typeof ShareTokenInfoResponseParentType[keyof typeof ShareTokenInfoResponseParentType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts new file mode 100644 index 00000000000..26cd5456c10 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts @@ -0,0 +1,46 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ShareTokenPayloadResponse + */ +export interface ShareTokenPayloadResponse { + /** + * + * @type {string} + * @memberof ShareTokenPayloadResponse + */ + 'parentType': ShareTokenPayloadResponseParentType; + /** + * + * @type {string} + * @memberof ShareTokenPayloadResponse + */ + 'parentId': string; +} + +export const ShareTokenPayloadResponseParentType = { + COURSES: 'courses', + TASKS: 'tasks', + LESSONS: 'lessons', + COLUMN_BOARD: 'columnBoard' +} as const; + +export type ShareTokenPayloadResponseParentType = typeof ShareTokenPayloadResponseParentType[keyof typeof ShareTokenPayloadResponseParentType]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts new file mode 100644 index 00000000000..42aa3f6f4b1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts @@ -0,0 +1,45 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ShareTokenPayloadResponse } from './share-token-payload-response'; + +/** + * + * @export + * @interface ShareTokenResponse + */ +export interface ShareTokenResponse { + /** + * + * @type {string} + * @memberof ShareTokenResponse + */ + 'token': string; + /** + * + * @type {ShareTokenPayloadResponse} + * @memberof ShareTokenResponse + */ + 'payload': ShareTokenPayloadResponse; + /** + * + * @type {string} + * @memberof ShareTokenResponse + */ + 'expiresAt'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts b/apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts new file mode 100644 index 00000000000..f1bf648bb76 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts @@ -0,0 +1,63 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { BoardElementResponse } from './board-element-response'; + +/** + * + * @export + * @interface SingleColumnBoardResponse + */ +export interface SingleColumnBoardResponse { + /** + * The id of the room this board belongs to + * @type {string} + * @memberof SingleColumnBoardResponse + */ + 'roomId': string; + /** + * Title of the Board + * @type {string} + * @memberof SingleColumnBoardResponse + */ + 'title': string; + /** + * Color of the Board + * @type {string} + * @memberof SingleColumnBoardResponse + */ + 'displayColor': string; + /** + * Array of board specific tasks or lessons with matching type property + * @type {Array} + * @memberof SingleColumnBoardResponse + */ + 'elements': Array; + /** + * Boolean if the room this board belongs to is archived + * @type {boolean} + * @memberof SingleColumnBoardResponse + */ + 'isArchived': boolean; + /** + * Is the course synchronized with a group? + * @type {boolean} + * @memberof SingleColumnBoardResponse + */ + 'isSynchronized': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts b/apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts new file mode 100644 index 00000000000..f5ce4dd7e24 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface StudentPermissionParams + */ +export interface StudentPermissionParams { + /** + * + * @type {boolean} + * @memberof StudentPermissionParams + */ + 'LERNSTORE_VIEW'?: boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts new file mode 100644 index 00000000000..77ad31989d5 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SubmissionContainerContentBody + */ +export interface SubmissionContainerContentBody { + /** + * The point in time until when a submission can be handed in. + * @type {string} + * @memberof SubmissionContainerContentBody + */ + 'dueDate'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts new file mode 100644 index 00000000000..0d3b36f3e0c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { SubmissionContainerContentBody } from './submission-container-content-body'; + +/** + * + * @export + * @interface SubmissionContainerElementContentBody + */ +export interface SubmissionContainerElementContentBody { + /** + * + * @type {ContentElementType} + * @memberof SubmissionContainerElementContentBody + */ + 'type': ContentElementType; + /** + * + * @type {SubmissionContainerContentBody} + * @memberof SubmissionContainerElementContentBody + */ + 'content': SubmissionContainerContentBody; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts new file mode 100644 index 00000000000..dd0b9a949f6 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SubmissionContainerElementContent + */ +export interface SubmissionContainerElementContent { + /** + * The dueDate as date string or null of not set + * @type {string} + * @memberof SubmissionContainerElementContent + */ + 'dueDate': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts new file mode 100644 index 00000000000..4c3001c303b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts @@ -0,0 +1,59 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { SubmissionContainerElementContent } from './submission-container-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface SubmissionContainerElementResponse + */ +export interface SubmissionContainerElementResponse { + /** + * + * @type {string} + * @memberof SubmissionContainerElementResponse + */ + 'id': string; + /** + * + * @type {ContentElementType} + * @memberof SubmissionContainerElementResponse + */ + 'type': ContentElementType; + /** + * + * @type {SubmissionContainerElementContent} + * @memberof SubmissionContainerElementResponse + */ + 'content': SubmissionContainerElementContent; + /** + * + * @type {TimestampsResponse} + * @memberof SubmissionContainerElementResponse + */ + 'timestamps': TimestampsResponse; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts new file mode 100644 index 00000000000..8377f372e1a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts @@ -0,0 +1,38 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { FileElementResponse } from './file-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { RichTextElementContent } from './rich-text-element-content'; +// May contain unused imports in some cases +// @ts-ignore +import type { RichTextElementResponse } from './rich-text-element-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * @type SubmissionItemResponseElementsInner + * @export + */ +export type SubmissionItemResponseElementsInner = FileElementResponse | RichTextElementResponse; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts new file mode 100644 index 00000000000..474f9a13e21 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts @@ -0,0 +1,60 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { SubmissionItemResponseElementsInner } from './submission-item-response-elements-inner'; +// May contain unused imports in some cases +// @ts-ignore +import type { TimestampsResponse } from './timestamps-response'; + +/** + * + * @export + * @interface SubmissionItemResponse + */ +export interface SubmissionItemResponse { + /** + * + * @type {string} + * @memberof SubmissionItemResponse + */ + 'id': string; + /** + * + * @type {TimestampsResponse} + * @memberof SubmissionItemResponse + */ + 'timestamps': TimestampsResponse; + /** + * + * @type {boolean} + * @memberof SubmissionItemResponse + */ + 'completed': boolean; + /** + * + * @type {string} + * @memberof SubmissionItemResponse + */ + 'userId': string; + /** + * + * @type {Array} + * @memberof SubmissionItemResponse + */ + 'elements': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts new file mode 100644 index 00000000000..c112a5cfbc6 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { SubmissionStatusResponse } from './submission-status-response'; + +/** + * + * @export + * @interface SubmissionStatusListResponse + */ +export interface SubmissionStatusListResponse { + /** + * + * @type {Array} + * @memberof SubmissionStatusListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts new file mode 100644 index 00000000000..efb51c072ea --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts @@ -0,0 +1,60 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SubmissionStatusResponse + */ +export interface SubmissionStatusResponse { + /** + * + * @type {string} + * @memberof SubmissionStatusResponse + */ + 'id': string; + /** + * + * @type {Array} + * @memberof SubmissionStatusResponse + */ + 'submitters': Array; + /** + * + * @type {boolean} + * @memberof SubmissionStatusResponse + */ + 'isSubmitted': boolean; + /** + * + * @type {number} + * @memberof SubmissionStatusResponse + */ + 'grade'?: number; + /** + * + * @type {boolean} + * @memberof SubmissionStatusResponse + */ + 'isGraded': boolean; + /** + * + * @type {string} + * @memberof SubmissionStatusResponse + */ + 'submittingCourseGroupName'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts new file mode 100644 index 00000000000..ec3267896e4 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { SubmissionItemResponse } from './submission-item-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { UserDataResponse } from './user-data-response'; + +/** + * + * @export + * @interface SubmissionsResponse + */ +export interface SubmissionsResponse { + /** + * + * @type {Array} + * @memberof SubmissionsResponse + */ + 'submissionItemsResponse': Array; + /** + * + * @type {Array} + * @memberof SubmissionsResponse + */ + 'users': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/successful-response.ts b/apps/server/src/infra/board-client/board-api-client/models/successful-response.ts new file mode 100644 index 00000000000..b1aea9f329e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/successful-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SuccessfulResponse + */ +export interface SuccessfulResponse { + /** + * + * @type {boolean} + * @memberof SuccessfulResponse + */ + 'successful': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts b/apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts new file mode 100644 index 00000000000..b9f3cf68e5b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface SystemForLdapLoginResponse + */ +export interface SystemForLdapLoginResponse { + /** + * + * @type {string} + * @memberof SystemForLdapLoginResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof SystemForLdapLoginResponse + */ + 'type': string; + /** + * + * @type {string} + * @memberof SystemForLdapLoginResponse + */ + 'alias': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/system-type.ts b/apps/server/src/infra/board-client/board-api-client/models/system-type.ts new file mode 100644 index 00000000000..02125271f20 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/system-type.ts @@ -0,0 +1,39 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const SystemType = { + OAUTH: 'oauth', + LDAP: 'ldap', + OIDC: 'oidc', + TSP_BASE: 'tsp-base', + TSP_SCHOOL: 'tsp-school', + LOCAL: 'local', + ISERV: 'iserv', + LERNSAX: 'lernsax', + ITSLEARNING: 'itslearning', + MOODLE: 'moodle' +} as const; + +export type SystemType = typeof SystemType[keyof typeof SystemType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts new file mode 100644 index 00000000000..b3a0f614585 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TargetInfoResponse + */ +export interface TargetInfoResponse { + /** + * The id of the Target entity + * @type {string} + * @memberof TargetInfoResponse + */ + 'id': string; + /** + * The name of the Target entity + * @type {string} + * @memberof TargetInfoResponse + */ + 'name': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts b/apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts new file mode 100644 index 00000000000..184d3cbff18 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts @@ -0,0 +1,36 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TaskCopyApiParams + */ +export interface TaskCopyApiParams { + /** + * Destination course parent Id the task is copied to + * @type {string} + * @memberof TaskCopyApiParams + */ + 'courseId'?: string; + /** + * Destination lesson parent Id the task is copied to + * @type {string} + * @memberof TaskCopyApiParams + */ + 'lessonId'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts new file mode 100644 index 00000000000..8a5ed559ce2 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { TaskResponse } from './task-response'; + +/** + * + * @export + * @interface TaskListResponse + */ +export interface TaskListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof TaskListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof TaskListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof TaskListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof TaskListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-response.ts b/apps/server/src/infra/board-client/board-api-client/models/task-response.ts new file mode 100644 index 00000000000..9a6357ec293 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/task-response.ts @@ -0,0 +1,108 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { RichText } from './rich-text'; +// May contain unused imports in some cases +// @ts-ignore +import type { TaskStatusResponse } from './task-status-response'; + +/** + * + * @export + * @interface TaskResponse + */ +export interface TaskResponse { + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'id': string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'name': string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'availableDate'?: string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'dueDate'?: string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'courseName': string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'lessonName'?: string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'courseId': string; + /** + * Task description object, with props content: string and type: input format types + * @type {RichText} + * @memberof TaskResponse + */ + 'description'?: RichText; + /** + * + * @type {boolean} + * @memberof TaskResponse + */ + 'lessonHidden': boolean; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'displayColor'?: string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'createdAt': string; + /** + * + * @type {string} + * @memberof TaskResponse + */ + 'updatedAt': string; + /** + * + * @type {TaskStatusResponse} + * @memberof TaskResponse + */ + 'status': TaskStatusResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts new file mode 100644 index 00000000000..a6dbfcc01c4 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts @@ -0,0 +1,60 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TaskStatusResponse + */ +export interface TaskStatusResponse { + /** + * + * @type {number} + * @memberof TaskStatusResponse + */ + 'submitted': number; + /** + * + * @type {number} + * @memberof TaskStatusResponse + */ + 'maxSubmissions': number; + /** + * + * @type {number} + * @memberof TaskStatusResponse + */ + 'graded': number; + /** + * + * @type {boolean} + * @memberof TaskStatusResponse + */ + 'isDraft': boolean; + /** + * + * @type {boolean} + * @memberof TaskStatusResponse + */ + 'isSubstitutionTeacher': boolean; + /** + * + * @type {boolean} + * @memberof TaskStatusResponse + */ + 'isFinished': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts b/apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts new file mode 100644 index 00000000000..bdfc43e0485 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TeacherPermissionParams + */ +export interface TeacherPermissionParams { + /** + * + * @type {boolean} + * @memberof TeacherPermissionParams + */ + 'STUDENT_LIST'?: boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts b/apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts new file mode 100644 index 00000000000..4f008e0fb1e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TeamPermissionsBody + */ +export interface TeamPermissionsBody { + /** + * + * @type {boolean} + * @memberof TeamPermissionsBody + */ + 'read': boolean; + /** + * + * @type {boolean} + * @memberof TeamPermissionsBody + */ + 'write': boolean; + /** + * + * @type {boolean} + * @memberof TeamPermissionsBody + */ + 'create': boolean; + /** + * + * @type {boolean} + * @memberof TeamPermissionsBody + */ + 'delete': boolean; + /** + * + * @type {boolean} + * @memberof TeamPermissionsBody + */ + 'share': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/timestamps-response.ts b/apps/server/src/infra/board-client/board-api-client/models/timestamps-response.ts new file mode 100644 index 00000000000..2da93bfa411 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/timestamps-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface TimestampsResponse + */ +export interface TimestampsResponse { + /** + * + * @type {string} + * @memberof TimestampsResponse + */ + 'lastUpdatedAt': string; + /** + * + * @type {string} + * @memberof TimestampsResponse + */ + 'createdAt': string; + /** + * + * @type {string} + * @memberof TimestampsResponse + */ + 'deletedAt'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/timezone.ts b/apps/server/src/infra/board-client/board-api-client/models/timezone.ts new file mode 100644 index 00000000000..f116d9abde8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/timezone.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const Timezone = { + EUROPE_BERLIN: 'Europe/Berlin' +} as const; + +export type Timezone = typeof Timezone[keyof typeof Timezone]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts new file mode 100644 index 00000000000..e70c1e6fb8f --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const ToolConfigType = { + BASIC: 'basic', + OAUTH2: 'oauth2', + LTI11: 'lti11' +} as const; + +export type ToolConfigType = typeof ToolConfigType[keyof typeof ToolConfigType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts new file mode 100644 index 00000000000..ab254bdefa5 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const ToolContextType = { + COURSE: 'course', + BOARD_ELEMENT: 'board-element', + MEDIA_BOARD: 'media-board' +} as const; + +export type ToolContextType = typeof ToolContextType[keyof typeof ToolContextType]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts new file mode 100644 index 00000000000..7e9f063252b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ToolContextType } from './tool-context-type'; + +/** + * + * @export + * @interface ToolContextTypesListResponse + */ +export interface ToolContextTypesListResponse { + /** + * + * @type {Array} + * @memberof ToolContextTypesListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts new file mode 100644 index 00000000000..66fea47871d --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts @@ -0,0 +1,56 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ToolLaunchRequestResponse + */ +export interface ToolLaunchRequestResponse { + /** + * The Launch Request method (GET or POST) + * @type {string} + * @memberof ToolLaunchRequestResponse + */ + 'method': ToolLaunchRequestResponseMethod; + /** + * The URL for the Tool Launch Request + * @type {string} + * @memberof ToolLaunchRequestResponse + */ + 'url': string; + /** + * The payload for the Tool Launch Request (optional) + * @type {string} + * @memberof ToolLaunchRequestResponse + */ + 'payload'?: string; + /** + * Specifies whether the Tool should be launched in a new tab + * @type {boolean} + * @memberof ToolLaunchRequestResponse + */ + 'openNewTab'?: boolean; +} + +export const ToolLaunchRequestResponseMethod = { + GET: 'GET', + POST: 'POST' +} as const; + +export type ToolLaunchRequestResponseMethod = typeof ToolLaunchRequestResponseMethod[keyof typeof ToolLaunchRequestResponseMethod]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts new file mode 100644 index 00000000000..3327c6bd0e1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ToolReferenceResponse } from './tool-reference-response'; + +/** + * + * @export + * @interface ToolReferenceListResponse + */ +export interface ToolReferenceListResponse { + /** + * + * @type {Array} + * @memberof ToolReferenceListResponse + */ + 'data': Array; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts new file mode 100644 index 00000000000..5e0f44737a8 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts @@ -0,0 +1,69 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContextExternalToolConfigurationStatusResponse } from './context-external-tool-configuration-status-response'; + +/** + * + * @export + * @interface ToolReferenceResponse + */ +export interface ToolReferenceResponse { + /** + * The id of the tool in the context + * @type {string} + * @memberof ToolReferenceResponse + */ + 'contextToolId': string; + /** + * The description of the tool + * @type {string} + * @memberof ToolReferenceResponse + */ + 'description'?: string; + /** + * The url of the logo which is stored in the db + * @type {string} + * @memberof ToolReferenceResponse + */ + 'logoUrl'?: string; + /** + * The url of the thumbnail which is stored in the db + * @type {string} + * @memberof ToolReferenceResponse + */ + 'thumbnailUrl'?: string; + /** + * The display name of the tool + * @type {string} + * @memberof ToolReferenceResponse + */ + 'displayName': string; + /** + * Whether the tool should be opened in a new tab + * @type {boolean} + * @memberof ToolReferenceResponse + */ + 'openInNewTab': boolean; + /** + * The status of the tool + * @type {ContextExternalToolConfigurationStatusResponse} + * @memberof ToolReferenceResponse + */ + 'status': ContextExternalToolConfigurationStatusResponse; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-board-title-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-board-title-params.ts new file mode 100644 index 00000000000..d5d90955c3e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/update-board-title-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UpdateBoardTitleParams + */ +export interface UpdateBoardTitleParams { + /** + * + * @type {string} + * @memberof UpdateBoardTitleParams + */ + 'title': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts b/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts new file mode 100644 index 00000000000..aaef9e9abe1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts @@ -0,0 +1,47 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ContentElementType } from './content-element-type'; +// May contain unused imports in some cases +// @ts-ignore +import type { DrawingContentBody } from './drawing-content-body'; +// May contain unused imports in some cases +// @ts-ignore +import type { DrawingElementContentBody } from './drawing-element-content-body'; +// May contain unused imports in some cases +// @ts-ignore +import type { ExternalToolElementContentBody } from './external-tool-element-content-body'; +// May contain unused imports in some cases +// @ts-ignore +import type { FileElementContentBody } from './file-element-content-body'; +// May contain unused imports in some cases +// @ts-ignore +import type { LinkElementContentBody } from './link-element-content-body'; +// May contain unused imports in some cases +// @ts-ignore +import type { RichTextElementContentBody } from './rich-text-element-content-body'; +// May contain unused imports in some cases +// @ts-ignore +import type { SubmissionContainerElementContentBody } from './submission-container-element-content-body'; + +/** + * @type UpdateElementContentBodyParamsData + * @export + */ +export type UpdateElementContentBodyParamsData = DrawingElementContentBody | ExternalToolElementContentBody | FileElementContentBody | LinkElementContentBody | RichTextElementContentBody | SubmissionContainerElementContentBody; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts new file mode 100644 index 00000000000..c894cd9a151 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts @@ -0,0 +1,33 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { UpdateElementContentBodyParamsData } from './update-element-content-body-params-data'; + +/** + * + * @export + * @interface UpdateElementContentBodyParams + */ +export interface UpdateElementContentBodyParams { + /** + * + * @type {UpdateElementContentBodyParamsData} + * @memberof UpdateElementContentBodyParams + */ + 'data': UpdateElementContentBodyParamsData; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts new file mode 100644 index 00000000000..23479234acc --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UpdateFlagParams + */ +export interface UpdateFlagParams { + /** + * updates flag for an import user + * @type {boolean} + * @memberof UpdateFlagParams + */ + 'flagged': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts new file mode 100644 index 00000000000..a1cc8557b29 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UpdateMatchParams + */ +export interface UpdateMatchParams { + /** + * updates local user reference for an import user + * @type {string} + * @memberof UpdateMatchParams + */ + 'userId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts new file mode 100644 index 00000000000..9555af7a619 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UpdateNewsParams + */ +export interface UpdateNewsParams { + /** + * Title of the News entity + * @type {string} + * @memberof UpdateNewsParams + */ + 'title'?: string; + /** + * Content of the News entity + * @type {string} + * @memberof UpdateNewsParams + */ + 'content'?: string; + /** + * The point in time from when the News entity schould be displayed + * @type {string} + * @memberof UpdateNewsParams + */ + 'displayAt'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts new file mode 100644 index 00000000000..a0add473d2c --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UpdateSubmissionItemBodyParams + */ +export interface UpdateSubmissionItemBodyParams { + /** + * Boolean indicating whether the submission is completed. + * @type {boolean} + * @memberof UpdateSubmissionItemBodyParams + */ + 'completed': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts new file mode 100644 index 00000000000..6d0f0c747eb --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UserConsentResponse + */ +export interface UserConsentResponse { + /** + * + * @type {string} + * @memberof UserConsentResponse + */ + 'form': string; + /** + * + * @type {boolean} + * @memberof UserConsentResponse + */ + 'privacyConsent': boolean; + /** + * + * @type {boolean} + * @memberof UserConsentResponse + */ + 'termsOfUseConsent': boolean; + /** + * + * @type {string} + * @memberof UserConsentResponse + */ + 'dateOfPrivacyConsent': string; + /** + * + * @type {string} + * @memberof UserConsentResponse + */ + 'dateOfTermsOfUseConsent': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts new file mode 100644 index 00000000000..f05c3cf8355 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UserDataResponse + */ +export interface UserDataResponse { + /** + * + * @type {string} + * @memberof UserDataResponse + */ + 'firstName': string; + /** + * + * @type {string} + * @memberof UserDataResponse + */ + 'lastName': string; + /** + * + * @type {string} + * @memberof UserDataResponse + */ + 'userId': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts new file mode 100644 index 00000000000..4b60e8a93eb --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UserInfoResponse + */ +export interface UserInfoResponse { + /** + * The id of the User entity + * @type {string} + * @memberof UserInfoResponse + */ + 'id': string; + /** + * First name of the user + * @type {string} + * @memberof UserInfoResponse + */ + 'firstName'?: string; + /** + * Last name of the user + * @type {string} + * @memberof UserInfoResponse + */ + 'lastName'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts new file mode 100644 index 00000000000..491aae0ae27 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { UserResponse } from './user-response'; + +/** + * + * @export + * @interface UserListResponse + */ +export interface UserListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof UserListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof UserListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof UserListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof UserListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts new file mode 100644 index 00000000000..1008cf17af7 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UserLoginMigrationMandatoryParams + */ +export interface UserLoginMigrationMandatoryParams { + /** + * + * @type {boolean} + * @memberof UserLoginMigrationMandatoryParams + */ + 'mandatory': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts new file mode 100644 index 00000000000..e4a80c6e8e0 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts @@ -0,0 +1,66 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UserLoginMigrationResponse + */ +export interface UserLoginMigrationResponse { + /** + * Id of the migration + * @type {string} + * @memberof UserLoginMigrationResponse + */ + 'id': string; + /** + * Id of the system which is the origin of the migration + * @type {string} + * @memberof UserLoginMigrationResponse + */ + 'sourceSystemId'?: string; + /** + * Id of the system which is the target of the migration + * @type {string} + * @memberof UserLoginMigrationResponse + */ + 'targetSystemId': string; + /** + * Date when the migration was marked as required + * @type {string} + * @memberof UserLoginMigrationResponse + */ + 'mandatorySince'?: string; + /** + * Date when the migration was started + * @type {string} + * @memberof UserLoginMigrationResponse + */ + 'startedAt': string; + /** + * Date when the migration was completed + * @type {string} + * @memberof UserLoginMigrationResponse + */ + 'closedAt'?: string; + /** + * Date when the migration was completed including the grace period + * @type {string} + * @memberof UserLoginMigrationResponse + */ + 'finishedAt'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts new file mode 100644 index 00000000000..eaf7abea2d9 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { UserLoginMigrationResponse } from './user-login-migration-response'; + +/** + * + * @export + * @interface UserLoginMigrationSearchListResponse + */ +export interface UserLoginMigrationSearchListResponse { + /** + * Contains user login migration responses + * @type {Array} + * @memberof UserLoginMigrationSearchListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof UserLoginMigrationSearchListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof UserLoginMigrationSearchListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof UserLoginMigrationSearchListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts new file mode 100644 index 00000000000..d5daa422774 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { UserMatchResponse } from './user-match-response'; + +/** + * + * @export + * @interface UserMatchListResponse + */ +export interface UserMatchListResponse { + /** + * The items for the current page. + * @type {Array} + * @memberof UserMatchListResponse + */ + 'data': Array; + /** + * The total amount of items. + * @type {number} + * @memberof UserMatchListResponse + */ + 'total': number; + /** + * The amount of items skipped from the start. + * @type {number} + * @memberof UserMatchListResponse + */ + 'skip': number; + /** + * The page size of the response. + * @type {number} + * @memberof UserMatchListResponse + */ + 'limit': number; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts new file mode 100644 index 00000000000..7d1ac2ddbd9 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts @@ -0,0 +1,75 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface UserMatchResponse + */ +export interface UserMatchResponse { + /** + * local user id + * @type {string} + * @memberof UserMatchResponse + */ + 'userId': string; + /** + * login name of local user + * @type {string} + * @memberof UserMatchResponse + */ + 'loginName': string; + /** + * firstname of local user + * @type {string} + * @memberof UserMatchResponse + */ + 'firstName': string; + /** + * lastname of local user + * @type {string} + * @memberof UserMatchResponse + */ + 'lastName': string; + /** + * list of user roles from external system: student, teacher, admin + * @type {Array} + * @memberof UserMatchResponse + */ + 'roleNames': Array; + /** + * match type: admin (manual) or auto (set, when names match exactly for a single user + * @type {string} + * @memberof UserMatchResponse + */ + 'matchedBy'?: UserMatchResponseMatchedBy; +} + +export const UserMatchResponseRoleNames = { + STUDENT: 'student', + TEACHER: 'teacher', + ADMIN: 'admin' +} as const; + +export type UserMatchResponseRoleNames = typeof UserMatchResponseRoleNames[keyof typeof UserMatchResponseRoleNames]; +export const UserMatchResponseMatchedBy = { + AUTO: 'auto', + ADMIN: 'admin' +} as const; + +export type UserMatchResponseMatchedBy = typeof UserMatchResponseMatchedBy[keyof typeof UserMatchResponseMatchedBy]; + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-response.ts new file mode 100644 index 00000000000..62d08be213a --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/user-response.ts @@ -0,0 +1,108 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { ClassResponse } from './class-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { ConsentsResponse } from './consents-response'; + +/** + * + * @export + * @interface UserResponse + */ +export interface UserResponse { + /** + * + * @type {string} + * @memberof UserResponse + */ + '_id': string; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'firstName': string; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'lastName': string; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'email': string; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'createdAt': string; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'birthday': string; + /** + * + * @type {object} + * @memberof UserResponse + */ + 'preferences': object; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'consentStatus': string; + /** + * + * @type {ConsentsResponse} + * @memberof UserResponse + */ + 'consent': ConsentsResponse; + /** + * + * @type {Array} + * @memberof UserResponse + */ + 'classes': Array; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'importHash': string; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'lastLoginSystemChange': string; + /** + * + * @type {string} + * @memberof UserResponse + */ + 'outdatedSince': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/validation-error.ts b/apps/server/src/infra/board-client/board-api-client/models/validation-error.ts new file mode 100644 index 00000000000..1d4a243051e --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/validation-error.ts @@ -0,0 +1,54 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface ValidationError + */ +export interface ValidationError { + /** + * The response status code. + * @type {number} + * @memberof ValidationError + */ + 'code': number; + /** + * The error type. + * @type {string} + * @memberof ValidationError + */ + 'type': string; + /** + * The error title. + * @type {string} + * @memberof ValidationError + */ + 'title': string; + /** + * The error message. + * @type {string} + * @memberof ValidationError + */ + 'message': string; + /** + * The error details. + * @type {object} + * @memberof ValidationError + */ + 'details'?: object; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts new file mode 100644 index 00000000000..d40cd5b1298 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts @@ -0,0 +1,48 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface VideoConferenceCreateParams + */ +export interface VideoConferenceCreateParams { + /** + * + * @type {boolean} + * @memberof VideoConferenceCreateParams + */ + 'everyAttendeeJoinsMuted'?: boolean; + /** + * + * @type {boolean} + * @memberof VideoConferenceCreateParams + */ + 'everybodyJoinsAsModerator'?: boolean; + /** + * + * @type {boolean} + * @memberof VideoConferenceCreateParams + */ + 'moderatorMustApproveJoinRequests'?: boolean; + /** + * The URL that the BigBlueButton client will go to after users click the OK button on the ‘You have been logged out’ or ’This session was ended’ message. Has to be a URL from the same domain that the conference is started from. + * @type {string} + * @memberof VideoConferenceCreateParams + */ + 'logoutUrl'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts new file mode 100644 index 00000000000..a5bbac3f395 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts @@ -0,0 +1,44 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { VideoConferenceOptionsResponse } from './video-conference-options-response'; +// May contain unused imports in some cases +// @ts-ignore +import type { VideoConferenceStateResponse } from './video-conference-state-response'; + +/** + * + * @export + * @interface VideoConferenceInfoResponse + */ +export interface VideoConferenceInfoResponse { + /** + * + * @type {VideoConferenceStateResponse} + * @memberof VideoConferenceInfoResponse + */ + 'state': VideoConferenceStateResponse; + /** + * The options for the video conference. + * @type {VideoConferenceOptionsResponse} + * @memberof VideoConferenceInfoResponse + */ + 'options': VideoConferenceOptionsResponse; +} + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts new file mode 100644 index 00000000000..de608c5d215 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface VideoConferenceJoinResponse + */ +export interface VideoConferenceJoinResponse { + /** + * The URL to join the video conference. + * @type {string} + * @memberof VideoConferenceJoinResponse + */ + 'url': string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts new file mode 100644 index 00000000000..11e9a6e1172 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts @@ -0,0 +1,42 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface VideoConferenceOptionsResponse + */ +export interface VideoConferenceOptionsResponse { + /** + * Every attendee joins muted + * @type {boolean} + * @memberof VideoConferenceOptionsResponse + */ + 'everyAttendeeJoinsMuted': boolean; + /** + * Every attendee joins as a moderator + * @type {boolean} + * @memberof VideoConferenceOptionsResponse + */ + 'everybodyJoinsAsModerator': boolean; + /** + * Moderator must approve join requests + * @type {boolean} + * @memberof VideoConferenceOptionsResponse + */ + 'moderatorMustApproveJoinRequests': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts new file mode 100644 index 00000000000..ced35a6f9e1 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts @@ -0,0 +1,31 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const VideoConferenceScope = { + COURSE: 'course', + EVENT: 'event' +} as const; + +export type VideoConferenceScope = typeof VideoConferenceScope[keyof typeof VideoConferenceScope]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts new file mode 100644 index 00000000000..685c3fc1ea3 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts @@ -0,0 +1,32 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const VideoConferenceStateResponse = { + NOT_STARTED: 'NOT_STARTED', + RUNNING: 'RUNNING', + FINISHED: 'FINISHED' +} as const; + +export type VideoConferenceStateResponse = typeof VideoConferenceStateResponse[keyof typeof VideoConferenceStateResponse]; + + + diff --git a/apps/server/src/infra/board-client/board-api-client/models/visibility-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/visibility-body-params.ts new file mode 100644 index 00000000000..46cf8306234 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/visibility-body-params.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface VisibilityBodyParams + */ +export interface VisibilityBodyParams { + /** + * + * @type {boolean} + * @memberof VisibilityBodyParams + */ + 'isVisible': boolean; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts b/apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts new file mode 100644 index 00000000000..91baa51c30b --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts @@ -0,0 +1,30 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @interface VisibilitySettingsResponse + */ +export interface VisibilitySettingsResponse { + /** + * + * @type {string} + * @memberof VisibilitySettingsResponse + */ + 'publishedAt'?: string; +} + diff --git a/apps/server/src/infra/board-client/board-api-client/models/years-response.ts b/apps/server/src/infra/board-client/board-api-client/models/years-response.ts new file mode 100644 index 00000000000..5ea80490534 --- /dev/null +++ b/apps/server/src/infra/board-client/board-api-client/models/years-response.ts @@ -0,0 +1,51 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. + * + * The version of the OpenAPI document: 3.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import type { SchoolYearResponse } from './school-year-response'; + +/** + * + * @export + * @interface YearsResponse + */ +export interface YearsResponse { + /** + * + * @type {Array} + * @memberof YearsResponse + */ + 'schoolYears': Array; + /** + * + * @type {SchoolYearResponse} + * @memberof YearsResponse + */ + 'activeYear': SchoolYearResponse; + /** + * + * @type {SchoolYearResponse} + * @memberof YearsResponse + */ + 'lastYear': SchoolYearResponse; + /** + * + * @type {SchoolYearResponse} + * @memberof YearsResponse + */ + 'nextYear': SchoolYearResponse; +} + From 4a3e6d655915a27bfad845c1acddf33d1ea2f29a Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Mon, 19 Aug 2024 15:49:34 +0200 Subject: [PATCH 03/14] Extend filter script with filtering of schemas. --- scripts/filter_spec-apis.js | 66 ++++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/scripts/filter_spec-apis.js b/scripts/filter_spec-apis.js index d0d3577bb30..672b1f9ddea 100644 --- a/scripts/filter_spec-apis.js +++ b/scripts/filter_spec-apis.js @@ -14,6 +14,50 @@ if (!pathPrefix) { process.exit(1); } +// Recursively search for an element with the provided name in the source object +function getElementWithName(name, src) { + const results = []; + + Object.keys(src).forEach((key) => { + const element = src[key]; + + if (key === name) { + results.push(element); + return; + } + + if (typeof element === 'object') { + results.push(...getElementWithName(name, element)); + } + }); + + return results; +} + +// Get all referenced schemas from the provided spec +function getReferencedSchemas(spec) { + return getElementWithName('$ref', spec).map((ref) => ref.split('/').pop()); +} + +// Expand the set of schemas by adding all referenced schemas +function expandSchemaSet(schemas, spec) { + while (true) { + const oldSize = schemas.size; + + schemas.forEach((schema) => { + if (spec.components.schemas[schema]) { + getReferencedSchemas(spec.components.schemas[schema]).forEach((ref) => schemas.add(ref)); + } + }); + + const newSize = schemas.size; + + if (oldSize === newSize) { + break; + } + } +} + axios .get(swaggerUrl) // eslint-disable-next-line promise/always-return @@ -27,13 +71,33 @@ axios return obj; }, {}); + // Get referenced schemas from the filtered paths + const schemas = new Set(); + Object.keys(filteredPaths).forEach((path) => { + getReferencedSchemas(filteredPaths[path]).forEach((schema) => schemas.add(schema)); + }); + + // Expand the set of schemas to include all referenced schemas from other schemas + expandSchemaSet(schemas, spec); + + // Filter schemas + const filteredSchemas = Object.keys(spec.components.schemas) + .filter((schema) => schemas.has(schema)) + .reduce((obj, key) => { + obj[key] = spec.components.schemas[key]; + return obj; + }, {}); + // Create top-level fields from the original spec const filteredSwaggerDoc = { openapi: spec.openapi, info: spec.info, servers: spec.servers, paths: filteredPaths, - components: spec.components, + components: { + securitySchemes: spec.components.securitySchemes, + schemas: filteredSchemas, + }, }; fs.writeFileSync(outputPath, JSON.stringify(filteredSwaggerDoc, null, 2)); From f4ac83224093984922795c99e175b840e63e701a Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Mon, 19 Aug 2024 15:50:35 +0200 Subject: [PATCH 04/14] Remove unnecessary models. --- .../board-api-client/.openapi-generator/FILES | 247 ---------- .../models/account-by-id-body-params.ts | 42 -- .../models/account-response.ts | 54 --- .../models/account-search-list-response.ts | 51 -- .../board-api-client/models/action.ts | 31 -- .../board-api-client/models/alert-response.ts | 33 -- .../models/authorization-body-params.ts | 64 --- .../models/authorization-context-params.ts | 44 -- .../models/authorized-reponse.ts | 36 -- .../models/basic-tool-config-params.ts | 36 -- .../models/board-element-response.ts | 45 -- .../models/card-list-response.ts | 33 -- .../models/card-response-elements-inner.ts | 50 -- .../board-api-client/models/card-response.ts | 69 --- .../models/change-language-params.ts | 35 -- .../models/class-info-response.ts | 89 ---- .../models/class-info-search-list-response.ts | 51 -- .../models/class-request-context.ts | 31 -- .../board-api-client/models/class-response.ts | 36 -- .../models/class-sort-query-type.ts | 34 -- ...laborative-text-editor-element-response.ts | 56 --- .../collaborative-text-editor-parent-type.ts | 30 -- .../collaborative-text-editor-response.ts | 30 -- .../models/collapsable-body-params.ts | 30 -- .../models/color-body-params.ts | 35 -- .../models/config-response.ts | 437 ------------------ .../models/consent-request-body.ts | 72 --- .../models/consent-response.ts | 108 ----- .../models/consent-session-response.ts | 42 -- .../models/consents-response.ts | 42 -- .../models/content-element-type.ts | 36 -- .../context-external-tool-body-params.ts | 41 -- ...rnal-tool-configuration-status-response.ts | 60 --- ...ol-configuration-template-list-response.ts | 33 -- ...al-tool-configuration-template-response.ts | 63 --- ...xternal-tool-count-per-context-response.ts | 42 -- .../context-external-tool-post-params.ts | 57 --- .../models/context-external-tool-response.ts | 78 ---- ...text-external-tool-search-list-response.ts | 33 -- .../models/county-response.ts | 48 -- .../models/course-export-body-params.ts | 42 -- .../models/course-import-body-params.ts | 30 -- .../models/course-info-response.ts | 36 -- .../models/course-metadata-list-response.ts | 51 -- .../models/course-metadata-response.ts | 66 --- .../models/create-card-body-params.ts | 43 -- .../create-content-element-body-params.ts | 41 -- .../create-media-element-body-params.ts | 42 -- .../models/create-news-params.ts | 63 --- .../create-submission-item-body-params.ts | 30 -- .../models/custom-parameter-entry-param.ts | 36 -- .../models/custom-parameter-entry-response.ts | 36 -- .../models/custom-parameter-post-params.ts | 90 ---- .../models/custom-parameter-response.ts | 119 ----- .../models/dashboard-grid-element-response.ts | 87 ---- .../dashboard-grid-sub-element-response.ts | 48 -- .../models/dashboard-response.ts | 39 -- .../models/drawing-content-body.ts | 30 -- .../models/drawing-element-content-body.ts | 44 -- .../models/drawing-element-content.ts | 30 -- .../models/drawing-element-response.ts | 59 --- .../models/entity-not-found-error.ts | 54 --- .../models/external-source-response.ts | 36 -- .../external-tool-bulk-create-params.ts | 33 -- .../models/external-tool-content-body.ts | 30 -- .../models/external-tool-create-params.ts | 108 ----- .../external-tool-element-content-body.ts | 44 -- .../models/external-tool-element-content.ts | 30 -- .../models/external-tool-element-response.ts | 59 --- .../models/external-tool-medium-params.ts | 42 -- .../models/external-tool-medium-response.ts | 42 -- .../models/external-tool-metadata-response.ts | 39 -- .../models/external-tool-response-config.ts | 39 -- .../models/external-tool-response.ts | 114 ----- .../external-tool-search-list-response.ts | 51 -- .../external-tool-update-params-config.ts | 39 -- .../models/external-tool-update-params.ts | 114 ----- .../models/federal-state-response.ts | 57 --- .../models/file-content-body.ts | 36 -- .../models/file-element-content-body.ts | 44 -- .../models/file-element-content.ts | 36 -- .../models/file-element-response.ts | 59 --- .../models/file-storage-type.ts | 30 -- .../models/forbidden-operation-error.ts | 54 --- .../models/force-migration-params.ts | 42 -- .../models/get-meta-tag-data-body.ts | 30 -- .../models/group-list-response.ts | 51 -- .../board-api-client/models/group-response.ts | 75 --- .../models/group-user-response.ts | 53 --- .../models/import-user-list-response.ts | 51 -- .../models/import-user-response.ts | 84 ---- .../board-api-client/models/index.ts | 246 ---------- .../models/layout-body-params.ts | 35 -- .../models/ldap-authorization-body-params.ts | 48 -- .../models/lesson-content-response.ts | 73 --- .../models/lesson-copy-api-params.ts | 30 -- .../models/lesson-metadata-list-response.ts | 51 -- .../models/lesson-metadata-response.ts | 36 -- .../models/lesson-response.ts | 85 ---- .../models/link-content-body.ts | 48 -- .../models/link-element-content-body.ts | 44 -- .../models/link-element-content.ts | 48 -- .../models/link-element-response.ts | 59 --- .../models/local-authorization-body-params.ts | 36 -- .../models/login-request-body.ts | 66 --- .../board-api-client/models/login-response.ts | 90 ---- .../models/lti-message-type.ts | 30 -- .../models/lti-privacy-permission.ts | 34 -- .../models/lti11-tool-config-create-params.ts | 77 --- .../models/lti11-tool-config-update-params.ts | 77 --- .../models/material-response.ts | 72 --- .../models/me-account-response.ts | 30 -- .../board-api-client/models/me-response.ts | 77 --- .../models/me-role-response.ts | 36 -- .../models/me-school-logo-response.ts | 36 -- .../models/me-school-response.ts | 45 -- .../models/me-user-response.ts | 48 -- .../media-available-line-element-response.ts | 54 --- .../models/media-available-line-response.ts | 50 -- .../models/media-board-colors.ts | 49 -- .../models/media-board-layout-type.ts | 32 -- .../models/media-board-response.ts | 59 --- .../media-external-tool-element-content.ts | 30 -- .../media-external-tool-element-response.ts | 48 -- .../models/media-line-response.ts | 71 --- .../board-api-client/models/message-origin.ts | 36 -- .../board-api-client/models/message.ts | 69 --- .../models/meta-tag-extractor-response.ts | 66 --- .../models/move-card-body-params.ts | 36 -- .../models/move-column-body-params.ts | 36 -- .../models/move-content-element-body.ts | 36 -- .../models/move-element-body-params.ts | 36 -- .../models/move-element-params.ts | 39 -- .../models/move-element-position-params.ts | 42 -- .../models/news-list-response.ts | 51 -- .../board-api-client/models/news-response.ts | 134 ------ .../models/news-target-model.ts | 32 -- .../models/oauth-client-create-body.ts | 84 ---- .../models/oauth-client-response.ts | 300 ------------ .../models/oauth-client-update-body.ts | 78 ---- .../models/oauth-config-response.ts | 96 ---- .../models/oauth-token-dto.ts | 42 -- .../oauth2-authorization-body-params.ts | 42 -- .../models/oauth2-migration-params.ts | 42 -- .../oauth2-tool-config-create-params.ts | 78 ---- .../oauth2-tool-config-update-params.ts | 78 ---- .../models/oidc-context-response.ts | 54 --- .../models/parent-consent-response.ts | 60 --- .../models/patch-group-params.ts | 30 -- .../models/patch-my-account-params.ts | 54 --- .../models/patch-my-password-params.ts | 36 -- .../models/patch-order-params.ts | 30 -- .../models/patch-visibility-params.ts | 30 -- .../models/provider-config-response.ts | 30 -- .../models/pseudonym-response.ts | 42 -- .../models/public-system-list-response.ts | 33 -- .../public-system-response-oauth-config.ts | 27 -- .../models/public-system-response.ts | 57 --- .../models/redirect-response.ts | 30 -- .../models/rename-body-params.ts | 30 -- .../models/resolved-user-response.ts | 72 --- .../models/rich-text-content-body.ts | 36 -- .../models/rich-text-element-content-body.ts | 44 -- .../models/rich-text-element-content.ts | 36 -- .../models/rich-text-element-response.ts | 59 --- .../board-api-client/models/rich-text.ts | 46 -- .../board-api-client/models/role-name.ts | 48 -- .../models/school-exists-response.ts | 30 -- ...rnal-tool-configuration-status-response.ts | 36 -- ...ol-configuration-template-list-response.ts | 33 -- ...al-tool-configuration-template-response.ts | 57 --- .../school-external-tool-metadata-response.ts | 33 -- .../school-external-tool-post-params.ts | 51 -- .../models/school-external-tool-response.ts | 72 --- ...hool-external-tool-search-list-response.ts | 33 -- .../school-for-external-invite-response.ts | 36 -- .../models/school-for-ldap-login-response.ts | 45 -- .../models/school-info-response.ts | 36 -- .../board-api-client/models/school-logo.ts | 36 -- .../models/school-permissions-params.ts | 42 -- .../board-api-client/models/school-purpose.ts | 34 -- .../models/school-response.ts | 179 ------- .../models/school-system-response.ts | 57 --- .../models/school-update-body-params.ts | 97 ---- .../models/school-year-query-type.ts | 32 -- .../models/school-year-response.ts | 48 -- ...chul-conne-xprovisioning-options-params.ts | 48 -- ...ul-conne-xprovisioning-options-response.ts | 48 -- .../models/schulcloud-theme.ts | 33 -- .../models/set-height-body-params.ts | 30 -- .../models/share-token-body-params.ts | 58 --- .../models/share-token-import-body-params.ts | 36 -- .../models/share-token-info-response.ts | 52 --- .../models/share-token-payload-response.ts | 46 -- .../models/share-token-response.ts | 45 -- .../models/single-column-board-response.ts | 63 --- .../models/student-permission-params.ts | 30 -- .../submission-container-content-body.ts | 30 -- ...bmission-container-element-content-body.ts | 44 -- .../submission-container-element-content.ts | 30 -- .../submission-container-element-response.ts | 59 --- ...submission-item-response-elements-inner.ts | 38 -- .../models/submission-item-response.ts | 60 --- .../models/submission-status-list-response.ts | 33 -- .../models/submission-status-response.ts | 60 --- .../models/submissions-response.ts | 42 -- .../models/successful-response.ts | 30 -- .../models/system-for-ldap-login-response.ts | 42 -- .../board-api-client/models/system-type.ts | 39 -- .../models/target-info-response.ts | 36 -- .../models/task-copy-api-params.ts | 36 -- .../models/task-list-response.ts | 51 -- .../board-api-client/models/task-response.ts | 108 ----- .../models/task-status-response.ts | 60 --- .../models/teacher-permission-params.ts | 30 -- .../models/team-permissions-body.ts | 54 --- .../board-api-client/models/timezone.ts | 30 -- .../models/tool-config-type.ts | 32 -- .../models/tool-context-type.ts | 32 -- .../tool-context-types-list-response.ts | 33 -- .../models/tool-launch-request-response.ts | 56 --- .../models/tool-reference-list-response.ts | 33 -- .../models/tool-reference-response.ts | 69 --- ...update-element-content-body-params-data.ts | 47 -- .../update-element-content-body-params.ts | 33 -- .../models/update-flag-params.ts | 30 -- .../models/update-match-params.ts | 30 -- .../models/update-news-params.ts | 42 -- .../update-submission-item-body-params.ts | 30 -- .../models/user-consent-response.ts | 54 --- .../models/user-data-response.ts | 42 -- .../models/user-info-response.ts | 42 -- .../models/user-list-response.ts | 51 -- .../user-login-migration-mandatory-params.ts | 30 -- .../models/user-login-migration-response.ts | 66 --- ...er-login-migration-search-list-response.ts | 51 -- .../models/user-match-list-response.ts | 51 -- .../models/user-match-response.ts | 75 --- .../board-api-client/models/user-response.ts | 108 ----- .../models/validation-error.ts | 54 --- .../models/video-conference-create-params.ts | 48 -- .../models/video-conference-info-response.ts | 44 -- .../models/video-conference-join-response.ts | 30 -- .../video-conference-options-response.ts | 42 -- .../models/video-conference-scope.ts | 31 -- .../models/video-conference-state-response.ts | 32 -- .../models/visibility-settings-response.ts | 30 -- .../board-api-client/models/years-response.ts | 51 -- 248 files changed, 13196 deletions(-) delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/account-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/action.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/alert-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/card-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/config-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/consent-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/consents-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/county-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/group-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/login-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/material-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/message-origin.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/message.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/news-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/rich-text.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/role-name.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-logo.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/successful-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/system-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/timezone.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/user-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/validation-error.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts delete mode 100644 apps/server/src/infra/board-client/board-api-client/models/years-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES b/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES index 1aea46bfec4..dcd8a9a93e4 100644 --- a/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES +++ b/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES @@ -1,6 +1,5 @@ .gitignore .npmignore -.openapi-generator-ignore api.ts api/board-api.ts base.ts @@ -8,264 +7,18 @@ common.ts configuration.ts git_push.sh index.ts -models/account-by-id-body-params.ts -models/account-response.ts -models/account-search-list-response.ts -models/action.ts -models/alert-response.ts models/api-validation-error.ts -models/authorization-body-params.ts -models/authorization-context-params.ts -models/authorized-reponse.ts -models/basic-tool-config-params.ts models/board-context-response.ts -models/board-element-response.ts models/board-external-reference-type.ts models/board-layout.ts models/board-parent-type.ts models/board-response.ts -models/card-list-response.ts -models/card-response-elements-inner.ts -models/card-response.ts models/card-skeleton-response.ts -models/change-language-params.ts -models/class-info-response.ts -models/class-info-search-list-response.ts -models/class-request-context.ts -models/class-response.ts -models/class-sort-query-type.ts -models/collaborative-text-editor-element-response.ts -models/collaborative-text-editor-parent-type.ts -models/collaborative-text-editor-response.ts -models/collapsable-body-params.ts -models/color-body-params.ts models/column-response.ts -models/config-response.ts -models/consent-request-body.ts -models/consent-response.ts -models/consent-session-response.ts -models/consents-response.ts -models/content-element-type.ts -models/context-external-tool-body-params.ts -models/context-external-tool-configuration-status-response.ts -models/context-external-tool-configuration-template-list-response.ts -models/context-external-tool-configuration-template-response.ts -models/context-external-tool-count-per-context-response.ts -models/context-external-tool-post-params.ts -models/context-external-tool-response.ts -models/context-external-tool-search-list-response.ts models/copy-api-response.ts -models/county-response.ts -models/course-export-body-params.ts -models/course-import-body-params.ts -models/course-info-response.ts -models/course-metadata-list-response.ts -models/course-metadata-response.ts models/create-board-body-params.ts models/create-board-response.ts -models/create-card-body-params.ts -models/create-content-element-body-params.ts -models/create-media-element-body-params.ts -models/create-news-params.ts -models/create-submission-item-body-params.ts -models/custom-parameter-entry-param.ts -models/custom-parameter-entry-response.ts -models/custom-parameter-post-params.ts -models/custom-parameter-response.ts -models/dashboard-grid-element-response.ts -models/dashboard-grid-sub-element-response.ts -models/dashboard-response.ts -models/drawing-content-body.ts -models/drawing-element-content-body.ts -models/drawing-element-content.ts -models/drawing-element-response.ts -models/entity-not-found-error.ts -models/external-source-response.ts -models/external-tool-bulk-create-params.ts -models/external-tool-content-body.ts -models/external-tool-create-params.ts -models/external-tool-element-content-body.ts -models/external-tool-element-content.ts -models/external-tool-element-response.ts -models/external-tool-medium-params.ts -models/external-tool-medium-response.ts -models/external-tool-metadata-response.ts -models/external-tool-response-config.ts -models/external-tool-response.ts -models/external-tool-search-list-response.ts -models/external-tool-update-params-config.ts -models/external-tool-update-params.ts -models/federal-state-response.ts -models/file-content-body.ts -models/file-element-content-body.ts -models/file-element-content.ts -models/file-element-response.ts -models/file-storage-type.ts -models/forbidden-operation-error.ts -models/force-migration-params.ts -models/get-meta-tag-data-body.ts -models/group-list-response.ts -models/group-response.ts -models/group-user-response.ts -models/import-user-list-response.ts -models/import-user-response.ts models/index.ts -models/layout-body-params.ts -models/ldap-authorization-body-params.ts -models/lesson-content-response.ts -models/lesson-copy-api-params.ts -models/lesson-metadata-list-response.ts -models/lesson-metadata-response.ts -models/lesson-response.ts -models/link-content-body.ts -models/link-element-content-body.ts -models/link-element-content.ts -models/link-element-response.ts -models/local-authorization-body-params.ts -models/login-request-body.ts -models/login-response.ts -models/lti-message-type.ts -models/lti-privacy-permission.ts -models/lti11-tool-config-create-params.ts -models/lti11-tool-config-update-params.ts -models/material-response.ts -models/me-account-response.ts -models/me-response.ts -models/me-role-response.ts -models/me-school-logo-response.ts -models/me-school-response.ts -models/me-user-response.ts -models/media-available-line-element-response.ts -models/media-available-line-response.ts -models/media-board-colors.ts -models/media-board-layout-type.ts -models/media-board-response.ts -models/media-external-tool-element-content.ts -models/media-external-tool-element-response.ts -models/media-line-response.ts -models/message-origin.ts -models/message.ts -models/meta-tag-extractor-response.ts -models/move-card-body-params.ts -models/move-column-body-params.ts -models/move-content-element-body.ts -models/move-element-body-params.ts -models/move-element-params.ts -models/move-element-position-params.ts -models/news-list-response.ts -models/news-response.ts -models/news-target-model.ts -models/oauth-client-create-body.ts -models/oauth-client-response.ts -models/oauth-client-update-body.ts -models/oauth-config-response.ts -models/oauth-token-dto.ts -models/oauth2-authorization-body-params.ts -models/oauth2-migration-params.ts -models/oauth2-tool-config-create-params.ts -models/oauth2-tool-config-update-params.ts -models/oidc-context-response.ts -models/parent-consent-response.ts -models/patch-group-params.ts -models/patch-my-account-params.ts -models/patch-my-password-params.ts -models/patch-order-params.ts -models/patch-visibility-params.ts -models/provider-config-response.ts -models/pseudonym-response.ts -models/public-system-list-response.ts -models/public-system-response-oauth-config.ts -models/public-system-response.ts -models/redirect-response.ts -models/rename-body-params.ts -models/resolved-user-response.ts -models/rich-text-content-body.ts -models/rich-text-element-content-body.ts -models/rich-text-element-content.ts -models/rich-text-element-response.ts -models/rich-text.ts -models/role-name.ts -models/school-exists-response.ts -models/school-external-tool-configuration-status-response.ts -models/school-external-tool-configuration-template-list-response.ts -models/school-external-tool-configuration-template-response.ts -models/school-external-tool-metadata-response.ts -models/school-external-tool-post-params.ts -models/school-external-tool-response.ts -models/school-external-tool-search-list-response.ts -models/school-for-external-invite-response.ts -models/school-for-ldap-login-response.ts -models/school-info-response.ts -models/school-logo.ts -models/school-permissions-params.ts -models/school-purpose.ts -models/school-response.ts -models/school-system-response.ts -models/school-update-body-params.ts -models/school-year-query-type.ts -models/school-year-response.ts -models/schul-conne-xprovisioning-options-params.ts -models/schul-conne-xprovisioning-options-response.ts -models/schulcloud-theme.ts -models/set-height-body-params.ts -models/share-token-body-params.ts -models/share-token-import-body-params.ts -models/share-token-info-response.ts -models/share-token-payload-response.ts -models/share-token-response.ts -models/single-column-board-response.ts -models/student-permission-params.ts -models/submission-container-content-body.ts -models/submission-container-element-content-body.ts -models/submission-container-element-content.ts -models/submission-container-element-response.ts -models/submission-item-response-elements-inner.ts -models/submission-item-response.ts -models/submission-status-list-response.ts -models/submission-status-response.ts -models/submissions-response.ts -models/successful-response.ts -models/system-for-ldap-login-response.ts -models/system-type.ts -models/target-info-response.ts -models/task-copy-api-params.ts -models/task-list-response.ts -models/task-response.ts -models/task-status-response.ts -models/teacher-permission-params.ts -models/team-permissions-body.ts models/timestamps-response.ts -models/timezone.ts -models/tool-config-type.ts -models/tool-context-type.ts -models/tool-context-types-list-response.ts -models/tool-launch-request-response.ts -models/tool-reference-list-response.ts -models/tool-reference-response.ts models/update-board-title-params.ts -models/update-element-content-body-params-data.ts -models/update-element-content-body-params.ts -models/update-flag-params.ts -models/update-match-params.ts -models/update-news-params.ts -models/update-submission-item-body-params.ts -models/user-consent-response.ts -models/user-data-response.ts -models/user-info-response.ts -models/user-list-response.ts -models/user-login-migration-mandatory-params.ts -models/user-login-migration-response.ts -models/user-login-migration-search-list-response.ts -models/user-match-list-response.ts -models/user-match-response.ts -models/user-response.ts -models/validation-error.ts -models/video-conference-create-params.ts -models/video-conference-info-response.ts -models/video-conference-join-response.ts -models/video-conference-options-response.ts -models/video-conference-scope.ts -models/video-conference-state-response.ts models/visibility-body-params.ts -models/visibility-settings-response.ts -models/years-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts deleted file mode 100644 index 38e5f7d5165..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/account-by-id-body-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface AccountByIdBodyParams - */ -export interface AccountByIdBodyParams { - /** - * The new user name for the user. - * @type {string} - * @memberof AccountByIdBodyParams - */ - 'username'?: string | null; - /** - * The new password for the user. - * @type {string} - * @memberof AccountByIdBodyParams - */ - 'password'?: string | null; - /** - * The new activation state of the user. - * @type {boolean} - * @memberof AccountByIdBodyParams - */ - 'activated'?: boolean | null; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/account-response.ts b/apps/server/src/infra/board-client/board-api-client/models/account-response.ts deleted file mode 100644 index c1e1a980fb5..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/account-response.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface AccountResponse - */ -export interface AccountResponse { - /** - * - * @type {string} - * @memberof AccountResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof AccountResponse - */ - 'username': string; - /** - * - * @type {string} - * @memberof AccountResponse - */ - 'userId': string; - /** - * - * @type {boolean} - * @memberof AccountResponse - */ - 'activated': boolean; - /** - * - * @type {string} - * @memberof AccountResponse - */ - 'updatedAt': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts deleted file mode 100644 index a3898607781..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/account-search-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { AccountResponse } from './account-response'; - -/** - * - * @export - * @interface AccountSearchListResponse - */ -export interface AccountSearchListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof AccountSearchListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof AccountSearchListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof AccountSearchListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof AccountSearchListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/action.ts b/apps/server/src/infra/board-client/board-api-client/models/action.ts deleted file mode 100644 index c74334d322b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/action.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const Action = { - READ: 'read', - WRITE: 'write' -} as const; - -export type Action = typeof Action[keyof typeof Action]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/alert-response.ts b/apps/server/src/infra/board-client/board-api-client/models/alert-response.ts deleted file mode 100644 index 33d0034b8c9..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/alert-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { Message } from './message'; - -/** - * - * @export - * @interface AlertResponse - */ -export interface AlertResponse { - /** - * - * @type {Array} - * @memberof AlertResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts deleted file mode 100644 index cea578bd6f3..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/authorization-body-params.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { AuthorizationContextParams } from './authorization-context-params'; - -/** - * - * @export - * @interface AuthorizationBodyParams - */ -export interface AuthorizationBodyParams { - /** - * - * @type {AuthorizationContextParams} - * @memberof AuthorizationBodyParams - */ - 'context': AuthorizationContextParams; - /** - * The entity or domain object the operation should be performed on. - * @type {string} - * @memberof AuthorizationBodyParams - */ - 'referenceType': AuthorizationBodyParamsReferenceType; - /** - * The id of the entity/domain object of the defined referenceType. - * @type {string} - * @memberof AuthorizationBodyParams - */ - 'referenceId': string; -} - -export const AuthorizationBodyParamsReferenceType = { - USERS: 'users', - SCHOOLS: 'schools', - COURSES: 'courses', - COURSEGROUPS: 'coursegroups', - TASKS: 'tasks', - LESSONS: 'lessons', - TEAMS: 'teams', - SUBMISSIONS: 'submissions', - SCHOOL_EXTERNAL_TOOLS: 'school-external-tools', - BOARDNODES: 'boardnodes', - CONTEXT_EXTERNAL_TOOLS: 'context-external-tools', - EXTERNAL_TOOLS: 'external-tools', - INSTANCES: 'instances' -} as const; - -export type AuthorizationBodyParamsReferenceType = typeof AuthorizationBodyParamsReferenceType[keyof typeof AuthorizationBodyParamsReferenceType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts b/apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts deleted file mode 100644 index 055adfae85a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/authorization-context-params.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { Action } from './action'; -// May contain unused imports in some cases -// @ts-ignore -import type { Permission } from './permission'; - -/** - * - * @export - * @interface AuthorizationContextParams - */ -export interface AuthorizationContextParams { - /** - * - * @type {Action} - * @memberof AuthorizationContextParams - */ - 'action': Action; - /** - * User permissions that are needed to execute the operation. - * @type {Array} - * @memberof AuthorizationContextParams - */ - 'requiredPermissions': Array; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts b/apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts deleted file mode 100644 index b69c757a07a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/authorized-reponse.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface AuthorizedReponse - */ -export interface AuthorizedReponse { - /** - * - * @type {string} - * @memberof AuthorizedReponse - */ - 'userId': string; - /** - * - * @type {boolean} - * @memberof AuthorizedReponse - */ - 'isAuthorized': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts b/apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts deleted file mode 100644 index eb7d5d3191c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/basic-tool-config-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface BasicToolConfigParams - */ -export interface BasicToolConfigParams { - /** - * - * @type {string} - * @memberof BasicToolConfigParams - */ - 'type': string; - /** - * - * @type {string} - * @memberof BasicToolConfigParams - */ - 'baseUrl': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts deleted file mode 100644 index e320730ea3e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/board-element-response.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface BoardElementResponse - */ -export interface BoardElementResponse { - /** - * the type of the element in the content. For possible types, please refer to the enum - * @type {string} - * @memberof BoardElementResponse - */ - 'type': BoardElementResponseType; - /** - * Content of the Board, either: a task or a lesson specific for the board - * @type {object} - * @memberof BoardElementResponse - */ - 'content': object; -} - -export const BoardElementResponseType = { - TASK: 'task', - LESSON: 'lesson', - COLUMN_BOARD: 'column-board' -} as const; - -export type BoardElementResponseType = typeof BoardElementResponseType[keyof typeof BoardElementResponseType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts deleted file mode 100644 index d3127c46646..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/card-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CardResponse } from './card-response'; - -/** - * - * @export - * @interface CardListResponse - */ -export interface CardListResponse { - /** - * - * @type {Array} - * @memberof CardListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts b/apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts deleted file mode 100644 index 14834c27c4a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/card-response-elements-inner.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CollaborativeTextEditorElementResponse } from './collaborative-text-editor-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { DrawingElementResponse } from './drawing-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolElementResponse } from './external-tool-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { FileElementResponse } from './file-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { LinkElementResponse } from './link-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { RichTextElementResponse } from './rich-text-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { SubmissionContainerElementResponse } from './submission-container-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * @type CardResponseElementsInner - * @export - */ -export type CardResponseElementsInner = CollaborativeTextEditorElementResponse | DrawingElementResponse | ExternalToolElementResponse | FileElementResponse | LinkElementResponse | RichTextElementResponse | SubmissionContainerElementResponse; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-response.ts b/apps/server/src/infra/board-client/board-api-client/models/card-response.ts deleted file mode 100644 index 93f03bf3e78..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/card-response.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CardResponseElementsInner } from './card-response-elements-inner'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { VisibilitySettingsResponse } from './visibility-settings-response'; - -/** - * - * @export - * @interface CardResponse - */ -export interface CardResponse { - /** - * - * @type {string} - * @memberof CardResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof CardResponse - */ - 'title'?: string; - /** - * - * @type {number} - * @memberof CardResponse - */ - 'height': number; - /** - * - * @type {Array} - * @memberof CardResponse - */ - 'elements': Array; - /** - * - * @type {VisibilitySettingsResponse} - * @memberof CardResponse - */ - 'visibilitySettings': VisibilitySettingsResponse; - /** - * - * @type {TimestampsResponse} - * @memberof CardResponse - */ - 'timestamps': TimestampsResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts b/apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts deleted file mode 100644 index e751fb28144..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/change-language-params.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LanguageType } from './language-type'; - -/** - * - * @export - * @interface ChangeLanguageParams - */ -export interface ChangeLanguageParams { - /** - * - * @type {LanguageType} - * @memberof ChangeLanguageParams - */ - 'language': LanguageType; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts deleted file mode 100644 index 0eeee4aa801..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/class-info-response.ts +++ /dev/null @@ -1,89 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CourseInfoResponse } from './course-info-response'; - -/** - * - * @export - * @interface ClassInfoResponse - */ -export interface ClassInfoResponse { - /** - * - * @type {string} - * @memberof ClassInfoResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof ClassInfoResponse - */ - 'type': ClassInfoResponseType; - /** - * - * @type {string} - * @memberof ClassInfoResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof ClassInfoResponse - */ - 'externalSourceName'?: string; - /** - * - * @type {Array} - * @memberof ClassInfoResponse - */ - 'teacherNames': Array; - /** - * - * @type {string} - * @memberof ClassInfoResponse - */ - 'schoolYear'?: string; - /** - * - * @type {boolean} - * @memberof ClassInfoResponse - */ - 'isUpgradable'?: boolean; - /** - * - * @type {number} - * @memberof ClassInfoResponse - */ - 'studentCount': number; - /** - * - * @type {Array} - * @memberof ClassInfoResponse - */ - 'synchronizedCourses'?: Array; -} - -export const ClassInfoResponseType = { - CLASS: 'class', - GROUP: 'group' -} as const; - -export type ClassInfoResponseType = typeof ClassInfoResponseType[keyof typeof ClassInfoResponseType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts deleted file mode 100644 index 014973879f3..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/class-info-search-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ClassInfoResponse } from './class-info-response'; - -/** - * - * @export - * @interface ClassInfoSearchListResponse - */ -export interface ClassInfoSearchListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof ClassInfoSearchListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof ClassInfoSearchListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof ClassInfoSearchListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof ClassInfoSearchListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts b/apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts deleted file mode 100644 index a0cc1a81dea..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/class-request-context.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const ClassRequestContext = { - COURSE: 'course', - CLASS_OVERVIEW: 'class-overview' -} as const; - -export type ClassRequestContext = typeof ClassRequestContext[keyof typeof ClassRequestContext]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-response.ts b/apps/server/src/infra/board-client/board-api-client/models/class-response.ts deleted file mode 100644 index d4f310a2761..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/class-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ClassResponse - */ -export interface ClassResponse { - /** - * - * @type {string} - * @memberof ClassResponse - */ - 'name': string; - /** - * - * @type {number} - * @memberof ClassResponse - */ - 'gradeLevel': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts b/apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts deleted file mode 100644 index 25fa72ff2df..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/class-sort-query-type.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const ClassSortQueryType = { - NAME: 'name', - EXTERNAL_SOURCE_NAME: 'externalSourceName', - SYNCHRONIZED_COURSES: 'synchronizedCourses', - STUDENT_COUNT: 'studentCount', - TEACHER_NAMES: 'teacherNames' -} as const; - -export type ClassSortQueryType = typeof ClassSortQueryType[keyof typeof ClassSortQueryType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts deleted file mode 100644 index 83f02148bea..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-element-response.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface CollaborativeTextEditorElementResponse - */ -export interface CollaborativeTextEditorElementResponse { - /** - * - * @type {string} - * @memberof CollaborativeTextEditorElementResponse - */ - 'id': string; - /** - * - * @type {ContentElementType} - * @memberof CollaborativeTextEditorElementResponse - */ - 'type': ContentElementType; - /** - * - * @type {TimestampsResponse} - * @memberof CollaborativeTextEditorElementResponse - */ - 'timestamps': TimestampsResponse; - /** - * - * @type {object} - * @memberof CollaborativeTextEditorElementResponse - */ - 'content': object; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts deleted file mode 100644 index 05899a41ef6..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-parent-type.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const CollaborativeTextEditorParentType = { - CONTENT_ELEMENT: 'content-element' -} as const; - -export type CollaborativeTextEditorParentType = typeof CollaborativeTextEditorParentType[keyof typeof CollaborativeTextEditorParentType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts b/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts deleted file mode 100644 index 238a72f72f8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/collaborative-text-editor-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CollaborativeTextEditorResponse - */ -export interface CollaborativeTextEditorResponse { - /** - * - * @type {string} - * @memberof CollaborativeTextEditorResponse - */ - 'url': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts deleted file mode 100644 index d69b6f7e019..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/collapsable-body-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CollapsableBodyParams - */ -export interface CollapsableBodyParams { - /** - * - * @type {boolean} - * @memberof CollapsableBodyParams - */ - 'collapsed': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts deleted file mode 100644 index ad627ac5e48..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/color-body-params.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MediaBoardColors } from './media-board-colors'; - -/** - * - * @export - * @interface ColorBodyParams - */ -export interface ColorBodyParams { - /** - * - * @type {MediaBoardColors} - * @memberof ColorBodyParams - */ - 'backgroundColor': MediaBoardColors; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/config-response.ts b/apps/server/src/infra/board-client/board-api-client/models/config-response.ts deleted file mode 100644 index 0749b6508ca..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/config-response.ts +++ /dev/null @@ -1,437 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LanguageType } from './language-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchulcloudTheme } from './schulcloud-theme'; -// May contain unused imports in some cases -// @ts-ignore -import type { Timezone } from './timezone'; - -/** - * - * @export - * @interface ConfigResponse - */ -export interface ConfigResponse { - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'ACCESSIBILITY_REPORT_EMAIL': string; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_NEW_SCHOOL_ADMINISTRATION_PAGE_AS_DEFAULT_ENABLED': boolean; - /** - * - * @type {number} - * @memberof ConfigResponse - */ - 'MIGRATION_END_GRACE_PERIOD_MS': number; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_CTL_TOOLS_TAB_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_LTI_TOOLS_TAB_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SHOW_OUTDATED_USERS': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_ENABLE_LDAP_SYNC_DURING_MIGRATION': boolean; - /** - * - * @type {number} - * @memberof ConfigResponse - */ - 'CTL_TOOLS_RELOAD_TIME_MS': number; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SHOW_NEW_CLASS_VIEW_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_CTL_TOOLS_COPY_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SHOW_MIGRATION_WIZARD': boolean; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'MIGRATION_WIZARD_DOCUMENTATION_LINK'?: string; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_TLDRAW_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'TLDRAW__ASSETS_ENABLED': boolean; - /** - * - * @type {number} - * @memberof ConfigResponse - */ - 'TLDRAW__ASSETS_MAX_SIZE': number; - /** - * - * @type {Array} - * @memberof ConfigResponse - */ - 'TLDRAW__ASSETS_ALLOWED_MIME_TYPES_LIST': Array; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'ADMIN_TABLES_DISPLAY_CONSENT_COLUMN': boolean; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'ALERT_STATUS_URL': string | null; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_ES_COLLECTIONS_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_EXTENSIONS_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_TEAMS_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_LERNSTORE_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_ADMIN_TOGGLE_STUDENT_LERNSTORE_VIEW_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'TEACHER_STUDENT_VISIBILITY__IS_CONFIGURABLE': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'TEACHER_STUDENT_VISIBILITY__IS_ENABLED_BY_DEFAULT': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'TEACHER_STUDENT_VISIBILITY__IS_VISIBLE': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SCHOOL_POLICY_ENABLED_NEW': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SCHOOL_TERMS_OF_USE_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_NEXBOARD_COPY_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_VIDEOCONFERENCE_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COLUMN_BOARD_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COLUMN_BOARD_SUBMISSIONS_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COLUMN_BOARD_COLLABORATIVE_TEXT_EDITOR_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COLUMN_BOARD_LINK_ELEMENT_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COLUMN_BOARD_EXTERNAL_TOOLS_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COLUMN_BOARD_SHARE': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COLUMN_BOARD_SOCKET_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COURSE_SHARE': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_LOGIN_LINK_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_LESSON_SHARE': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_TASK_SHARE': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_BOARD_LAYOUT_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_USER_MIGRATION_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COPY_SERVICE_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_CONSENT_NECESSARY': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COMMON_CARTRIDGE_COURSE_EXPORT_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_COMMON_CARTRIDGE_COURSE_IMPORT_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SCHOOL_SANIS_USER_MIGRATION_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SCHULCONNEX_COURSE_SYNC_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_ALLOW_INSECURE_LDAP_URL_ENABLED': boolean; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'GHOST_BASE_URL': string; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'ROCKETCHAT_SERVICE_ENABLED': boolean; - /** - * - * @type {Array} - * @memberof ConfigResponse - */ - 'I18N__AVAILABLE_LANGUAGES': Array; - /** - * - * @type {LanguageType} - * @memberof ConfigResponse - */ - 'I18N__DEFAULT_LANGUAGE': LanguageType; - /** - * - * @type {LanguageType} - * @memberof ConfigResponse - */ - 'I18N__FALLBACK_LANGUAGE': LanguageType; - /** - * - * @type {Timezone} - * @memberof ConfigResponse - */ - 'I18N__DEFAULT_TIMEZONE': Timezone; - /** - * - * @type {number} - * @memberof ConfigResponse - */ - 'JWT_SHOW_TIMEOUT_WARNING_SECONDS': number; - /** - * - * @type {number} - * @memberof ConfigResponse - */ - 'JWT_TIMEOUT_SECONDS': number; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'NOT_AUTHENTICATED_REDIRECT_URL': string; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'DOCUMENT_BASE_DIR': string; - /** - * - * @type {SchulcloudTheme} - * @memberof ConfigResponse - */ - 'SC_THEME': SchulcloudTheme; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'SC_TITLE': string; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'TRAINING_URL': string; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_MEDIA_SHELF_ENABLED': boolean; - /** - * - * @type {string} - * @memberof ConfigResponse - */ - 'BOARD_COLLABORATION_URI': string; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_SCHULCONNEX_MEDIA_LICENSE_ENABLED': boolean; - /** - * - * @type {boolean} - * @memberof ConfigResponse - */ - 'FEATURE_AI_TUTOR_ENABLED': boolean; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts b/apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts deleted file mode 100644 index 81794a11048..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/consent-request-body.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ConsentRequestBody - */ -export interface ConsentRequestBody { - /** - * The error should follow the OAuth2 error format (e.g. invalid_request, login_required). Defaults to request_denied. - * @type {string} - * @memberof ConsentRequestBody - */ - 'error'?: string; - /** - * Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. - * @type {string} - * @memberof ConsentRequestBody - */ - 'error_debug'?: string; - /** - * Description of the error in a human readable format. - * @type {string} - * @memberof ConsentRequestBody - */ - 'error_description'?: string; - /** - * Hint to help resolve the error. - * @type {string} - * @memberof ConsentRequestBody - */ - 'error_hint'?: string; - /** - * Represents the HTTP status code of the error (e.g. 401 or 403). Defaults to 400. - * @type {number} - * @memberof ConsentRequestBody - */ - 'status_code'?: number; - /** - * The Oauth2 client id. - * @type {Array} - * @memberof ConsentRequestBody - */ - 'grant_scope'?: Array; - /** - * Remember, if set to true, tells the oauth provider to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. - * @type {boolean} - * @memberof ConsentRequestBody - */ - 'remember'?: boolean; - /** - * RememberFor sets how long the consent authorization should be remembered for in seconds. If set to 0, the authorization will be remembered indefinitely. - * @type {number} - * @memberof ConsentRequestBody - */ - 'remember_for'?: number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/consent-response.ts b/apps/server/src/infra/board-client/board-api-client/models/consent-response.ts deleted file mode 100644 index ebf3115892c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/consent-response.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { OauthClientResponse } from './oauth-client-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { OidcContextResponse } from './oidc-context-response'; - -/** - * - * @export - * @interface ConsentResponse - */ -export interface ConsentResponse { - /** - * ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session - * @type {string} - * @memberof ConsentResponse - */ - 'acr': string; - /** - * - * @type {Array} - * @memberof ConsentResponse - */ - 'amr'?: Array; - /** - * Is the id/authorization challenge of the consent authorization request. It is used to identify the session. - * @type {string} - * @memberof ConsentResponse - */ - 'challenge': string; - /** - * - * @type {OauthClientResponse} - * @memberof ConsentResponse - */ - 'client': OauthClientResponse; - /** - * - * @type {object} - * @memberof ConsentResponse - */ - 'context': object; - /** - * LoginChallenge is the login challenge this consent challenge belongs to. - * @type {string} - * @memberof ConsentResponse - */ - 'login_challenge': string; - /** - * LoginSessionID is the login session ID. - * @type {string} - * @memberof ConsentResponse - */ - 'login_session_id': string; - /** - * - * @type {OidcContextResponse} - * @memberof ConsentResponse - */ - 'oidc_context': OidcContextResponse; - /** - * RequestUrl is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. - * @type {string} - * @memberof ConsentResponse - */ - 'request_url': string; - /** - * - * @type {Array} - * @memberof ConsentResponse - */ - 'requested_access_token_audience'?: Array; - /** - * The request scopes of the login request. - * @type {Array} - * @memberof ConsentResponse - */ - 'requested_scope'?: Array; - /** - * Skip, if true, implies that the client has requested the same scopes from the same user previously. - * @type {boolean} - * @memberof ConsentResponse - */ - 'skip': boolean; - /** - * Subject is the user id of the end-user that is authenticated. - * @type {string} - * @memberof ConsentResponse - */ - 'subject': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts b/apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts deleted file mode 100644 index 2064b02e3ac..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/consent-session-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ConsentSessionResponse - */ -export interface ConsentSessionResponse { - /** - * The id of the client. - * @type {string} - * @memberof ConsentSessionResponse - */ - 'client_id': string; - /** - * The name of the client. - * @type {string} - * @memberof ConsentSessionResponse - */ - 'client_name': string; - /** - * The id/challenge of the consent authorization request. - * @type {string} - * @memberof ConsentSessionResponse - */ - 'challenge': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/consents-response.ts b/apps/server/src/infra/board-client/board-api-client/models/consents-response.ts deleted file mode 100644 index 5388c1367f9..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/consents-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ParentConsentResponse } from './parent-consent-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { UserConsentResponse } from './user-consent-response'; - -/** - * - * @export - * @interface ConsentsResponse - */ -export interface ConsentsResponse { - /** - * - * @type {UserConsentResponse} - * @memberof ConsentsResponse - */ - 'userConsent': UserConsentResponse; - /** - * - * @type {Array} - * @memberof ConsentsResponse - */ - 'parentConsents': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts b/apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts deleted file mode 100644 index f48f8551d2a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/content-element-type.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const ContentElementType = { - FILE: 'file', - DRAWING: 'drawing', - LINK: 'link', - RICH_TEXT: 'richText', - SUBMISSION_CONTAINER: 'submissionContainer', - EXTERNAL_TOOL: 'externalTool', - COLLABORATIVE_TEXT_EDITOR: 'collaborativeTextEditor' -} as const; - -export type ContentElementType = typeof ContentElementType[keyof typeof ContentElementType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts deleted file mode 100644 index ed8dca45832..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-body-params.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ToolContextType } from './tool-context-type'; - -/** - * - * @export - * @interface ContextExternalToolBodyParams - */ -export interface ContextExternalToolBodyParams { - /** - * - * @type {string} - * @memberof ContextExternalToolBodyParams - */ - 'contextId': string; - /** - * - * @type {ToolContextType} - * @memberof ContextExternalToolBodyParams - */ - 'contextType': ToolContextType; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts deleted file mode 100644 index 8f91afe7c8d..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-status-response.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ContextExternalToolConfigurationStatusResponse - */ -export interface ContextExternalToolConfigurationStatusResponse { - /** - * Is the tool outdated on school scope, because of non matching versions or required parameter changes on ExternalTool? - * @type {boolean} - * @memberof ContextExternalToolConfigurationStatusResponse - */ - 'isOutdatedOnScopeSchool': boolean; - /** - * Is the tool outdated on context scope, because of non matching versions or required parameter changes on SchoolExternalTool? - * @type {boolean} - * @memberof ContextExternalToolConfigurationStatusResponse - */ - 'isOutdatedOnScopeContext': boolean; - /** - * True, if a mandatory parameter on the context external tool is missing a value - * @type {boolean} - * @memberof ContextExternalToolConfigurationStatusResponse - */ - 'isIncompleteOnScopeContext': boolean; - /** - * True, if a optional parameter on the context external tool is missing a value. This is happening, when course is copied. - * @type {boolean} - * @memberof ContextExternalToolConfigurationStatusResponse - */ - 'isIncompleteOperationalOnScopeContext': boolean; - /** - * Is the tool deactivated, because of superhero or school administrator - * @type {boolean} - * @memberof ContextExternalToolConfigurationStatusResponse - */ - 'isDeactivated': boolean; - /** - * True if the tool is not licensed for user - * @type {boolean} - * @memberof ContextExternalToolConfigurationStatusResponse - */ - 'isNotLicensed': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts deleted file mode 100644 index be983d62f71..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContextExternalToolConfigurationTemplateResponse } from './context-external-tool-configuration-template-response'; - -/** - * - * @export - * @interface ContextExternalToolConfigurationTemplateListResponse - */ -export interface ContextExternalToolConfigurationTemplateListResponse { - /** - * - * @type {Array} - * @memberof ContextExternalToolConfigurationTemplateListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts deleted file mode 100644 index 868bde9fc6a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-configuration-template-response.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterResponse } from './custom-parameter-response'; - -/** - * - * @export - * @interface ContextExternalToolConfigurationTemplateResponse - */ -export interface ContextExternalToolConfigurationTemplateResponse { - /** - * - * @type {string} - * @memberof ContextExternalToolConfigurationTemplateResponse - */ - 'externalToolId': string; - /** - * - * @type {string} - * @memberof ContextExternalToolConfigurationTemplateResponse - */ - 'schoolExternalToolId': string; - /** - * - * @type {string} - * @memberof ContextExternalToolConfigurationTemplateResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof ContextExternalToolConfigurationTemplateResponse - */ - 'baseUrl': string; - /** - * - * @type {string} - * @memberof ContextExternalToolConfigurationTemplateResponse - */ - 'logoUrl'?: string; - /** - * - * @type {Array} - * @memberof ContextExternalToolConfigurationTemplateResponse - */ - 'parameters': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts deleted file mode 100644 index aeb41c99b65..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-count-per-context-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ContextExternalToolCountPerContextResponse - */ -export interface ContextExternalToolCountPerContextResponse { - /** - * - * @type {number} - * @memberof ContextExternalToolCountPerContextResponse - */ - 'course': number; - /** - * - * @type {number} - * @memberof ContextExternalToolCountPerContextResponse - */ - 'boardElement': number; - /** - * - * @type {number} - * @memberof ContextExternalToolCountPerContextResponse - */ - 'mediaBoard': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts deleted file mode 100644 index 87a2672ea6f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-post-params.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterEntryParam } from './custom-parameter-entry-param'; - -/** - * - * @export - * @interface ContextExternalToolPostParams - */ -export interface ContextExternalToolPostParams { - /** - * - * @type {string} - * @memberof ContextExternalToolPostParams - */ - 'schoolToolId': string; - /** - * - * @type {string} - * @memberof ContextExternalToolPostParams - */ - 'contextId': string; - /** - * - * @type {string} - * @memberof ContextExternalToolPostParams - */ - 'contextType': string; - /** - * - * @type {string} - * @memberof ContextExternalToolPostParams - */ - 'displayName'?: string; - /** - * - * @type {Array} - * @memberof ContextExternalToolPostParams - */ - 'parameters'?: Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts deleted file mode 100644 index 88556ab4664..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-response.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterEntryResponse } from './custom-parameter-entry-response'; - -/** - * - * @export - * @interface ContextExternalToolResponse - */ -export interface ContextExternalToolResponse { - /** - * - * @type {string} - * @memberof ContextExternalToolResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof ContextExternalToolResponse - */ - 'schoolToolId': string; - /** - * - * @type {string} - * @memberof ContextExternalToolResponse - */ - 'contextId': string; - /** - * - * @type {string} - * @memberof ContextExternalToolResponse - */ - 'contextType': ContextExternalToolResponseContextType; - /** - * - * @type {string} - * @memberof ContextExternalToolResponse - */ - 'displayName'?: string; - /** - * - * @type {Array} - * @memberof ContextExternalToolResponse - */ - 'parameters': Array; - /** - * - * @type {string} - * @memberof ContextExternalToolResponse - */ - 'logoUrl'?: string; -} - -export const ContextExternalToolResponseContextType = { - COURSE: 'course', - BOARD_ELEMENT: 'board-element', - MEDIA_BOARD: 'media-board' -} as const; - -export type ContextExternalToolResponseContextType = typeof ContextExternalToolResponseContextType[keyof typeof ContextExternalToolResponseContextType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts deleted file mode 100644 index 556ba42bea6..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/context-external-tool-search-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContextExternalToolResponse } from './context-external-tool-response'; - -/** - * - * @export - * @interface ContextExternalToolSearchListResponse - */ -export interface ContextExternalToolSearchListResponse { - /** - * - * @type {Array} - * @memberof ContextExternalToolSearchListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/county-response.ts b/apps/server/src/infra/board-client/board-api-client/models/county-response.ts deleted file mode 100644 index a2937815a61..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/county-response.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CountyResponse - */ -export interface CountyResponse { - /** - * - * @type {string} - * @memberof CountyResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof CountyResponse - */ - 'name': string; - /** - * - * @type {number} - * @memberof CountyResponse - */ - 'countyId': number; - /** - * - * @type {string} - * @memberof CountyResponse - */ - 'antaresKey': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts deleted file mode 100644 index 7fe921f621c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/course-export-body-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CourseExportBodyParams - */ -export interface CourseExportBodyParams { - /** - * The list of ids of topics which should be exported. If empty no topics are exported. - * @type {Array} - * @memberof CourseExportBodyParams - */ - 'topics': Array; - /** - * The list of ids of tasks which should be exported. If empty no tasks are exported. - * @type {Array} - * @memberof CourseExportBodyParams - */ - 'tasks': Array; - /** - * The list of ids of column boards which should be exported. If empty no column boards are exported. - * @type {Array} - * @memberof CourseExportBodyParams - */ - 'columnBoards': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts deleted file mode 100644 index 43c7171e7e0..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/course-import-body-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CourseImportBodyParams - */ -export interface CourseImportBodyParams { - /** - * The Common Cartridge file to import. - * @type {File} - * @memberof CourseImportBodyParams - */ - 'file': File; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts deleted file mode 100644 index 06320c70812..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/course-info-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CourseInfoResponse - */ -export interface CourseInfoResponse { - /** - * - * @type {string} - * @memberof CourseInfoResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof CourseInfoResponse - */ - 'name': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts deleted file mode 100644 index 489f5be83ea..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/course-metadata-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CourseMetadataResponse } from './course-metadata-response'; - -/** - * - * @export - * @interface CourseMetadataListResponse - */ -export interface CourseMetadataListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof CourseMetadataListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof CourseMetadataListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof CourseMetadataListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof CourseMetadataListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts deleted file mode 100644 index 0ba6eacd5a7..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/course-metadata-response.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CourseMetadataResponse - */ -export interface CourseMetadataResponse { - /** - * The id of the Grid element - * @type {string} - * @memberof CourseMetadataResponse - */ - 'id': string; - /** - * Title of the Grid element - * @type {string} - * @memberof CourseMetadataResponse - */ - 'title': string; - /** - * Short title of the Grid element - * @type {string} - * @memberof CourseMetadataResponse - */ - 'shortTitle': string; - /** - * Color of the Grid element - * @type {string} - * @memberof CourseMetadataResponse - */ - 'displayColor': string; - /** - * Start date of the course - * @type {string} - * @memberof CourseMetadataResponse - */ - 'startDate'?: string; - /** - * End date of the course. After this the course counts as archived - * @type {string} - * @memberof CourseMetadataResponse - */ - 'untilDate'?: string; - /** - * Start of the copying process if it is still ongoing - otherwise property is not set. - * @type {string} - * @memberof CourseMetadataResponse - */ - 'copyingSince'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts deleted file mode 100644 index 002e511ba39..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/create-card-body-params.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CreateCardBodyParams - */ -export interface CreateCardBodyParams { - /** - * - * @type {Array} - * @memberof CreateCardBodyParams - */ - 'requiredEmptyElements'?: Array; -} - -export const CreateCardBodyParamsRequiredEmptyElements = { - FILE: 'file', - DRAWING: 'drawing', - LINK: 'link', - RICH_TEXT: 'richText', - SUBMISSION_CONTAINER: 'submissionContainer', - EXTERNAL_TOOL: 'externalTool', - COLLABORATIVE_TEXT_EDITOR: 'collaborativeTextEditor' -} as const; - -export type CreateCardBodyParamsRequiredEmptyElements = typeof CreateCardBodyParamsRequiredEmptyElements[keyof typeof CreateCardBodyParamsRequiredEmptyElements]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts deleted file mode 100644 index d3dc356aebf..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/create-content-element-body-params.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; - -/** - * - * @export - * @interface CreateContentElementBodyParams - */ -export interface CreateContentElementBodyParams { - /** - * - * @type {ContentElementType} - * @memberof CreateContentElementBodyParams - */ - 'type': ContentElementType; - /** - * to bring element to a specific position, default is last position - * @type {number} - * @memberof CreateContentElementBodyParams - */ - 'toPosition'?: number; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts deleted file mode 100644 index d1ffb6d4fa9..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/create-media-element-body-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CreateMediaElementBodyParams - */ -export interface CreateMediaElementBodyParams { - /** - * The id of the line where the element is created - * @type {string} - * @memberof CreateMediaElementBodyParams - */ - 'lineId': string; - /** - * The position where the element is created - * @type {number} - * @memberof CreateMediaElementBodyParams - */ - 'position': number; - /** - * The id of the school external tool - * @type {string} - * @memberof CreateMediaElementBodyParams - */ - 'schoolExternalToolId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts deleted file mode 100644 index f6d9d6bc14c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/create-news-params.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CreateNewsParams - */ -export interface CreateNewsParams { - /** - * Title of the News entity - * @type {string} - * @memberof CreateNewsParams - */ - 'title': string; - /** - * Content of the News entity - * @type {string} - * @memberof CreateNewsParams - */ - 'content': string; - /** - * The point in time from when the News entity schould be displayed. Defaults to now so that the news is published - * @type {string} - * @memberof CreateNewsParams - */ - 'displayAt'?: string; - /** - * Target model to which the News entity is related - * @type {string} - * @memberof CreateNewsParams - */ - 'targetModel': CreateNewsParamsTargetModel; - /** - * Specific target id to which the News entity is related - * @type {string} - * @memberof CreateNewsParams - */ - 'targetId': string; -} - -export const CreateNewsParamsTargetModel = { - SCHOOLS: 'schools', - COURSES: 'courses', - TEAMS: 'teams' -} as const; - -export type CreateNewsParamsTargetModel = typeof CreateNewsParamsTargetModel[keyof typeof CreateNewsParamsTargetModel]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts deleted file mode 100644 index a799cd438b1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/create-submission-item-body-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CreateSubmissionItemBodyParams - */ -export interface CreateSubmissionItemBodyParams { - /** - * Boolean indicating whether the submission is completed. - * @type {boolean} - * @memberof CreateSubmissionItemBodyParams - */ - 'completed': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts deleted file mode 100644 index 97f0a67f9e2..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-param.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CustomParameterEntryParam - */ -export interface CustomParameterEntryParam { - /** - * - * @type {string} - * @memberof CustomParameterEntryParam - */ - 'name': string; - /** - * - * @type {string} - * @memberof CustomParameterEntryParam - */ - 'value'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts deleted file mode 100644 index 905286040cd..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-entry-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CustomParameterEntryResponse - */ -export interface CustomParameterEntryResponse { - /** - * - * @type {string} - * @memberof CustomParameterEntryResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof CustomParameterEntryResponse - */ - 'value'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts deleted file mode 100644 index 469a824b5e3..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-post-params.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CustomParameterPostParams - */ -export interface CustomParameterPostParams { - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'name': string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'displayName': string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'description'?: string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'defaultValue'?: string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'regex'?: string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'regexComment'?: string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'scope': string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'location': string; - /** - * - * @type {string} - * @memberof CustomParameterPostParams - */ - 'type': string; - /** - * - * @type {boolean} - * @memberof CustomParameterPostParams - */ - 'isOptional': boolean; - /** - * - * @type {boolean} - * @memberof CustomParameterPostParams - */ - 'isProtected': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts b/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts deleted file mode 100644 index 7d314e0038e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/custom-parameter-response.ts +++ /dev/null @@ -1,119 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CustomParameterResponse - */ -export interface CustomParameterResponse { - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'displayName': string; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'description'?: string; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'defaultValue'?: string; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'regex'?: string; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'regexComment'?: string; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'scope': CustomParameterResponseScope; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'location': CustomParameterResponseLocation; - /** - * - * @type {string} - * @memberof CustomParameterResponse - */ - 'type': CustomParameterResponseType; - /** - * - * @type {boolean} - * @memberof CustomParameterResponse - */ - 'isOptional': boolean; - /** - * - * @type {boolean} - * @memberof CustomParameterResponse - */ - 'isProtected': boolean; -} - -export const CustomParameterResponseScope = { - GLOBAL: 'global', - SCHOOL: 'school', - CONTEXT: 'context' -} as const; - -export type CustomParameterResponseScope = typeof CustomParameterResponseScope[keyof typeof CustomParameterResponseScope]; -export const CustomParameterResponseLocation = { - PATH: 'path', - BODY: 'body', - QUERY: 'query' -} as const; - -export type CustomParameterResponseLocation = typeof CustomParameterResponseLocation[keyof typeof CustomParameterResponseLocation]; -export const CustomParameterResponseType = { - STRING: 'string', - NUMBER: 'number', - BOOLEAN: 'boolean', - AUTO_CONTEXTID: 'auto_contextid', - AUTO_CONTEXTNAME: 'auto_contextname', - AUTO_SCHOOLID: 'auto_schoolid', - AUTO_SCHOOLNUMBER: 'auto_schoolnumber', - AUTO_MEDIUMID: 'auto_mediumid', - AUTO_GROUP_EXTERNALUUID: 'auto_group_externaluuid' -} as const; - -export type CustomParameterResponseType = typeof CustomParameterResponseType[keyof typeof CustomParameterResponseType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts deleted file mode 100644 index 52799cb432a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-element-response.ts +++ /dev/null @@ -1,87 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { DashboardGridSubElementResponse } from './dashboard-grid-sub-element-response'; - -/** - * - * @export - * @interface DashboardGridElementResponse - */ -export interface DashboardGridElementResponse { - /** - * The id of the Grid element - * @type {string} - * @memberof DashboardGridElementResponse - */ - 'id': string; - /** - * Title of the Grid element - * @type {string} - * @memberof DashboardGridElementResponse - */ - 'title': string; - /** - * Short title of the Grid element - * @type {string} - * @memberof DashboardGridElementResponse - */ - 'shortTitle': string; - /** - * Color of the Grid element - * @type {string} - * @memberof DashboardGridElementResponse - */ - 'displayColor': string; - /** - * X position of the Grid element - * @type {number} - * @memberof DashboardGridElementResponse - */ - 'xPosition': number; - /** - * Y position of the Grid element - * @type {number} - * @memberof DashboardGridElementResponse - */ - 'yPosition': number; - /** - * The id of the group element - * @type {string} - * @memberof DashboardGridElementResponse - */ - 'groupId': string; - /** - * List of all subelements in the group - * @type {Array} - * @memberof DashboardGridElementResponse - */ - 'groupElements': Array; - /** - * Start of the copying process if it is still ongoing - otherwise property is not set. - * @type {string} - * @memberof DashboardGridElementResponse - */ - 'copyingSince': string; - /** - * Is the course synchronized with a group? - * @type {boolean} - * @memberof DashboardGridElementResponse - */ - 'isSynchronized': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts deleted file mode 100644 index 9ec4f32922a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/dashboard-grid-sub-element-response.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface DashboardGridSubElementResponse - */ -export interface DashboardGridSubElementResponse { - /** - * The id of the Grid element - * @type {string} - * @memberof DashboardGridSubElementResponse - */ - 'id': string; - /** - * Title of the Grid element - * @type {string} - * @memberof DashboardGridSubElementResponse - */ - 'title': string; - /** - * Short title of the Grid element - * @type {string} - * @memberof DashboardGridSubElementResponse - */ - 'shortTitle': string; - /** - * Color of the Grid element - * @type {string} - * @memberof DashboardGridSubElementResponse - */ - 'displayColor': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts b/apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts deleted file mode 100644 index 93f877067f1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/dashboard-response.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { DashboardGridElementResponse } from './dashboard-grid-element-response'; - -/** - * - * @export - * @interface DashboardResponse - */ -export interface DashboardResponse { - /** - * The id of the Dashboard entity - * @type {string} - * @memberof DashboardResponse - */ - 'id': string; - /** - * List of all elements visible on the dashboard - * @type {Array} - * @memberof DashboardResponse - */ - 'gridElements': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts deleted file mode 100644 index f2db6190632..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/drawing-content-body.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface DrawingContentBody - */ -export interface DrawingContentBody { - /** - * - * @type {string} - * @memberof DrawingContentBody - */ - 'description': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts deleted file mode 100644 index 41529d11d66..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content-body.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { DrawingContentBody } from './drawing-content-body'; - -/** - * - * @export - * @interface DrawingElementContentBody - */ -export interface DrawingElementContentBody { - /** - * - * @type {ContentElementType} - * @memberof DrawingElementContentBody - */ - 'type': ContentElementType; - /** - * - * @type {DrawingContentBody} - * @memberof DrawingElementContentBody - */ - 'content': DrawingContentBody; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts deleted file mode 100644 index dda7fca8f5d..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-content.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface DrawingElementContent - */ -export interface DrawingElementContent { - /** - * - * @type {string} - * @memberof DrawingElementContent - */ - 'description': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts deleted file mode 100644 index b65f9714169..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/drawing-element-response.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { DrawingElementContent } from './drawing-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface DrawingElementResponse - */ -export interface DrawingElementResponse { - /** - * - * @type {string} - * @memberof DrawingElementResponse - */ - 'id': string; - /** - * - * @type {ContentElementType} - * @memberof DrawingElementResponse - */ - 'type': ContentElementType; - /** - * - * @type {TimestampsResponse} - * @memberof DrawingElementResponse - */ - 'timestamps': TimestampsResponse; - /** - * - * @type {DrawingElementContent} - * @memberof DrawingElementResponse - */ - 'content': DrawingElementContent; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts b/apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts deleted file mode 100644 index e43320ba892..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/entity-not-found-error.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface EntityNotFoundError - */ -export interface EntityNotFoundError { - /** - * The response status code. - * @type {number} - * @memberof EntityNotFoundError - */ - 'code': number; - /** - * The error type. - * @type {string} - * @memberof EntityNotFoundError - */ - 'type': string; - /** - * The error title. - * @type {string} - * @memberof EntityNotFoundError - */ - 'title': string; - /** - * The error message. - * @type {string} - * @memberof EntityNotFoundError - */ - 'message': string; - /** - * The error details. - * @type {object} - * @memberof EntityNotFoundError - */ - 'details'?: object; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts deleted file mode 100644 index 298ea564dd2..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-source-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ExternalSourceResponse - */ -export interface ExternalSourceResponse { - /** - * - * @type {string} - * @memberof ExternalSourceResponse - */ - 'externalId': string; - /** - * - * @type {string} - * @memberof ExternalSourceResponse - */ - 'systemId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts deleted file mode 100644 index e4e4baa3344..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-bulk-create-params.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolCreateParams } from './external-tool-create-params'; - -/** - * - * @export - * @interface ExternalToolBulkCreateParams - */ -export interface ExternalToolBulkCreateParams { - /** - * List of external tools - * @type {Array} - * @memberof ExternalToolBulkCreateParams - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts deleted file mode 100644 index 00a3b930f0e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-content-body.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ExternalToolContentBody - */ -export interface ExternalToolContentBody { - /** - * - * @type {string} - * @memberof ExternalToolContentBody - */ - 'contextExternalToolId'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts deleted file mode 100644 index d62fd5fa484..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-create-params.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterPostParams } from './custom-parameter-post-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolMediumParams } from './external-tool-medium-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolResponseConfig } from './external-tool-response-config'; -// May contain unused imports in some cases -// @ts-ignore -import type { ToolContextType } from './tool-context-type'; - -/** - * - * @export - * @interface ExternalToolCreateParams - */ -export interface ExternalToolCreateParams { - /** - * Name of the external tool - * @type {string} - * @memberof ExternalToolCreateParams - */ - 'name': string; - /** - * Description of the external tool - * @type {string} - * @memberof ExternalToolCreateParams - */ - 'description'?: string; - /** - * URL of the external tool - * @type {string} - * @memberof ExternalToolCreateParams - */ - 'url'?: string; - /** - * URL of the logo of the external tool - * @type {string} - * @memberof ExternalToolCreateParams - */ - 'logoUrl'?: string; - /** - * URL of the thumbnail of the external tool - * @type {string} - * @memberof ExternalToolCreateParams - */ - 'thumbnailUrl'?: string; - /** - * - * @type {ExternalToolResponseConfig} - * @memberof ExternalToolCreateParams - */ - 'config': ExternalToolResponseConfig; - /** - * Custom parameters of the external tool - * @type {Array} - * @memberof ExternalToolCreateParams - */ - 'parameters'?: Array; - /** - * Tool can be hidden, those tools cant be added to e.g. school, course or board - * @type {boolean} - * @memberof ExternalToolCreateParams - */ - 'isHidden': boolean; - /** - * Tool can be deactivated, related tools can not be added to e.g. school, course or board anymore - * @type {boolean} - * @memberof ExternalToolCreateParams - */ - 'isDeactivated': boolean; - /** - * Tool should be opened in a new tab - * @type {boolean} - * @memberof ExternalToolCreateParams - */ - 'openNewTab': boolean; - /** - * Restrict tools to specific contexts - * @type {Array} - * @memberof ExternalToolCreateParams - */ - 'restrictToContexts'?: Array; - /** - * Medium of the external tool - * @type {ExternalToolMediumParams} - * @memberof ExternalToolCreateParams - */ - 'medium'?: ExternalToolMediumParams; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts deleted file mode 100644 index d4a09a8672b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content-body.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolContentBody } from './external-tool-content-body'; - -/** - * - * @export - * @interface ExternalToolElementContentBody - */ -export interface ExternalToolElementContentBody { - /** - * - * @type {ContentElementType} - * @memberof ExternalToolElementContentBody - */ - 'type': ContentElementType; - /** - * - * @type {ExternalToolContentBody} - * @memberof ExternalToolElementContentBody - */ - 'content': ExternalToolContentBody; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts deleted file mode 100644 index 357ab4ae07e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-content.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ExternalToolElementContent - */ -export interface ExternalToolElementContent { - /** - * - * @type {string} - * @memberof ExternalToolElementContent - */ - 'contextExternalToolId': string | null; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts deleted file mode 100644 index fb6f4b60fd0..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-element-response.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolElementContent } from './external-tool-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface ExternalToolElementResponse - */ -export interface ExternalToolElementResponse { - /** - * - * @type {string} - * @memberof ExternalToolElementResponse - */ - 'id': string; - /** - * - * @type {ContentElementType} - * @memberof ExternalToolElementResponse - */ - 'type': ContentElementType; - /** - * - * @type {ExternalToolElementContent} - * @memberof ExternalToolElementResponse - */ - 'content': ExternalToolElementContent; - /** - * - * @type {TimestampsResponse} - * @memberof ExternalToolElementResponse - */ - 'timestamps': TimestampsResponse; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts deleted file mode 100644 index e24a20ec1dc..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ExternalToolMediumParams - */ -export interface ExternalToolMediumParams { - /** - * Id of the medium - * @type {string} - * @memberof ExternalToolMediumParams - */ - 'mediumId': string; - /** - * Publisher of the medium - * @type {string} - * @memberof ExternalToolMediumParams - */ - 'publisher'?: string; - /** - * The id of the media source - * @type {string} - * @memberof ExternalToolMediumParams - */ - 'mediaSourceId'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts deleted file mode 100644 index 700c1642af7..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-medium-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ExternalToolMediumResponse - */ -export interface ExternalToolMediumResponse { - /** - * Id of the medium - * @type {string} - * @memberof ExternalToolMediumResponse - */ - 'mediumId': string; - /** - * Publisher of the medium - * @type {string} - * @memberof ExternalToolMediumResponse - */ - 'publisher'?: string; - /** - * The id of the media source - * @type {string} - * @memberof ExternalToolMediumResponse - */ - 'mediaSourceId'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts deleted file mode 100644 index d8809197465..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-metadata-response.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContextExternalToolCountPerContextResponse } from './context-external-tool-count-per-context-response'; - -/** - * - * @export - * @interface ExternalToolMetadataResponse - */ -export interface ExternalToolMetadataResponse { - /** - * - * @type {number} - * @memberof ExternalToolMetadataResponse - */ - 'schoolExternalToolCount': number; - /** - * - * @type {ContextExternalToolCountPerContextResponse} - * @memberof ExternalToolMetadataResponse - */ - 'contextExternalToolCountPerContext': ContextExternalToolCountPerContextResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts deleted file mode 100644 index 373a06d7200..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-response-config.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { BasicToolConfigParams } from './basic-tool-config-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { Lti11ToolConfigCreateParams } from './lti11-tool-config-create-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { LtiMessageType } from './lti-message-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { LtiPrivacyPermission } from './lti-privacy-permission'; -// May contain unused imports in some cases -// @ts-ignore -import type { Oauth2ToolConfigCreateParams } from './oauth2-tool-config-create-params'; - -/** - * @type ExternalToolResponseConfig - * Configuration of the external tool - * @export - */ -export type ExternalToolResponseConfig = BasicToolConfigParams | Lti11ToolConfigCreateParams | Oauth2ToolConfigCreateParams; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts deleted file mode 100644 index 5637b58c047..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-response.ts +++ /dev/null @@ -1,114 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterResponse } from './custom-parameter-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolMediumResponse } from './external-tool-medium-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolResponseConfig } from './external-tool-response-config'; -// May contain unused imports in some cases -// @ts-ignore -import type { ToolContextType } from './tool-context-type'; - -/** - * - * @export - * @interface ExternalToolResponse - */ -export interface ExternalToolResponse { - /** - * Id of the external tool - * @type {string} - * @memberof ExternalToolResponse - */ - 'id': string; - /** - * Name of the external tool - * @type {string} - * @memberof ExternalToolResponse - */ - 'name': string; - /** - * Description of the external tool - * @type {string} - * @memberof ExternalToolResponse - */ - 'description'?: string; - /** - * URL of the external tool - * @type {string} - * @memberof ExternalToolResponse - */ - 'url'?: string; - /** - * URL of the logo of the external tool - * @type {string} - * @memberof ExternalToolResponse - */ - 'logoUrl'?: string; - /** - * URL of the thumbnail of the external tool - * @type {string} - * @memberof ExternalToolResponse - */ - 'thumbnailUrl'?: string; - /** - * - * @type {ExternalToolResponseConfig} - * @memberof ExternalToolResponse - */ - 'config': ExternalToolResponseConfig; - /** - * Custom parameters of the external tool - * @type {Array} - * @memberof ExternalToolResponse - */ - 'parameters': Array; - /** - * Is the external tool hidden - * @type {boolean} - * @memberof ExternalToolResponse - */ - 'isHidden': boolean; - /** - * Is the external tool deactivated - * @type {boolean} - * @memberof ExternalToolResponse - */ - 'isDeactivated': boolean; - /** - * Should the external tool be opened in a new tab - * @type {boolean} - * @memberof ExternalToolResponse - */ - 'openNewTab': boolean; - /** - * Contexts in which the external tool is restricted - * @type {Array} - * @memberof ExternalToolResponse - */ - 'restrictToContexts'?: Array; - /** - * Medium of the external tool - * @type {ExternalToolMediumResponse} - * @memberof ExternalToolResponse - */ - 'medium'?: ExternalToolMediumResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts deleted file mode 100644 index 9ee3dca4108..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-search-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolResponse } from './external-tool-response'; - -/** - * - * @export - * @interface ExternalToolSearchListResponse - */ -export interface ExternalToolSearchListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof ExternalToolSearchListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof ExternalToolSearchListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof ExternalToolSearchListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof ExternalToolSearchListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts deleted file mode 100644 index e34cb5969f4..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params-config.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { BasicToolConfigParams } from './basic-tool-config-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { Lti11ToolConfigUpdateParams } from './lti11-tool-config-update-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { LtiMessageType } from './lti-message-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { LtiPrivacyPermission } from './lti-privacy-permission'; -// May contain unused imports in some cases -// @ts-ignore -import type { Oauth2ToolConfigUpdateParams } from './oauth2-tool-config-update-params'; - -/** - * @type ExternalToolUpdateParamsConfig - * Configuration of the external tool - * @export - */ -export type ExternalToolUpdateParamsConfig = BasicToolConfigParams | Lti11ToolConfigUpdateParams | Oauth2ToolConfigUpdateParams; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts b/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts deleted file mode 100644 index be572e1e69f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/external-tool-update-params.ts +++ /dev/null @@ -1,114 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterPostParams } from './custom-parameter-post-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolMediumParams } from './external-tool-medium-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolUpdateParamsConfig } from './external-tool-update-params-config'; -// May contain unused imports in some cases -// @ts-ignore -import type { ToolContextType } from './tool-context-type'; - -/** - * - * @export - * @interface ExternalToolUpdateParams - */ -export interface ExternalToolUpdateParams { - /** - * ID of the external tool - * @type {string} - * @memberof ExternalToolUpdateParams - */ - 'id': string; - /** - * - * @type {string} - * @memberof ExternalToolUpdateParams - */ - 'name': string; - /** - * Description of the external tool - * @type {string} - * @memberof ExternalToolUpdateParams - */ - 'description'?: string; - /** - * URL of the external tool - * @type {string} - * @memberof ExternalToolUpdateParams - */ - 'url'?: string; - /** - * URL of the logo of the external tool - * @type {string} - * @memberof ExternalToolUpdateParams - */ - 'logoUrl'?: string; - /** - * URL of the thumbnail of the external tool - * @type {string} - * @memberof ExternalToolUpdateParams - */ - 'thumbnailUrl'?: string; - /** - * - * @type {ExternalToolUpdateParamsConfig} - * @memberof ExternalToolUpdateParams - */ - 'config': ExternalToolUpdateParamsConfig; - /** - * Custom parameters of the external tool - * @type {Array} - * @memberof ExternalToolUpdateParams - */ - 'parameters'?: Array; - /** - * - * @type {boolean} - * @memberof ExternalToolUpdateParams - */ - 'isHidden': boolean; - /** - * Tool can be deactivated, related tools can not be added to e.g. school, course or board anymore - * @type {boolean} - * @memberof ExternalToolUpdateParams - */ - 'isDeactivated': boolean; - /** - * Open the tool in a new tab - * @type {boolean} - * @memberof ExternalToolUpdateParams - */ - 'openNewTab': boolean; - /** - * Restrict the tool to certain contexts - * @type {Array} - * @memberof ExternalToolUpdateParams - */ - 'restrictToContexts'?: Array; - /** - * Medium of the external tool - * @type {ExternalToolMediumParams} - * @memberof ExternalToolUpdateParams - */ - 'medium'?: ExternalToolMediumParams; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts b/apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts deleted file mode 100644 index f7b1013a010..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/federal-state-response.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CountyResponse } from './county-response'; - -/** - * - * @export - * @interface FederalStateResponse - */ -export interface FederalStateResponse { - /** - * - * @type {string} - * @memberof FederalStateResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof FederalStateResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof FederalStateResponse - */ - 'abbreviation': string; - /** - * - * @type {string} - * @memberof FederalStateResponse - */ - 'logoUrl': string; - /** - * - * @type {Array} - * @memberof FederalStateResponse - */ - 'counties': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts deleted file mode 100644 index 29ed1c848e8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/file-content-body.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface FileContentBody - */ -export interface FileContentBody { - /** - * - * @type {string} - * @memberof FileContentBody - */ - 'caption': string; - /** - * - * @type {string} - * @memberof FileContentBody - */ - 'alternativeText': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts deleted file mode 100644 index bdf60627a56..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/file-element-content-body.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { FileContentBody } from './file-content-body'; - -/** - * - * @export - * @interface FileElementContentBody - */ -export interface FileElementContentBody { - /** - * - * @type {ContentElementType} - * @memberof FileElementContentBody - */ - 'type': ContentElementType; - /** - * - * @type {FileContentBody} - * @memberof FileElementContentBody - */ - 'content': FileContentBody; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts deleted file mode 100644 index fd8c90b8352..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/file-element-content.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface FileElementContent - */ -export interface FileElementContent { - /** - * - * @type {string} - * @memberof FileElementContent - */ - 'caption': string; - /** - * - * @type {string} - * @memberof FileElementContent - */ - 'alternativeText': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts deleted file mode 100644 index 8e3c2b8ffff..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/file-element-response.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { FileElementContent } from './file-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface FileElementResponse - */ -export interface FileElementResponse { - /** - * - * @type {string} - * @memberof FileElementResponse - */ - 'id': string; - /** - * - * @type {ContentElementType} - * @memberof FileElementResponse - */ - 'type': ContentElementType; - /** - * - * @type {FileElementContent} - * @memberof FileElementResponse - */ - 'content': FileElementContent; - /** - * - * @type {TimestampsResponse} - * @memberof FileElementResponse - */ - 'timestamps': TimestampsResponse; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts b/apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts deleted file mode 100644 index b04a528b0f1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/file-storage-type.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const FileStorageType = { - AWS_S3: 'awsS3' -} as const; - -export type FileStorageType = typeof FileStorageType[keyof typeof FileStorageType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts b/apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts deleted file mode 100644 index 71644e2e5ce..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/forbidden-operation-error.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ForbiddenOperationError - */ -export interface ForbiddenOperationError { - /** - * The response status code. - * @type {number} - * @memberof ForbiddenOperationError - */ - 'code': number; - /** - * The error type. - * @type {string} - * @memberof ForbiddenOperationError - */ - 'type': string; - /** - * The error title. - * @type {string} - * @memberof ForbiddenOperationError - */ - 'title': string; - /** - * The error message. - * @type {string} - * @memberof ForbiddenOperationError - */ - 'message': string; - /** - * The error details. - * @type {object} - * @memberof ForbiddenOperationError - */ - 'details'?: object; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts b/apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts deleted file mode 100644 index 27520f06109..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/force-migration-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ForceMigrationParams - */ -export interface ForceMigrationParams { - /** - * Email of the administrator - * @type {string} - * @memberof ForceMigrationParams - */ - 'email': string; - /** - * Target externalId to link it with an external account - * @type {string} - * @memberof ForceMigrationParams - */ - 'externalUserId': string; - /** - * Target externalId to link it with an external school - * @type {string} - * @memberof ForceMigrationParams - */ - 'externalSchoolId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts b/apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts deleted file mode 100644 index 428f34fa8ed..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/get-meta-tag-data-body.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface GetMetaTagDataBody - */ -export interface GetMetaTagDataBody { - /** - * - * @type {string} - * @memberof GetMetaTagDataBody - */ - 'url': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts deleted file mode 100644 index 8759ba5b513..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/group-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { GroupResponse } from './group-response'; - -/** - * - * @export - * @interface GroupListResponse - */ -export interface GroupListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof GroupListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof GroupListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof GroupListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof GroupListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/group-response.ts b/apps/server/src/infra/board-client/board-api-client/models/group-response.ts deleted file mode 100644 index 4cc443884eb..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/group-response.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalSourceResponse } from './external-source-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { GroupUserResponse } from './group-user-response'; - -/** - * - * @export - * @interface GroupResponse - */ -export interface GroupResponse { - /** - * - * @type {string} - * @memberof GroupResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof GroupResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof GroupResponse - */ - 'type': GroupResponseType; - /** - * - * @type {Array} - * @memberof GroupResponse - */ - 'users': Array; - /** - * - * @type {ExternalSourceResponse} - * @memberof GroupResponse - */ - 'externalSource'?: ExternalSourceResponse; - /** - * - * @type {string} - * @memberof GroupResponse - */ - 'organizationId'?: string; -} - -export const GroupResponseType = { - CLASS: 'class', - COURSE: 'course', - OTHER: 'other' -} as const; - -export type GroupResponseType = typeof GroupResponseType[keyof typeof GroupResponseType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts deleted file mode 100644 index 57e0c3eb8b5..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/group-user-response.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { RoleName } from './role-name'; - -/** - * - * @export - * @interface GroupUserResponse - */ -export interface GroupUserResponse { - /** - * - * @type {string} - * @memberof GroupUserResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof GroupUserResponse - */ - 'firstName': string; - /** - * - * @type {string} - * @memberof GroupUserResponse - */ - 'lastName': string; - /** - * - * @type {RoleName} - * @memberof GroupUserResponse - */ - 'role': RoleName; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts deleted file mode 100644 index f21bb384efc..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/import-user-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ImportUserResponse } from './import-user-response'; - -/** - * - * @export - * @interface ImportUserListResponse - */ -export interface ImportUserListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof ImportUserListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof ImportUserListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof ImportUserListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof ImportUserListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts deleted file mode 100644 index 1b777eeb3a7..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/import-user-response.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { UserMatchResponse } from './user-match-response'; - -/** - * - * @export - * @interface ImportUserResponse - */ -export interface ImportUserResponse { - /** - * id reference to a import user - * @type {string} - * @memberof ImportUserResponse - */ - 'importUserId': string; - /** - * login name from external system - * @type {string} - * @memberof ImportUserResponse - */ - 'loginName': string; - /** - * external systems user firstname - * @type {string} - * @memberof ImportUserResponse - */ - 'firstName': string; - /** - * external systems user lastname - * @type {string} - * @memberof ImportUserResponse - */ - 'lastName': string; - /** - * list of user roles from external system: student, teacher, admin - * @type {Array} - * @memberof ImportUserResponse - */ - 'roleNames': Array; - /** - * names of classes the user attends from external system - * @type {Array} - * @memberof ImportUserResponse - */ - 'classNames': Array; - /** - * assignemnt to a local user account - * @type {UserMatchResponse} - * @memberof ImportUserResponse - */ - 'match'?: UserMatchResponse; - /** - * manual flag to apply it as filter - * @type {boolean} - * @memberof ImportUserResponse - */ - 'flagged': boolean; -} - -export const ImportUserResponseRoleNames = { - STUDENT: 'student', - TEACHER: 'teacher', - ADMIN: 'admin' -} as const; - -export type ImportUserResponseRoleNames = typeof ImportUserResponseRoleNames[keyof typeof ImportUserResponseRoleNames]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/index.ts b/apps/server/src/infra/board-client/board-api-client/models/index.ts index 5ecccf6452e..32513649aeb 100644 --- a/apps/server/src/infra/board-client/board-api-client/models/index.ts +++ b/apps/server/src/infra/board-client/board-api-client/models/index.ts @@ -1,260 +1,14 @@ -export * from './account-by-id-body-params'; -export * from './account-response'; -export * from './account-search-list-response'; -export * from './action'; -export * from './alert-response'; export * from './api-validation-error'; -export * from './authorization-body-params'; -export * from './authorization-context-params'; -export * from './authorized-reponse'; -export * from './basic-tool-config-params'; export * from './board-context-response'; -export * from './board-element-response'; export * from './board-external-reference-type'; export * from './board-layout'; export * from './board-parent-type'; export * from './board-response'; -export * from './card-list-response'; -export * from './card-response'; -export * from './card-response-elements-inner'; export * from './card-skeleton-response'; -export * from './change-language-params'; -export * from './class-info-response'; -export * from './class-info-search-list-response'; -export * from './class-request-context'; -export * from './class-response'; -export * from './class-sort-query-type'; -export * from './collaborative-text-editor-element-response'; -export * from './collaborative-text-editor-parent-type'; -export * from './collaborative-text-editor-response'; -export * from './collapsable-body-params'; -export * from './color-body-params'; export * from './column-response'; -export * from './config-response'; -export * from './consent-request-body'; -export * from './consent-response'; -export * from './consent-session-response'; -export * from './consents-response'; -export * from './content-element-type'; -export * from './context-external-tool-body-params'; -export * from './context-external-tool-configuration-status-response'; -export * from './context-external-tool-configuration-template-list-response'; -export * from './context-external-tool-configuration-template-response'; -export * from './context-external-tool-count-per-context-response'; -export * from './context-external-tool-post-params'; -export * from './context-external-tool-response'; -export * from './context-external-tool-search-list-response'; export * from './copy-api-response'; -export * from './county-response'; -export * from './course-export-body-params'; -export * from './course-import-body-params'; -export * from './course-info-response'; -export * from './course-metadata-list-response'; -export * from './course-metadata-response'; export * from './create-board-body-params'; export * from './create-board-response'; -export * from './create-card-body-params'; -export * from './create-content-element-body-params'; -export * from './create-media-element-body-params'; -export * from './create-news-params'; -export * from './create-submission-item-body-params'; -export * from './custom-parameter-entry-param'; -export * from './custom-parameter-entry-response'; -export * from './custom-parameter-post-params'; -export * from './custom-parameter-response'; -export * from './dashboard-grid-element-response'; -export * from './dashboard-grid-sub-element-response'; -export * from './dashboard-response'; -export * from './drawing-content-body'; -export * from './drawing-element-content'; -export * from './drawing-element-content-body'; -export * from './drawing-element-response'; -export * from './entity-not-found-error'; -export * from './external-source-response'; -export * from './external-tool-bulk-create-params'; -export * from './external-tool-content-body'; -export * from './external-tool-create-params'; -export * from './external-tool-element-content'; -export * from './external-tool-element-content-body'; -export * from './external-tool-element-response'; -export * from './external-tool-medium-params'; -export * from './external-tool-medium-response'; -export * from './external-tool-metadata-response'; -export * from './external-tool-response'; -export * from './external-tool-response-config'; -export * from './external-tool-search-list-response'; -export * from './external-tool-update-params'; -export * from './external-tool-update-params-config'; -export * from './federal-state-response'; -export * from './file-content-body'; -export * from './file-element-content'; -export * from './file-element-content-body'; -export * from './file-element-response'; -export * from './file-storage-type'; -export * from './forbidden-operation-error'; -export * from './force-migration-params'; -export * from './get-meta-tag-data-body'; -export * from './group-list-response'; -export * from './group-response'; -export * from './group-user-response'; -export * from './import-user-list-response'; -export * from './import-user-response'; -export * from './layout-body-params'; -export * from './ldap-authorization-body-params'; -export * from './lesson-content-response'; -export * from './lesson-copy-api-params'; -export * from './lesson-metadata-list-response'; -export * from './lesson-metadata-response'; -export * from './lesson-response'; -export * from './link-content-body'; -export * from './link-element-content'; -export * from './link-element-content-body'; -export * from './link-element-response'; -export * from './local-authorization-body-params'; -export * from './login-request-body'; -export * from './login-response'; -export * from './lti11-tool-config-create-params'; -export * from './lti11-tool-config-update-params'; -export * from './lti-message-type'; -export * from './lti-privacy-permission'; -export * from './material-response'; -export * from './me-account-response'; -export * from './me-response'; -export * from './me-role-response'; -export * from './me-school-logo-response'; -export * from './me-school-response'; -export * from './me-user-response'; -export * from './media-available-line-element-response'; -export * from './media-available-line-response'; -export * from './media-board-colors'; -export * from './media-board-layout-type'; -export * from './media-board-response'; -export * from './media-external-tool-element-content'; -export * from './media-external-tool-element-response'; -export * from './media-line-response'; -export * from './message'; -export * from './message-origin'; -export * from './meta-tag-extractor-response'; -export * from './move-card-body-params'; -export * from './move-column-body-params'; -export * from './move-content-element-body'; -export * from './move-element-body-params'; -export * from './move-element-params'; -export * from './move-element-position-params'; -export * from './news-list-response'; -export * from './news-response'; -export * from './news-target-model'; -export * from './oauth-token-dto'; -export * from './oauth2-authorization-body-params'; -export * from './oauth2-migration-params'; -export * from './oauth2-tool-config-create-params'; -export * from './oauth2-tool-config-update-params'; -export * from './oauth-client-create-body'; -export * from './oauth-client-response'; -export * from './oauth-client-update-body'; -export * from './oauth-config-response'; -export * from './oidc-context-response'; -export * from './parent-consent-response'; -export * from './patch-group-params'; -export * from './patch-my-account-params'; -export * from './patch-my-password-params'; -export * from './patch-order-params'; -export * from './patch-visibility-params'; -export * from './provider-config-response'; -export * from './pseudonym-response'; -export * from './public-system-list-response'; -export * from './public-system-response'; -export * from './public-system-response-oauth-config'; -export * from './redirect-response'; -export * from './rename-body-params'; -export * from './resolved-user-response'; -export * from './rich-text'; -export * from './rich-text-content-body'; -export * from './rich-text-element-content'; -export * from './rich-text-element-content-body'; -export * from './rich-text-element-response'; -export * from './role-name'; -export * from './school-exists-response'; -export * from './school-external-tool-configuration-status-response'; -export * from './school-external-tool-configuration-template-list-response'; -export * from './school-external-tool-configuration-template-response'; -export * from './school-external-tool-metadata-response'; -export * from './school-external-tool-post-params'; -export * from './school-external-tool-response'; -export * from './school-external-tool-search-list-response'; -export * from './school-for-external-invite-response'; -export * from './school-for-ldap-login-response'; -export * from './school-info-response'; -export * from './school-logo'; -export * from './school-permissions-params'; -export * from './school-purpose'; -export * from './school-response'; -export * from './school-system-response'; -export * from './school-update-body-params'; -export * from './school-year-query-type'; -export * from './school-year-response'; -export * from './schul-conne-xprovisioning-options-params'; -export * from './schul-conne-xprovisioning-options-response'; -export * from './schulcloud-theme'; -export * from './set-height-body-params'; -export * from './share-token-body-params'; -export * from './share-token-import-body-params'; -export * from './share-token-info-response'; -export * from './share-token-payload-response'; -export * from './share-token-response'; -export * from './single-column-board-response'; -export * from './student-permission-params'; -export * from './submission-container-content-body'; -export * from './submission-container-element-content'; -export * from './submission-container-element-content-body'; -export * from './submission-container-element-response'; -export * from './submission-item-response'; -export * from './submission-item-response-elements-inner'; -export * from './submission-status-list-response'; -export * from './submission-status-response'; -export * from './submissions-response'; -export * from './successful-response'; -export * from './system-for-ldap-login-response'; -export * from './system-type'; -export * from './target-info-response'; -export * from './task-copy-api-params'; -export * from './task-list-response'; -export * from './task-response'; -export * from './task-status-response'; -export * from './teacher-permission-params'; -export * from './team-permissions-body'; export * from './timestamps-response'; -export * from './timezone'; -export * from './tool-config-type'; -export * from './tool-context-type'; -export * from './tool-context-types-list-response'; -export * from './tool-launch-request-response'; -export * from './tool-reference-list-response'; -export * from './tool-reference-response'; export * from './update-board-title-params'; -export * from './update-element-content-body-params'; -export * from './update-element-content-body-params-data'; -export * from './update-flag-params'; -export * from './update-match-params'; -export * from './update-news-params'; -export * from './update-submission-item-body-params'; -export * from './user-consent-response'; -export * from './user-data-response'; -export * from './user-info-response'; -export * from './user-list-response'; -export * from './user-login-migration-mandatory-params'; -export * from './user-login-migration-response'; -export * from './user-login-migration-search-list-response'; -export * from './user-match-list-response'; -export * from './user-match-response'; -export * from './user-response'; -export * from './validation-error'; -export * from './video-conference-create-params'; -export * from './video-conference-info-response'; -export * from './video-conference-join-response'; -export * from './video-conference-options-response'; -export * from './video-conference-scope'; -export * from './video-conference-state-response'; export * from './visibility-body-params'; -export * from './visibility-settings-response'; -export * from './years-response'; diff --git a/apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts deleted file mode 100644 index c9348e32627..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/layout-body-params.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MediaBoardLayoutType } from './media-board-layout-type'; - -/** - * - * @export - * @interface LayoutBodyParams - */ -export interface LayoutBodyParams { - /** - * - * @type {MediaBoardLayoutType} - * @memberof LayoutBodyParams - */ - 'layout': MediaBoardLayoutType; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts deleted file mode 100644 index 901936dc39d..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/ldap-authorization-body-params.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LdapAuthorizationBodyParams - */ -export interface LdapAuthorizationBodyParams { - /** - * - * @type {string} - * @memberof LdapAuthorizationBodyParams - */ - 'systemId': string; - /** - * - * @type {string} - * @memberof LdapAuthorizationBodyParams - */ - 'username': string; - /** - * - * @type {string} - * @memberof LdapAuthorizationBodyParams - */ - 'password': string; - /** - * - * @type {string} - * @memberof LdapAuthorizationBodyParams - */ - 'schoolId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts deleted file mode 100644 index da12106638f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lesson-content-response.ts +++ /dev/null @@ -1,73 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LessonContentResponse - */ -export interface LessonContentResponse { - /** - * - * @type {object} - * @memberof LessonContentResponse - */ - 'content': object; - /** - * The id of the Material entity - * @type {string} - * @memberof LessonContentResponse - * @deprecated - */ - '_id': string; - /** - * The id of the Material entity - * @type {string} - * @memberof LessonContentResponse - */ - 'id': string; - /** - * Title of the Material entity - * @type {string} - * @memberof LessonContentResponse - */ - 'title': string; - /** - * - * @type {string} - * @memberof LessonContentResponse - */ - 'component': LessonContentResponseComponent; - /** - * - * @type {boolean} - * @memberof LessonContentResponse - */ - 'hidden': boolean; -} - -export const LessonContentResponseComponent = { - ETHERPAD: 'Etherpad', - GEO_GEBRA: 'geoGebra', - INTERNAL: 'internal', - RESOURCES: 'resources', - TEXT: 'text', - NE_XBOARD: 'neXboard' -} as const; - -export type LessonContentResponseComponent = typeof LessonContentResponseComponent[keyof typeof LessonContentResponseComponent]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts deleted file mode 100644 index b7b460e8cce..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lesson-copy-api-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LessonCopyApiParams - */ -export interface LessonCopyApiParams { - /** - * Destination course parent Id the lesson is copied to - * @type {string} - * @memberof LessonCopyApiParams - */ - 'courseId'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts deleted file mode 100644 index 4a528b10ead..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LessonMetadataResponse } from './lesson-metadata-response'; - -/** - * - * @export - * @interface LessonMetadataListResponse - */ -export interface LessonMetadataListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof LessonMetadataListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof LessonMetadataListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof LessonMetadataListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof LessonMetadataListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts deleted file mode 100644 index c9e144139a1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lesson-metadata-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LessonMetadataResponse - */ -export interface LessonMetadataResponse { - /** - * The id of the Lesson entity - * @type {string} - * @memberof LessonMetadataResponse - */ - '_id': string; - /** - * Name of the Lesson entity - * @type {string} - * @memberof LessonMetadataResponse - */ - 'name': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts b/apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts deleted file mode 100644 index ac2a0c697ba..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lesson-response.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LessonContentResponse } from './lesson-content-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { MaterialResponse } from './material-response'; - -/** - * - * @export - * @interface LessonResponse - */ -export interface LessonResponse { - /** - * The id of the Lesson entity - * @type {string} - * @memberof LessonResponse - * @deprecated - */ - '_id': string; - /** - * The id of the Lesson entity - * @type {string} - * @memberof LessonResponse - */ - 'id': string; - /** - * Name of the Lesson entity - * @type {string} - * @memberof LessonResponse - */ - 'name': string; - /** - * The id of the Course entity - * @type {string} - * @memberof LessonResponse - */ - 'courseId'?: string; - /** - * The id of the Course-group entity - * @type {string} - * @memberof LessonResponse - */ - 'courseGroupId'?: string; - /** - * Hidden status of the Lesson entity - * @type {boolean} - * @memberof LessonResponse - */ - 'hidden': boolean; - /** - * Position of the Lesson entity - * @type {number} - * @memberof LessonResponse - */ - 'position': number; - /** - * Contents of the Lesson entity - * @type {Array} - * @memberof LessonResponse - */ - 'contents': Array; - /** - * Materials of the Lesson entity - * @type {Array} - * @memberof LessonResponse - */ - 'materials': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts deleted file mode 100644 index 9d9a8db0714..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/link-content-body.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LinkContentBody - */ -export interface LinkContentBody { - /** - * - * @type {string} - * @memberof LinkContentBody - */ - 'url': string; - /** - * - * @type {string} - * @memberof LinkContentBody - */ - 'title': string; - /** - * - * @type {string} - * @memberof LinkContentBody - */ - 'description': string; - /** - * - * @type {string} - * @memberof LinkContentBody - */ - 'imageUrl': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts deleted file mode 100644 index aa255c6a22c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/link-element-content-body.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { LinkContentBody } from './link-content-body'; - -/** - * - * @export - * @interface LinkElementContentBody - */ -export interface LinkElementContentBody { - /** - * - * @type {ContentElementType} - * @memberof LinkElementContentBody - */ - 'type': ContentElementType; - /** - * - * @type {LinkContentBody} - * @memberof LinkElementContentBody - */ - 'content': LinkContentBody; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts deleted file mode 100644 index 298c02b7a88..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/link-element-content.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LinkElementContent - */ -export interface LinkElementContent { - /** - * - * @type {string} - * @memberof LinkElementContent - */ - 'url': string; - /** - * - * @type {string} - * @memberof LinkElementContent - */ - 'title': string; - /** - * - * @type {string} - * @memberof LinkElementContent - */ - 'description'?: string; - /** - * - * @type {string} - * @memberof LinkElementContent - */ - 'imageUrl'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts deleted file mode 100644 index 9ce6c6958e0..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/link-element-response.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { LinkElementContent } from './link-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface LinkElementResponse - */ -export interface LinkElementResponse { - /** - * - * @type {string} - * @memberof LinkElementResponse - */ - 'id': string; - /** - * - * @type {ContentElementType} - * @memberof LinkElementResponse - */ - 'type': ContentElementType; - /** - * - * @type {LinkElementContent} - * @memberof LinkElementResponse - */ - 'content': LinkElementContent; - /** - * - * @type {TimestampsResponse} - * @memberof LinkElementResponse - */ - 'timestamps': TimestampsResponse; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts deleted file mode 100644 index 964031a609e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/local-authorization-body-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LocalAuthorizationBodyParams - */ -export interface LocalAuthorizationBodyParams { - /** - * - * @type {string} - * @memberof LocalAuthorizationBodyParams - */ - 'username': string; - /** - * - * @type {string} - * @memberof LocalAuthorizationBodyParams - */ - 'password': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts b/apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts deleted file mode 100644 index c549a7105f8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/login-request-body.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface LoginRequestBody - */ -export interface LoginRequestBody { - /** - * The error should follow the OAuth2 error format (e.g. invalid_request, login_required). Defaults to request_denied. - * @type {string} - * @memberof LoginRequestBody - */ - 'error'?: string; - /** - * Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. - * @type {string} - * @memberof LoginRequestBody - */ - 'error_debug'?: string; - /** - * Description of the error in a human readable format. - * @type {string} - * @memberof LoginRequestBody - */ - 'error_description'?: string; - /** - * Hint to help resolve the error. - * @type {string} - * @memberof LoginRequestBody - */ - 'error_hint'?: string; - /** - * Represents the HTTP status code of the error (e.g. 401 or 403). Defaults to 400. - * @type {number} - * @memberof LoginRequestBody - */ - 'status_code'?: number; - /** - * Remember, if set to true, tells the oauth provider to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. - * @type {boolean} - * @memberof LoginRequestBody - */ - 'remember'?: boolean; - /** - * RememberFor sets how long the consent authorization should be remembered for in seconds. If set to 0, the authorization will be remembered indefinitely. - * @type {number} - * @memberof LoginRequestBody - */ - 'remember_for'?: number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/login-response.ts b/apps/server/src/infra/board-client/board-api-client/models/login-response.ts deleted file mode 100644 index 51561ad52af..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/login-response.ts +++ /dev/null @@ -1,90 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { OauthClientResponse } from './oauth-client-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { OidcContextResponse } from './oidc-context-response'; - -/** - * - * @export - * @interface LoginResponse - */ -export interface LoginResponse { - /** - * Id of the corresponding client. - * @type {string} - * @memberof LoginResponse - */ - 'client_id': string; - /** - * The id/challenge of the consent login request. - * @type {string} - * @memberof LoginResponse - */ - 'challenge': string; - /** - * - * @type {OauthClientResponse} - * @memberof LoginResponse - */ - 'client': OauthClientResponse; - /** - * - * @type {OidcContextResponse} - * @memberof LoginResponse - */ - 'oidc_context': OidcContextResponse; - /** - * The original oauth2.0 authorization url request by the client. - * @type {string} - * @memberof LoginResponse - */ - 'request_url': string; - /** - * - * @type {Array} - * @memberof LoginResponse - */ - 'requested_access_token_audience': Array; - /** - * The request scopes of the login request. - * @type {Array} - * @memberof LoginResponse - */ - 'requested_scope'?: Array; - /** - * The login session id. This parameter is used as sid for the oidc front-/backchannel logout. - * @type {string} - * @memberof LoginResponse - */ - 'session_id': string; - /** - * Skip, if true, implies that the client has requested the same scopes from the same user previously. - * @type {boolean} - * @memberof LoginResponse - */ - 'skip': boolean; - /** - * User id of the end-user that is authenticated. - * @type {string} - * @memberof LoginResponse - */ - 'subject': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts b/apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts deleted file mode 100644 index a0a69039121..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lti-message-type.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const LtiMessageType = { - BASIC_LTI_LAUNCH_REQUEST: 'basic-lti-launch-request' -} as const; - -export type LtiMessageType = typeof LtiMessageType[keyof typeof LtiMessageType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts b/apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts deleted file mode 100644 index c2de3cb3157..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lti-privacy-permission.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const LtiPrivacyPermission = { - ANONYMOUS: 'anonymous', - E_MAIL: 'e-mail', - NAME: 'name', - PUBLIC: 'public', - PSEUDONYMOUS: 'pseudonymous' -} as const; - -export type LtiPrivacyPermission = typeof LtiPrivacyPermission[keyof typeof LtiPrivacyPermission]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts deleted file mode 100644 index d5041601680..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-create-params.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LtiMessageType } from './lti-message-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { LtiPrivacyPermission } from './lti-privacy-permission'; -// May contain unused imports in some cases -// @ts-ignore -import type { ToolConfigType } from './tool-config-type'; - -/** - * - * @export - * @interface Lti11ToolConfigCreateParams - */ -export interface Lti11ToolConfigCreateParams { - /** - * - * @type {ToolConfigType} - * @memberof Lti11ToolConfigCreateParams - */ - 'type': ToolConfigType; - /** - * - * @type {string} - * @memberof Lti11ToolConfigCreateParams - */ - 'baseUrl': string; - /** - * - * @type {string} - * @memberof Lti11ToolConfigCreateParams - */ - 'key': string; - /** - * - * @type {string} - * @memberof Lti11ToolConfigCreateParams - */ - 'secret': string; - /** - * - * @type {LtiMessageType} - * @memberof Lti11ToolConfigCreateParams - */ - 'lti_message_type': LtiMessageType; - /** - * - * @type {LtiPrivacyPermission} - * @memberof Lti11ToolConfigCreateParams - */ - 'privacy_permission': LtiPrivacyPermission; - /** - * - * @type {string} - * @memberof Lti11ToolConfigCreateParams - */ - 'launch_presentation_locale': string; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts b/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts deleted file mode 100644 index e74cbc0a8f1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/lti11-tool-config-update-params.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LtiMessageType } from './lti-message-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { LtiPrivacyPermission } from './lti-privacy-permission'; -// May contain unused imports in some cases -// @ts-ignore -import type { ToolConfigType } from './tool-config-type'; - -/** - * - * @export - * @interface Lti11ToolConfigUpdateParams - */ -export interface Lti11ToolConfigUpdateParams { - /** - * - * @type {ToolConfigType} - * @memberof Lti11ToolConfigUpdateParams - */ - 'type': ToolConfigType; - /** - * - * @type {string} - * @memberof Lti11ToolConfigUpdateParams - */ - 'baseUrl': string; - /** - * - * @type {string} - * @memberof Lti11ToolConfigUpdateParams - */ - 'key': string; - /** - * - * @type {string} - * @memberof Lti11ToolConfigUpdateParams - */ - 'secret'?: string; - /** - * - * @type {LtiMessageType} - * @memberof Lti11ToolConfigUpdateParams - */ - 'lti_message_type': LtiMessageType; - /** - * - * @type {LtiPrivacyPermission} - * @memberof Lti11ToolConfigUpdateParams - */ - 'privacy_permission': LtiPrivacyPermission; - /** - * - * @type {string} - * @memberof Lti11ToolConfigUpdateParams - */ - 'launch_presentation_locale': string; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/material-response.ts b/apps/server/src/infra/board-client/board-api-client/models/material-response.ts deleted file mode 100644 index 6b427cb511f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/material-response.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MaterialResponse - */ -export interface MaterialResponse { - /** - * The id of the Material entity - * @type {string} - * @memberof MaterialResponse - */ - '_id': string; - /** - * The id of the Material entity - * @type {string} - * @memberof MaterialResponse - */ - 'id': string; - /** - * Title of the Material entity - * @type {string} - * @memberof MaterialResponse - */ - 'title': string; - /** - * ? - * @type {Array} - * @memberof MaterialResponse - */ - 'relatedResources': Array; - /** - * Url of the material - * @type {string} - * @memberof MaterialResponse - */ - 'url': string; - /** - * Position of the Lesson entity - * @type {string} - * @memberof MaterialResponse - */ - 'client': string; - /** - * Description of the material license - * @type {Array} - * @memberof MaterialResponse - */ - 'license': Array; - /** - * For material from Merlin, the Merlin reference - * @type {string} - * @memberof MaterialResponse - */ - 'merlinReference': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts deleted file mode 100644 index 687001f2ef6..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/me-account-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MeAccountResponse - */ -export interface MeAccountResponse { - /** - * - * @type {string} - * @memberof MeAccountResponse - */ - 'id': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-response.ts deleted file mode 100644 index 8c34f3b4509..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/me-response.ts +++ /dev/null @@ -1,77 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LanguageType } from './language-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { MeAccountResponse } from './me-account-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { MeRoleResponse } from './me-role-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { MeSchoolResponse } from './me-school-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { MeUserResponse } from './me-user-response'; - -/** - * - * @export - * @interface MeResponse - */ -export interface MeResponse { - /** - * - * @type {MeSchoolResponse} - * @memberof MeResponse - */ - 'school': MeSchoolResponse; - /** - * - * @type {MeUserResponse} - * @memberof MeResponse - */ - 'user': MeUserResponse; - /** - * - * @type {Array} - * @memberof MeResponse - */ - 'roles': Array; - /** - * - * @type {Array} - * @memberof MeResponse - */ - 'permissions': Array; - /** - * - * @type {LanguageType} - * @memberof MeResponse - */ - 'language': LanguageType; - /** - * - * @type {MeAccountResponse} - * @memberof MeResponse - */ - 'account': MeAccountResponse; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts deleted file mode 100644 index a14e406a487..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/me-role-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MeRoleResponse - */ -export interface MeRoleResponse { - /** - * - * @type {string} - * @memberof MeRoleResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof MeRoleResponse - */ - 'name': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts deleted file mode 100644 index 01f7871c668..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/me-school-logo-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MeSchoolLogoResponse - */ -export interface MeSchoolLogoResponse { - /** - * - * @type {string} - * @memberof MeSchoolLogoResponse - */ - 'url'?: string; - /** - * - * @type {string} - * @memberof MeSchoolLogoResponse - */ - 'name'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts deleted file mode 100644 index 0e7cbd6c769..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/me-school-response.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MeSchoolLogoResponse } from './me-school-logo-response'; - -/** - * - * @export - * @interface MeSchoolResponse - */ -export interface MeSchoolResponse { - /** - * - * @type {string} - * @memberof MeSchoolResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof MeSchoolResponse - */ - 'name': string; - /** - * - * @type {MeSchoolLogoResponse} - * @memberof MeSchoolResponse - */ - 'logo': MeSchoolLogoResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts deleted file mode 100644 index 3f070f2e453..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/me-user-response.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MeUserResponse - */ -export interface MeUserResponse { - /** - * - * @type {string} - * @memberof MeUserResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof MeUserResponse - */ - 'firstName': string; - /** - * - * @type {string} - * @memberof MeUserResponse - */ - 'lastName': string; - /** - * - * @type {string} - * @memberof MeUserResponse - */ - 'customAvatarBackgroundColor'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts deleted file mode 100644 index 3159aa04ba6..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-available-line-element-response.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MediaAvailableLineElementResponse - */ -export interface MediaAvailableLineElementResponse { - /** - * School External tool id of the media available line element - * @type {string} - * @memberof MediaAvailableLineElementResponse - */ - 'schoolExternalToolId': string; - /** - * Name of the media available line element - * @type {string} - * @memberof MediaAvailableLineElementResponse - */ - 'name': string; - /** - * Description of the media available line element - * @type {string} - * @memberof MediaAvailableLineElementResponse - */ - 'description'?: string; - /** - * Logo url of the media available line element - * @type {string} - * @memberof MediaAvailableLineElementResponse - */ - 'logoUrl'?: string; - /** - * Thumbnail url of the media available line element - * @type {string} - * @memberof MediaAvailableLineElementResponse - */ - 'thumbnailUrl'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts deleted file mode 100644 index c6424077083..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-available-line-response.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MediaAvailableLineElementResponse } from './media-available-line-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { MediaBoardColors } from './media-board-colors'; - -/** - * - * @export - * @interface MediaAvailableLineResponse - */ -export interface MediaAvailableLineResponse { - /** - * Available media elements in the line - * @type {Array} - * @memberof MediaAvailableLineResponse - */ - 'elements': Array; - /** - * - * @type {MediaBoardColors} - * @memberof MediaAvailableLineResponse - */ - 'backgroundColor': MediaBoardColors; - /** - * Collapse available media line - * @type {boolean} - * @memberof MediaAvailableLineResponse - */ - 'collapsed': boolean; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts b/apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts deleted file mode 100644 index 4bcb262d3b4..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-board-colors.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const MediaBoardColors = { - TRANSPARENT: 'transparent', - RED: 'red', - PINK: 'pink', - PURPLE: 'purple', - DEEP_PURPLE: 'deepPurple', - INDIGO: 'indigo', - BLUE: 'blue', - LIGHT_BLUE: 'lightBlue', - CYAN: 'cyan', - TEAL: 'teal', - GREEN: 'green', - LIGHT_GREEN: 'lightGreen', - LIME: 'lime', - YELLOW: 'yellow', - AMBER: 'amber', - ORANGE: 'orange', - DEEP_ORANGE: 'deepOrange', - BROWN: 'brown', - GREY: 'grey', - BLUE_GREY: 'blueGrey' -} as const; - -export type MediaBoardColors = typeof MediaBoardColors[keyof typeof MediaBoardColors]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts b/apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts deleted file mode 100644 index 3a39aab0098..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-board-layout-type.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const MediaBoardLayoutType = { - COLUMNS: 'columns', - LIST: 'list', - GRID: 'grid' -} as const; - -export type MediaBoardLayoutType = typeof MediaBoardLayoutType[keyof typeof MediaBoardLayoutType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts deleted file mode 100644 index 10e4c8b2d04..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-board-response.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MediaBoardLayoutType } from './media-board-layout-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { MediaLineResponse } from './media-line-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface MediaBoardResponse - */ -export interface MediaBoardResponse { - /** - * The id of the media board - * @type {string} - * @memberof MediaBoardResponse - */ - 'id': string; - /** - * The lines of the media board - * @type {Array} - * @memberof MediaBoardResponse - */ - 'lines': Array; - /** - * The timestamps of the media board - * @type {TimestampsResponse} - * @memberof MediaBoardResponse - */ - 'timestamps': TimestampsResponse; - /** - * - * @type {MediaBoardLayoutType} - * @memberof MediaBoardResponse - */ - 'layout': MediaBoardLayoutType; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts deleted file mode 100644 index ed0d323efda..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-content.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MediaExternalToolElementContent - */ -export interface MediaExternalToolElementContent { - /** - * The id of the context external tool - * @type {string} - * @memberof MediaExternalToolElementContent - */ - 'contextExternalToolId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts deleted file mode 100644 index 38d0e1a8c51..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-external-tool-element-response.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MediaExternalToolElementContent } from './media-external-tool-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface MediaExternalToolElementResponse - */ -export interface MediaExternalToolElementResponse { - /** - * The id of the media external tool element - * @type {string} - * @memberof MediaExternalToolElementResponse - */ - 'id': string; - /** - * The content of the media external tool element - * @type {MediaExternalToolElementContent} - * @memberof MediaExternalToolElementResponse - */ - 'content': MediaExternalToolElementContent; - /** - * The timestamps of the media external tool element - * @type {TimestampsResponse} - * @memberof MediaExternalToolElementResponse - */ - 'timestamps': TimestampsResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts b/apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts deleted file mode 100644 index 6a36b66e5cc..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/media-line-response.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MediaBoardColors } from './media-board-colors'; -// May contain unused imports in some cases -// @ts-ignore -import type { MediaExternalToolElementResponse } from './media-external-tool-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface MediaLineResponse - */ -export interface MediaLineResponse { - /** - * The id of the media line - * @type {string} - * @memberof MediaLineResponse - */ - 'id': string; - /** - * The title of the media line - * @type {string} - * @memberof MediaLineResponse - */ - 'title': string; - /** - * The elements of the media line - * @type {Array} - * @memberof MediaLineResponse - */ - 'elements': Array; - /** - * The timestamps of the media line - * @type {TimestampsResponse} - * @memberof MediaLineResponse - */ - 'timestamps': TimestampsResponse; - /** - * - * @type {MediaBoardColors} - * @memberof MediaLineResponse - */ - 'backgroundColor': MediaBoardColors; - /** - * Collapse the media line - * @type {boolean} - * @memberof MediaLineResponse - */ - 'collapsed': boolean; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/message-origin.ts b/apps/server/src/infra/board-client/board-api-client/models/message-origin.ts deleted file mode 100644 index 0573484298c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/message-origin.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MessageOrigin - */ -export interface MessageOrigin { - /** - * - * @type {number} - * @memberof MessageOrigin - */ - 'message_id': number; - /** - * - * @type {string} - * @memberof MessageOrigin - */ - 'page': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/message.ts b/apps/server/src/infra/board-client/board-api-client/models/message.ts deleted file mode 100644 index 3481fbbf4b8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/message.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MessageOrigin } from './message-origin'; - -/** - * - * @export - * @interface Message - */ -export interface Message { - /** - * - * @type {string} - * @memberof Message - */ - 'title': string; - /** - * - * @type {string} - * @memberof Message - */ - 'text': string; - /** - * - * @type {string} - * @memberof Message - */ - 'timestamp': string; - /** - * - * @type {MessageOrigin} - * @memberof Message - */ - 'origin': MessageOrigin; - /** - * - * @type {string} - * @memberof Message - */ - 'url': string; - /** - * - * @type {string} - * @memberof Message - */ - 'status': string; - /** - * - * @type {string} - * @memberof Message - */ - 'createdAt': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts b/apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts deleted file mode 100644 index d0bfc7e1439..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/meta-tag-extractor-response.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MetaTagExtractorResponse - */ -export interface MetaTagExtractorResponse { - /** - * - * @type {string} - * @memberof MetaTagExtractorResponse - */ - 'url': string; - /** - * - * @type {string} - * @memberof MetaTagExtractorResponse - */ - 'title': string; - /** - * - * @type {string} - * @memberof MetaTagExtractorResponse - */ - 'description': string; - /** - * - * @type {string} - * @memberof MetaTagExtractorResponse - */ - 'imageUrl': string; - /** - * - * @type {string} - * @memberof MetaTagExtractorResponse - */ - 'type': string; - /** - * - * @type {string} - * @memberof MetaTagExtractorResponse - */ - 'parentTitle': string; - /** - * - * @type {string} - * @memberof MetaTagExtractorResponse - */ - 'parentType': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts deleted file mode 100644 index 56c4bdac0f6..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/move-card-body-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MoveCardBodyParams - */ -export interface MoveCardBodyParams { - /** - * - * @type {string} - * @memberof MoveCardBodyParams - */ - 'toColumnId': string; - /** - * - * @type {number} - * @memberof MoveCardBodyParams - */ - 'toPosition': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts deleted file mode 100644 index c6523ca2982..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/move-column-body-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MoveColumnBodyParams - */ -export interface MoveColumnBodyParams { - /** - * The id of the target board - * @type {string} - * @memberof MoveColumnBodyParams - */ - 'toBoardId': string; - /** - * - * @type {number} - * @memberof MoveColumnBodyParams - */ - 'toPosition': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts b/apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts deleted file mode 100644 index acc2280542b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/move-content-element-body.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MoveContentElementBody - */ -export interface MoveContentElementBody { - /** - * - * @type {string} - * @memberof MoveContentElementBody - */ - 'toCardId': string; - /** - * - * @type {number} - * @memberof MoveContentElementBody - */ - 'toPosition': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts deleted file mode 100644 index b619098b450..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/move-element-body-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MoveElementBodyParams - */ -export interface MoveElementBodyParams { - /** - * The id of the line where the element is moved to - * @type {string} - * @memberof MoveElementBodyParams - */ - 'toLineId': string; - /** - * The position where the element is moved to - * @type {number} - * @memberof MoveElementBodyParams - */ - 'toPosition': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts deleted file mode 100644 index 5c9d8f0ce62..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/move-element-params.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { MoveElementPositionParams } from './move-element-position-params'; - -/** - * - * @export - * @interface MoveElementParams - */ -export interface MoveElementParams { - /** - * - * @type {MoveElementPositionParams} - * @memberof MoveElementParams - */ - 'from': MoveElementPositionParams; - /** - * - * @type {MoveElementPositionParams} - * @memberof MoveElementParams - */ - 'to': MoveElementPositionParams; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts b/apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts deleted file mode 100644 index dbbeff92863..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/move-element-position-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface MoveElementPositionParams - */ -export interface MoveElementPositionParams { - /** - * - * @type {number} - * @memberof MoveElementPositionParams - */ - 'x': number; - /** - * - * @type {number} - * @memberof MoveElementPositionParams - */ - 'y': number; - /** - * used to identify a position within a group. - * @type {number} - * @memberof MoveElementPositionParams - */ - 'groupIndex'?: number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts deleted file mode 100644 index 9fe0dfe5d3d..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/news-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { NewsResponse } from './news-response'; - -/** - * - * @export - * @interface NewsListResponse - */ -export interface NewsListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof NewsListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof NewsListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof NewsListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof NewsListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/news-response.ts b/apps/server/src/infra/board-client/board-api-client/models/news-response.ts deleted file mode 100644 index cb00c8fae58..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/news-response.ts +++ /dev/null @@ -1,134 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { NewsTargetModel } from './news-target-model'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolInfoResponse } from './school-info-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { TargetInfoResponse } from './target-info-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { UserInfoResponse } from './user-info-response'; - -/** - * - * @export - * @interface NewsResponse - */ -export interface NewsResponse { - /** - * The id of the News entity - * @type {string} - * @memberof NewsResponse - */ - 'id': string; - /** - * Title of the News entity - * @type {string} - * @memberof NewsResponse - */ - 'title': string; - /** - * Content of the News entity - * @type {string} - * @memberof NewsResponse - */ - 'content': string; - /** - * The point in time from when the News entity schould be displayed - * @type {string} - * @memberof NewsResponse - */ - 'displayAt': string; - /** - * The type of source of the News entity - * @type {string} - * @memberof NewsResponse - */ - 'source'?: NewsResponseSource; - /** - * The source description of the News entity - * @type {string} - * @memberof NewsResponse - */ - 'sourceDescription'?: string; - /** - * - * @type {NewsTargetModel} - * @memberof NewsResponse - */ - 'targetModel': NewsTargetModel; - /** - * Specific target id to which the News entity is related - * @type {string} - * @memberof NewsResponse - */ - 'targetId': string; - /** - * The target object with id and name, could be the school, team, or course name - * @type {TargetInfoResponse} - * @memberof NewsResponse - */ - 'target': TargetInfoResponse; - /** - * The School ownership - * @type {SchoolInfoResponse} - * @memberof NewsResponse - */ - 'school': SchoolInfoResponse; - /** - * Reference to the User that created the News entity - * @type {UserInfoResponse} - * @memberof NewsResponse - */ - 'creator': UserInfoResponse; - /** - * Reference to the User that updated the News entity - * @type {UserInfoResponse} - * @memberof NewsResponse - */ - 'updater'?: UserInfoResponse; - /** - * The creation timestamp - * @type {string} - * @memberof NewsResponse - */ - 'createdAt': string; - /** - * The update timestamp - * @type {string} - * @memberof NewsResponse - */ - 'updatedAt': string; - /** - * List of permissions the current user has for the News entity - * @type {Array} - * @memberof NewsResponse - */ - 'permissions': Array; -} - -export const NewsResponseSource = { - INTERNAL: 'internal', - RSS: 'rss' -} as const; - -export type NewsResponseSource = typeof NewsResponseSource[keyof typeof NewsResponseSource]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts b/apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts deleted file mode 100644 index 255a4530d5d..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/news-target-model.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const NewsTargetModel = { - SCHOOLS: 'schools', - COURSES: 'courses', - TEAMS: 'teams' -} as const; - -export type NewsTargetModel = typeof NewsTargetModel[keyof typeof NewsTargetModel]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts deleted file mode 100644 index 4984986e099..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-create-body.ts +++ /dev/null @@ -1,84 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface OauthClientCreateBody - */ -export interface OauthClientCreateBody { - /** - * The Oauth2 client id. - * @type {string} - * @memberof OauthClientCreateBody - */ - 'client_id': string; - /** - * The Oauth2 client name. - * @type {string} - * @memberof OauthClientCreateBody - */ - 'client_name': string; - /** - * The Oauth2 client secret. - * @type {string} - * @memberof OauthClientCreateBody - */ - 'client_secret': string; - /** - * The allowed redirect urls of the Oauth2 client. - * @type {Array} - * @memberof OauthClientCreateBody - */ - 'redirect_uris'?: Array; - /** - * Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. - * @type {string} - * @memberof OauthClientCreateBody - */ - 'token_endpoint_auth_method': string; - /** - * SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include pairwise and public. - * @type {string} - * @memberof OauthClientCreateBody - */ - 'subject_type': string; - /** - * Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. - * @type {string} - * @memberof OauthClientCreateBody - */ - 'scope'?: string; - /** - * Thr frontchannel logout uri. - * @type {string} - * @memberof OauthClientCreateBody - */ - 'frontchannel_logout_uri'?: string; - /** - * The grant types of the Oauth2 client. - * @type {Array} - * @memberof OauthClientCreateBody - */ - 'grant_types'?: Array; - /** - * The response types of the Oauth2 client. - * @type {Array} - * @memberof OauthClientCreateBody - */ - 'response_types'?: Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts deleted file mode 100644 index 046cbcbc3cd..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-response.ts +++ /dev/null @@ -1,300 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface OauthClientResponse - */ -export interface OauthClientResponse { - /** - * - * @type {Array} - * @memberof OauthClientResponse - */ - 'allowed_cors_origins'?: Array; - /** - * - * @type {Array} - * @memberof OauthClientResponse - */ - 'audience': Array; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'authorization_code_grant_access_token_lifespan': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'authorization_code_grant_id_token_lifespan': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'authorization_code_grant_refresh_token_lifespan': string; - /** - * Boolean value specifying whether the RP requires that a sid (session ID) Claim. - * @type {boolean} - * @memberof OauthClientResponse - */ - 'backchannel_logout_session_required': boolean; - /** - * RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. - * @type {string} - * @memberof OauthClientResponse - */ - 'backchannel_logout_uri': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'client_credentials_grant_access_token_lifespan': string; - /** - * Id of the client. - * @type {string} - * @memberof OauthClientResponse - */ - 'client_id': string; - /** - * Human-readable string name of the client presented to the end-user. - * @type {string} - * @memberof OauthClientResponse - */ - 'client_name': string; - /** - * SecretExpiresAt is an integer holding the time at which the client secret will expire or 0 if it will not expire. - * @type {number} - * @memberof OauthClientResponse - */ - 'client_secret_expires_at': number; - /** - * ClientUri is an URL string of a web page providing information about the client. - * @type {string} - * @memberof OauthClientResponse - */ - 'client_uri': string; - /** - * - * @type {Array} - * @memberof OauthClientResponse - */ - 'contacts'?: Array; - /** - * CreatedAt returns the timestamp of the clients creation. - * @type {string} - * @memberof OauthClientResponse - */ - 'created_at': string; - /** - * Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters. - * @type {boolean} - * @memberof OauthClientResponse - */ - 'frontchannel_logout_session_required': boolean; - /** - * RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. - * @type {string} - * @memberof OauthClientResponse - */ - 'frontchannel_logout_uri': string; - /** - * The grant types of the Oauth2 client. - * @type {Array} - * @memberof OauthClientResponse - */ - 'grant_types'?: Array; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'implicit_grant_access_token_lifespan': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'implicit_grant_id_token_lifespan': string; - /** - * - * @type {object} - * @memberof OauthClientResponse - */ - 'jwks': object; - /** - * URL for the clients JSON Web Key Set [JWK] document - * @type {string} - * @memberof OauthClientResponse - */ - 'jwks_uri': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'jwt_bearer_grant_access_token_lifespan': string; - /** - * LogoUri is an URL string that references a logo for the client. - * @type {string} - * @memberof OauthClientResponse - */ - 'logo_uri': string; - /** - * - * @type {object} - * @memberof OauthClientResponse - */ - 'metadata': object; - /** - * Owner is a string identifying the owner of the OAuth 2.0 Client. - * @type {string} - * @memberof OauthClientResponse - */ - 'owner': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'password_grant_access_token_lifespan': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'password_grant_refresh_token_lifespan': string; - /** - * PolicyUri is a URL string that points to a human-readable privacy policy document - * @type {string} - * @memberof OauthClientResponse - */ - 'policy_uri': string; - /** - * - * @type {Array} - * @memberof OauthClientResponse - */ - 'post_logout_redirect_uris'?: Array; - /** - * - * @type {Array} - * @memberof OauthClientResponse - */ - 'redirect_uris'?: Array; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'refresh_token_grant_access_token_lifespan': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'refresh_token_grant_id_token_lifespan': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'refresh_token_grant_refresh_token_lifespan': string; - /** - * RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. - * @type {string} - * @memberof OauthClientResponse - */ - 'registration_access_token': string; - /** - * RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. - * @type {string} - * @memberof OauthClientResponse - */ - 'registration_client_uri': string; - /** - * JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. - * @type {string} - * @memberof OauthClientResponse - */ - 'request_object_signing_alg': string; - /** - * - * @type {Array} - * @memberof OauthClientResponse - */ - 'request_uris'?: Array; - /** - * The response types of the Oauth2 client. - * @type {Array} - * @memberof OauthClientResponse - */ - 'response_types'?: Array; - /** - * Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. - * @type {string} - * @memberof OauthClientResponse - */ - 'scope': string; - /** - * URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. - * @type {string} - * @memberof OauthClientResponse - */ - 'sector_identifier_uri': string; - /** - * SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include pairwise and public. - * @type {string} - * @memberof OauthClientResponse - */ - 'subject_type': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'token_endpoint_auth_method': string; - /** - * - * @type {string} - * @memberof OauthClientResponse - */ - 'token_endpoint_auth_signing_alg': string; - /** - * TermsOfServiceUri is a URL string that points to a human-readable terms of service document for the client. - * @type {string} - * @memberof OauthClientResponse - */ - 'tos_uri': string; - /** - * UpdatedAt returns the timestamp of the last update. - * @type {string} - * @memberof OauthClientResponse - */ - 'updated_at': string; - /** - * JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. - * @type {string} - * @memberof OauthClientResponse - */ - 'userinfo_signed_response_alg': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts deleted file mode 100644 index 060bc28073a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth-client-update-body.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface OauthClientUpdateBody - */ -export interface OauthClientUpdateBody { - /** - * The Oauth2 client name. - * @type {string} - * @memberof OauthClientUpdateBody - */ - 'client_name': string; - /** - * The Oauth2 client secret. - * @type {string} - * @memberof OauthClientUpdateBody - */ - 'client_secret'?: string; - /** - * The allowed redirect urls of the Oauth2 client. - * @type {Array} - * @memberof OauthClientUpdateBody - */ - 'redirect_uris'?: Array; - /** - * Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. - * @type {string} - * @memberof OauthClientUpdateBody - */ - 'token_endpoint_auth_method': string; - /** - * SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include pairwise and public. - * @type {string} - * @memberof OauthClientUpdateBody - */ - 'subject_type': string; - /** - * Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. - * @type {string} - * @memberof OauthClientUpdateBody - */ - 'scope'?: string; - /** - * Thr frontchannel logout uri. - * @type {string} - * @memberof OauthClientUpdateBody - */ - 'frontchannel_logout_uri'?: string; - /** - * The grant types of the Oauth2 client. - * @type {Array} - * @memberof OauthClientUpdateBody - */ - 'grant_types'?: Array; - /** - * The response types of the Oauth2 client. - * @type {Array} - * @memberof OauthClientUpdateBody - */ - 'response_types'?: Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts deleted file mode 100644 index 1a3a25ea438..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth-config-response.ts +++ /dev/null @@ -1,96 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface OauthConfigResponse - */ -export interface OauthConfigResponse { - /** - * Client id - * @type {string} - * @memberof OauthConfigResponse - */ - 'clientId': string; - /** - * Hint for idp redirects (optional) - * @type {string} - * @memberof OauthConfigResponse - */ - 'idpHint'?: string | null; - /** - * Redirect uri - * @type {string} - * @memberof OauthConfigResponse - */ - 'redirectUri': string; - /** - * Grant type - * @type {string} - * @memberof OauthConfigResponse - */ - 'grantType': string; - /** - * Token endpoint - * @type {string} - * @memberof OauthConfigResponse - */ - 'tokenEndpoint': string; - /** - * Auth endpoint - * @type {string} - * @memberof OauthConfigResponse - */ - 'authEndpoint': string; - /** - * Response type - * @type {string} - * @memberof OauthConfigResponse - */ - 'responseType': string; - /** - * Scope - * @type {string} - * @memberof OauthConfigResponse - */ - 'scope': string; - /** - * Provider - * @type {string} - * @memberof OauthConfigResponse - */ - 'provider': string; - /** - * Logout endpoint - * @type {string} - * @memberof OauthConfigResponse - */ - 'logoutEndpoint'?: string; - /** - * Issuer - * @type {string} - * @memberof OauthConfigResponse - */ - 'issuer': string; - /** - * Jwks endpoint - * @type {string} - * @memberof OauthConfigResponse - */ - 'jwksEndpoint': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts deleted file mode 100644 index 669db0bf207..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth-token-dto.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface OAuthTokenDto - */ -export interface OAuthTokenDto { - /** - * - * @type {string} - * @memberof OAuthTokenDto - */ - 'idToken': string; - /** - * - * @type {string} - * @memberof OAuthTokenDto - */ - 'refreshToken': string; - /** - * - * @type {string} - * @memberof OAuthTokenDto - */ - 'accessToken': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts deleted file mode 100644 index 370a6427c34..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth2-authorization-body-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface Oauth2AuthorizationBodyParams - */ -export interface Oauth2AuthorizationBodyParams { - /** - * - * @type {string} - * @memberof Oauth2AuthorizationBodyParams - */ - 'redirectUri': string; - /** - * - * @type {string} - * @memberof Oauth2AuthorizationBodyParams - */ - 'code': string; - /** - * - * @type {string} - * @memberof Oauth2AuthorizationBodyParams - */ - 'systemId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts deleted file mode 100644 index a2344b7dc83..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth2-migration-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface Oauth2MigrationParams - */ -export interface Oauth2MigrationParams { - /** - * - * @type {string} - * @memberof Oauth2MigrationParams - */ - 'redirectUri': string; - /** - * - * @type {string} - * @memberof Oauth2MigrationParams - */ - 'code': string; - /** - * - * @type {string} - * @memberof Oauth2MigrationParams - */ - 'systemId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts deleted file mode 100644 index 6cd607ffe8e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-create-params.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface Oauth2ToolConfigCreateParams - */ -export interface Oauth2ToolConfigCreateParams { - /** - * - * @type {string} - * @memberof Oauth2ToolConfigCreateParams - */ - 'type': string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigCreateParams - */ - 'baseUrl': string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigCreateParams - */ - 'clientId': string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigCreateParams - */ - 'clientSecret': string; - /** - * - * @type {boolean} - * @memberof Oauth2ToolConfigCreateParams - */ - 'skipConsent': boolean; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigCreateParams - */ - 'frontchannelLogoutUri'?: string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigCreateParams - */ - 'scope'?: string; - /** - * - * @type {Array} - * @memberof Oauth2ToolConfigCreateParams - */ - 'redirectUris': Array; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigCreateParams - */ - 'tokenEndpointAuthMethod': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts b/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts deleted file mode 100644 index 36dc4a83320..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oauth2-tool-config-update-params.ts +++ /dev/null @@ -1,78 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface Oauth2ToolConfigUpdateParams - */ -export interface Oauth2ToolConfigUpdateParams { - /** - * - * @type {string} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'type': string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'baseUrl': string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'clientId': string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'clientSecret'?: string; - /** - * - * @type {boolean} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'skipConsent': boolean; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'frontchannelLogoutUri'?: string; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'scope'?: string; - /** - * - * @type {Array} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'redirectUris': Array; - /** - * - * @type {string} - * @memberof Oauth2ToolConfigUpdateParams - */ - 'tokenEndpointAuthMethod': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts b/apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts deleted file mode 100644 index a59dc77af06..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/oidc-context-response.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface OidcContextResponse - */ -export interface OidcContextResponse { - /** - * - * @type {Array} - * @memberof OidcContextResponse - */ - 'acr_values': Array; - /** - * - * @type {string} - * @memberof OidcContextResponse - */ - 'display': string; - /** - * - * @type {object} - * @memberof OidcContextResponse - */ - 'id_token_hint_claims': object; - /** - * - * @type {string} - * @memberof OidcContextResponse - */ - 'login_hint': string; - /** - * - * @type {Array} - * @memberof OidcContextResponse - */ - 'ui_locales': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts b/apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts deleted file mode 100644 index ed7ed69c770..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/parent-consent-response.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ParentConsentResponse - */ -export interface ParentConsentResponse { - /** - * - * @type {string} - * @memberof ParentConsentResponse - */ - 'form': string; - /** - * - * @type {boolean} - * @memberof ParentConsentResponse - */ - 'privacyConsent': boolean; - /** - * - * @type {boolean} - * @memberof ParentConsentResponse - */ - 'termsOfUseConsent': boolean; - /** - * - * @type {string} - * @memberof ParentConsentResponse - */ - 'dateOfPrivacyConsent': string; - /** - * - * @type {string} - * @memberof ParentConsentResponse - */ - 'dateOfTermsOfUseConsent': string; - /** - * - * @type {string} - * @memberof ParentConsentResponse - */ - '_id': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts deleted file mode 100644 index 24f1e49946f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/patch-group-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface PatchGroupParams - */ -export interface PatchGroupParams { - /** - * Title of the Group grid element - * @type {string} - * @memberof PatchGroupParams - */ - 'title': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts deleted file mode 100644 index af3e7385a26..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/patch-my-account-params.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface PatchMyAccountParams - */ -export interface PatchMyAccountParams { - /** - * The current user password to authorize the update action. - * @type {string} - * @memberof PatchMyAccountParams - */ - 'passwordOld': string; - /** - * The new password for the current user. - * @type {string} - * @memberof PatchMyAccountParams - */ - 'passwordNew'?: string | null; - /** - * The new email address for the current user. - * @type {string} - * @memberof PatchMyAccountParams - */ - 'email'?: string | null; - /** - * The new first name for the current user. - * @type {string} - * @memberof PatchMyAccountParams - */ - 'firstName'?: string | null; - /** - * The new last name for the current user. - * @type {string} - * @memberof PatchMyAccountParams - */ - 'lastName'?: string | null; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts deleted file mode 100644 index bc3e8c0e0f0..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/patch-my-password-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface PatchMyPasswordParams - */ -export interface PatchMyPasswordParams { - /** - * The new user password. - * @type {string} - * @memberof PatchMyPasswordParams - */ - 'password': string; - /** - * The confirmed new user password. Must match the password field. - * @type {string} - * @memberof PatchMyPasswordParams - */ - 'confirmPassword': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts deleted file mode 100644 index b41db00228d..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/patch-order-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface PatchOrderParams - */ -export interface PatchOrderParams { - /** - * Array ids determining the new order - * @type {Array} - * @memberof PatchOrderParams - */ - 'elements': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts b/apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts deleted file mode 100644 index 2e366709780..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/patch-visibility-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface PatchVisibilityParams - */ -export interface PatchVisibilityParams { - /** - * true to publish the element, false to unpublish - * @type {boolean} - * @memberof PatchVisibilityParams - */ - 'visibility': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts b/apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts deleted file mode 100644 index d95bf284c77..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/provider-config-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ProviderConfigResponse - */ -export interface ProviderConfigResponse { - /** - * - * @type {string} - * @memberof ProviderConfigResponse - */ - 'provider': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts b/apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts deleted file mode 100644 index 5818296b6b2..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/pseudonym-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface PseudonymResponse - */ -export interface PseudonymResponse { - /** - * - * @type {string} - * @memberof PseudonymResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof PseudonymResponse - */ - 'toolId': string; - /** - * - * @type {string} - * @memberof PseudonymResponse - */ - 'userId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts deleted file mode 100644 index 31c92279138..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/public-system-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { PublicSystemResponse } from './public-system-response'; - -/** - * - * @export - * @interface PublicSystemListResponse - */ -export interface PublicSystemListResponse { - /** - * - * @type {Array} - * @memberof PublicSystemListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts b/apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts deleted file mode 100644 index f41de7d16ab..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/public-system-response-oauth-config.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { OauthConfigResponse } from './oauth-config-response'; - -/** - * @type PublicSystemResponseOauthConfig - * Oauth config of the system. - * @export - */ -export type PublicSystemResponseOauthConfig = OauthConfigResponse; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts b/apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts deleted file mode 100644 index db924afecba..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/public-system-response.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { PublicSystemResponseOauthConfig } from './public-system-response-oauth-config'; - -/** - * - * @export - * @interface PublicSystemResponse - */ -export interface PublicSystemResponse { - /** - * Id of the system. - * @type {string} - * @memberof PublicSystemResponse - */ - 'id': string; - /** - * Flag to request only systems with oauth-config. - * @type {string} - * @memberof PublicSystemResponse - */ - 'type'?: string | null; - /** - * Alias of the system. - * @type {string} - * @memberof PublicSystemResponse - */ - 'alias'?: string | null; - /** - * Display name of the system. - * @type {string} - * @memberof PublicSystemResponse - */ - 'displayName'?: string | null; - /** - * - * @type {PublicSystemResponseOauthConfig} - * @memberof PublicSystemResponse - */ - 'oauthConfig'?: PublicSystemResponseOauthConfig | null; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts b/apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts deleted file mode 100644 index 039bd4bf549..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/redirect-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface RedirectResponse - */ -export interface RedirectResponse { - /** - * RedirectURL is the URL which you should redirect the user to once the authentication process is completed. - * @type {string} - * @memberof RedirectResponse - */ - 'redirect_to': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts deleted file mode 100644 index 1c52e3f08f9..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/rename-body-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface RenameBodyParams - */ -export interface RenameBodyParams { - /** - * - * @type {string} - * @memberof RenameBodyParams - */ - 'title': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts deleted file mode 100644 index 41bb47ce986..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/resolved-user-response.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ResolvedUserResponse - */ -export interface ResolvedUserResponse { - /** - * - * @type {string} - * @memberof ResolvedUserResponse - */ - 'firstName': string; - /** - * - * @type {string} - * @memberof ResolvedUserResponse - */ - 'lastName': string; - /** - * - * @type {string} - * @memberof ResolvedUserResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof ResolvedUserResponse - */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof ResolvedUserResponse - */ - 'updatedAt': string; - /** - * - * @type {Array} - * @memberof ResolvedUserResponse - */ - 'roles': Array; - /** - * - * @type {Array} - * @memberof ResolvedUserResponse - */ - 'permissions': Array; - /** - * - * @type {string} - * @memberof ResolvedUserResponse - */ - 'schoolId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts deleted file mode 100644 index 352a3e685f8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/rich-text-content-body.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface RichTextContentBody - */ -export interface RichTextContentBody { - /** - * - * @type {string} - * @memberof RichTextContentBody - */ - 'text': string; - /** - * - * @type {string} - * @memberof RichTextContentBody - */ - 'inputFormat': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts deleted file mode 100644 index f5a9890b3a1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content-body.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { RichTextContentBody } from './rich-text-content-body'; - -/** - * - * @export - * @interface RichTextElementContentBody - */ -export interface RichTextElementContentBody { - /** - * - * @type {ContentElementType} - * @memberof RichTextElementContentBody - */ - 'type': ContentElementType; - /** - * - * @type {RichTextContentBody} - * @memberof RichTextElementContentBody - */ - 'content': RichTextContentBody; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts deleted file mode 100644 index c1c1deec6c4..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-content.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface RichTextElementContent - */ -export interface RichTextElementContent { - /** - * - * @type {string} - * @memberof RichTextElementContent - */ - 'text': string; - /** - * - * @type {string} - * @memberof RichTextElementContent - */ - 'inputFormat': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts deleted file mode 100644 index b46c3b623e2..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/rich-text-element-response.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { RichTextElementContent } from './rich-text-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface RichTextElementResponse - */ -export interface RichTextElementResponse { - /** - * - * @type {string} - * @memberof RichTextElementResponse - */ - 'id': string; - /** - * - * @type {ContentElementType} - * @memberof RichTextElementResponse - */ - 'type': ContentElementType; - /** - * - * @type {RichTextElementContent} - * @memberof RichTextElementResponse - */ - 'content': RichTextElementContent; - /** - * - * @type {TimestampsResponse} - * @memberof RichTextElementResponse - */ - 'timestamps': TimestampsResponse; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/rich-text.ts b/apps/server/src/infra/board-client/board-api-client/models/rich-text.ts deleted file mode 100644 index 31c62725f86..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/rich-text.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface RichText - */ -export interface RichText { - /** - * Content of the rich text element - * @type {string} - * @memberof RichText - */ - 'content': string; - /** - * Input format of the rich text element - * @type {string} - * @memberof RichText - */ - 'type': RichTextType; -} - -export const RichTextType = { - PLAIN_TEXT: 'plainText', - RICH_TEXT_CK5_SIMPLE: 'richTextCk5Simple', - RICH_TEXT_CK4: 'richTextCk4', - RICH_TEXT_CK5: 'richTextCk5' -} as const; - -export type RichTextType = typeof RichTextType[keyof typeof RichTextType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/role-name.ts b/apps/server/src/infra/board-client/board-api-client/models/role-name.ts deleted file mode 100644 index f96013f876f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/role-name.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const RoleName = { - ADMINISTRATOR: 'administrator', - COURSE_ADMINISTRATOR: 'courseAdministrator', - COURSE_STUDENT: 'courseStudent', - COURSE_SUBSTITUTION_TEACHER: 'courseSubstitutionTeacher', - COURSE_TEACHER: 'courseTeacher', - DEMO: 'demo', - DEMO_STUDENT: 'demoStudent', - DEMO_TEACHER: 'demoTeacher', - EXPERT: 'expert', - HELPDESK: 'helpdesk', - STUDENT: 'student', - SUPERHERO: 'superhero', - TEACHER: 'teacher', - TEAMADMINISTRATOR: 'teamadministrator', - TEAMEXPERT: 'teamexpert', - TEAMLEADER: 'teamleader', - TEAMMEMBER: 'teammember', - TEAMOWNER: 'teamowner', - USER: 'user' -} as const; - -export type RoleName = typeof RoleName[keyof typeof RoleName]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts deleted file mode 100644 index f4f765a0b48..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-exists-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchoolExistsResponse - */ -export interface SchoolExistsResponse { - /** - * - * @type {boolean} - * @memberof SchoolExistsResponse - */ - 'exists': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts deleted file mode 100644 index f7249a0b900..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-status-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchoolExternalToolConfigurationStatusResponse - */ -export interface SchoolExternalToolConfigurationStatusResponse { - /** - * Is the tool outdated on school scope, because of non matching versions or required parameter changes on ExternalTool? - * @type {boolean} - * @memberof SchoolExternalToolConfigurationStatusResponse - */ - 'isOutdatedOnScopeSchool': boolean; - /** - * Is the tool deactivated, because of instance administrator? - * @type {boolean} - * @memberof SchoolExternalToolConfigurationStatusResponse - */ - 'isGloballyDeactivated': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts deleted file mode 100644 index 1f51b0b836b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolExternalToolConfigurationTemplateResponse } from './school-external-tool-configuration-template-response'; - -/** - * - * @export - * @interface SchoolExternalToolConfigurationTemplateListResponse - */ -export interface SchoolExternalToolConfigurationTemplateListResponse { - /** - * - * @type {Array} - * @memberof SchoolExternalToolConfigurationTemplateListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts deleted file mode 100644 index 948ff9c9bb1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-configuration-template-response.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterResponse } from './custom-parameter-response'; - -/** - * - * @export - * @interface SchoolExternalToolConfigurationTemplateResponse - */ -export interface SchoolExternalToolConfigurationTemplateResponse { - /** - * - * @type {string} - * @memberof SchoolExternalToolConfigurationTemplateResponse - */ - 'externalToolId': string; - /** - * - * @type {string} - * @memberof SchoolExternalToolConfigurationTemplateResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof SchoolExternalToolConfigurationTemplateResponse - */ - 'baseUrl': string; - /** - * - * @type {string} - * @memberof SchoolExternalToolConfigurationTemplateResponse - */ - 'logoUrl'?: string; - /** - * - * @type {Array} - * @memberof SchoolExternalToolConfigurationTemplateResponse - */ - 'parameters': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts deleted file mode 100644 index 4e36360cf44..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-metadata-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContextExternalToolCountPerContextResponse } from './context-external-tool-count-per-context-response'; - -/** - * - * @export - * @interface SchoolExternalToolMetadataResponse - */ -export interface SchoolExternalToolMetadataResponse { - /** - * - * @type {ContextExternalToolCountPerContextResponse} - * @memberof SchoolExternalToolMetadataResponse - */ - 'contextExternalToolCountPerContext': ContextExternalToolCountPerContextResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts deleted file mode 100644 index d13e704ca80..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-post-params.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterEntryParam } from './custom-parameter-entry-param'; - -/** - * - * @export - * @interface SchoolExternalToolPostParams - */ -export interface SchoolExternalToolPostParams { - /** - * - * @type {string} - * @memberof SchoolExternalToolPostParams - */ - 'toolId': string; - /** - * - * @type {string} - * @memberof SchoolExternalToolPostParams - */ - 'schoolId': string; - /** - * - * @type {Array} - * @memberof SchoolExternalToolPostParams - */ - 'parameters'?: Array; - /** - * Tool can be deactivated, related tools can not be added to e.g. course or board anymore - * @type {boolean} - * @memberof SchoolExternalToolPostParams - */ - 'isDeactivated': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts deleted file mode 100644 index 8d71fa686db..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-response.ts +++ /dev/null @@ -1,72 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CustomParameterEntryResponse } from './custom-parameter-entry-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolExternalToolConfigurationStatusResponse } from './school-external-tool-configuration-status-response'; - -/** - * - * @export - * @interface SchoolExternalToolResponse - */ -export interface SchoolExternalToolResponse { - /** - * - * @type {string} - * @memberof SchoolExternalToolResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof SchoolExternalToolResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof SchoolExternalToolResponse - */ - 'toolId': string; - /** - * - * @type {string} - * @memberof SchoolExternalToolResponse - */ - 'schoolId': string; - /** - * - * @type {boolean} - * @memberof SchoolExternalToolResponse - */ - 'isDeactivated': boolean; - /** - * - * @type {Array} - * @memberof SchoolExternalToolResponse - */ - 'parameters': Array; - /** - * - * @type {SchoolExternalToolConfigurationStatusResponse} - * @memberof SchoolExternalToolResponse - */ - 'status': SchoolExternalToolConfigurationStatusResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts deleted file mode 100644 index 87f1f5146bc..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-external-tool-search-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolExternalToolResponse } from './school-external-tool-response'; - -/** - * - * @export - * @interface SchoolExternalToolSearchListResponse - */ -export interface SchoolExternalToolSearchListResponse { - /** - * - * @type {Array} - * @memberof SchoolExternalToolSearchListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts deleted file mode 100644 index 1c240fa506b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-for-external-invite-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchoolForExternalInviteResponse - */ -export interface SchoolForExternalInviteResponse { - /** - * - * @type {string} - * @memberof SchoolForExternalInviteResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof SchoolForExternalInviteResponse - */ - 'name': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts deleted file mode 100644 index 2fe7c0da5f8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-for-ldap-login-response.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { SystemForLdapLoginResponse } from './system-for-ldap-login-response'; - -/** - * - * @export - * @interface SchoolForLdapLoginResponse - */ -export interface SchoolForLdapLoginResponse { - /** - * - * @type {string} - * @memberof SchoolForLdapLoginResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof SchoolForLdapLoginResponse - */ - 'name': string; - /** - * - * @type {Array} - * @memberof SchoolForLdapLoginResponse - */ - 'systems': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts deleted file mode 100644 index 6d47fd2ecf5..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-info-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchoolInfoResponse - */ -export interface SchoolInfoResponse { - /** - * The id of the School entity - * @type {string} - * @memberof SchoolInfoResponse - */ - 'id': string; - /** - * The name of the School entity - * @type {string} - * @memberof SchoolInfoResponse - */ - 'name': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-logo.ts b/apps/server/src/infra/board-client/board-api-client/models/school-logo.ts deleted file mode 100644 index 52c4fade524..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-logo.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchoolLogo - */ -export interface SchoolLogo { - /** - * - * @type {string} - * @memberof SchoolLogo - */ - 'dataUrl'?: string; - /** - * - * @type {string} - * @memberof SchoolLogo - */ - 'name'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts b/apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts deleted file mode 100644 index d61f1efdf3a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-permissions-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { StudentPermissionParams } from './student-permission-params'; -// May contain unused imports in some cases -// @ts-ignore -import type { TeacherPermissionParams } from './teacher-permission-params'; - -/** - * - * @export - * @interface SchoolPermissionsParams - */ -export interface SchoolPermissionsParams { - /** - * - * @type {TeacherPermissionParams} - * @memberof SchoolPermissionsParams - */ - 'teacher'?: TeacherPermissionParams; - /** - * - * @type {StudentPermissionParams} - * @memberof SchoolPermissionsParams - */ - 'student'?: StudentPermissionParams; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts b/apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts deleted file mode 100644 index ac1b2d89e99..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-purpose.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const SchoolPurpose = { - EXPERT: 'expert', - TOMBSTONE: 'tombstone', - DEMO: 'demo', - TEST: 'test', - MINT_EC: 'MINT-EC' -} as const; - -export type SchoolPurpose = typeof SchoolPurpose[keyof typeof SchoolPurpose]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-response.ts deleted file mode 100644 index 12bc1f9d7c8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-response.ts +++ /dev/null @@ -1,179 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { CountyResponse } from './county-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { FederalStateResponse } from './federal-state-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { FileStorageType } from './file-storage-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { InstanceFeature } from './instance-feature'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolFeature } from './school-feature'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolLogo } from './school-logo'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolPurpose } from './school-purpose'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolYearResponse } from './school-year-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { YearsResponse } from './years-response'; - -/** - * - * @export - * @interface SchoolResponse - */ -export interface SchoolResponse { - /** - * - * @type {string} - * @memberof SchoolResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof SchoolResponse - */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof SchoolResponse - */ - 'updatedAt': string; - /** - * - * @type {string} - * @memberof SchoolResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof SchoolResponse - */ - 'officialSchoolNumber'?: string; - /** - * - * @type {SchoolYearResponse} - * @memberof SchoolResponse - */ - 'currentYear'?: SchoolYearResponse; - /** - * - * @type {FederalStateResponse} - * @memberof SchoolResponse - */ - 'federalState': FederalStateResponse; - /** - * - * @type {CountyResponse} - * @memberof SchoolResponse - */ - 'county'?: CountyResponse; - /** - * - * @type {SchoolPurpose} - * @memberof SchoolResponse - */ - 'purpose'?: SchoolPurpose; - /** - * - * @type {Array} - * @memberof SchoolResponse - */ - 'features': Array; - /** - * - * @type {Array} - * @memberof SchoolResponse - */ - 'systemIds': Array; - /** - * - * @type {boolean} - * @memberof SchoolResponse - */ - 'inUserMigration'?: boolean; - /** - * - * @type {boolean} - * @memberof SchoolResponse - */ - 'inMaintenance': boolean; - /** - * - * @type {boolean} - * @memberof SchoolResponse - */ - 'isExternal': boolean; - /** - * - * @type {SchoolLogo} - * @memberof SchoolResponse - */ - 'logo'?: SchoolLogo; - /** - * - * @type {FileStorageType} - * @memberof SchoolResponse - */ - 'fileStorageType'?: FileStorageType; - /** - * - * @type {string} - * @memberof SchoolResponse - */ - 'language'?: string; - /** - * - * @type {string} - * @memberof SchoolResponse - */ - 'timezone'?: string; - /** - * - * @type {object} - * @memberof SchoolResponse - */ - 'permissions'?: object; - /** - * - * @type {YearsResponse} - * @memberof SchoolResponse - */ - 'years': YearsResponse; - /** - * - * @type {Array} - * @memberof SchoolResponse - */ - 'instanceFeatures': Array; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts deleted file mode 100644 index 2c3b80860f2..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-system-response.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ProviderConfigResponse } from './provider-config-response'; - -/** - * - * @export - * @interface SchoolSystemResponse - */ -export interface SchoolSystemResponse { - /** - * - * @type {string} - * @memberof SchoolSystemResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof SchoolSystemResponse - */ - 'type': string; - /** - * - * @type {string} - * @memberof SchoolSystemResponse - */ - 'alias'?: string; - /** - * - * @type {ProviderConfigResponse} - * @memberof SchoolSystemResponse - */ - 'ldapConfig'?: ProviderConfigResponse; - /** - * - * @type {ProviderConfigResponse} - * @memberof SchoolSystemResponse - */ - 'oauthConfig'?: ProviderConfigResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts deleted file mode 100644 index 16362c27119..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-update-body-params.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { LanguageType } from './language-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolFeature } from './school-feature'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolLogo } from './school-logo'; -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolPermissionsParams } from './school-permissions-params'; - -/** - * - * @export - * @interface SchoolUpdateBodyParams - */ -export interface SchoolUpdateBodyParams { - /** - * - * @type {string} - * @memberof SchoolUpdateBodyParams - */ - 'name'?: string; - /** - * - * @type {string} - * @memberof SchoolUpdateBodyParams - */ - 'officialSchoolNumber'?: string; - /** - * - * @type {SchoolLogo} - * @memberof SchoolUpdateBodyParams - */ - 'logo'?: SchoolLogo; - /** - * - * @type {string} - * @memberof SchoolUpdateBodyParams - */ - 'fileStorageType'?: SchoolUpdateBodyParamsFileStorageType; - /** - * - * @type {LanguageType} - * @memberof SchoolUpdateBodyParams - */ - 'language'?: LanguageType; - /** - * - * @type {Array} - * @memberof SchoolUpdateBodyParams - */ - 'features'?: Array; - /** - * - * @type {SchoolPermissionsParams} - * @memberof SchoolUpdateBodyParams - */ - 'permissions'?: SchoolPermissionsParams; - /** - * - * @type {string} - * @memberof SchoolUpdateBodyParams - */ - 'countyId'?: string; - /** - * - * @type {boolean} - * @memberof SchoolUpdateBodyParams - */ - 'enableStudentTeamCreation'?: boolean; -} - -export const SchoolUpdateBodyParamsFileStorageType = { - AWS_S3: 'awsS3' -} as const; - -export type SchoolUpdateBodyParamsFileStorageType = typeof SchoolUpdateBodyParamsFileStorageType[keyof typeof SchoolUpdateBodyParamsFileStorageType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts b/apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts deleted file mode 100644 index a6b6e5b2300..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-year-query-type.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const SchoolYearQueryType = { - NEXT_YEAR: 'nextYear', - CURRENT_YEAR: 'currentYear', - PREVIOUS_YEARS: 'previousYears' -} as const; - -export type SchoolYearQueryType = typeof SchoolYearQueryType[keyof typeof SchoolYearQueryType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts b/apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts deleted file mode 100644 index 84406f77b76..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/school-year-response.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchoolYearResponse - */ -export interface SchoolYearResponse { - /** - * - * @type {string} - * @memberof SchoolYearResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof SchoolYearResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof SchoolYearResponse - */ - 'startDate': string; - /** - * - * @type {string} - * @memberof SchoolYearResponse - */ - 'endDate': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts b/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts deleted file mode 100644 index ad8698c304f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-params.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchulConneXProvisioningOptionsParams - */ -export interface SchulConneXProvisioningOptionsParams { - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsParams - */ - 'groupProvisioningClassesEnabled': boolean; - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsParams - */ - 'groupProvisioningCoursesEnabled': boolean; - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsParams - */ - 'groupProvisioningOtherEnabled': boolean; - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsParams - */ - 'schoolExternalToolProvisioningEnabled': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts b/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts deleted file mode 100644 index 228c37e33fc..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/schul-conne-xprovisioning-options-response.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SchulConneXProvisioningOptionsResponse - */ -export interface SchulConneXProvisioningOptionsResponse { - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsResponse - */ - 'groupProvisioningClassesEnabled': boolean; - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsResponse - */ - 'groupProvisioningCoursesEnabled': boolean; - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsResponse - */ - 'groupProvisioningOtherEnabled': boolean; - /** - * - * @type {boolean} - * @memberof SchulConneXProvisioningOptionsResponse - */ - 'schoolExternalToolProvisioningEnabled': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts b/apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts deleted file mode 100644 index 0a0df6a156c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/schulcloud-theme.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const SchulcloudTheme = { - BRB: 'brb', - DEFAULT: 'default', - N21: 'n21', - THR: 'thr' -} as const; - -export type SchulcloudTheme = typeof SchulcloudTheme[keyof typeof SchulcloudTheme]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts deleted file mode 100644 index c74c7e490bf..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/set-height-body-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SetHeightBodyParams - */ -export interface SetHeightBodyParams { - /** - * - * @type {number} - * @memberof SetHeightBodyParams - */ - 'height': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts deleted file mode 100644 index 18296e5d658..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/share-token-body-params.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ShareTokenBodyParams - */ -export interface ShareTokenBodyParams { - /** - * the type of the object being shared - * @type {string} - * @memberof ShareTokenBodyParams - */ - 'parentType': ShareTokenBodyParamsParentType; - /** - * the id of the object being shared. - * @type {string} - * @memberof ShareTokenBodyParams - */ - 'parentId': string; - /** - * when defined, the sharetoken will expire after the given number of days. - * @type {number} - * @memberof ShareTokenBodyParams - */ - 'expiresInDays'?: number | null; - /** - * when defined, the sharetoken will be usable exclusively by members of the users school. - * @type {boolean} - * @memberof ShareTokenBodyParams - */ - 'schoolExclusive'?: boolean | null; -} - -export const ShareTokenBodyParamsParentType = { - COURSES: 'courses', - TASKS: 'tasks', - LESSONS: 'lessons', - COLUMN_BOARD: 'columnBoard' -} as const; - -export type ShareTokenBodyParamsParentType = typeof ShareTokenBodyParamsParentType[keyof typeof ShareTokenBodyParamsParentType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts deleted file mode 100644 index dd63b40c0f9..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/share-token-import-body-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ShareTokenImportBodyParams - */ -export interface ShareTokenImportBodyParams { - /** - * the new name of the imported object. - * @type {string} - * @memberof ShareTokenImportBodyParams - */ - 'newName': string; - /** - * Id of the course to which the lesson/task will be added - * @type {string} - * @memberof ShareTokenImportBodyParams - */ - 'destinationCourseId'?: string | null; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts deleted file mode 100644 index 1d9852b8755..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/share-token-info-response.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ShareTokenInfoResponse - */ -export interface ShareTokenInfoResponse { - /** - * - * @type {string} - * @memberof ShareTokenInfoResponse - */ - 'token': string; - /** - * - * @type {string} - * @memberof ShareTokenInfoResponse - */ - 'parentType': ShareTokenInfoResponseParentType; - /** - * - * @type {string} - * @memberof ShareTokenInfoResponse - */ - 'parentName': string; -} - -export const ShareTokenInfoResponseParentType = { - COURSES: 'courses', - TASKS: 'tasks', - LESSONS: 'lessons', - COLUMN_BOARD: 'columnBoard' -} as const; - -export type ShareTokenInfoResponseParentType = typeof ShareTokenInfoResponseParentType[keyof typeof ShareTokenInfoResponseParentType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts deleted file mode 100644 index 26cd5456c10..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/share-token-payload-response.ts +++ /dev/null @@ -1,46 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ShareTokenPayloadResponse - */ -export interface ShareTokenPayloadResponse { - /** - * - * @type {string} - * @memberof ShareTokenPayloadResponse - */ - 'parentType': ShareTokenPayloadResponseParentType; - /** - * - * @type {string} - * @memberof ShareTokenPayloadResponse - */ - 'parentId': string; -} - -export const ShareTokenPayloadResponseParentType = { - COURSES: 'courses', - TASKS: 'tasks', - LESSONS: 'lessons', - COLUMN_BOARD: 'columnBoard' -} as const; - -export type ShareTokenPayloadResponseParentType = typeof ShareTokenPayloadResponseParentType[keyof typeof ShareTokenPayloadResponseParentType]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts b/apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts deleted file mode 100644 index 42aa3f6f4b1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/share-token-response.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ShareTokenPayloadResponse } from './share-token-payload-response'; - -/** - * - * @export - * @interface ShareTokenResponse - */ -export interface ShareTokenResponse { - /** - * - * @type {string} - * @memberof ShareTokenResponse - */ - 'token': string; - /** - * - * @type {ShareTokenPayloadResponse} - * @memberof ShareTokenResponse - */ - 'payload': ShareTokenPayloadResponse; - /** - * - * @type {string} - * @memberof ShareTokenResponse - */ - 'expiresAt'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts b/apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts deleted file mode 100644 index f1bf648bb76..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/single-column-board-response.ts +++ /dev/null @@ -1,63 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { BoardElementResponse } from './board-element-response'; - -/** - * - * @export - * @interface SingleColumnBoardResponse - */ -export interface SingleColumnBoardResponse { - /** - * The id of the room this board belongs to - * @type {string} - * @memberof SingleColumnBoardResponse - */ - 'roomId': string; - /** - * Title of the Board - * @type {string} - * @memberof SingleColumnBoardResponse - */ - 'title': string; - /** - * Color of the Board - * @type {string} - * @memberof SingleColumnBoardResponse - */ - 'displayColor': string; - /** - * Array of board specific tasks or lessons with matching type property - * @type {Array} - * @memberof SingleColumnBoardResponse - */ - 'elements': Array; - /** - * Boolean if the room this board belongs to is archived - * @type {boolean} - * @memberof SingleColumnBoardResponse - */ - 'isArchived': boolean; - /** - * Is the course synchronized with a group? - * @type {boolean} - * @memberof SingleColumnBoardResponse - */ - 'isSynchronized': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts b/apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts deleted file mode 100644 index f5ce4dd7e24..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/student-permission-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface StudentPermissionParams - */ -export interface StudentPermissionParams { - /** - * - * @type {boolean} - * @memberof StudentPermissionParams - */ - 'LERNSTORE_VIEW'?: boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts deleted file mode 100644 index 77ad31989d5..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-container-content-body.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SubmissionContainerContentBody - */ -export interface SubmissionContainerContentBody { - /** - * The point in time until when a submission can be handed in. - * @type {string} - * @memberof SubmissionContainerContentBody - */ - 'dueDate'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts deleted file mode 100644 index 0d3b36f3e0c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content-body.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { SubmissionContainerContentBody } from './submission-container-content-body'; - -/** - * - * @export - * @interface SubmissionContainerElementContentBody - */ -export interface SubmissionContainerElementContentBody { - /** - * - * @type {ContentElementType} - * @memberof SubmissionContainerElementContentBody - */ - 'type': ContentElementType; - /** - * - * @type {SubmissionContainerContentBody} - * @memberof SubmissionContainerElementContentBody - */ - 'content': SubmissionContainerContentBody; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts deleted file mode 100644 index dd0b9a949f6..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-content.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SubmissionContainerElementContent - */ -export interface SubmissionContainerElementContent { - /** - * The dueDate as date string or null of not set - * @type {string} - * @memberof SubmissionContainerElementContent - */ - 'dueDate': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts deleted file mode 100644 index 4c3001c303b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-container-element-response.ts +++ /dev/null @@ -1,59 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { SubmissionContainerElementContent } from './submission-container-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface SubmissionContainerElementResponse - */ -export interface SubmissionContainerElementResponse { - /** - * - * @type {string} - * @memberof SubmissionContainerElementResponse - */ - 'id': string; - /** - * - * @type {ContentElementType} - * @memberof SubmissionContainerElementResponse - */ - 'type': ContentElementType; - /** - * - * @type {SubmissionContainerElementContent} - * @memberof SubmissionContainerElementResponse - */ - 'content': SubmissionContainerElementContent; - /** - * - * @type {TimestampsResponse} - * @memberof SubmissionContainerElementResponse - */ - 'timestamps': TimestampsResponse; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts deleted file mode 100644 index 8377f372e1a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-item-response-elements-inner.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { FileElementResponse } from './file-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { RichTextElementContent } from './rich-text-element-content'; -// May contain unused imports in some cases -// @ts-ignore -import type { RichTextElementResponse } from './rich-text-element-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * @type SubmissionItemResponseElementsInner - * @export - */ -export type SubmissionItemResponseElementsInner = FileElementResponse | RichTextElementResponse; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts deleted file mode 100644 index 474f9a13e21..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-item-response.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { SubmissionItemResponseElementsInner } from './submission-item-response-elements-inner'; -// May contain unused imports in some cases -// @ts-ignore -import type { TimestampsResponse } from './timestamps-response'; - -/** - * - * @export - * @interface SubmissionItemResponse - */ -export interface SubmissionItemResponse { - /** - * - * @type {string} - * @memberof SubmissionItemResponse - */ - 'id': string; - /** - * - * @type {TimestampsResponse} - * @memberof SubmissionItemResponse - */ - 'timestamps': TimestampsResponse; - /** - * - * @type {boolean} - * @memberof SubmissionItemResponse - */ - 'completed': boolean; - /** - * - * @type {string} - * @memberof SubmissionItemResponse - */ - 'userId': string; - /** - * - * @type {Array} - * @memberof SubmissionItemResponse - */ - 'elements': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts deleted file mode 100644 index c112a5cfbc6..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-status-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { SubmissionStatusResponse } from './submission-status-response'; - -/** - * - * @export - * @interface SubmissionStatusListResponse - */ -export interface SubmissionStatusListResponse { - /** - * - * @type {Array} - * @memberof SubmissionStatusListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts deleted file mode 100644 index efb51c072ea..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submission-status-response.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SubmissionStatusResponse - */ -export interface SubmissionStatusResponse { - /** - * - * @type {string} - * @memberof SubmissionStatusResponse - */ - 'id': string; - /** - * - * @type {Array} - * @memberof SubmissionStatusResponse - */ - 'submitters': Array; - /** - * - * @type {boolean} - * @memberof SubmissionStatusResponse - */ - 'isSubmitted': boolean; - /** - * - * @type {number} - * @memberof SubmissionStatusResponse - */ - 'grade'?: number; - /** - * - * @type {boolean} - * @memberof SubmissionStatusResponse - */ - 'isGraded': boolean; - /** - * - * @type {string} - * @memberof SubmissionStatusResponse - */ - 'submittingCourseGroupName'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts b/apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts deleted file mode 100644 index ec3267896e4..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/submissions-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { SubmissionItemResponse } from './submission-item-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { UserDataResponse } from './user-data-response'; - -/** - * - * @export - * @interface SubmissionsResponse - */ -export interface SubmissionsResponse { - /** - * - * @type {Array} - * @memberof SubmissionsResponse - */ - 'submissionItemsResponse': Array; - /** - * - * @type {Array} - * @memberof SubmissionsResponse - */ - 'users': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/successful-response.ts b/apps/server/src/infra/board-client/board-api-client/models/successful-response.ts deleted file mode 100644 index b1aea9f329e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/successful-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SuccessfulResponse - */ -export interface SuccessfulResponse { - /** - * - * @type {boolean} - * @memberof SuccessfulResponse - */ - 'successful': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts b/apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts deleted file mode 100644 index b9f3cf68e5b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/system-for-ldap-login-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SystemForLdapLoginResponse - */ -export interface SystemForLdapLoginResponse { - /** - * - * @type {string} - * @memberof SystemForLdapLoginResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof SystemForLdapLoginResponse - */ - 'type': string; - /** - * - * @type {string} - * @memberof SystemForLdapLoginResponse - */ - 'alias': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/system-type.ts b/apps/server/src/infra/board-client/board-api-client/models/system-type.ts deleted file mode 100644 index 02125271f20..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/system-type.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const SystemType = { - OAUTH: 'oauth', - LDAP: 'ldap', - OIDC: 'oidc', - TSP_BASE: 'tsp-base', - TSP_SCHOOL: 'tsp-school', - LOCAL: 'local', - ISERV: 'iserv', - LERNSAX: 'lernsax', - ITSLEARNING: 'itslearning', - MOODLE: 'moodle' -} as const; - -export type SystemType = typeof SystemType[keyof typeof SystemType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts deleted file mode 100644 index b3a0f614585..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/target-info-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TargetInfoResponse - */ -export interface TargetInfoResponse { - /** - * The id of the Target entity - * @type {string} - * @memberof TargetInfoResponse - */ - 'id': string; - /** - * The name of the Target entity - * @type {string} - * @memberof TargetInfoResponse - */ - 'name': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts b/apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts deleted file mode 100644 index 184d3cbff18..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/task-copy-api-params.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TaskCopyApiParams - */ -export interface TaskCopyApiParams { - /** - * Destination course parent Id the task is copied to - * @type {string} - * @memberof TaskCopyApiParams - */ - 'courseId'?: string; - /** - * Destination lesson parent Id the task is copied to - * @type {string} - * @memberof TaskCopyApiParams - */ - 'lessonId'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts deleted file mode 100644 index 8a5ed559ce2..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/task-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { TaskResponse } from './task-response'; - -/** - * - * @export - * @interface TaskListResponse - */ -export interface TaskListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof TaskListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof TaskListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof TaskListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof TaskListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-response.ts b/apps/server/src/infra/board-client/board-api-client/models/task-response.ts deleted file mode 100644 index 9a6357ec293..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/task-response.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { RichText } from './rich-text'; -// May contain unused imports in some cases -// @ts-ignore -import type { TaskStatusResponse } from './task-status-response'; - -/** - * - * @export - * @interface TaskResponse - */ -export interface TaskResponse { - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'id': string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'name': string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'availableDate'?: string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'dueDate'?: string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'courseName': string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'lessonName'?: string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'courseId': string; - /** - * Task description object, with props content: string and type: input format types - * @type {RichText} - * @memberof TaskResponse - */ - 'description'?: RichText; - /** - * - * @type {boolean} - * @memberof TaskResponse - */ - 'lessonHidden': boolean; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'displayColor'?: string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof TaskResponse - */ - 'updatedAt': string; - /** - * - * @type {TaskStatusResponse} - * @memberof TaskResponse - */ - 'status': TaskStatusResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts b/apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts deleted file mode 100644 index a6dbfcc01c4..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/task-status-response.ts +++ /dev/null @@ -1,60 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TaskStatusResponse - */ -export interface TaskStatusResponse { - /** - * - * @type {number} - * @memberof TaskStatusResponse - */ - 'submitted': number; - /** - * - * @type {number} - * @memberof TaskStatusResponse - */ - 'maxSubmissions': number; - /** - * - * @type {number} - * @memberof TaskStatusResponse - */ - 'graded': number; - /** - * - * @type {boolean} - * @memberof TaskStatusResponse - */ - 'isDraft': boolean; - /** - * - * @type {boolean} - * @memberof TaskStatusResponse - */ - 'isSubstitutionTeacher': boolean; - /** - * - * @type {boolean} - * @memberof TaskStatusResponse - */ - 'isFinished': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts b/apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts deleted file mode 100644 index bdfc43e0485..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/teacher-permission-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TeacherPermissionParams - */ -export interface TeacherPermissionParams { - /** - * - * @type {boolean} - * @memberof TeacherPermissionParams - */ - 'STUDENT_LIST'?: boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts b/apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts deleted file mode 100644 index 4f008e0fb1e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/team-permissions-body.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TeamPermissionsBody - */ -export interface TeamPermissionsBody { - /** - * - * @type {boolean} - * @memberof TeamPermissionsBody - */ - 'read': boolean; - /** - * - * @type {boolean} - * @memberof TeamPermissionsBody - */ - 'write': boolean; - /** - * - * @type {boolean} - * @memberof TeamPermissionsBody - */ - 'create': boolean; - /** - * - * @type {boolean} - * @memberof TeamPermissionsBody - */ - 'delete': boolean; - /** - * - * @type {boolean} - * @memberof TeamPermissionsBody - */ - 'share': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/timezone.ts b/apps/server/src/infra/board-client/board-api-client/models/timezone.ts deleted file mode 100644 index f116d9abde8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/timezone.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const Timezone = { - EUROPE_BERLIN: 'Europe/Berlin' -} as const; - -export type Timezone = typeof Timezone[keyof typeof Timezone]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts deleted file mode 100644 index e70c1e6fb8f..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/tool-config-type.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const ToolConfigType = { - BASIC: 'basic', - OAUTH2: 'oauth2', - LTI11: 'lti11' -} as const; - -export type ToolConfigType = typeof ToolConfigType[keyof typeof ToolConfigType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts deleted file mode 100644 index ab254bdefa5..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/tool-context-type.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const ToolContextType = { - COURSE: 'course', - BOARD_ELEMENT: 'board-element', - MEDIA_BOARD: 'media-board' -} as const; - -export type ToolContextType = typeof ToolContextType[keyof typeof ToolContextType]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts deleted file mode 100644 index 7e9f063252b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/tool-context-types-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ToolContextType } from './tool-context-type'; - -/** - * - * @export - * @interface ToolContextTypesListResponse - */ -export interface ToolContextTypesListResponse { - /** - * - * @type {Array} - * @memberof ToolContextTypesListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts deleted file mode 100644 index 66fea47871d..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/tool-launch-request-response.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ToolLaunchRequestResponse - */ -export interface ToolLaunchRequestResponse { - /** - * The Launch Request method (GET or POST) - * @type {string} - * @memberof ToolLaunchRequestResponse - */ - 'method': ToolLaunchRequestResponseMethod; - /** - * The URL for the Tool Launch Request - * @type {string} - * @memberof ToolLaunchRequestResponse - */ - 'url': string; - /** - * The payload for the Tool Launch Request (optional) - * @type {string} - * @memberof ToolLaunchRequestResponse - */ - 'payload'?: string; - /** - * Specifies whether the Tool should be launched in a new tab - * @type {boolean} - * @memberof ToolLaunchRequestResponse - */ - 'openNewTab'?: boolean; -} - -export const ToolLaunchRequestResponseMethod = { - GET: 'GET', - POST: 'POST' -} as const; - -export type ToolLaunchRequestResponseMethod = typeof ToolLaunchRequestResponseMethod[keyof typeof ToolLaunchRequestResponseMethod]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts deleted file mode 100644 index 3327c6bd0e1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/tool-reference-list-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ToolReferenceResponse } from './tool-reference-response'; - -/** - * - * @export - * @interface ToolReferenceListResponse - */ -export interface ToolReferenceListResponse { - /** - * - * @type {Array} - * @memberof ToolReferenceListResponse - */ - 'data': Array; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts b/apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts deleted file mode 100644 index 5e0f44737a8..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/tool-reference-response.ts +++ /dev/null @@ -1,69 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContextExternalToolConfigurationStatusResponse } from './context-external-tool-configuration-status-response'; - -/** - * - * @export - * @interface ToolReferenceResponse - */ -export interface ToolReferenceResponse { - /** - * The id of the tool in the context - * @type {string} - * @memberof ToolReferenceResponse - */ - 'contextToolId': string; - /** - * The description of the tool - * @type {string} - * @memberof ToolReferenceResponse - */ - 'description'?: string; - /** - * The url of the logo which is stored in the db - * @type {string} - * @memberof ToolReferenceResponse - */ - 'logoUrl'?: string; - /** - * The url of the thumbnail which is stored in the db - * @type {string} - * @memberof ToolReferenceResponse - */ - 'thumbnailUrl'?: string; - /** - * The display name of the tool - * @type {string} - * @memberof ToolReferenceResponse - */ - 'displayName': string; - /** - * Whether the tool should be opened in a new tab - * @type {boolean} - * @memberof ToolReferenceResponse - */ - 'openInNewTab': boolean; - /** - * The status of the tool - * @type {ContextExternalToolConfigurationStatusResponse} - * @memberof ToolReferenceResponse - */ - 'status': ContextExternalToolConfigurationStatusResponse; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts b/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts deleted file mode 100644 index aaef9e9abe1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params-data.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ContentElementType } from './content-element-type'; -// May contain unused imports in some cases -// @ts-ignore -import type { DrawingContentBody } from './drawing-content-body'; -// May contain unused imports in some cases -// @ts-ignore -import type { DrawingElementContentBody } from './drawing-element-content-body'; -// May contain unused imports in some cases -// @ts-ignore -import type { ExternalToolElementContentBody } from './external-tool-element-content-body'; -// May contain unused imports in some cases -// @ts-ignore -import type { FileElementContentBody } from './file-element-content-body'; -// May contain unused imports in some cases -// @ts-ignore -import type { LinkElementContentBody } from './link-element-content-body'; -// May contain unused imports in some cases -// @ts-ignore -import type { RichTextElementContentBody } from './rich-text-element-content-body'; -// May contain unused imports in some cases -// @ts-ignore -import type { SubmissionContainerElementContentBody } from './submission-container-element-content-body'; - -/** - * @type UpdateElementContentBodyParamsData - * @export - */ -export type UpdateElementContentBodyParamsData = DrawingElementContentBody | ExternalToolElementContentBody | FileElementContentBody | LinkElementContentBody | RichTextElementContentBody | SubmissionContainerElementContentBody; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts deleted file mode 100644 index c894cd9a151..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/update-element-content-body-params.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { UpdateElementContentBodyParamsData } from './update-element-content-body-params-data'; - -/** - * - * @export - * @interface UpdateElementContentBodyParams - */ -export interface UpdateElementContentBodyParams { - /** - * - * @type {UpdateElementContentBodyParamsData} - * @memberof UpdateElementContentBodyParams - */ - 'data': UpdateElementContentBodyParamsData; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts deleted file mode 100644 index 23479234acc..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/update-flag-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UpdateFlagParams - */ -export interface UpdateFlagParams { - /** - * updates flag for an import user - * @type {boolean} - * @memberof UpdateFlagParams - */ - 'flagged': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts deleted file mode 100644 index a1cc8557b29..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/update-match-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UpdateMatchParams - */ -export interface UpdateMatchParams { - /** - * updates local user reference for an import user - * @type {string} - * @memberof UpdateMatchParams - */ - 'userId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts deleted file mode 100644 index 9555af7a619..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/update-news-params.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UpdateNewsParams - */ -export interface UpdateNewsParams { - /** - * Title of the News entity - * @type {string} - * @memberof UpdateNewsParams - */ - 'title'?: string; - /** - * Content of the News entity - * @type {string} - * @memberof UpdateNewsParams - */ - 'content'?: string; - /** - * The point in time from when the News entity schould be displayed - * @type {string} - * @memberof UpdateNewsParams - */ - 'displayAt'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts b/apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts deleted file mode 100644 index a0add473d2c..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/update-submission-item-body-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UpdateSubmissionItemBodyParams - */ -export interface UpdateSubmissionItemBodyParams { - /** - * Boolean indicating whether the submission is completed. - * @type {boolean} - * @memberof UpdateSubmissionItemBodyParams - */ - 'completed': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts deleted file mode 100644 index 6d0f0c747eb..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-consent-response.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UserConsentResponse - */ -export interface UserConsentResponse { - /** - * - * @type {string} - * @memberof UserConsentResponse - */ - 'form': string; - /** - * - * @type {boolean} - * @memberof UserConsentResponse - */ - 'privacyConsent': boolean; - /** - * - * @type {boolean} - * @memberof UserConsentResponse - */ - 'termsOfUseConsent': boolean; - /** - * - * @type {string} - * @memberof UserConsentResponse - */ - 'dateOfPrivacyConsent': string; - /** - * - * @type {string} - * @memberof UserConsentResponse - */ - 'dateOfTermsOfUseConsent': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts deleted file mode 100644 index f05c3cf8355..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-data-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UserDataResponse - */ -export interface UserDataResponse { - /** - * - * @type {string} - * @memberof UserDataResponse - */ - 'firstName': string; - /** - * - * @type {string} - * @memberof UserDataResponse - */ - 'lastName': string; - /** - * - * @type {string} - * @memberof UserDataResponse - */ - 'userId': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts deleted file mode 100644 index 4b60e8a93eb..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-info-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UserInfoResponse - */ -export interface UserInfoResponse { - /** - * The id of the User entity - * @type {string} - * @memberof UserInfoResponse - */ - 'id': string; - /** - * First name of the user - * @type {string} - * @memberof UserInfoResponse - */ - 'firstName'?: string; - /** - * Last name of the user - * @type {string} - * @memberof UserInfoResponse - */ - 'lastName'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts deleted file mode 100644 index 491aae0ae27..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { UserResponse } from './user-response'; - -/** - * - * @export - * @interface UserListResponse - */ -export interface UserListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof UserListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof UserListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof UserListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof UserListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts deleted file mode 100644 index 1008cf17af7..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-mandatory-params.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UserLoginMigrationMandatoryParams - */ -export interface UserLoginMigrationMandatoryParams { - /** - * - * @type {boolean} - * @memberof UserLoginMigrationMandatoryParams - */ - 'mandatory': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts deleted file mode 100644 index e4a80c6e8e0..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-response.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UserLoginMigrationResponse - */ -export interface UserLoginMigrationResponse { - /** - * Id of the migration - * @type {string} - * @memberof UserLoginMigrationResponse - */ - 'id': string; - /** - * Id of the system which is the origin of the migration - * @type {string} - * @memberof UserLoginMigrationResponse - */ - 'sourceSystemId'?: string; - /** - * Id of the system which is the target of the migration - * @type {string} - * @memberof UserLoginMigrationResponse - */ - 'targetSystemId': string; - /** - * Date when the migration was marked as required - * @type {string} - * @memberof UserLoginMigrationResponse - */ - 'mandatorySince'?: string; - /** - * Date when the migration was started - * @type {string} - * @memberof UserLoginMigrationResponse - */ - 'startedAt': string; - /** - * Date when the migration was completed - * @type {string} - * @memberof UserLoginMigrationResponse - */ - 'closedAt'?: string; - /** - * Date when the migration was completed including the grace period - * @type {string} - * @memberof UserLoginMigrationResponse - */ - 'finishedAt'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts deleted file mode 100644 index eaf7abea2d9..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-login-migration-search-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { UserLoginMigrationResponse } from './user-login-migration-response'; - -/** - * - * @export - * @interface UserLoginMigrationSearchListResponse - */ -export interface UserLoginMigrationSearchListResponse { - /** - * Contains user login migration responses - * @type {Array} - * @memberof UserLoginMigrationSearchListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof UserLoginMigrationSearchListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof UserLoginMigrationSearchListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof UserLoginMigrationSearchListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts deleted file mode 100644 index d5daa422774..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-match-list-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { UserMatchResponse } from './user-match-response'; - -/** - * - * @export - * @interface UserMatchListResponse - */ -export interface UserMatchListResponse { - /** - * The items for the current page. - * @type {Array} - * @memberof UserMatchListResponse - */ - 'data': Array; - /** - * The total amount of items. - * @type {number} - * @memberof UserMatchListResponse - */ - 'total': number; - /** - * The amount of items skipped from the start. - * @type {number} - * @memberof UserMatchListResponse - */ - 'skip': number; - /** - * The page size of the response. - * @type {number} - * @memberof UserMatchListResponse - */ - 'limit': number; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts deleted file mode 100644 index 7d1ac2ddbd9..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-match-response.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface UserMatchResponse - */ -export interface UserMatchResponse { - /** - * local user id - * @type {string} - * @memberof UserMatchResponse - */ - 'userId': string; - /** - * login name of local user - * @type {string} - * @memberof UserMatchResponse - */ - 'loginName': string; - /** - * firstname of local user - * @type {string} - * @memberof UserMatchResponse - */ - 'firstName': string; - /** - * lastname of local user - * @type {string} - * @memberof UserMatchResponse - */ - 'lastName': string; - /** - * list of user roles from external system: student, teacher, admin - * @type {Array} - * @memberof UserMatchResponse - */ - 'roleNames': Array; - /** - * match type: admin (manual) or auto (set, when names match exactly for a single user - * @type {string} - * @memberof UserMatchResponse - */ - 'matchedBy'?: UserMatchResponseMatchedBy; -} - -export const UserMatchResponseRoleNames = { - STUDENT: 'student', - TEACHER: 'teacher', - ADMIN: 'admin' -} as const; - -export type UserMatchResponseRoleNames = typeof UserMatchResponseRoleNames[keyof typeof UserMatchResponseRoleNames]; -export const UserMatchResponseMatchedBy = { - AUTO: 'auto', - ADMIN: 'admin' -} as const; - -export type UserMatchResponseMatchedBy = typeof UserMatchResponseMatchedBy[keyof typeof UserMatchResponseMatchedBy]; - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/user-response.ts b/apps/server/src/infra/board-client/board-api-client/models/user-response.ts deleted file mode 100644 index 62d08be213a..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/user-response.ts +++ /dev/null @@ -1,108 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { ClassResponse } from './class-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { ConsentsResponse } from './consents-response'; - -/** - * - * @export - * @interface UserResponse - */ -export interface UserResponse { - /** - * - * @type {string} - * @memberof UserResponse - */ - '_id': string; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'firstName': string; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'lastName': string; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'email': string; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'createdAt': string; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'birthday': string; - /** - * - * @type {object} - * @memberof UserResponse - */ - 'preferences': object; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'consentStatus': string; - /** - * - * @type {ConsentsResponse} - * @memberof UserResponse - */ - 'consent': ConsentsResponse; - /** - * - * @type {Array} - * @memberof UserResponse - */ - 'classes': Array; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'importHash': string; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'lastLoginSystemChange': string; - /** - * - * @type {string} - * @memberof UserResponse - */ - 'outdatedSince': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/validation-error.ts b/apps/server/src/infra/board-client/board-api-client/models/validation-error.ts deleted file mode 100644 index 1d4a243051e..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/validation-error.ts +++ /dev/null @@ -1,54 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface ValidationError - */ -export interface ValidationError { - /** - * The response status code. - * @type {number} - * @memberof ValidationError - */ - 'code': number; - /** - * The error type. - * @type {string} - * @memberof ValidationError - */ - 'type': string; - /** - * The error title. - * @type {string} - * @memberof ValidationError - */ - 'title': string; - /** - * The error message. - * @type {string} - * @memberof ValidationError - */ - 'message': string; - /** - * The error details. - * @type {object} - * @memberof ValidationError - */ - 'details'?: object; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts deleted file mode 100644 index d40cd5b1298..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/video-conference-create-params.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface VideoConferenceCreateParams - */ -export interface VideoConferenceCreateParams { - /** - * - * @type {boolean} - * @memberof VideoConferenceCreateParams - */ - 'everyAttendeeJoinsMuted'?: boolean; - /** - * - * @type {boolean} - * @memberof VideoConferenceCreateParams - */ - 'everybodyJoinsAsModerator'?: boolean; - /** - * - * @type {boolean} - * @memberof VideoConferenceCreateParams - */ - 'moderatorMustApproveJoinRequests'?: boolean; - /** - * The URL that the BigBlueButton client will go to after users click the OK button on the ‘You have been logged out’ or ’This session was ended’ message. Has to be a URL from the same domain that the conference is started from. - * @type {string} - * @memberof VideoConferenceCreateParams - */ - 'logoutUrl'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts deleted file mode 100644 index a5bbac3f395..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/video-conference-info-response.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { VideoConferenceOptionsResponse } from './video-conference-options-response'; -// May contain unused imports in some cases -// @ts-ignore -import type { VideoConferenceStateResponse } from './video-conference-state-response'; - -/** - * - * @export - * @interface VideoConferenceInfoResponse - */ -export interface VideoConferenceInfoResponse { - /** - * - * @type {VideoConferenceStateResponse} - * @memberof VideoConferenceInfoResponse - */ - 'state': VideoConferenceStateResponse; - /** - * The options for the video conference. - * @type {VideoConferenceOptionsResponse} - * @memberof VideoConferenceInfoResponse - */ - 'options': VideoConferenceOptionsResponse; -} - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts deleted file mode 100644 index de608c5d215..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/video-conference-join-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface VideoConferenceJoinResponse - */ -export interface VideoConferenceJoinResponse { - /** - * The URL to join the video conference. - * @type {string} - * @memberof VideoConferenceJoinResponse - */ - 'url': string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts deleted file mode 100644 index 11e9a6e1172..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/video-conference-options-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface VideoConferenceOptionsResponse - */ -export interface VideoConferenceOptionsResponse { - /** - * Every attendee joins muted - * @type {boolean} - * @memberof VideoConferenceOptionsResponse - */ - 'everyAttendeeJoinsMuted': boolean; - /** - * Every attendee joins as a moderator - * @type {boolean} - * @memberof VideoConferenceOptionsResponse - */ - 'everybodyJoinsAsModerator': boolean; - /** - * Moderator must approve join requests - * @type {boolean} - * @memberof VideoConferenceOptionsResponse - */ - 'moderatorMustApproveJoinRequests': boolean; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts deleted file mode 100644 index ced35a6f9e1..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/video-conference-scope.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const VideoConferenceScope = { - COURSE: 'course', - EVENT: 'event' -} as const; - -export type VideoConferenceScope = typeof VideoConferenceScope[keyof typeof VideoConferenceScope]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts b/apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts deleted file mode 100644 index 685c3fc1ea3..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/video-conference-state-response.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @enum {string} - */ - -export const VideoConferenceStateResponse = { - NOT_STARTED: 'NOT_STARTED', - RUNNING: 'RUNNING', - FINISHED: 'FINISHED' -} as const; - -export type VideoConferenceStateResponse = typeof VideoConferenceStateResponse[keyof typeof VideoConferenceStateResponse]; - - - diff --git a/apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts b/apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts deleted file mode 100644 index 91baa51c30b..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/visibility-settings-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface VisibilitySettingsResponse - */ -export interface VisibilitySettingsResponse { - /** - * - * @type {string} - * @memberof VisibilitySettingsResponse - */ - 'publishedAt'?: string; -} - diff --git a/apps/server/src/infra/board-client/board-api-client/models/years-response.ts b/apps/server/src/infra/board-client/board-api-client/models/years-response.ts deleted file mode 100644 index 5ea80490534..00000000000 --- a/apps/server/src/infra/board-client/board-api-client/models/years-response.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Schulcloud-Verbund-Software Server API - * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. - * - * The version of the OpenAPI document: 3.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import type { SchoolYearResponse } from './school-year-response'; - -/** - * - * @export - * @interface YearsResponse - */ -export interface YearsResponse { - /** - * - * @type {Array} - * @memberof YearsResponse - */ - 'schoolYears': Array; - /** - * - * @type {SchoolYearResponse} - * @memberof YearsResponse - */ - 'activeYear': SchoolYearResponse; - /** - * - * @type {SchoolYearResponse} - * @memberof YearsResponse - */ - 'lastYear': SchoolYearResponse; - /** - * - * @type {SchoolYearResponse} - * @memberof YearsResponse - */ - 'nextYear': SchoolYearResponse; -} - From a2becf1bdef46589f058cd0d74abd73d534e3dc4 Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Tue, 20 Aug 2024 15:22:49 +0200 Subject: [PATCH 05/14] EW-811: Base for board client module. --- .../board-client/board-client.adapter.ts | 8 ++++++ .../infra/board-client/board-client.config.ts | 5 ++++ .../infra/board-client/board-client.module.ts | 26 +++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 apps/server/src/infra/board-client/board-client.adapter.ts create mode 100644 apps/server/src/infra/board-client/board-client.config.ts create mode 100644 apps/server/src/infra/board-client/board-client.module.ts diff --git a/apps/server/src/infra/board-client/board-client.adapter.ts b/apps/server/src/infra/board-client/board-client.adapter.ts new file mode 100644 index 00000000000..c645383e259 --- /dev/null +++ b/apps/server/src/infra/board-client/board-client.adapter.ts @@ -0,0 +1,8 @@ +import { Inject, Injectable } from '@nestjs/common'; +import { REQUEST } from '@nestjs/core'; +import { BoardApi } from './board-api-client'; + +@Injectable() +export class BoardClientAdapter { + constructor(private readonly boardApi: BoardApi, @Inject(REQUEST) private request: Request) {} +} diff --git a/apps/server/src/infra/board-client/board-client.config.ts b/apps/server/src/infra/board-client/board-client.config.ts new file mode 100644 index 00000000000..7aaf48b5bfc --- /dev/null +++ b/apps/server/src/infra/board-client/board-client.config.ts @@ -0,0 +1,5 @@ +import { ConfigurationParameters } from './board-api-client'; + +export interface BoardClientConfig extends ConfigurationParameters { + basePath?: string; +} diff --git a/apps/server/src/infra/board-client/board-client.module.ts b/apps/server/src/infra/board-client/board-client.module.ts new file mode 100644 index 00000000000..3ad0125843d --- /dev/null +++ b/apps/server/src/infra/board-client/board-client.module.ts @@ -0,0 +1,26 @@ +import { DynamicModule, Module } from '@nestjs/common'; +import { BoardClientAdapter } from './board-client.adapter'; +import { BoardApi, Configuration } from './board-api-client'; +import { BoardClientConfig } from './board-client.config'; + +@Module({}) +export class BoardClientModule { + static register(config: BoardClientConfig): DynamicModule { + const providers = [ + BoardClientAdapter, + { + provide: BoardApi, + useFactory: () => { + const configuration = new Configuration(config); + return new BoardApi(configuration); + }, + }, + ]; + + return { + module: BoardClientModule, + providers, + exports: [BoardClientAdapter], + }; + } +} From 8a82540270fa91b6109dd928cf92384ecccb46e2 Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Wed, 21 Aug 2024 11:41:43 +0200 Subject: [PATCH 06/14] EW-811: Create getJwt and options methods to Adapter. --- .../board-client/board-client.adapter.ts | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/apps/server/src/infra/board-client/board-client.adapter.ts b/apps/server/src/infra/board-client/board-client.adapter.ts index c645383e259..92b1491801e 100644 --- a/apps/server/src/infra/board-client/board-client.adapter.ts +++ b/apps/server/src/infra/board-client/board-client.adapter.ts @@ -1,8 +1,28 @@ -import { Inject, Injectable } from '@nestjs/common'; +import { Inject, Injectable, UnauthorizedException } from '@nestjs/common'; import { REQUEST } from '@nestjs/core'; +import { extractJwtFromHeader } from '@shared/common'; +import { RawAxiosRequestConfig } from 'axios'; +import { Request } from 'express'; import { BoardApi } from './board-api-client'; @Injectable() export class BoardClientAdapter { constructor(private readonly boardApi: BoardApi, @Inject(REQUEST) private request: Request) {} + + private createOptionParams(): RawAxiosRequestConfig { + const jwt = this.getJwt(); + const options: RawAxiosRequestConfig = { headers: { authorization: `Bearer ${jwt}` } }; + + return options; + } + + private getJwt(): string { + const jwt = extractJwtFromHeader(this.request) ?? this.request.headers.authorization; + + if (!jwt) { + throw new UnauthorizedException('No JWT found in request'); + } + + return jwt; + } } From 359b969c9e38aec94f12c4d4998e411a07838431 Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Wed, 21 Aug 2024 16:48:06 +0200 Subject: [PATCH 07/14] Move to cc service. --- .../board-api-client}/board-client/board-api-client/.gitignore | 0 .../board-api-client}/board-client/board-api-client/.npmignore | 0 .../board-client/board-api-client/.openapi-generator-ignore | 0 .../board-client/board-api-client/.openapi-generator/FILES | 0 .../board-api-client}/board-client/board-api-client/api.ts | 0 .../board-client/board-api-client/api/board-api.ts | 0 .../board-api-client}/board-client/board-api-client/base.ts | 0 .../board-api-client}/board-client/board-api-client/common.ts | 0 .../board-client/board-api-client/configuration.ts | 0 .../board-api-client}/board-client/board-api-client/git_push.sh | 0 .../board-api-client}/board-client/board-api-client/index.ts | 0 .../board-client/board-api-client/models/api-validation-error.ts | 0 .../board-api-client/models/board-context-response.ts | 0 .../board-api-client/models/board-external-reference-type.ts | 0 .../board-client/board-api-client/models/board-layout.ts | 0 .../board-client/board-api-client/models/board-parent-type.ts | 0 .../board-client/board-api-client/models/board-response.ts | 0 .../board-api-client/models/card-skeleton-response.ts | 0 .../board-client/board-api-client/models/column-response.ts | 0 .../board-client/board-api-client/models/copy-api-response.ts | 0 .../board-api-client/models/create-board-body-params.ts | 0 .../board-client/board-api-client/models/create-board-response.ts | 0 .../board-client/board-api-client/models/index.ts | 0 .../board-client/board-api-client/models/timestamps-response.ts | 0 .../board-api-client/models/update-board-title-params.ts | 0 .../board-api-client/models/visibility-body-params.ts | 0 .../board-api-client}/board-client/board-client.adapter.ts | 0 .../board-api-client}/board-client/board-client.config.ts | 0 .../board-api-client}/board-client/board-client.module.ts | 0 29 files changed, 0 insertions(+), 0 deletions(-) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/.gitignore (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/.npmignore (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/.openapi-generator-ignore (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/.openapi-generator/FILES (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/api.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/api/board-api.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/base.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/common.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/configuration.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/git_push.sh (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/index.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/api-validation-error.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/board-context-response.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/board-external-reference-type.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/board-layout.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/board-parent-type.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/board-response.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/card-skeleton-response.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/column-response.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/copy-api-response.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/create-board-body-params.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/create-board-response.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/index.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/timestamps-response.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/update-board-title-params.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-api-client/models/visibility-body-params.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-client.adapter.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-client.config.ts (100%) rename apps/server/src/{infra => modules/common-cartridge/common-cartridge-client/board-api-client}/board-client/board-client.module.ts (100%) diff --git a/apps/server/src/infra/board-client/board-api-client/.gitignore b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.gitignore similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/.gitignore rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.gitignore diff --git a/apps/server/src/infra/board-client/board-api-client/.npmignore b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.npmignore similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/.npmignore rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.npmignore diff --git a/apps/server/src/infra/board-client/board-api-client/.openapi-generator-ignore b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator-ignore similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/.openapi-generator-ignore rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator-ignore diff --git a/apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator/FILES similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/.openapi-generator/FILES rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator/FILES diff --git a/apps/server/src/infra/board-client/board-api-client/api.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/api.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api.ts diff --git a/apps/server/src/infra/board-client/board-api-client/api/board-api.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api/board-api.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/api/board-api.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api/board-api.ts diff --git a/apps/server/src/infra/board-client/board-api-client/base.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/base.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/base.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/base.ts diff --git a/apps/server/src/infra/board-client/board-api-client/common.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/common.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/common.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/common.ts diff --git a/apps/server/src/infra/board-client/board-api-client/configuration.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/configuration.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/configuration.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/configuration.ts diff --git a/apps/server/src/infra/board-client/board-api-client/git_push.sh b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/git_push.sh similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/git_push.sh rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/git_push.sh diff --git a/apps/server/src/infra/board-client/board-api-client/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/index.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/index.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/index.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/api-validation-error.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/api-validation-error.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/api-validation-error.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/api-validation-error.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-context-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-context-response.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/board-context-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-context-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-external-reference-type.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-external-reference-type.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/board-external-reference-type.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-external-reference-type.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-layout.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-layout.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/board-layout.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-layout.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-parent-type.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-parent-type.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/board-parent-type.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-parent-type.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/board-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-response.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/board-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/card-skeleton-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/card-skeleton-response.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/card-skeleton-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/card-skeleton-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/column-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/column-response.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/column-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/column-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/copy-api-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/copy-api-response.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/copy-api-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/copy-api-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-board-body-params.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-body-params.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/create-board-body-params.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-body-params.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/create-board-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-response.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/create-board-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/index.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/index.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/index.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/timestamps-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/timestamps-response.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/timestamps-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/timestamps-response.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/update-board-title-params.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/update-board-title-params.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/update-board-title-params.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/update-board-title-params.ts diff --git a/apps/server/src/infra/board-client/board-api-client/models/visibility-body-params.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/visibility-body-params.ts similarity index 100% rename from apps/server/src/infra/board-client/board-api-client/models/visibility-body-params.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/visibility-body-params.ts diff --git a/apps/server/src/infra/board-client/board-client.adapter.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts similarity index 100% rename from apps/server/src/infra/board-client/board-client.adapter.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts diff --git a/apps/server/src/infra/board-client/board-client.config.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts similarity index 100% rename from apps/server/src/infra/board-client/board-client.config.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts diff --git a/apps/server/src/infra/board-client/board-client.module.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.module.ts similarity index 100% rename from apps/server/src/infra/board-client/board-client.module.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.module.ts From 86100d5e33cb2b8e20ce4cd76de0558885ac435d Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Thu, 22 Aug 2024 15:28:34 +0200 Subject: [PATCH 08/14] EW-811: Add getBoards to BoardClientAdapter. --- .../board-client/board-client.adapter.ts | 13 +++++++++ .../board-client/board-client.config.ts | 2 +- .../dto/board-skeleton.dto.ts | 21 ++++++++++++++ .../board-api-client/dto/card-skeleton.dto.ts | 10 +++++++ .../dto/column-skeleton.dto.ts | 15 ++++++++++ .../board-api-client/dto/index.ts | 3 ++ .../mapper/board-skeleton-response.mapper.ts | 29 +++++++++++++++++++ .../board-api-client/mapper/index.ts | 1 + .../common-cartridge.module.ts | 5 ++++ .../common-cartridge-export.service.ts | 6 +++- 10 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/board-skeleton.dto.ts create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/card-skeleton.dto.ts create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/column-skeleton.dto.ts create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/index.ts create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/board-skeleton-response.mapper.ts create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/index.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts index 92b1491801e..e0291909117 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts @@ -4,11 +4,24 @@ import { extractJwtFromHeader } from '@shared/common'; import { RawAxiosRequestConfig } from 'axios'; import { Request } from 'express'; import { BoardApi } from './board-api-client'; +import { BoardSkeletonDtoMapper } from '../mapper'; +import { BoardSkeletonDto } from '../dto'; @Injectable() export class BoardClientAdapter { constructor(private readonly boardApi: BoardApi, @Inject(REQUEST) private request: Request) {} + public async getBoard(boardId: string): Promise { + const options = this.createOptionParams(); + const boardResponse = await this.boardApi + .boardControllerGetBoardSkeleton(boardId, options) + .then((response) => response.data); + + const boardSkeletonDto = BoardSkeletonDtoMapper.mapToBoardSkeletonDto(boardResponse); + + return boardSkeletonDto; + } + private createOptionParams(): RawAxiosRequestConfig { const jwt = this.getJwt(); const options: RawAxiosRequestConfig = { headers: { authorization: `Bearer ${jwt}` } }; diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts index 7aaf48b5bfc..ba6d1e4ad52 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts @@ -1,5 +1,5 @@ import { ConfigurationParameters } from './board-api-client'; export interface BoardClientConfig extends ConfigurationParameters { - basePath?: string; + basePath: string; } diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/board-skeleton.dto.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/board-skeleton.dto.ts new file mode 100644 index 00000000000..144ac8e4786 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/board-skeleton.dto.ts @@ -0,0 +1,21 @@ +import { ColumnSkeletonDto } from './column-skeleton.dto'; + +export class BoardSkeletonDto { + boardId: string; + + title: string; + + columns: ColumnSkeletonDto[]; + + isVisible: boolean; + + layout: string; + + constructor(props: BoardSkeletonDto) { + this.boardId = props.boardId; + this.title = props.title; + this.columns = props.columns; + this.isVisible = props.isVisible; + this.layout = props.layout; + } +} diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/card-skeleton.dto.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/card-skeleton.dto.ts new file mode 100644 index 00000000000..fe50f01386f --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/card-skeleton.dto.ts @@ -0,0 +1,10 @@ +export class CardSkeletonDto { + cardId: string; + + height: number; + + constructor(props: CardSkeletonDto) { + this.cardId = props.cardId; + this.height = props.height; + } +} diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/column-skeleton.dto.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/column-skeleton.dto.ts new file mode 100644 index 00000000000..1094edefbc4 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/column-skeleton.dto.ts @@ -0,0 +1,15 @@ +import { CardSkeletonDto } from './card-skeleton.dto'; + +export class ColumnSkeletonDto { + columnId: string; + + title: string; + + cards: CardSkeletonDto[]; + + constructor(props: ColumnSkeletonDto) { + this.columnId = props.columnId; + this.title = props.title; + this.cards = props.cards; + } +} diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/index.ts new file mode 100644 index 00000000000..58a91c50d68 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/index.ts @@ -0,0 +1,3 @@ +export { BoardSkeletonDto } from './board-skeleton.dto'; +export { ColumnSkeletonDto } from './column-skeleton.dto'; +export { CardSkeletonDto } from './card-skeleton.dto'; diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/board-skeleton-response.mapper.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/board-skeleton-response.mapper.ts new file mode 100644 index 00000000000..d9ff984c16b --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/board-skeleton-response.mapper.ts @@ -0,0 +1,29 @@ +import { BoardResponse, ColumnResponse, CardSkeletonResponse } from '../board-client/board-api-client'; +import { BoardSkeletonDto, ColumnSkeletonDto, CardSkeletonDto } from '../dto'; + +export class BoardSkeletonDtoMapper { + public static mapToBoardSkeletonDto(boardResponse: BoardResponse): BoardSkeletonDto { + return new BoardSkeletonDto({ + boardId: boardResponse.id, + title: boardResponse.title, + columns: boardResponse.columns.map((column) => this.mapToColumnSkeletonDto(column)), + isVisible: boardResponse.isVisible, + layout: boardResponse.layout, + }); + } + + private static mapToColumnSkeletonDto(columnResponse: ColumnResponse): ColumnSkeletonDto { + return new ColumnSkeletonDto({ + columnId: columnResponse.id, + title: columnResponse.title, + cards: columnResponse.cards.map((card) => this.mapToCardSkeletonDto(card)), + }); + } + + private static mapToCardSkeletonDto(cardResponse: CardSkeletonResponse): CardSkeletonDto { + return new CardSkeletonDto({ + cardId: cardResponse.cardId, + height: cardResponse.height, + }); + } +} diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/index.ts new file mode 100644 index 00000000000..0213105c0d1 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/index.ts @@ -0,0 +1 @@ +export { BoardSkeletonDtoMapper } from './board-skeleton-response.mapper'; diff --git a/apps/server/src/modules/common-cartridge/common-cartridge.module.ts b/apps/server/src/modules/common-cartridge/common-cartridge.module.ts index 0e0e929c7d7..903a421fac7 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge.module.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge.module.ts @@ -1,3 +1,4 @@ +import { Configuration } from '@hpi-schul-cloud/commons'; import { MikroOrmModule } from '@mikro-orm/nestjs'; import { FilesStorageClientModule } from '@modules/files-storage-client'; import { Module } from '@nestjs/common'; @@ -5,6 +6,7 @@ import { ALL_ENTITIES } from '@shared/domain/entity'; import { DB_PASSWORD, DB_URL, DB_USERNAME } from '@src/config'; import { RabbitMQWrapperModule } from '@src/infra/rabbitmq'; import { defaultMikroOrmOptions } from '../server'; +import { BoardClientModule } from './common-cartridge-client/board-api-client/board-client/board-client.module'; import { CommonCartridgeExportService } from './service/common-cartridge-export.service'; import { CommonCartridgeUc } from './uc/common-cartridge.uc'; @@ -20,6 +22,9 @@ import { CommonCartridgeUc } from './uc/common-cartridge.uc'; user: DB_USERNAME, entities: ALL_ENTITIES, }), + BoardClientModule.register({ + basePath: `${Configuration.get('API_HOST') as string}/v3/`, + }), ], providers: [CommonCartridgeUc, CommonCartridgeExportService], exports: [CommonCartridgeUc], diff --git a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts index 15918e20675..7027b103c9a 100644 --- a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts +++ b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts @@ -1,9 +1,13 @@ import { FileDto, FilesStorageClientAdapterService } from '@modules/files-storage-client'; import { Injectable } from '@nestjs/common'; +import { BoardClientAdapter } from '../common-cartridge-client/board-api-client/board-client/board-client.adapter'; @Injectable() export class CommonCartridgeExportService { - constructor(private readonly filesService: FilesStorageClientAdapterService) {} + constructor( + private readonly filesService: FilesStorageClientAdapterService, + private readonly boardClientAdapter: BoardClientAdapter + ) {} public async findCourseFileRecords(courseId: string): Promise { const courseFiles = await this.filesService.listFilesOfParent(courseId); From 8bfa6fc15794dcee81f6fd1e88ce8ea113556ada Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Fri, 23 Aug 2024 08:14:15 +0200 Subject: [PATCH 09/14] Add missing provider in test. --- .../service/common-cartridge-export.service.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts index 571a73b0d6a..4a17e11612e 100644 --- a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts +++ b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts @@ -2,6 +2,7 @@ import { faker } from '@faker-js/faker'; import { DeepMocked, createMock } from '@golevelup/ts-jest'; import { FilesStorageClientAdapterService } from '@modules/files-storage-client'; import { Test, TestingModule } from '@nestjs/testing'; +import { BoardClientAdapter } from '../common-cartridge-client/board-api-client/board-client/board-client.adapter'; import { CommonCartridgeExportService } from './common-cartridge-export.service'; describe('CommonCartridgeExportService', () => { @@ -17,6 +18,10 @@ describe('CommonCartridgeExportService', () => { provide: FilesStorageClientAdapterService, useValue: createMock(), }, + { + provide: BoardClientAdapter, + useValue: createMock(), + }, ], }).compile(); From f06c77a43c1437c57cc87067843a53c0ab10910c Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Fri, 23 Aug 2024 10:13:38 +0200 Subject: [PATCH 10/14] Clean up folder structure and add index.ts for exported api. --- .../board-client/board-api-client/.gitignore | 0 .../board-client/board-api-client/.npmignore | 0 .../board-client/board-api-client/.openapi-generator-ignore | 0 .../board-client/board-api-client/.openapi-generator/FILES | 0 .../board-client/board-api-client/api.ts | 0 .../board-client/board-api-client/api/board-api.ts | 0 .../board-client/board-api-client/base.ts | 0 .../board-client/board-api-client/common.ts | 0 .../board-client/board-api-client/configuration.ts | 0 .../board-client/board-api-client/git_push.sh | 0 .../board-client/board-api-client/index.ts | 0 .../board-api-client/models/api-validation-error.ts | 0 .../board-api-client/models/board-context-response.ts | 0 .../board-api-client/models/board-external-reference-type.ts | 0 .../board-client/board-api-client/models/board-layout.ts | 0 .../board-client/board-api-client/models/board-parent-type.ts | 0 .../board-client/board-api-client/models/board-response.ts | 0 .../board-api-client/models/card-skeleton-response.ts | 0 .../board-client/board-api-client/models/column-response.ts | 0 .../board-client/board-api-client/models/copy-api-response.ts | 0 .../board-api-client/models/create-board-body-params.ts | 0 .../board-api-client/models/create-board-response.ts | 0 .../board-client/board-api-client/models/index.ts | 0 .../board-api-client/models/timestamps-response.ts | 0 .../board-api-client/models/update-board-title-params.ts | 0 .../board-api-client/models/visibility-body-params.ts | 0 .../board-client/board-client.adapter.ts | 4 ++-- .../board-client/board-client.config.ts | 0 .../board-client/board-client.module.ts | 0 .../dto/board-skeleton.dto.ts | 0 .../dto/card-skeleton.dto.ts | 0 .../dto/column-skeleton.dto.ts | 0 .../{board-api-client => board-client}/dto/index.ts | 0 .../common-cartridge-client/board-client/index.ts | 4 ++++ .../mapper/board-skeleton-response.mapper.ts | 2 +- .../{board-api-client => board-client}/mapper/index.ts | 0 36 files changed, 7 insertions(+), 3 deletions(-) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/.gitignore (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/.npmignore (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/.openapi-generator-ignore (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/.openapi-generator/FILES (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/api.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/api/board-api.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/base.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/common.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/configuration.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/git_push.sh (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/index.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/api-validation-error.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/board-context-response.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/board-external-reference-type.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/board-layout.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/board-parent-type.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/board-response.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/card-skeleton-response.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/column-response.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/copy-api-response.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/create-board-body-params.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/create-board-response.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/index.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/timestamps-response.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/update-board-title-params.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-api-client/models/visibility-body-params.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-client.adapter.ts (92%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-client.config.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => }/board-client/board-client.module.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => board-client}/dto/board-skeleton.dto.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => board-client}/dto/card-skeleton.dto.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => board-client}/dto/column-skeleton.dto.ts (100%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => board-client}/dto/index.ts (100%) create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/index.ts rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => board-client}/mapper/board-skeleton-response.mapper.ts (96%) rename apps/server/src/modules/common-cartridge/common-cartridge-client/{board-api-client => board-client}/mapper/index.ts (100%) diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.gitignore b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.gitignore similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.gitignore rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.gitignore diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.npmignore b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.npmignore similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.npmignore rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.npmignore diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator-ignore b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.openapi-generator-ignore similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator-ignore rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.openapi-generator-ignore diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator/FILES b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.openapi-generator/FILES similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/.openapi-generator/FILES rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/.openapi-generator/FILES diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/api.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/api.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api/board-api.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/api/board-api.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/api/board-api.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/api/board-api.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/base.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/base.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/base.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/base.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/common.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/common.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/common.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/common.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/configuration.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/configuration.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/configuration.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/configuration.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/git_push.sh b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/git_push.sh similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/git_push.sh rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/git_push.sh diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/index.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/index.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/index.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/api-validation-error.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/api-validation-error.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/api-validation-error.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/api-validation-error.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-context-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-context-response.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-context-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-context-response.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-external-reference-type.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-external-reference-type.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-external-reference-type.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-external-reference-type.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-layout.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-layout.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-layout.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-layout.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-parent-type.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-parent-type.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-parent-type.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-parent-type.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-response.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/board-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/board-response.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/card-skeleton-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/card-skeleton-response.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/card-skeleton-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/card-skeleton-response.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/column-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/column-response.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/column-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/column-response.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/copy-api-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/copy-api-response.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/copy-api-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/copy-api-response.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-body-params.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/create-board-body-params.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-body-params.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/create-board-body-params.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/create-board-response.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/create-board-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/create-board-response.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/index.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/index.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/index.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/timestamps-response.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/timestamps-response.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/timestamps-response.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/timestamps-response.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/update-board-title-params.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/update-board-title-params.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/update-board-title-params.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/update-board-title-params.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/visibility-body-params.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/visibility-body-params.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-api-client/models/visibility-body-params.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-api-client/models/visibility-body-params.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.ts similarity index 92% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.ts index e0291909117..3dbd04993d7 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.adapter.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.ts @@ -4,8 +4,8 @@ import { extractJwtFromHeader } from '@shared/common'; import { RawAxiosRequestConfig } from 'axios'; import { Request } from 'express'; import { BoardApi } from './board-api-client'; -import { BoardSkeletonDtoMapper } from '../mapper'; -import { BoardSkeletonDto } from '../dto'; +import { BoardSkeletonDtoMapper } from './mapper'; +import { BoardSkeletonDto } from './dto'; @Injectable() export class BoardClientAdapter { diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.config.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.config.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.config.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.module.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.module.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/board-client/board-client.module.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.module.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/board-skeleton.dto.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/board-skeleton.dto.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/board-skeleton.dto.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/board-skeleton.dto.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/card-skeleton.dto.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/card-skeleton.dto.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/card-skeleton.dto.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/card-skeleton.dto.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/column-skeleton.dto.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/column-skeleton.dto.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/column-skeleton.dto.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/column-skeleton.dto.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/index.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/dto/index.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/dto/index.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/index.ts new file mode 100644 index 00000000000..4347b129920 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/index.ts @@ -0,0 +1,4 @@ +export { BoardClientModule } from './board-client.module'; +export { BoardClientConfig } from './board-client.config'; +export { BoardClientAdapter } from './board-client.adapter'; +export * from './dto'; diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/board-skeleton-response.mapper.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/board-skeleton-response.mapper.ts similarity index 96% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/board-skeleton-response.mapper.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/board-skeleton-response.mapper.ts index d9ff984c16b..15e12d3b2a3 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/board-skeleton-response.mapper.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/board-skeleton-response.mapper.ts @@ -1,4 +1,4 @@ -import { BoardResponse, ColumnResponse, CardSkeletonResponse } from '../board-client/board-api-client'; +import { BoardResponse, ColumnResponse, CardSkeletonResponse } from '../board-api-client'; import { BoardSkeletonDto, ColumnSkeletonDto, CardSkeletonDto } from '../dto'; export class BoardSkeletonDtoMapper { diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/index.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/index.ts similarity index 100% rename from apps/server/src/modules/common-cartridge/common-cartridge-client/board-api-client/mapper/index.ts rename to apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/index.ts From 3ced8d7eb26e452adbd05c72c0c8daf0661f84ec Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Fri, 23 Aug 2024 10:22:49 +0200 Subject: [PATCH 11/14] Fix imports. --- .../src/modules/common-cartridge/common-cartridge.module.ts | 2 +- .../service/common-cartridge-export.service.spec.ts | 2 +- .../common-cartridge/service/common-cartridge-export.service.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/server/src/modules/common-cartridge/common-cartridge.module.ts b/apps/server/src/modules/common-cartridge/common-cartridge.module.ts index 903a421fac7..ccc966e368e 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge.module.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge.module.ts @@ -6,7 +6,7 @@ import { ALL_ENTITIES } from '@shared/domain/entity'; import { DB_PASSWORD, DB_URL, DB_USERNAME } from '@src/config'; import { RabbitMQWrapperModule } from '@src/infra/rabbitmq'; import { defaultMikroOrmOptions } from '../server'; -import { BoardClientModule } from './common-cartridge-client/board-api-client/board-client/board-client.module'; +import { BoardClientModule } from './common-cartridge-client/board-client/board-client.module'; import { CommonCartridgeExportService } from './service/common-cartridge-export.service'; import { CommonCartridgeUc } from './uc/common-cartridge.uc'; diff --git a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts index 4a17e11612e..7d5d67c7a17 100644 --- a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts +++ b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.spec.ts @@ -2,7 +2,7 @@ import { faker } from '@faker-js/faker'; import { DeepMocked, createMock } from '@golevelup/ts-jest'; import { FilesStorageClientAdapterService } from '@modules/files-storage-client'; import { Test, TestingModule } from '@nestjs/testing'; -import { BoardClientAdapter } from '../common-cartridge-client/board-api-client/board-client/board-client.adapter'; +import { BoardClientAdapter } from '../common-cartridge-client/board-client/board-client.adapter'; import { CommonCartridgeExportService } from './common-cartridge-export.service'; describe('CommonCartridgeExportService', () => { diff --git a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts index 7027b103c9a..380afe6a62b 100644 --- a/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts +++ b/apps/server/src/modules/common-cartridge/service/common-cartridge-export.service.ts @@ -1,6 +1,6 @@ import { FileDto, FilesStorageClientAdapterService } from '@modules/files-storage-client'; import { Injectable } from '@nestjs/common'; -import { BoardClientAdapter } from '../common-cartridge-client/board-api-client/board-client/board-client.adapter'; +import { BoardClientAdapter } from '../common-cartridge-client/board-client/board-client.adapter'; @Injectable() export class CommonCartridgeExportService { From 39ff87cc57677adf18a076f344673a2adc61b616 Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Fri, 23 Aug 2024 10:36:04 +0200 Subject: [PATCH 12/14] Exclude generated client from sonar. --- sonar-project.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-project.properties b/sonar-project.properties index b7be9f713c3..595bc8ab27b 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,8 +3,8 @@ sonar.projectKey=hpi-schul-cloud_schulcloud-server sonar.sources=. sonar.tests=. sonar.test.inclusions=**/*.spec.ts -sonar.exclusions=**/*.js,jest.config.ts,globalSetup.ts,globalTeardown.ts,**/*.app.ts,**/seed-data/*.ts,**/migrations/mikro-orm/*.ts,**/etherpad-api-client/**/*.ts,**/authorization-api-client/**/*.ts -sonar.coverage.exclusions=**/board-management.uc.ts,**/*.module.ts,**/*.factory.ts,**/migrations/mikro-orm/*.ts,**/globalSetup.ts,**/globalTeardown.ts,**/etherpad-api-client/**/*.ts,**/authorization-api-client/**/*.ts +sonar.exclusions=**/*.js,jest.config.ts,globalSetup.ts,globalTeardown.ts,**/*.app.ts,**/seed-data/*.ts,**/migrations/mikro-orm/*.ts,**/etherpad-api-client/**/*.ts,**/authorization-api-client/**/*.ts,**/board-api-client/**/*.ts +sonar.coverage.exclusions=**/board-management.uc.ts,**/*.module.ts,**/*.factory.ts,**/migrations/mikro-orm/*.ts,**/globalSetup.ts,**/globalTeardown.ts,**/etherpad-api-client/**/*.ts,**/authorization-api-client/**/*.ts,**/board-api-client/**/*.ts sonar.cpd.exclusions=**/controller/dto/*.ts sonar.javascript.lcov.reportPaths=merged-lcov.info sonar.typescript.tsconfigPaths=tsconfig.json,src/apps/server/tsconfig.app.json From 9d7fbced55466b46546f337e7bf984e61fca0389 Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Fri, 23 Aug 2024 15:59:50 +0200 Subject: [PATCH 13/14] Tests so far. --- .../board-client/board-client.adapter.spec.ts | 83 +++++++++++++++++++ .../board-client/board-client.adapter.ts | 2 +- .../board-skeleton-response.mapper.spec.ts | 65 +++++++++++++++ 3 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/board-skeleton-response.mapper.spec.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts new file mode 100644 index 00000000000..b82fd8dc6e7 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts @@ -0,0 +1,83 @@ +import { faker } from '@faker-js/faker'; +import { createMock, DeepMocked } from '@golevelup/ts-jest'; +import { REQUEST } from '@nestjs/core'; +import { Test, TestingModule } from '@nestjs/testing'; +import { AxiosResponse } from 'axios'; +import { Request } from 'express'; +import { BoardApi, BoardResponse } from './board-api-client'; +import { BoardClientAdapter } from './board-client.adapter'; + +const jwtToken = 'someJwtToken'; + +describe(BoardClientAdapter.name, () => { + let module: TestingModule; + let adapter: BoardClientAdapter; + let boardApiMock: DeepMocked; + + beforeAll(async () => { + module = await Test.createTestingModule({ + providers: [ + BoardClientAdapter, + { + provide: BoardApi, + useValue: createMock(), + }, + { + provide: REQUEST, + useValue: createMock({ + headers: { + authorization: `Bearer ${jwtToken}`, + }, + }), + }, + ], + }).compile(); + + adapter = module.get(BoardClientAdapter); + boardApiMock = module.get(BoardApi); + }); + + afterAll(async () => { + await module.close(); + }); + + afterEach(() => { + jest.resetAllMocks(); + }); + + it('should be defined', () => { + expect(adapter).toBeDefined(); + }); + + describe('getBoardSkeletonById', () => { + describe('When getBoardSkeletonById is called', () => { + const setup = () => { + const response = createMock>({ + data: { + id: faker.string.uuid(), + title: faker.lorem.sentence(), + columns: [], + isVisible: true, + layout: 'layout', + timestamps: { + createdAt: faker.date.past().toString(), + lastUpdatedAt: faker.date.recent().toString(), + }, + }, + }); + + boardApiMock.boardControllerGetBoardSkeleton.mockResolvedValue(response); + + return { boardId: response.data.id }; + }; + + it('it should return a board skeleton dto', async () => { + const { boardId } = setup(); + + await adapter.getBoardSkeletonById(boardId); + + expect(boardApiMock.boardControllerGetBoardSkeleton).toHaveBeenCalled(); + }); + }); + }); +}); diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.ts index 3dbd04993d7..02c8d09e746 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.ts @@ -11,7 +11,7 @@ import { BoardSkeletonDto } from './dto'; export class BoardClientAdapter { constructor(private readonly boardApi: BoardApi, @Inject(REQUEST) private request: Request) {} - public async getBoard(boardId: string): Promise { + public async getBoardSkeletonById(boardId: string): Promise { const options = this.createOptionParams(); const boardResponse = await this.boardApi .boardControllerGetBoardSkeleton(boardId, options) diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/board-skeleton-response.mapper.spec.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/board-skeleton-response.mapper.spec.ts new file mode 100644 index 00000000000..ee1d26fa583 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/mapper/board-skeleton-response.mapper.spec.ts @@ -0,0 +1,65 @@ +import { faker } from '@faker-js/faker'; +import { BoardResponse, CardSkeletonResponse, ColumnResponse } from '../board-api-client'; +import { BoardSkeletonDtoMapper } from './board-skeleton-response.mapper'; + +describe('BoardSkeletonDtoMapper', () => { + describe('mapToBoardSkeletonDto', () => { + describe('when mapping to BoardResponse', () => { + const setup = () => { + const cardResponse: CardSkeletonResponse = { + cardId: faker.string.uuid(), + height: faker.number.int(), + }; + + const columnResponse: ColumnResponse = { + id: faker.string.uuid(), + title: faker.lorem.sentence(), + cards: [cardResponse], + timestamps: { + createdAt: faker.date.past().toString(), + lastUpdatedAt: faker.date.recent().toString(), + }, + }; + + const boardResponse: BoardResponse = { + id: faker.string.uuid(), + title: faker.lorem.sentence(), + columns: [columnResponse], + isVisible: true, + layout: 'layout', + timestamps: { + createdAt: faker.date.past().toString(), + lastUpdatedAt: faker.date.recent().toString(), + }, + }; + + return { boardResponse }; + }; + it('should return BoardSkeletonDto', () => { + const { boardResponse } = setup(); + + const result = BoardSkeletonDtoMapper.mapToBoardSkeletonDto(boardResponse); + + expect(result).toEqual({ + // AI next 16 lines + boardId: boardResponse.id, + title: boardResponse.title, + isVisible: boardResponse.isVisible, + layout: boardResponse.layout, + columns: [ + { + columnId: boardResponse.columns[0].id, + title: boardResponse.columns[0].title, + cards: [ + { + cardId: boardResponse.columns[0].cards[0].cardId, + height: boardResponse.columns[0].cards[0].height, + }, + ], + }, + ], + }); + }); + }); + }); +}); From 4009617f4aa945dd5c354766f9a76ae3db24539c Mon Sep 17 00:00:00 2001 From: Maximilian Kreuzkam Date: Mon, 26 Aug 2024 10:53:29 +0200 Subject: [PATCH 14/14] Missing tests. --- .../board-client/board-client.adapter.spec.ts | 28 ++++++++++++++++--- .../board-client/board-client.module.spec.ts | 26 +++++++++++++++++ 2 files changed, 50 insertions(+), 4 deletions(-) create mode 100644 apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.module.spec.ts diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts index b82fd8dc6e7..8dacf504e49 100644 --- a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.adapter.spec.ts @@ -1,5 +1,6 @@ import { faker } from '@faker-js/faker'; import { createMock, DeepMocked } from '@golevelup/ts-jest'; +import { UnauthorizedException } from '@nestjs/common'; import { REQUEST } from '@nestjs/core'; import { Test, TestingModule } from '@nestjs/testing'; import { AxiosResponse } from 'axios'; @@ -11,7 +12,7 @@ const jwtToken = 'someJwtToken'; describe(BoardClientAdapter.name, () => { let module: TestingModule; - let adapter: BoardClientAdapter; + let sut: BoardClientAdapter; let boardApiMock: DeepMocked; beforeAll(async () => { @@ -33,7 +34,7 @@ describe(BoardClientAdapter.name, () => { ], }).compile(); - adapter = module.get(BoardClientAdapter); + sut = module.get(BoardClientAdapter); boardApiMock = module.get(BoardApi); }); @@ -46,7 +47,7 @@ describe(BoardClientAdapter.name, () => { }); it('should be defined', () => { - expect(adapter).toBeDefined(); + expect(sut).toBeDefined(); }); describe('getBoardSkeletonById', () => { @@ -74,10 +75,29 @@ describe(BoardClientAdapter.name, () => { it('it should return a board skeleton dto', async () => { const { boardId } = setup(); - await adapter.getBoardSkeletonById(boardId); + await sut.getBoardSkeletonById(boardId); expect(boardApiMock.boardControllerGetBoardSkeleton).toHaveBeenCalled(); }); }); + + describe('When no JWT token is found', () => { + const setup = () => { + const boardId = faker.string.uuid(); + const request = createMock({ + headers: {}, + }); + + const adapter: BoardClientAdapter = new BoardClientAdapter(boardApiMock, request); + + return { boardId, adapter }; + }; + + it('should throw an UnauthorizedError', async () => { + const { boardId, adapter } = setup(); + + await expect(adapter.getBoardSkeletonById(boardId)).rejects.toThrowError(UnauthorizedException); + }); + }); }); }); diff --git a/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.module.spec.ts b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.module.spec.ts new file mode 100644 index 00000000000..bc37007e314 --- /dev/null +++ b/apps/server/src/modules/common-cartridge/common-cartridge-client/board-client/board-client.module.spec.ts @@ -0,0 +1,26 @@ +import { Test, TestingModule } from '@nestjs/testing'; +import { BoardClientModule } from './board-client.module'; +import { BoardClientAdapter } from './board-client.adapter'; + +describe('BoardClientModule', () => { + let module: TestingModule; + + beforeAll(async () => { + module = await Test.createTestingModule({ + imports: [ + BoardClientModule.register({ + basePath: 'http://localhost:3030/api/v3', + }), + ], + }).compile(); + }); + + afterAll(async () => { + await module.close(); + }); + + it('should have the BoardClientAdapter defined', () => { + const boardClientAdapter = module.get(BoardClientAdapter); + expect(boardClientAdapter).toBeDefined(); + }); +});