diff --git a/VERSION b/VERSION index 580d0cc..9feca9b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2024.9.23 +2024.9.25 diff --git a/pyproject.toml b/pyproject.toml index 3ccd8e1..113d8ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "open-api-clients" -version = "2024.9.23" +version = "2024.9.25" description = "" authors = [] readme = "README.md" diff --git a/src/typescript/mit-open-api-axios/package.json b/src/typescript/mit-open-api-axios/package.json index 9aa6435..da4ede4 100644 --- a/src/typescript/mit-open-api-axios/package.json +++ b/src/typescript/mit-open-api-axios/package.json @@ -1,6 +1,6 @@ { "name": "@mitodl/open-api-axios", - "version": "2024.9.23", + "version": "2024.9.25", "description": "Library for requesting data from mit-open APIs", "main": "dist/cjs/index.js", "scripts": { diff --git a/src/typescript/mit-open-api-axios/src/v1/api.ts b/src/typescript/mit-open-api-axios/src/v1/api.ts index e0afebb..552f552 100644 --- a/src/typescript/mit-open-api-axios/src/v1/api.ts +++ b/src/typescript/mit-open-api-axios/src/v1/api.ts @@ -633,6 +633,18 @@ export interface CourseResource { * @memberof CourseResource */ 'resource_category': string; + /** + * + * @type {Array} + * @memberof CourseResource + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof CourseResource + */ + 'pace': Array; /** * * @type {CourseResourceResourceTypeEnum} @@ -790,6 +802,60 @@ export const CourseResourceDeliveryInnerCodeEnum = { export type CourseResourceDeliveryInnerCodeEnum = typeof CourseResourceDeliveryInnerCodeEnum[keyof typeof CourseResourceDeliveryInnerCodeEnum]; +/** + * + * @export + * @interface CourseResourceFormatInner + */ +export interface CourseResourceFormatInner { + /** + * + * @type {string} + * @memberof CourseResourceFormatInner + */ + 'code': CourseResourceFormatInnerCodeEnum; + /** + * + * @type {string} + * @memberof CourseResourceFormatInner + */ + 'name': string; +} + +export const CourseResourceFormatInnerCodeEnum = { + Synchronous: 'synchronous', + Asynchronous: 'asynchronous' +} as const; + +export type CourseResourceFormatInnerCodeEnum = typeof CourseResourceFormatInnerCodeEnum[keyof typeof CourseResourceFormatInnerCodeEnum]; + +/** + * + * @export + * @interface CourseResourcePaceInner + */ +export interface CourseResourcePaceInner { + /** + * + * @type {string} + * @memberof CourseResourcePaceInner + */ + 'code': CourseResourcePaceInnerCodeEnum; + /** + * + * @type {string} + * @memberof CourseResourcePaceInner + */ + 'name': string; +} + +export const CourseResourcePaceInnerCodeEnum = { + SelfPaced: 'self_paced', + InstructorPaced: 'instructor_paced' +} as const; + +export type CourseResourcePaceInnerCodeEnum = typeof CourseResourcePaceInnerCodeEnum[keyof typeof CourseResourcePaceInnerCodeEnum]; + /** * Serializer for course resources * @export @@ -1273,6 +1339,18 @@ export interface LearningPathResource { * @memberof LearningPathResource */ 'resource_category': string; + /** + * + * @type {Array} + * @memberof LearningPathResource + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof LearningPathResource + */ + 'pace': Array; /** * * @type {LearningPathResourceResourceTypeEnum} @@ -1982,6 +2060,18 @@ export interface LearningResourceRun { * @memberof LearningResourceRun */ 'delivery': Array; + /** + * + * @type {Array} + * @memberof LearningResourceRun + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof LearningResourceRun + */ + 'pace': Array; /** * * @type {string} @@ -3887,6 +3977,18 @@ export interface PodcastEpisodeResource { * @memberof PodcastEpisodeResource */ 'resource_category': string; + /** + * + * @type {Array} + * @memberof PodcastEpisodeResource + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof PodcastEpisodeResource + */ + 'pace': Array; /** * * @type {PodcastEpisodeResourceResourceTypeEnum} @@ -4231,6 +4333,18 @@ export interface PodcastResource { * @memberof PodcastResource */ 'resource_category': string; + /** + * + * @type {Array} + * @memberof PodcastResource + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof PodcastResource + */ + 'pace': Array; /** * * @type {PodcastResourceResourceTypeEnum} @@ -4790,6 +4904,18 @@ export interface ProgramResource { * @memberof ProgramResource */ 'resource_category': string; + /** + * + * @type {Array} + * @memberof ProgramResource + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof ProgramResource + */ + 'pace': Array; /** * * @type {ProgramResourceResourceTypeEnum} @@ -5564,6 +5690,18 @@ export interface VideoPlaylistResource { * @memberof VideoPlaylistResource */ 'resource_category': string; + /** + * + * @type {Array} + * @memberof VideoPlaylistResource + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof VideoPlaylistResource + */ + 'pace': Array; /** * * @type {VideoPlaylistResourceResourceTypeEnum} @@ -5896,6 +6034,18 @@ export interface VideoResource { * @memberof VideoResource */ 'resource_category': string; + /** + * + * @type {Array} + * @memberof VideoResource + */ + 'format': Array; + /** + * + * @type {Array} + * @memberof VideoResource + */ + 'pace': Array; /** * * @type {VideoResourceResourceTypeEnum}