diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd506d874e..8e781d8e8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: run: cat Aptfile | sudo xargs apt-get install - name: Install uv - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 + uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 with: enable-cache: true @@ -100,7 +100,7 @@ jobs: UNSUBSCRIBE_SECRET_KEY: fake_unsubscribe_secret - name: Upload coverage to CodeCov - uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: file: ./coverage.xml @@ -110,7 +110,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "^24.0.0" cache: yarn @@ -139,7 +139,7 @@ jobs: - name: Get number of CPU cores id: cpu-cores - uses: SimenB/github-actions-cpu-cores@97ba232459a8e02ff6121db9362b09661c875ab8 # v2 + uses: SimenB/github-actions-cpu-cores@97330871fe1b7d3529392ea000e3d2c4b357e403 # v3 - name: Tests run: yarn test --max-workers ${STEPS_CPU_CORES_OUTPUTS_COUNT} @@ -149,7 +149,7 @@ jobs: STEPS_CPU_CORES_OUTPUTS_COUNT: ${{ steps.cpu-cores.outputs.count }} - name: Upload coverage to CodeCov - uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 with: file: coverage/lcov.info @@ -179,7 +179,7 @@ jobs: with: persist-credentials: false - - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "^24.0.0" cache: yarn @@ -204,7 +204,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "^24.0.0" cache: yarn @@ -245,7 +245,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "^24.0.0" cache: yarn diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml index c3ad9d6b44..a296d77cf4 100644 --- a/.github/workflows/publish-pages.yml +++ b/.github/workflows/publish-pages.yml @@ -20,7 +20,7 @@ jobs: with: persist-credentials: false - - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 + - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: "^24.0.0" cache: yarn @@ -33,7 +33,7 @@ jobs: run: yarn workspace ol-components build-storybook - name: Upload artifact - uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5 with: path: ./frontends/ol-components/storybook-static diff --git a/.yarnrc.yml b/.yarnrc.yml index fdeae8d865..c3220598ec 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -22,3 +22,8 @@ supportedArchitectures: - current - glibc enableScripts: false + +# Worker-thread zip conversion holds one libzip WASM heap per CPU; with supportedArchitectures +# fetching x64+arm64 native tarballs this exceeds the 3GB Mend Renovate runner (as in +# mitodl/learn-ai#40). Off-heap memory, so NODE_OPTIONS can't cap it. +taskPoolMode: async diff --git a/Dockerfile b/Dockerfile index b149ba5f05..75fe3c3f3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,18 +6,19 @@ LABEL maintainer="ODL DevOps " # App-specific apt extras; common-core packages are in mitodl/ol-python-base:3.12. # BuildKit cache mounts keep downloaded packages out of the final image layer. +# chromium/chromium-driver come from trixie. They +# used to need a Debian sid source because trixie lagged; it no longer does, +# and pulling from sid dragged in a glibc upgrade that conflicts with the +# hardened base image. RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ --mount=type=cache,target=/var/lib/apt,sharing=locked \ apt-get update && \ apt-get install -y --no-install-recommends \ libcairo2-dev \ poppler-utils \ - default-jre && \ - echo "deb http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list && \ - apt-get update -qqy && \ - apt-get install -qqy --no-install-recommends \ - -o Dpkg::Options::="--force-confnew" \ - chromium chromium-driver + default-jre \ + chromium \ + chromium-driver FROM base AS deps diff --git a/RELEASE.rst b/RELEASE.rst index d672bf77c3..1e2172c41f 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -1,6 +1,20 @@ Release Notes ============= +Version 0.79.0 +-------------- + +- Skip a podcast feed with an unparseable episode instead of aborting the run (#3892) +- Update actions/setup-node action to v7 (#3898) +- Run yarn zip conversion single-threaded to avoid Renovate OOM (#3904) +- fix(docker): install chromium from trixie instead of Debian sid (#3905) +- Migrate off the legacy MUI Grid API (prerequisite for #2770) (#3867) +- Rename department 21M from Music and Theater Arts to Music (#3669) +- Update actions/upload-pages-artifact action to v5 (#3899) +- Update astral-sh/setup-uv action to v10 (#3900) +- Update codecov/codecov-action action to v7 (#3901) +- Update SimenB/github-actions-cpu-cores action to v3 (#3902) + Version 0.78.6 -------------- diff --git a/data_fixtures/fixtures/departments.json b/data_fixtures/fixtures/departments.json index 55b642389e..77b9d32d2c 100644 --- a/data_fixtures/fixtures/departments.json +++ b/data_fixtures/fixtures/departments.json @@ -223,7 +223,7 @@ "model": "learning_resources.LearningResourceDepartment", "fields": { "department_id": "21M", - "name": "Music and Theater Arts", + "name": "Music", "school_id": 3, "created_on": "2024-04-17T00:00:00.000000+00:00", "updated_on": "2024-04-17T00:00:00.000000+00:00" diff --git a/data_fixtures/migrations/0026_rename_department_21M_to_music.py b/data_fixtures/migrations/0026_rename_department_21M_to_music.py new file mode 100644 index 0000000000..e6b93679b0 --- /dev/null +++ b/data_fixtures/migrations/0026_rename_department_21M_to_music.py @@ -0,0 +1,47 @@ +# Data migration: rename department 21M from "Music and Theater Arts" to "Music" + +from django.db import migrations +from django.utils.text import slugify + +OLD_NAME = "Music and Theater Arts" +NEW_NAME = "Music" + + +def _rename(apps, name): + LearningResourceDepartment = apps.get_model( + "learning_resources", "LearningResourceDepartment" + ) + Channel = apps.get_model("channels", "Channel") + + department = LearningResourceDepartment.objects.filter(department_id="21M").first() + if not department: + return + department.name = name + department.save() + + channel = Channel.objects.filter(department_detail__department=department).first() + if channel: + channel.title = name + channel.name = slugify(name) + channel.save() + + +def rename_to_music(apps, schema_editor): + _rename(apps, NEW_NAME) + + +def rename_to_music_and_theater_arts(apps, schema_editor): + _rename(apps, OLD_NAME) + + +class Migration(migrations.Migration): + dependencies = [ + ( + "data_fixtures", + "0025_add_department_21T", + ), + ] + + operations = [ + migrations.RunPython(rename_to_music, rename_to_music_and_theater_arts), + ] diff --git a/frontends/api/src/generated/v0/api.ts b/frontends/api/src/generated/v0/api.ts index 1853cb28a5..7965db737e 100644 --- a/frontends/api/src/generated/v0/api.ts +++ b/frontends/api/src/generated/v0/api.ts @@ -6768,7 +6768,7 @@ export const VectorLearningResourcesSearchApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certificate * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [free] * @param {boolean} [hybrid_search] Whether to use a hybrid search * @param {Array} [level] @@ -6977,7 +6977,7 @@ export const VectorLearningResourcesSearchApiFp = function ( * @param {Array} [certification_type] The type of certificate * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [free] * @param {boolean} [hybrid_search] Whether to use a hybrid search * @param {Array} [level] @@ -7167,7 +7167,7 @@ export interface VectorLearningResourcesSearchApiVectorLearningResourcesSearchRe readonly delivery?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array diff --git a/frontends/api/src/generated/v1/api.ts b/frontends/api/src/generated/v1/api.ts index 28842ab7aa..629b334199 100644 --- a/frontends/api/src/generated/v1/api.ts +++ b/frontends/api/src/generated/v1/api.ts @@ -562,7 +562,7 @@ export const DeliveryEnum = { export type DeliveryEnum = (typeof DeliveryEnum)[keyof typeof DeliveryEnum] /** - * * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ export const DepartmentEnumDescriptions = { @@ -588,7 +588,7 @@ export const DepartmentEnumDescriptions = { "21G": "Global Languages", "21H": "History", "21L": "Literature", - "21M": "Music and Theater Arts", + "21M": "Music", "21T": "Theater Arts", "22": "Nuclear Science and Engineering", "24": "Linguistics and Philosophy", @@ -696,7 +696,7 @@ export const DepartmentEnum = { */ _21L: "21L", /** - * Music and Theater Arts + * Music */ _21M: "21M", /** @@ -2272,7 +2272,7 @@ export interface PercolateQuerySubscriptionRequestRequest { */ certification_type?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ department?: Array level?: Array @@ -6014,7 +6014,7 @@ export const CoursesApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -6312,7 +6312,7 @@ export const CoursesApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -6617,7 +6617,7 @@ export interface CoursesApiCoursesListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -7295,7 +7295,7 @@ export const FeaturedApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -7501,7 +7501,7 @@ export const FeaturedApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -7697,7 +7697,7 @@ export interface FeaturedApiFeaturedListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -8463,7 +8463,7 @@ export const LearningResourceDisplayInfoApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -8673,7 +8673,7 @@ export const LearningResourceDisplayInfoApiFp = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -8873,7 +8873,7 @@ export interface LearningResourceDisplayInfoApiLearningResourceDisplayInfoListRe readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -9517,7 +9517,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -9715,7 +9715,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certificate * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [free] * @param {Array} [level] * @param {number} [limit] @@ -9858,7 +9858,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -10070,7 +10070,7 @@ export const LearningResourcesApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certificate * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [free] * @param {Array} [level] * @param {number} [limit] @@ -10436,7 +10436,7 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -10553,7 +10553,7 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certificate * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [free] * @param {Array} [level] * @param {number} [limit] @@ -10634,7 +10634,7 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -10760,7 +10760,7 @@ export const LearningResourcesApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certificate * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [free] * @param {Array} [level] * @param {number} [limit] @@ -11272,7 +11272,7 @@ export interface LearningResourcesApiLearningResourcesListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -11376,7 +11376,7 @@ export interface LearningResourcesApiLearningResourcesSimilarListRequest { readonly delivery?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -11446,7 +11446,7 @@ export interface LearningResourcesApiLearningResourcesSummaryListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -11557,7 +11557,7 @@ export interface LearningResourcesApiLearningResourcesVectorSimilarListRequest { readonly delivery?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -12484,7 +12484,7 @@ export const LearningResourcesSearchApiAxiosParamCreator = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -12713,7 +12713,7 @@ export const LearningResourcesSearchApiFp = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -12919,7 +12919,7 @@ export interface LearningResourcesSearchApiLearningResourcesSearchRetrieveReques readonly delivery?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -13260,7 +13260,7 @@ export const LearningResourcesUserSubscriptionApiAxiosParamCreator = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -13483,7 +13483,7 @@ export const LearningResourcesUserSubscriptionApiAxiosParamCreator = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -13700,7 +13700,7 @@ export const LearningResourcesUserSubscriptionApiAxiosParamCreator = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -13994,7 +13994,7 @@ export const LearningResourcesUserSubscriptionApiFp = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -14115,7 +14115,7 @@ export const LearningResourcesUserSubscriptionApiFp = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -14233,7 +14233,7 @@ export const LearningResourcesUserSubscriptionApiFp = function ( * @param {number | null} [content_file_score_weight] Score weight for content file data. 1 is the default. 0 means content files are ignored * @param {Array} [course_feature] The course feature. Possible options are at api/v1/course_features/ * @param {Array} [delivery] The delivery options in which the learning resource is offered * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean | null} [dev_mode] If true return raw open search results with score explanations * @param {boolean | null} [free] * @param {Array} [id] The id value for the learning resource @@ -14586,7 +14586,7 @@ export interface LearningResourcesUserSubscriptionApiLearningResourcesUserSubscr readonly delivery?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -14729,7 +14729,7 @@ export interface LearningResourcesUserSubscriptionApiLearningResourcesUserSubscr readonly delivery?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -14867,7 +14867,7 @@ export interface LearningResourcesUserSubscriptionApiLearningResourcesUserSubscr readonly delivery?: Array /** - * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers the learning resource * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -16111,7 +16111,7 @@ export const LearningpathsApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -16667,7 +16667,7 @@ export const LearningpathsApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -17193,7 +17193,7 @@ export interface LearningpathsApiLearningpathsListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -18414,7 +18414,7 @@ export const PodcastEpisodesApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -18669,7 +18669,7 @@ export const PodcastEpisodesApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -18915,7 +18915,7 @@ export interface PodcastEpisodesApiPodcastEpisodesListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -19358,7 +19358,7 @@ export const PodcastsApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -19644,7 +19644,7 @@ export const PodcastsApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -19920,7 +19920,7 @@ export interface PodcastsApiPodcastsListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -20404,7 +20404,7 @@ export const ProgramsApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -20610,7 +20610,7 @@ export const ProgramsApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -20806,7 +20806,7 @@ export interface ProgramsApiProgramsListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -23537,7 +23537,7 @@ export const VideoPlaylistsApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -23824,7 +23824,7 @@ export const VideoPlaylistsApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -24101,7 +24101,7 @@ export interface VideoPlaylistsApiVideoPlaylistsListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array @@ -24434,7 +24434,7 @@ export const VideosApiAxiosParamCreator = function ( * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -24640,7 +24640,7 @@ export const VideosApiFp = function (configuration?: Configuration) { * @param {Array} [certification_type] The type of certification offered * `micromasters` - MicroMasters Credential * `professional` - Professional Certificate * `completion` - Certificate of Completion * `none` - No Certificate * @param {Array} [course_feature] Content feature for the resources. Load the \'api/v1/course_features\' endpoint for a list of course features * @param {Array>} [delivery] The delivery of course/program resources * `online` - Online * `hybrid` - Hybrid * `in_person` - In person * `offline` - Offline - * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * @param {Array} [department] The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies * @param {boolean} [free] The course/program is offered for free * @param {Array} [level] The academic level of the resources * `undergraduate` - Undergraduate * `graduate` - Graduate * `high_school` - High School * `noncredit` - Non-Credit * `advanced` - Advanced * `intermediate` - Intermediate * `introductory` - Introductory * @param {number} [limit] Number of results to return per page. @@ -24835,7 +24835,7 @@ export interface VideosApiVideosListRequest { readonly delivery?: Array> /** - * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music and Theater Arts * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies + * The department that offers learning resources * `1` - Civil and Environmental Engineering * `2` - Mechanical Engineering * `3` - Materials Science and Engineering * `4` - Architecture * `5` - Chemistry * `6` - Electrical Engineering and Computer Science * `7` - Biology * `8` - Physics * `9` - Brain and Cognitive Sciences * `10` - Chemical Engineering * `11` - Urban Studies and Planning * `12` - Earth, Atmospheric, and Planetary Sciences * `14` - Economics * `15` - Management * `16` - Aeronautics and Astronautics * `17` - Political Science * `18` - Mathematics * `20` - Biological Engineering * `21A` - Anthropology * `21G` - Global Languages * `21H` - History * `21L` - Literature * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse * `CMS-W` - Comparative Media Studies/Writing * `EC` - Edgerton Center * `ES` - Experimental Study Group * `ESD` - Engineering Systems Division * `HST` - Medical Engineering and Science * `IDS` - Data, Systems, and Society * `MAS` - Media Arts and Sciences * `PE` - Athletics, Physical Education and Recreation * `SP` - Special Programs * `STS` - Science, Technology, and Society * `WGS` - Women\'s and Gender Studies */ readonly department?: Array diff --git a/frontends/main/next.config.js b/frontends/main/next.config.js index 7c75ab5807..602f5400c9 100644 --- a/frontends/main/next.config.js +++ b/frontends/main/next.config.js @@ -56,6 +56,15 @@ const nextConfig = { destination: "/enrollmentcode/:code", permanent: true, }, + { + /* Department 21M was renamed "Music and Theater Arts" -> "Music", which + * changed its channel slug. Without this, existing links + * hit notFound(). + */ + source: "/c/department/music-and-theater-arts", + destination: "/c/department/music", + permanent: true, + }, ] }, diff --git a/frontends/main/package.json b/frontends/main/package.json index 3976c00e6e..4551d84752 100644 --- a/frontends/main/package.json +++ b/frontends/main/package.json @@ -16,7 +16,7 @@ "@emotion/styled": "^11.11.0", "@floating-ui/react": "^0.27.16", "@mitodl/arithmix": "^0.2.5", - "@mitodl/course-search-utils": "^3.8.0", + "@mitodl/course-search-utils": "^3.8.1", "@mitodl/hacksnack": "^0.1.2", "@mitodl/mitxonline-api-axios": "2026.8.31-1", "@mitodl/smoot-design": "6.34.0", diff --git a/frontends/main/src/app-pages/DashboardPage/ProfileContent.tsx b/frontends/main/src/app-pages/DashboardPage/ProfileContent.tsx index bf9361aea8..3cb94251ba 100644 --- a/frontends/main/src/app-pages/DashboardPage/ProfileContent.tsx +++ b/frontends/main/src/app-pages/DashboardPage/ProfileContent.tsx @@ -135,7 +135,7 @@ const ProfileContent: React.FC = () => { xs: 3, }, }} - gridItemProps={{ xs: 3 }} + gridItemProps={{ size: 3 }} /> { className="learningpaths-page" > - - - - - - Learning Paths - - - - {canEdit ? ( - - ) : null} - - -
- - {listingQuery.data && ( - - {listingQuery.data.results?.map((resource) => { - return ( -
  • - - ) : null - } - /> -
  • - ) - })} -
    - )} -
    -
    -
    + + + + Learning Paths + + + + {canEdit ? ( + + ) : null} + + +
    + + {listingQuery.data && ( + + {listingQuery.data.results?.map((resource) => { + return ( +
  • + : null + } + /> +
  • + ) + })} +
    + )} +
    ) diff --git a/frontends/main/src/app-pages/OnboardingPage/OnboardingPage.tsx b/frontends/main/src/app-pages/OnboardingPage/OnboardingPage.tsx index c4d21e66c3..9e632ceb01 100644 --- a/frontends/main/src/app-pages/OnboardingPage/OnboardingPage.tsx +++ b/frontends/main/src/app-pages/OnboardingPage/OnboardingPage.tsx @@ -142,7 +142,7 @@ const GridStyle = ( columns: columns, maxWidth: maxWidth, }, - gridItemProps: { xs: 3 }, + gridItemProps: { size: 3 }, } } diff --git a/frontends/main/src/components/GridLayout/GridLayout.tsx b/frontends/main/src/components/GridLayout/GridLayout.tsx deleted file mode 100644 index d18de6aa51..0000000000 --- a/frontends/main/src/components/GridLayout/GridLayout.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import React from "react" -import { Grid } from "ol-components" -import type { GridProps } from "ol-components" - -type GridContainerProps = Omit< - GridProps, - "item" | "container" | "columnSpacing" -> & { component?: React.ElementType } - -type ColumnVariant = - | "single-full" - | "main-2" - | "sidebar-2" - | "main-2-wide-main" - | "sidebar-2-wide-main" -type GridItemProps = Omit< - GridProps, - "item" | "xs" | "sm" | "md" | "lg" | "xl" -> & { variant: ColumnVariant; component?: React.ElementType } - -const columnVariants: Record = { - "single-full": { - xs: 12, - md: 12, - }, - "main-2": { - xs: 12, - md: 9, - }, - "sidebar-2": { - xs: 12, - md: 3, - }, - "main-2-wide-main": { - xs: 12, - md: 8, - }, - "sidebar-2-wide-main": { - xs: 12, - md: 4, - }, -} - -/** - * This is a thin wrapper around MUI's [Grid](https://mui.com/material-ui/react-grid/) - * component specifying some app-specific props. - * @deprecated The grid presets in this component predates formal designs for - * MIT Learn site and should be avoided. - */ -const GridContainer: React.FC = (props) => ( - -) - -/** - * Represents a grid column and accepts a `variant` prop that determines the - * column width. - * - * This is a thin wrapper around MUI's [Grid](https://mui.com/material-ui/react-grid/) - * component. This is a `` with breakpoint widths specified by `variant`. - * - * @deprecated The grid presets in this component predates formal designs for - * MIT Learn site and should be avoided. - */ -const GridColumn: React.FC = ({ variant, ...others }) => ( - -) - -export { GridContainer, GridColumn } diff --git a/frontends/main/src/page-components/ItemsListing/ItemsListingComponent.tsx b/frontends/main/src/page-components/ItemsListing/ItemsListingComponent.tsx index 62fd51a43a..4e8a217bab 100644 --- a/frontends/main/src/page-components/ItemsListing/ItemsListingComponent.tsx +++ b/frontends/main/src/page-components/ItemsListing/ItemsListingComponent.tsx @@ -1,9 +1,8 @@ import React from "react" -import { Grid, Typography, styled } from "ol-components" +import { Grid2 as Grid, Typography, styled } from "ol-components" import { Button, ButtonLink } from "@mitodl/smoot-design" import { RiArrowLeftLine, RiArrowUpDownLine } from "@remixicon/react" import { useToggle, pluralize } from "ol-utilities" -import { GridColumn, GridContainer } from "@/components/GridLayout/GridLayout" import ItemsListing from "./ItemsListing" import type { LearningResourceListItem } from "./ItemsListing" import { MY_LISTS } from "@/common/urls" @@ -84,83 +83,81 @@ const ItemsListingComponent: React.FC = ({ const count = list?.item_count return ( - - - - - - } + <> + + + + } + > + My Lists + + + + + + {list?.title} + {list?.description && ( + {list.description} + )} + + + {canEdit ? ( + + Edit List + + ) : null} + + + + + {showSort && !!items.length && ( + + )} - - - {list?.title} - {list?.description && ( - {list.description} - )} - - - {canEdit ? ( - - Edit List - - ) : null} - + + {count !== undefined && count > 0 ? ( + {`${count} ${pluralize("item", count)}`} + ) : null} - - - {showSort && !!items.length && ( - - )} - - - {count !== undefined && count > 0 ? ( - {`${count} ${pluralize("item", count)}`} - ) : null} - - - - - - + + + + ) } diff --git a/frontends/ol-components/src/components/ChoiceBox/ChoiceBox.tsx b/frontends/ol-components/src/components/ChoiceBox/ChoiceBox.tsx index 4fe50f8e3f..77f738bd03 100644 --- a/frontends/ol-components/src/components/ChoiceBox/ChoiceBox.tsx +++ b/frontends/ol-components/src/components/ChoiceBox/ChoiceBox.tsx @@ -1,6 +1,6 @@ import React from "react" import styled from "@emotion/styled" -import { type GridProps } from "@mui/material/Grid" +import { type Grid2Props } from "@mui/material/Grid2" import { Checkbox } from "@mitodl/smoot-design" import { Radio } from "../Radio/Radio" @@ -110,7 +110,7 @@ interface ChoiceBoxChoice { description?: string } -type FieldGridProps = Omit +type FieldGridProps = Omit interface ChoiceBoxGridProps { gridProps?: FieldGridProps diff --git a/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxField.tsx b/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxField.tsx index eede76afae..3bb74143e5 100644 --- a/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxField.tsx +++ b/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxField.tsx @@ -3,7 +3,7 @@ import styled from "@emotion/styled" import FormControl from "@mui/material/FormControl" import FormGroup from "@mui/material/FormGroup" import FormLabel from "@mui/material/FormLabel" -import Grid, { type GridProps } from "@mui/material/Grid" +import Grid, { type Grid2Props } from "@mui/material/Grid2" import { theme } from "../ThemeProvider/ThemeProvider" import { ChoiceBox } from "./ChoiceBox" import type { @@ -44,7 +44,7 @@ const ChoiceBoxField: React.FC = ({ gridProps, gridItemProps, }: ChoiceBoxFieldProps) => { - const fieldGridProps: GridProps = { + const fieldGridProps: Grid2Props = { spacing: "12px", justifyContent: "center", columns: { @@ -65,7 +65,7 @@ const ChoiceBoxField: React.FC = ({ {choices.map((choice, index) => ( - + { }, }} gridItemProps={{ - xs: 4, + size: 4, }} /> ) diff --git a/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxFieldRadio.stories.tsx b/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxFieldRadio.stories.tsx index 400b22fd61..896ea85166 100644 --- a/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxFieldRadio.stories.tsx +++ b/frontends/ol-components/src/components/ChoiceBox/ChoiceBoxFieldRadio.stories.tsx @@ -37,7 +37,7 @@ const StateWrapper = (props: RadioChoiceBoxFieldProps) => { }, }} gridItemProps={{ - xs: 4, + size: 4, }} /> ) diff --git a/frontends/ol-components/src/components/Logo/Logo.stories.tsx b/frontends/ol-components/src/components/Logo/Logo.stories.tsx index 7a1c257f69..8c9156f9a2 100644 --- a/frontends/ol-components/src/components/Logo/Logo.stories.tsx +++ b/frontends/ol-components/src/components/Logo/Logo.stories.tsx @@ -1,7 +1,7 @@ import React from "react" import type { Meta, StoryObj } from "@storybook/nextjs" import { PlatformLogo, PLATFORM_LOGOS } from "./Logo" -import Grid from "@mui/material/Grid" +import Grid from "@mui/material/Grid2" import styled from "@emotion/styled" import { PlatformEnum } from "api" @@ -22,20 +22,18 @@ const meta: Meta = { render: ({ showIconBackground, iconHeight }) => { return ( - + Note: the showIconBackground and{" "} iconHeight args are only for this story. Not applicable to the actual component. {Object.entries(PLATFORM_LOGOS).map(([platformCode, platform]) => ( - + {platformCode} - - {platform.name} - - + {platform.name} + {STATES.map(({ label, extraProps }) => ( <> - - {label} - - + {label} + {ITEMS.map((item) => ( must fail inside this try + "episodes": [ transform_episode(episode_rss, offered_by, topics, image) for episode_rss in rss_data.find_all("item") - ), + ], "podcast": { "apple_podcasts_url": apple_podcasts_url, "google_podcasts_url": google_podcasts_url, @@ -290,7 +291,7 @@ def transform(extracted_podcasts): }, "availability": Availability.anytime.name, } - except AttributeError: + except Exception: log.exception("Error parsing podcast data from %s", config_data["rss_url"]) continue diff --git a/learning_resources/etl/podcast_test.py b/learning_resources/etl/podcast_test.py index 7dfaa3b47f..da3bc828af 100644 --- a/learning_resources/etl/podcast_test.py +++ b/learning_resources/etl/podcast_test.py @@ -240,6 +240,42 @@ def test_transform_with_error(mocker, mock_github_client): assert results[0]["url"] == "http://website.url/podcast" +@pytest.mark.parametrize( + "break_item", + [ + lambda item: item.pubDate.decompose(), + lambda item: item.pubDate.string.replace_with("not a date"), + lambda item: item.enclosure.decompose(), + lambda item: item.append(bs("", "xml").image), + ], + ids=["no-pubdate", "bad-pubdate", "no-enclosure", "image-without-href"], +) +def test_transform_skips_feed_with_bad_episode(mocker, break_item): + """A feed with one unparseable item is logged and skipped; later feeds still load""" + bad_feed = bs(rss_content(), "xml") + break_item(bad_feed.find("item")) + mock_log = mocker.patch("learning_resources.etl.podcast.log.exception") + + results = list( + transform( + [ + (bad_feed, {"rss_url": "http://website.url/bad/rss.xml"}), + ( + bs(rss_content(), "xml"), + {"rss_url": "http://website.url/podcast/rss.xml"}, + ), + ] + ) + ) + + mock_log.assert_called_once_with( + "Error parsing podcast data from %s", "http://website.url/bad/rss.xml" + ) + assert [p["podcast"]["rss_url"] for p in results] == [ + "http://website.url/podcast/rss.xml" + ] + + @pytest.mark.parametrize("exception_cls", [RequestsConnectionError, HTTPError, Timeout]) def test_extract_request_error(mocker, mock_github_client, exception_cls): """Test extract logs and skips a feed that can't be fetched""" diff --git a/load_testing/backend/client/v0/api.schemas.ts b/load_testing/backend/client/v0/api.schemas.ts index bf3a243a47..1fa2f6352d 100644 --- a/load_testing/backend/client/v0/api.schemas.ts +++ b/load_testing/backend/client/v0/api.schemas.ts @@ -193,6 +193,87 @@ export interface ChannelUnitDetail { readonly unit: LearningResourceOfferorDetail } +export type ContentFeedbackUrl = string | string + +/** + * Serializer for content feedback submissions. + +``user`` is set server-side from the request (never client-supplied). Each +valid submission is persisted as a new append-only record. + */ +export interface ContentFeedback { + /** @maxLength 255 */ + course_id: string + /** @maxLength 255 */ + course_name?: string + /** @maxLength 255 */ + block_usage_key: string + /** @maxLength 64 */ + block_type?: string + /** @maxLength 255 */ + block_display_name?: string + /** @maxLength 255 */ + unit_title?: string + url?: ContentFeedbackUrl + sentiment: ContentFeedbackSentimentEnum + comment?: string +} + +export type ContentFeedbackRequestUrl = string | string + +/** + * Serializer for content feedback submissions. + +``user`` is set server-side from the request (never client-supplied). Each +valid submission is persisted as a new append-only record. + */ +export interface ContentFeedbackRequest { + /** + * @minLength 1 + * @maxLength 255 + */ + course_id: string + /** @maxLength 255 */ + course_name?: string + /** + * @minLength 1 + * @maxLength 255 + */ + block_usage_key: string + /** @maxLength 64 */ + block_type?: string + /** @maxLength 255 */ + block_display_name?: string + /** @maxLength 255 */ + unit_title?: string + url?: ContentFeedbackRequestUrl + sentiment: ContentFeedbackSentimentEnum + comment?: string +} + +/** + * * `positive` - Positive + * `negative` - Negative + * `idea` - Idea + */ +export type ContentFeedbackSentimentEnum = + (typeof ContentFeedbackSentimentEnum)[keyof typeof ContentFeedbackSentimentEnum] + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ContentFeedbackSentimentEnum = { + /** Positive */ + positive: "positive", + /** Negative */ + negative: "negative", + /** Idea */ + idea: "idea", +} as const + +/** + * @nullable + */ +export type ContentFileImageSrc = string | string | null + /** * Serializer class for course run ContentFiles */ @@ -228,7 +309,7 @@ export interface ContentFile { /** @nullable */ url?: string | null content_feature_type: string[] - content_type?: ContentTypeEnum + content_type?: ContentFileContentTypeEnum /** @nullable */ content?: string | null /** @@ -247,11 +328,8 @@ export interface ContentFile { */ content_language?: string | null checksum?: string - /** - * @maxLength 200 - * @nullable - */ - image_src?: string | null + /** @nullable */ + image_src?: ContentFileImageSrc readonly resource_id: string readonly resource_readable_id: string source_path?: string @@ -284,6 +362,27 @@ export interface ContentFile { youtube_id?: string | null } +/** + * * `page` - page + * `file` - file + * `video` - video + * `pdf` - pdf + */ +export type ContentFileContentTypeEnum = + (typeof ContentFileContentTypeEnum)[keyof typeof ContentFileContentTypeEnum] + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const ContentFileContentTypeEnum = { + /** page */ + page: "page", + /** file */ + file: "file", + /** video */ + video: "video", + /** pdf */ + pdf: "pdf", +} as const + export type ContentFileVectorSearchResponseMetadataAggregationsItem = { key: string doc_count: number @@ -311,27 +410,6 @@ export interface ContentFileVectorSearchResponse { readonly metadata: ContentFileVectorSearchResponseMetadata } -/** - * * `page` - page - * `file` - file - * `video` - video - * `pdf` - pdf - */ -export type ContentTypeEnum = - (typeof ContentTypeEnum)[keyof typeof ContentTypeEnum] - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const ContentTypeEnum = { - /** page */ - page: "page", - /** file */ - file: "file", - /** video */ - video: "video", - /** pdf */ - pdf: "pdf", -} as const - export interface Counts { courses: number programs: number @@ -502,6 +580,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: CourseResourceResourceType readonly course: Course readonly readable_id: string @@ -613,6 +693,30 @@ export const CurrentEducationEnum = { Other_education: "Other education", } as const +/** + * Serializer for the requesting user. + +Unlike UserSerializer this exposes the user's own email plus whether they +can manage their credentials, both of which the settings page needs. It is +read-only: users change their email through Keycloak, not through us. + */ +export interface CurrentUser { + readonly id: number + readonly username: string + /** @nullable */ + readonly global_id: string | null + profile?: Profile + readonly email: string + readonly first_name: string + readonly last_name: string + readonly is_article_editor: boolean + readonly is_learning_path_editor: boolean + readonly is_authenticated: boolean + /** Whether the user signs in through an external identity provider, and so +cannot change their email or password through us. */ + readonly is_sso_user: boolean +} + /** * * `online` - Online * `hybrid` - Hybrid @@ -666,7 +770,7 @@ export interface DepartmentChannel { * Get the avatar image URL * @nullable */ - avatar?: string | null + readonly avatar: string | null /** * Get the avatar image small URL * @nullable @@ -681,7 +785,7 @@ export interface DepartmentChannel { * Get the banner image URL * @nullable */ - banner?: string | null + readonly banner: string | null readonly lists: readonly LearningPathPreview[] /** Get the URL for the channel */ readonly channel_url: string @@ -875,9 +979,11 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: DocumentResourceResourceType /** @nullable */ - readonly content_files: readonly ContentFile[] | null + readonly content_files: readonly NestedContentFile[] | null /** @nullable */ readonly description: string | null readonly readable_id: string @@ -1243,6 +1349,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: LearningPathResourceResourceType /** The display category for this resource. */ readonly resource_category: string @@ -1415,6 +1523,8 @@ export interface LearningResourceOfferor { display_facet?: boolean } +export type LearningResourceOfferorDetailMoreInformation = string | string + /** * Serializer for LearningResourceOfferor with all details */ @@ -1432,8 +1542,7 @@ export interface LearningResourceOfferorDetail { fee?: string[] certifications?: string[] content_types?: string[] - /** @maxLength 200 */ - more_information?: string + more_information?: LearningResourceOfferorDetailMoreInformation value_prop?: string display_facet?: boolean } @@ -1696,6 +1805,97 @@ export interface LearningResourcesVectorSearchResponse { readonly metadata: LearningResourcesVectorSearchResponseMetadata } +/** + * @nullable + */ +export type NestedContentFileImageSrc = string | string | null + +/** + * ContentFileSerializer without the large text fields (content, summary, +flashcards), for nesting inside learning resource API responses. +The search indexing path re-adds full content where needed. + */ +export interface NestedContentFile { + readonly id: number + run_id?: number + /** @nullable */ + direct_learning_resource_id?: number | null + run_title?: string + run_slug?: string + readonly departments: readonly LearningResourceDepartment[] + semester?: string + year?: number + readonly topics: readonly LearningResourceTopic[] + /** + * @maxLength 1024 + * @nullable + */ + key?: string | null + /** + * @maxLength 36 + * @nullable + */ + uid?: string | null + /** + * @maxLength 1024 + * @nullable + */ + title?: string | null + /** @nullable */ + description?: string | null + readonly require_summaries: boolean + /** @nullable */ + url?: string | null + content_feature_type: string[] + content_type?: ContentFileContentTypeEnum + /** + * @maxLength 1024 + * @nullable + */ + content_title?: string | null + /** + * @maxLength 1024 + * @nullable + */ + content_author?: string | null + /** + * @maxLength 24 + * @nullable + */ + content_language?: string | null + checksum?: string + /** @nullable */ + image_src?: NestedContentFileImageSrc + readonly resource_id: string + readonly resource_readable_id: string + source_path?: string + /** Extract the course number(s) from the associated course */ + readonly course_number: readonly string[] + /** + * @maxLength 128 + * @nullable + */ + file_type?: string | null + /** + * @maxLength 32 + * @nullable + */ + file_extension?: string | null + readonly offered_by: LearningResourceOfferor + readonly platform: LearningResourcePlatform + run_readable_id?: string + /** + * @maxLength 1024 + * @nullable + */ + edx_module_id?: string | null + /** + * @maxLength 32 + * @nullable + */ + youtube_id?: string | null +} + export type NewsFeedItemResourceType = (typeof NewsFeedItemResourceType)[keyof typeof NewsFeedItemResourceType] @@ -1884,7 +2084,7 @@ export interface PathwayChannel { * Get the avatar image URL * @nullable */ - avatar?: string | null + readonly avatar: string | null /** * Get the avatar image small URL * @nullable @@ -1899,7 +2099,7 @@ export interface PathwayChannel { * Get the banner image URL * @nullable */ - banner?: string | null + readonly banner: string | null readonly lists: readonly LearningPathPreview[] /** Get the URL for the channel */ readonly channel_url: string @@ -1973,8 +2173,13 @@ export interface Podcast { export interface PodcastEpisode { readonly id: number /** Get the podcast id(s) the episode belongs to */ - readonly podcasts: readonly string[] - transcript?: string + readonly podcasts: readonly number[] + readonly parent_podcasts: readonly PodcastEpisodeParent[] + /** Whether a transcript is available from the transcript endpoint. + +The text itself is excluded from this serializer, so this is how a +client knows whether to fetch it. */ + readonly has_transcript: boolean /** @maxLength 2048 */ audio_url: string /** @@ -1987,8 +2192,15 @@ export interface PodcastEpisode { * @nullable */ duration?: string | null - /** @nullable */ - rss?: string | null +} + +/** + * Minimal parent-podcast summary embedded in an episode. + */ +export interface PodcastEpisodeParent { + id: number + title: string + readable_id: string } /** @@ -2139,6 +2351,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: PodcastEpisodeResourceResourceType readonly podcast_episode: PodcastEpisode readonly readable_id: string @@ -2363,6 +2577,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: PodcastResourceResourceType readonly podcast: Podcast readonly readable_id: string @@ -2498,6 +2714,7 @@ export interface Profile { readonly profile_image_small: string /** Custom getter for medium profile image */ readonly profile_image_medium: string + email_optin?: boolean /** @nullable */ bio?: string | null /** @@ -2825,6 +3042,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: ProgramResourceResourceType readonly program: Program readonly readable_id: string @@ -3056,7 +3275,7 @@ export interface TopicChannel { * Get the avatar image URL * @nullable */ - avatar?: string | null + readonly avatar: string | null /** * Get the avatar image small URL * @nullable @@ -3071,7 +3290,7 @@ export interface TopicChannel { * Get the banner image URL * @nullable */ - banner?: string | null + readonly banner: string | null readonly lists: readonly LearningPathPreview[] /** Get the URL for the channel */ readonly channel_url: string @@ -3150,7 +3369,7 @@ export interface UnitChannel { * Get the avatar image URL * @nullable */ - avatar?: string | null + readonly avatar: string | null /** * Get the avatar image small URL * @nullable @@ -3165,7 +3384,7 @@ export interface UnitChannel { * Get the banner image URL * @nullable */ - banner?: string | null + readonly banner: string | null readonly lists: readonly LearningPathPreview[] /** Get the URL for the channel */ readonly channel_url: string @@ -3217,6 +3436,8 @@ export const UnitChannelTypeEnum = { export interface User { readonly id: number readonly username: string + /** @nullable */ + readonly global_id: string | null profile?: Profile readonly first_name: string readonly last_name: string @@ -3257,6 +3478,16 @@ export interface UserWebsiteRequest { url: string } +/** + * @nullable + */ +export type VideoStreamingUrl = string | string | null + +/** + * @nullable + */ +export type VideoCoverImageUrl = string | string | null + /** * Serializer for the Video model */ @@ -3264,9 +3495,9 @@ export interface Video { readonly id: number readonly caption_urls: readonly CaptionUrl[] /** @nullable */ - readonly streaming_url: string | null + readonly streaming_url: VideoStreamingUrl /** @nullable */ - readonly cover_image_url: string | null + readonly cover_image_url: VideoCoverImageUrl /** @maxLength 11 */ duration: string } @@ -3294,6 +3525,14 @@ export interface VideoPlaylist { /** @nullable */ readonly channel: VideoPlaylistChannel video_count: number + /** @nullable */ + readonly parent_learning_resource_id: number | null + /** @nullable */ + readonly parent_title: string | null + /** @nullable */ + readonly parent_url: string | null + /** Extract the course number(s) from the parent course, if any */ + readonly parent_course_numbers: readonly string[] } /** @@ -3444,6 +3683,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: VideoPlaylistResourceResourceType readonly video_playlist: VideoPlaylist readonly readable_id: string @@ -3673,13 +3914,15 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: VideoResourceResourceType /** @nullable */ readonly video: VideoResourceVideo /** Get the playlist id(s) the video belongs to */ readonly playlists: readonly string[] /** @nullable */ - readonly content_files: readonly ContentFile[] | null + readonly content_files: readonly NestedContentFile[] | null /** @nullable */ readonly description: string | null readonly readable_id: string @@ -4188,7 +4431,8 @@ export type VectorLearningResourcesSearchRetrieveParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -4286,6 +4530,10 @@ export type VectorLearningResourcesSearchRetrieveParams = { * @minLength 1 */ readable_id?: string + /** + * The resource category for the resource + */ + resource_category?: string[] /** * The type of learning resource @@ -4449,7 +4697,8 @@ export const VectorLearningResourcesSearchRetrieveDeliveryItem = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -4493,6 +4742,7 @@ export const VectorLearningResourcesSearchRetrieveDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", CC: "CC", diff --git a/load_testing/backend/client/v0/api.ts b/load_testing/backend/client/v0/api.ts index 55ad3af186..42a9303c54 100644 --- a/load_testing/backend/client/v0/api.ts +++ b/load_testing/backend/client/v0/api.ts @@ -16,7 +16,10 @@ import type { Channel, ChannelCounts, ChannelsListParams, + ContentFeedback, + ContentFeedbackRequest, ContentFileVectorSearchResponse, + CurrentUser, FeedItem, FeedSource, LearningResourcesVectorSearchResponse, @@ -63,10 +66,9 @@ export class MITLearnAPIClient { } /** - * CRUD Operations related to Channels. Channels may represent groups -or organizations at MIT and are a high-level categorization of content. - * @summary List - */ + * List published channels. + * @summary List + */ channelsList( params?: ChannelsListParams, requestParameters?: Params, @@ -250,6 +252,48 @@ or organizations at MIT and are a high-level categorization of content. } } + /** + * Accept per-block content feedback submissions (append-only). + */ + contentFeedbackCreate( + contentFeedbackRequest: ContentFeedbackRequest, + requestParameters?: Params, + ): { + response: Response + data: ContentFeedback + operationId: string + } { + const k6url = new URL(this.cleanBaseUrl + `/api/v0/content_feedback/`) + const mergedRequestParameters = this._mergeRequestParameters( + requestParameters || {}, + this.commonRequestParameters, + ) + const response = http.request( + "POST", + k6url.toString(), + JSON.stringify(contentFeedbackRequest), + { + ...mergedRequestParameters, + headers: { + ...mergedRequestParameters?.headers, + "Content-Type": "application/json", + }, + }, + ) + let data + + try { + data = response.json() + } catch { + data = response.body + } + return { + response, + data, + operationId: "content_feedback_create", + } + } + /** * Learning resource search default admin param values */ @@ -992,7 +1036,7 @@ or organizations at MIT and are a high-level categorization of content. */ usersMeRetrieve(requestParameters?: Params): { response: Response - data: User + data: CurrentUser operationId: string } { const k6url = new URL(this.cleanBaseUrl + `/api/v0/users/me/`) diff --git a/load_testing/backend/client/v1/api.schemas.ts b/load_testing/backend/client/v1/api.schemas.ts index 3ae2153249..8c6a550f6a 100644 --- a/load_testing/backend/client/v1/api.schemas.ts +++ b/load_testing/backend/client/v1/api.schemas.ts @@ -113,6 +113,11 @@ export const CertificationTypeEnum = { none: "none", } as const +/** + * @nullable + */ +export type ContentFileImageSrc = string | string | null + /** * Serializer class for course run ContentFiles */ @@ -167,11 +172,8 @@ export interface ContentFile { */ content_language?: string | null checksum?: string - /** - * @maxLength 200 - * @nullable - */ - image_src?: string | null + /** @nullable */ + image_src?: ContentFileImageSrc readonly resource_id: string readonly resource_readable_id: string source_path?: string @@ -258,8 +260,10 @@ export interface ContentFileSearchResponse { export interface ContentFileWebHookRequest { content_path?: string source: SourceEnum - course_id?: string - course_readable_id?: string + /** @nullable */ + course_id?: string | null + /** @nullable */ + course_readable_id?: string | null } /** @@ -268,8 +272,10 @@ export interface ContentFileWebHookRequest { export interface ContentFileWebHookRequestRequest { content_path?: string source: SourceEnum - course_id?: string - course_readable_id?: string + /** @nullable */ + course_id?: string | null + /** @nullable */ + course_readable_id?: string | null } /** @@ -456,6 +462,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: CourseResourceResourceType readonly course: Course readonly readable_id: string @@ -666,7 +674,8 @@ export const DeliveryEnum = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -731,8 +740,10 @@ export const DepartmentEnum = { "21H": "21H", /** Literature */ "21L": "21L", - /** Music and Theater Arts */ + /** Music */ "21M": "21M", + /** Theater Arts */ + "21T": "21T", /** Nuclear Science and Engineering */ NUMBER_22: "22", /** Linguistics and Philosophy */ @@ -911,9 +922,11 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: DocumentResourceResourceType /** @nullable */ - readonly content_files: readonly ContentFile[] | null + readonly content_files: readonly NestedContentFile[] | null /** @nullable */ readonly description: string | null readonly readable_id: string @@ -1679,6 +1692,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: LearningPathResourceResourceType /** The display category for this resource. */ readonly resource_category: string @@ -2162,6 +2177,8 @@ export interface LearningResourceOfferor { display_facet?: boolean } +export type LearningResourceOfferorDetailMoreInformation = string | string + /** * Serializer for LearningResourceOfferor with all details */ @@ -2179,8 +2196,7 @@ export interface LearningResourceOfferorDetail { fee?: string[] certifications?: string[] content_types?: string[] - /** @maxLength 200 */ - more_information?: string + more_information?: LearningResourceOfferorDetailMoreInformation value_prop?: string display_facet?: boolean } @@ -2621,8 +2637,48 @@ export interface LearningResourceSummary { * @nullable */ url?: string | null + /** @maxLength 256 */ + title: string + resource_type: LearningResourceSummaryResourceTypeEnum + /** Ids of the parents that form part of this resource's URL: the parent podcasts of a podcast episode, the playlists of a video. Empty for every other resource type. Parents are not filtered by `published`, so an id here may belong to a resource this endpoint will not return. */ + readonly canonical_parent_ids: readonly number[] + /** Where this resource lives within Learn */ + readonly learn_url: string } +/** + * * `course` - Course + * `program` - Program + * `learning_path` - Learning Path + * `podcast` - Podcast + * `podcast_episode` - Podcast Episode + * `video` - Video + * `video_playlist` - Video Playlist + * `document` - Document + */ +export type LearningResourceSummaryResourceTypeEnum = + (typeof LearningResourceSummaryResourceTypeEnum)[keyof typeof LearningResourceSummaryResourceTypeEnum] + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const LearningResourceSummaryResourceTypeEnum = { + /** Course */ + course: "course", + /** Program */ + program: "program", + /** Learning Path */ + learning_path: "learning_path", + /** Podcast */ + podcast: "podcast", + /** Podcast Episode */ + podcast_episode: "podcast_episode", + /** Video */ + video: "video", + /** Video Playlist */ + video_playlist: "video_playlist", + /** Document */ + document: "document", +} as const + /** * Serializer for LearningResourceTopic model */ @@ -2718,6 +2774,97 @@ export interface MicroUserListRelationship { readonly child: number } +/** + * @nullable + */ +export type NestedContentFileImageSrc = string | string | null + +/** + * ContentFileSerializer without the large text fields (content, summary, +flashcards), for nesting inside learning resource API responses. +The search indexing path re-adds full content where needed. + */ +export interface NestedContentFile { + readonly id: number + run_id?: number + /** @nullable */ + direct_learning_resource_id?: number | null + run_title?: string + run_slug?: string + readonly departments: readonly LearningResourceDepartment[] + semester?: string + year?: number + readonly topics: readonly LearningResourceTopic[] + /** + * @maxLength 1024 + * @nullable + */ + key?: string | null + /** + * @maxLength 36 + * @nullable + */ + uid?: string | null + /** + * @maxLength 1024 + * @nullable + */ + title?: string | null + /** @nullable */ + description?: string | null + readonly require_summaries: boolean + /** @nullable */ + url?: string | null + content_feature_type: string[] + content_type?: ContentFileContentTypeEnum + /** + * @maxLength 1024 + * @nullable + */ + content_title?: string | null + /** + * @maxLength 1024 + * @nullable + */ + content_author?: string | null + /** + * @maxLength 24 + * @nullable + */ + content_language?: string | null + checksum?: string + /** @nullable */ + image_src?: NestedContentFileImageSrc + readonly resource_id: string + readonly resource_readable_id: string + source_path?: string + /** Extract the course number(s) from the associated course */ + readonly course_number: readonly string[] + /** + * @maxLength 128 + * @nullable + */ + file_type?: string | null + /** + * @maxLength 32 + * @nullable + */ + file_extension?: string | null + readonly offered_by: LearningResourceOfferor + readonly platform: LearningResourcePlatform + run_readable_id?: string + /** + * @maxLength 1024 + * @nullable + */ + edx_module_id?: string | null + /** + * @maxLength 32 + * @nullable + */ + youtube_id?: string | null +} + export type NullEnum = (typeof NullEnum)[keyof typeof NullEnum] // eslint-disable-next-line @typescript-eslint/no-redeclare @@ -2731,9 +2878,15 @@ public videos API; `key` is required) or a delete payload (`video_id` plus `delete: true`). */ export interface OVSVideoWebhookRequestRequest { - /** @minLength 1 */ + /** + * @minLength 1 + * @pattern ^[A-Za-z0-9._-]{1,255}$ + */ key?: string - /** @minLength 1 */ + /** + * @minLength 1 + * @pattern ^[A-Za-z0-9._-]{1,255}$ + */ video_id?: string delete?: boolean } @@ -3102,6 +3255,8 @@ export interface PatchedUserListRequest { privacy_level?: PrivacyLevelEnum } +export type PatchedWebsiteContentRequestSlug = string | string + /** * Serializer for WebsiteContent model. */ @@ -3115,11 +3270,7 @@ export interface PatchedWebsiteContentRequest { content?: unknown content_type?: WebsiteContentContentTypeEnum is_published?: boolean - /** - * @maxLength 60 - * @pattern ^[-a-zA-Z0-9_]+$ - */ - slug?: string + slug?: PatchedWebsiteContentRequestSlug } /** @@ -3274,7 +3425,8 @@ export interface PercolateQuerySubscriptionRequestRequest { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -3488,8 +3640,13 @@ export interface Podcast { export interface PodcastEpisode { readonly id: number /** Get the podcast id(s) the episode belongs to */ - readonly podcasts: readonly string[] - transcript?: string + readonly podcasts: readonly number[] + readonly parent_podcasts: readonly PodcastEpisodeParent[] + /** Whether a transcript is available from the transcript endpoint. + +The text itself is excluded from this serializer, so this is how a +client knows whether to fetch it. */ + readonly has_transcript: boolean /** @maxLength 2048 */ audio_url: string /** @@ -3502,15 +3659,21 @@ export interface PodcastEpisode { * @nullable */ duration?: string | null - /** @nullable */ - rss?: string | null +} + +/** + * Minimal parent-podcast summary embedded in an episode. + */ +export interface PodcastEpisodeParent { + id: number + title: string + readable_id: string } /** * Serializer for PodcastEpisode */ export interface PodcastEpisodeRequest { - transcript?: string /** * @minLength 1 * @maxLength 2048 @@ -3527,8 +3690,6 @@ export interface PodcastEpisodeRequest { * @nullable */ duration?: string | null - /** @nullable */ - rss?: string | null } /** @@ -3679,6 +3840,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: PodcastEpisodeResourceResourceType readonly podcast_episode: PodcastEpisode readonly readable_id: string @@ -3846,6 +4009,17 @@ export const PodcastEpisodeResourceResourceTypeEnum = { podcast_episode: "podcast_episode", } as const +/** + * Serializer for a single podcast episode's transcript. + +Kept out of PodcastEpisodeSerializer so the text is only ever sent when a +client asks for this one episode's transcript. + */ +export interface PodcastEpisodeTranscript { + readonly id: number + transcript?: string +} + /** * Serializer for Podcasts */ @@ -4019,6 +4193,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: PodcastResourceResourceType readonly podcast: Podcast readonly readable_id: string @@ -4473,6 +4649,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: ProgramResourceResourceType readonly program: Program readonly readable_id: string @@ -4810,8 +4988,7 @@ export const SortbyEnum = { } as const /** - * * `micromasters` - micromasters - * `mit_edx` - mit_edx + * * `mit_edx` - mit_edx * `mitpe` - mitpe * `mitxonline` - mitxonline * `oll` - oll @@ -4828,8 +5005,6 @@ export type SourceEnum = (typeof SourceEnum)[keyof typeof SourceEnum] // eslint-disable-next-line @typescript-eslint/no-redeclare export const SourceEnum = { - /** micromasters */ - micromasters: "micromasters", /** mit_edx */ mit_edx: "mit_edx", /** mitpe */ @@ -4949,6 +5124,16 @@ export interface UserRequest { last_name?: string } +/** + * @nullable + */ +export type VideoStreamingUrl = string | string | null + +/** + * @nullable + */ +export type VideoCoverImageUrl = string | string | null + /** * Serializer for the Video model */ @@ -4956,9 +5141,9 @@ export interface Video { readonly id: number readonly caption_urls: readonly CaptionUrl[] /** @nullable */ - readonly streaming_url: string | null + readonly streaming_url: VideoStreamingUrl /** @nullable */ - readonly cover_image_url: string | null + readonly cover_image_url: VideoCoverImageUrl /** @maxLength 11 */ duration: string } @@ -5002,6 +5187,14 @@ export interface VideoPlaylist { /** @nullable */ readonly channel: VideoPlaylistChannel video_count: number + /** @nullable */ + readonly parent_learning_resource_id: number | null + /** @nullable */ + readonly parent_title: string | null + /** @nullable */ + readonly parent_url: string | null + /** Extract the course number(s) from the parent course, if any */ + readonly parent_course_numbers: readonly string[] } /** @@ -5159,6 +5352,8 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: VideoPlaylistResourceResourceType readonly video_playlist: VideoPlaylist readonly readable_id: string @@ -5490,13 +5685,15 @@ For all other types, returns "learning_material". * @nullable */ readonly best_run_id: number | null + /** Where this resource lives within Learn */ + readonly learn_url: string resource_type: VideoResourceResourceType /** @nullable */ readonly video: VideoResourceVideo /** Get the playlist id(s) the video belongs to */ readonly playlists: readonly string[] /** @nullable */ - readonly content_files: readonly ContentFile[] | null + readonly content_files: readonly NestedContentFile[] | null /** @nullable */ readonly description: string | null readonly readable_id: string @@ -5669,6 +5866,10 @@ export interface WebhookResponse { error?: string } +export type WebsiteContentSlug = string | string + +export type WebsiteContentCoverImage = string | string + /** * Serializer for WebsiteContent model. */ @@ -5684,11 +5885,8 @@ export interface WebsiteContent { readonly updated_on: string readonly publish_date: string is_published?: boolean - /** - * @maxLength 60 - * @pattern ^[-a-zA-Z0-9_]+$ - */ - slug?: string + slug?: WebsiteContentSlug + readonly cover_image: WebsiteContentCoverImage } /** @@ -5710,6 +5908,8 @@ export interface WebsiteContentImageUploadRequest { image_file: Blob } +export type WebsiteContentRequestSlug = string | string + /** * Serializer for WebsiteContent model. */ @@ -5723,11 +5923,7 @@ export interface WebsiteContentRequest { content?: unknown content_type?: WebsiteContentContentTypeEnum is_published?: boolean - /** - * @maxLength 60 - * @pattern ^[-a-zA-Z0-9_]+$ - */ - slug?: string + slug?: WebsiteContentRequestSlug } export type ArticlesListParams = { @@ -6127,7 +6323,8 @@ export type CoursesListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -6310,6 +6507,7 @@ export const CoursesListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -6602,7 +6800,8 @@ export type FeaturedListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -6785,6 +6984,7 @@ export const FeaturedListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -6994,7 +7194,8 @@ export type LearningResourceDisplayInfoListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -7177,6 +7378,7 @@ export const LearningResourceDisplayInfoListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -7351,7 +7553,8 @@ export type LearningResourcesListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -7534,6 +7737,7 @@ export const LearningResourcesListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -7712,7 +7916,8 @@ export type LearningResourcesSimilarListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -7781,6 +7986,10 @@ export type LearningResourcesSimilarListParams = { * @nullable */ professional?: boolean | null + /** + * The resource category for the resource + */ + resource_category?: string[] /** * The type of learning resource @@ -7865,7 +8074,8 @@ export const LearningResourcesSimilarListDeliveryItem = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -7909,6 +8119,7 @@ export const LearningResourcesSimilarListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", CC: "CC", @@ -8115,7 +8326,8 @@ export type LearningResourcesVectorSimilarListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -8184,6 +8396,10 @@ export type LearningResourcesVectorSimilarListParams = { * @nullable */ professional?: boolean | null + /** + * The resource category for the resource + */ + resource_category?: string[] /** * The type of learning resource @@ -8268,7 +8484,8 @@ export const LearningResourcesVectorSimilarListDeliveryItem = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -8312,6 +8529,7 @@ export const LearningResourcesVectorSimilarListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", CC: "CC", @@ -8650,7 +8868,8 @@ export type LearningResourcesSummaryListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -8833,6 +9052,7 @@ export const LearningResourcesSummaryListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -9022,7 +9242,8 @@ export type LearningResourcesSearchRetrieveParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -9297,7 +9518,8 @@ export const LearningResourcesSearchRetrieveDeliveryItem = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -9341,6 +9563,7 @@ export const LearningResourcesSearchRetrieveDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", CC: "CC", @@ -9597,7 +9820,8 @@ export type LearningResourcesUserSubscriptionListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -9872,7 +10096,8 @@ export const LearningResourcesUserSubscriptionListDeliveryItem = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -9916,6 +10141,7 @@ export const LearningResourcesUserSubscriptionListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", CC: "CC", @@ -10172,7 +10398,8 @@ export type LearningResourcesUserSubscriptionCheckListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -10455,7 +10682,8 @@ export const LearningResourcesUserSubscriptionCheckListDeliveryItem = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -10499,6 +10727,7 @@ export const LearningResourcesUserSubscriptionCheckListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", CC: "CC", @@ -10764,7 +10993,8 @@ export type LearningResourcesUserSubscriptionSubscribeCreateParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -11049,7 +11279,8 @@ export const LearningResourcesUserSubscriptionSubscribeCreateDeliveryItem = { * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music + * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -11093,6 +11324,7 @@ export const LearningResourcesUserSubscriptionSubscribeCreateDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", CC: "CC", @@ -11345,7 +11577,8 @@ export type LearningpathsListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -11528,6 +11761,7 @@ export const LearningpathsListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -11739,7 +11973,8 @@ export type PodcastEpisodesListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -11922,6 +12157,7 @@ export const PodcastEpisodesListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -12096,7 +12332,8 @@ export type PodcastsListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -12279,6 +12516,7 @@ export const PodcastsListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -12468,7 +12706,8 @@ export type ProgramsListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -12651,6 +12890,7 @@ export const ProgramsListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -12810,6 +13050,12 @@ export type TopicsListParams = { parent_topic_id?: number[] } +export type UnsubscribeCreate200 = { [key: string]: unknown } + +export type UnsubscribeCreate400 = { + error?: string +} + export type MediaUpload201 = { url?: string } @@ -12885,7 +13131,8 @@ export type VideoPlaylistsListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -13068,6 +13315,7 @@ export const VideoPlaylistsListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -13257,7 +13505,8 @@ export type VideosListParams = { * `21G` - Global Languages * `21H` - History * `21L` - Literature -* `21M` - Music and Theater Arts +* `21M` - Music +* `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy * `CC` - Concourse @@ -13440,6 +13689,7 @@ export const VideosListDepartmentItem = { "21H": "21H", "21L": "21L", "21M": "21M", + "21T": "21T", NUMBER_22: "22", NUMBER_24: "24", NUMBER_3: "3", @@ -13567,11 +13817,16 @@ export const VideosListSortby = { export type WebhooksContentFilesCreateParams = { content_path?: string - course_id?: string - course_readable_id?: string /** - * * `micromasters` - micromasters - * `mit_edx` - mit_edx + * @nullable + */ + course_id?: string | null + /** + * @nullable + */ + course_readable_id?: string | null + /** + * * `mit_edx` - mit_edx * `mitpe` - mitpe * `mitxonline` - mitxonline * `oll` - oll @@ -13593,7 +13848,6 @@ export type WebhooksContentFilesCreateSource = // eslint-disable-next-line @typescript-eslint/no-redeclare export const WebhooksContentFilesCreateSource = { - micromasters: "micromasters", mit_edx: "mit_edx", mitpe: "mitpe", mitxonline: "mitxonline", diff --git a/load_testing/backend/client/v1/api.ts b/load_testing/backend/client/v1/api.ts index 7318d50ed0..3c7993f4f3 100644 --- a/load_testing/backend/client/v1/api.ts +++ b/load_testing/backend/client/v1/api.ts @@ -99,6 +99,7 @@ import type { PercolateQuerySubscriptionRequestRequest, PlatformsListParams, PodcastEpisodeResource, + PodcastEpisodeTranscript, PodcastEpisodesListParams, PodcastResource, PodcastsItemsListParams, @@ -108,6 +109,7 @@ import type { ProgramsListParams, SchoolsListParams, TopicsListParams, + UnsubscribeCreate200, UserList, UserListRelationship, UserListRelationshipRequest, @@ -2418,6 +2420,55 @@ PercolateQuerySerializer: The percolate query } } + /** + * Fetch one episode's transcript. + +Served separately from the episode payload because the text runs tens +of kilobytes; `podcast_episode.has_transcript` says whether there is +anything here to fetch. + +Args: +id (integer): The id of the podcast episode + +Returns: +The episode id and its transcript text + * @summary Get a podcast episode transcript + */ + podcastEpisodesTranscriptRetrieve( + id: number, + requestParameters?: Params, + ): { + response: Response + data: PodcastEpisodeTranscript + operationId: string + } { + const k6url = new URL( + this.cleanBaseUrl + `/api/v1/podcast_episodes/${id}/transcript/`, + ) + const mergedRequestParameters = this._mergeRequestParameters( + requestParameters || {}, + this.commonRequestParameters, + ) + const response = http.request( + "GET", + k6url.toString(), + undefined, + mergedRequestParameters, + ) + let data + + try { + data = response.json() + } catch { + data = response.body + } + return { + response, + data, + operationId: "podcast_episodes_transcript_retrieve", + } + } + /** * Get a paginated list of podcasts * @summary List @@ -2833,6 +2884,43 @@ PercolateQuerySerializer: The percolate query } } + /** + * Handle email unsubscribe requests via signed token. + * @summary One-click unsubscribe (RFC 8058) + */ + unsubscribeCreate( + token: string, + requestParameters?: Params, + ): { + response: Response + data: UnsubscribeCreate200 + operationId: string + } { + const k6url = new URL(this.cleanBaseUrl + `/api/v1/unsubscribe/${token}/`) + const mergedRequestParameters = this._mergeRequestParameters( + requestParameters || {}, + this.commonRequestParameters, + ) + const response = http.request( + "POST", + k6url.toString(), + undefined, + mergedRequestParameters, + ) + let data + + try { + data = response.json() + } catch { + data = response.body + } + return { + response, + data, + operationId: "unsubscribe_create", + } + } + /** * Upload an image (multipart/form-data) and return the storage URL. */ diff --git a/load_testing/scripts/generate-from-openapi.sh b/load_testing/scripts/generate-from-openapi.sh index eeedafd75a..50c445874c 100755 --- a/load_testing/scripts/generate-from-openapi.sh +++ b/load_testing/scripts/generate-from-openapi.sh @@ -6,7 +6,7 @@ ROOT_DIR=$(dirname "${PARENT_DIR}") pushd $PARENT_DIR || exit 1 -npx openapi-to-k6 --mode split "${ROOT_DIR}/openapi/specs/v0.yaml" "${ROOT_DIR}/load_testing/backend/client/v0/api.ts" -npx openapi-to-k6 --mode split "${ROOT_DIR}/openapi/specs/v1.yaml" "${ROOT_DIR}/load_testing/backend/client/v1/api.ts" +npx @grafana/openapi-to-k6 --mode split "${ROOT_DIR}/openapi/specs/v0.yaml" "${ROOT_DIR}/load_testing/backend/client/v0/api.ts" +npx @grafana/openapi-to-k6 --mode split "${ROOT_DIR}/openapi/specs/v1.yaml" "${ROOT_DIR}/load_testing/backend/client/v1/api.ts" popd || exit 1 diff --git a/main/settings.py b/main/settings.py index 2ebe5711d3..88b1925fd3 100644 --- a/main/settings.py +++ b/main/settings.py @@ -36,7 +36,7 @@ from main.settings_pluggy import * # noqa: F403 from openapi.settings_spectacular import open_spectacular_settings -VERSION = "0.78.6" +VERSION = "0.79.0" log = logging.getLogger() diff --git a/openapi/specs/v0.yaml b/openapi/specs/v0.yaml index 7228dc6ab3..d366a02312 100644 --- a/openapi/specs/v0.yaml +++ b/openapi/specs/v0.yaml @@ -1062,7 +1062,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -1087,15 +1087,14 @@ paths: Sciences\n* `14` - Economics\n* `15` - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* - `21H` - History\n* `21L` - Literature\n* `21M` - Music and Theater Arts\n* - `21T` - Theater Arts\n* `22` - Nuclear Science and Engineering\n* `24` - - Linguistics and Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative - Media Studies/Writing\n* `EC` - Edgerton Center\n* `ES` - Experimental Study - Group\n* `ESD` - Engineering Systems Division\n* `HST` - Medical Engineering - and Science\n* `IDS` - Data, Systems, and Society\n* `MAS` - Media Arts - and Sciences\n* `PE` - Athletics, Physical Education and Recreation\n* `SP` - - Special Programs\n* `STS` - Science, Technology, and Society\n* `WGS` - - Women's and Gender Studies" + `21H` - History\n* `21L` - Literature\n* `21M` - Music\n* `21T` - Theater + Arts\n* `22` - Nuclear Science and Engineering\n* `24` - Linguistics and + Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* + `EC` - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering + Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, + Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, + Physical Education and Recreation\n* `SP` - Special Programs\n* `STS` - + Science, Technology, and Society\n* `WGS` - Women's and Gender Studies" - in: query name: free schema: diff --git a/openapi/specs/v1.yaml b/openapi/specs/v1.yaml index be8f62026f..81885d9ed4 100644 --- a/openapi/specs/v1.yaml +++ b/openapi/specs/v1.yaml @@ -735,7 +735,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -1388,7 +1388,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -1991,7 +1991,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -2418,7 +2418,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -2836,7 +2836,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -2861,15 +2861,14 @@ paths: Sciences\n* `14` - Economics\n* `15` - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* - `21H` - History\n* `21L` - Literature\n* `21M` - Music and Theater Arts\n* - `21T` - Theater Arts\n* `22` - Nuclear Science and Engineering\n* `24` - - Linguistics and Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative - Media Studies/Writing\n* `EC` - Edgerton Center\n* `ES` - Experimental Study - Group\n* `ESD` - Engineering Systems Division\n* `HST` - Medical Engineering - and Science\n* `IDS` - Data, Systems, and Society\n* `MAS` - Media Arts - and Sciences\n* `PE` - Athletics, Physical Education and Recreation\n* `SP` - - Special Programs\n* `STS` - Science, Technology, and Society\n* `WGS` - - Women's and Gender Studies" + `21H` - History\n* `21L` - Literature\n* `21M` - Music\n* `21T` - Theater + Arts\n* `22` - Nuclear Science and Engineering\n* `24` - Linguistics and + Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* + `EC` - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering + Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, + Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, + Physical Education and Recreation\n* `SP` - Special Programs\n* `STS` - + Science, Technology, and Society\n* `WGS` - Women's and Gender Studies" - in: query name: free schema: @@ -3208,7 +3207,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -3233,15 +3232,14 @@ paths: Sciences\n* `14` - Economics\n* `15` - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* - `21H` - History\n* `21L` - Literature\n* `21M` - Music and Theater Arts\n* - `21T` - Theater Arts\n* `22` - Nuclear Science and Engineering\n* `24` - - Linguistics and Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative - Media Studies/Writing\n* `EC` - Edgerton Center\n* `ES` - Experimental Study - Group\n* `ESD` - Engineering Systems Division\n* `HST` - Medical Engineering - and Science\n* `IDS` - Data, Systems, and Society\n* `MAS` - Media Arts - and Sciences\n* `PE` - Athletics, Physical Education and Recreation\n* `SP` - - Special Programs\n* `STS` - Science, Technology, and Society\n* `WGS` - - Women's and Gender Studies" + `21H` - History\n* `21L` - Literature\n* `21M` - Music\n* `21T` - Theater + Arts\n* `22` - Nuclear Science and Engineering\n* `24` - Linguistics and + Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* + `EC` - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering + Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, + Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, + Physical Education and Recreation\n* `SP` - Special Programs\n* `STS` - + Science, Technology, and Society\n* `WGS` - Women's and Gender Studies" - in: query name: free schema: @@ -3915,7 +3913,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -4352,7 +4350,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -4377,15 +4375,14 @@ paths: Sciences\n* `14` - Economics\n* `15` - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* - `21H` - History\n* `21L` - Literature\n* `21M` - Music and Theater Arts\n* - `21T` - Theater Arts\n* `22` - Nuclear Science and Engineering\n* `24` - - Linguistics and Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative - Media Studies/Writing\n* `EC` - Edgerton Center\n* `ES` - Experimental Study - Group\n* `ESD` - Engineering Systems Division\n* `HST` - Medical Engineering - and Science\n* `IDS` - Data, Systems, and Society\n* `MAS` - Media Arts - and Sciences\n* `PE` - Athletics, Physical Education and Recreation\n* `SP` - - Special Programs\n* `STS` - Science, Technology, and Society\n* `WGS` - - Women's and Gender Studies" + `21H` - History\n* `21L` - Literature\n* `21M` - Music\n* `21T` - Theater + Arts\n* `22` - Nuclear Science and Engineering\n* `24` - Linguistics and + Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* + `EC` - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering + Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, + Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, + Physical Education and Recreation\n* `SP` - Special Programs\n* `STS` - + Science, Technology, and Society\n* `WGS` - Women's and Gender Studies" - in: query name: dev_mode schema: @@ -4884,7 +4881,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -4909,15 +4906,14 @@ paths: Sciences\n* `14` - Economics\n* `15` - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* - `21H` - History\n* `21L` - Literature\n* `21M` - Music and Theater Arts\n* - `21T` - Theater Arts\n* `22` - Nuclear Science and Engineering\n* `24` - - Linguistics and Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative - Media Studies/Writing\n* `EC` - Edgerton Center\n* `ES` - Experimental Study - Group\n* `ESD` - Engineering Systems Division\n* `HST` - Medical Engineering - and Science\n* `IDS` - Data, Systems, and Society\n* `MAS` - Media Arts - and Sciences\n* `PE` - Athletics, Physical Education and Recreation\n* `SP` - - Special Programs\n* `STS` - Science, Technology, and Society\n* `WGS` - - Women's and Gender Studies" + `21H` - History\n* `21L` - Literature\n* `21M` - Music\n* `21T` - Theater + Arts\n* `22` - Nuclear Science and Engineering\n* `24` - Linguistics and + Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* + `EC` - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering + Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, + Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, + Physical Education and Recreation\n* `SP` - Special Programs\n* `STS` - + Science, Technology, and Society\n* `WGS` - Women's and Gender Studies" - in: query name: dev_mode schema: @@ -5441,7 +5437,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -5466,15 +5462,14 @@ paths: Sciences\n* `14` - Economics\n* `15` - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* - `21H` - History\n* `21L` - Literature\n* `21M` - Music and Theater Arts\n* - `21T` - Theater Arts\n* `22` - Nuclear Science and Engineering\n* `24` - - Linguistics and Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative - Media Studies/Writing\n* `EC` - Edgerton Center\n* `ES` - Experimental Study - Group\n* `ESD` - Engineering Systems Division\n* `HST` - Medical Engineering - and Science\n* `IDS` - Data, Systems, and Society\n* `MAS` - Media Arts - and Sciences\n* `PE` - Athletics, Physical Education and Recreation\n* `SP` - - Special Programs\n* `STS` - Science, Technology, and Society\n* `WGS` - - Women's and Gender Studies" + `21H` - History\n* `21L` - Literature\n* `21M` - Music\n* `21T` - Theater + Arts\n* `22` - Nuclear Science and Engineering\n* `24` - Linguistics and + Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* + `EC` - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering + Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, + Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, + Physical Education and Recreation\n* `SP` - Special Programs\n* `STS` - + Science, Technology, and Society\n* `WGS` - Women's and Gender Studies" - in: query name: dev_mode schema: @@ -5989,7 +5984,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -6014,15 +6009,14 @@ paths: Sciences\n* `14` - Economics\n* `15` - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* - `21H` - History\n* `21L` - Literature\n* `21M` - Music and Theater Arts\n* - `21T` - Theater Arts\n* `22` - Nuclear Science and Engineering\n* `24` - - Linguistics and Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative - Media Studies/Writing\n* `EC` - Edgerton Center\n* `ES` - Experimental Study - Group\n* `ESD` - Engineering Systems Division\n* `HST` - Medical Engineering - and Science\n* `IDS` - Data, Systems, and Society\n* `MAS` - Media Arts - and Sciences\n* `PE` - Athletics, Physical Education and Recreation\n* `SP` - - Special Programs\n* `STS` - Science, Technology, and Society\n* `WGS` - - Women's and Gender Studies" + `21H` - History\n* `21L` - Literature\n* `21M` - Music\n* `21T` - Theater + Arts\n* `22` - Nuclear Science and Engineering\n* `24` - Linguistics and + Philosophy\n* `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* + `EC` - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering + Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, + Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, + Physical Education and Recreation\n* `SP` - Special Programs\n* `STS` - + Science, Technology, and Society\n* `WGS` - Women's and Gender Studies" - in: query name: dev_mode schema: @@ -6515,7 +6509,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -7282,7 +7276,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -7740,7 +7734,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -8254,7 +8248,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -9144,7 +9138,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -9637,7 +9631,7 @@ paths: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -11071,7 +11065,7 @@ components: * `21G` - Global Languages * `21H` - History * `21L` - Literature - * `21M` - Music and Theater Arts + * `21M` - Music * `21T` - Theater Arts * `22` - Nuclear Science and Engineering * `24` - Linguistics and Philosophy @@ -11110,7 +11104,7 @@ components: - Global Languages - History - Literature - - Music and Theater Arts + - Music - Theater Arts - Nuclear Science and Engineering - Linguistics and Philosophy @@ -14817,15 +14811,14 @@ components: - Management\n* `16` - Aeronautics and Astronautics\n* `17` - Political Science\n* `18` - Mathematics\n* `20` - Biological Engineering\n* `21A` - Anthropology\n* `21G` - Global Languages\n* `21H` - History\n* `21L` - - Literature\n* `21M` - Music and Theater Arts\n* `21T` - Theater Arts\n* - `22` - Nuclear Science and Engineering\n* `24` - Linguistics and Philosophy\n* - `CC` - Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* `EC` - - Edgerton Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering - Systems Division\n* `HST` - Medical Engineering and Science\n* `IDS` - - Data, Systems, and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - - Athletics, Physical Education and Recreation\n* `SP` - Special Programs\n* - `STS` - Science, Technology, and Society\n* `WGS` - Women's and Gender - Studies" + - Literature\n* `21M` - Music\n* `21T` - Theater Arts\n* `22` - Nuclear + Science and Engineering\n* `24` - Linguistics and Philosophy\n* `CC` - + Concourse\n* `CMS-W` - Comparative Media Studies/Writing\n* `EC` - Edgerton + Center\n* `ES` - Experimental Study Group\n* `ESD` - Engineering Systems + Division\n* `HST` - Medical Engineering and Science\n* `IDS` - Data, Systems, + and Society\n* `MAS` - Media Arts and Sciences\n* `PE` - Athletics, Physical + Education and Recreation\n* `SP` - Special Programs\n* `STS` - Science, + Technology, and Society\n* `WGS` - Women's and Gender Studies" level: type: array items: diff --git a/yarn.lock b/yarn.lock index f9fdbb87a6..c9a5a1da2f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3569,9 +3569,9 @@ __metadata: languageName: node linkType: hard -"@mitodl/course-search-utils@npm:^3.8.0": - version: 3.8.0 - resolution: "@mitodl/course-search-utils@npm:3.8.0" +"@mitodl/course-search-utils@npm:^3.8.1": + version: 3.8.1 + resolution: "@mitodl/course-search-utils@npm:3.8.1" dependencies: "@mitodl/mit-learn-api-axios": "npm:^2026.8.19" "@remixicon/react": "npm:^4.2.0" @@ -3591,7 +3591,7 @@ __metadata: optional: true react-router: optional: true - checksum: 10/6c4db32e04f38690cef129e536a446039e2557c1ef40362a103cf86b93fcd8e6c1075ac2da095b3dcf85a85aa6588cd04368b4acbd60cef6f7e4c5928211ece4 + checksum: 10/575305d77cc7bb214b15076ac71dc6ba5a4fafe5724f155358b2c6046733d78cc241d517c8b8022f8afe15d354d5a2a572c970598e68b218f46bbd6841a9fed1 languageName: node linkType: hard @@ -16907,7 +16907,7 @@ __metadata: "@floating-ui/react": "npm:^0.27.16" "@happy-dom/jest-environment": "npm:^20.1.0" "@mitodl/arithmix": "npm:^0.2.5" - "@mitodl/course-search-utils": "npm:^3.8.0" + "@mitodl/course-search-utils": "npm:^3.8.1" "@mitodl/hacksnack": "npm:^0.1.2" "@mitodl/mitxonline-api-axios": "npm:2026.8.31-1" "@mitodl/smoot-design": "npm:6.34.0"