From 09c5a0ae23bbc2e47547d59efcf07c158794ebec Mon Sep 17 00:00:00 2001 From: Constantin Bergatt Date: Fri, 19 Apr 2024 11:30:04 +0200 Subject: [PATCH] BC-3577 - adapt unit tests to latest server changes --- .../CollaborativeTextEditorApi.composable.ts | 2 +- ...laborativeTextEditorApi.composable.unit.ts | 14 +- src/serverApi/v3/api.ts | 392 ++++++++++++++++-- 3 files changed, 365 insertions(+), 43 deletions(-) diff --git a/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.ts b/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.ts index c4ccce46c0..3691642fc0 100644 --- a/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.ts +++ b/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.ts @@ -25,7 +25,7 @@ const collaborativeTextEditorApi = () => { ): Promise => { try { const response = - await collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent( + await collaborativeTextEditorApi.collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent( parentId, parentType ); diff --git a/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.unit.ts b/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.unit.ts index e5498e9654..c36d589069 100644 --- a/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.unit.ts +++ b/src/modules/feature/board-collaborative-text-editor-element/composables/CollaborativeTextEditorApi.composable.unit.ts @@ -48,7 +48,7 @@ describe("CollaborativeTextEditorApi Composable", () => { }); describe("getUrl", () => { - describe("when collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent returns successful", () => { + describe("when collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent returns successful", () => { const setup = () => { const parentId = ObjectIdMock(); const parentType = @@ -65,7 +65,7 @@ describe("CollaborativeTextEditorApi Composable", () => { jest .spyOn(serverApi, "CollaborativeTextEditorApiFactory") .mockReturnValue(collaborativeTextEditorApi); - collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent.mockResolvedValueOnce( + collaborativeTextEditorApi.collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent.mockResolvedValueOnce( response ); @@ -79,17 +79,17 @@ describe("CollaborativeTextEditorApi Composable", () => { }; }; - it("should call collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent", async () => { + it("should call collaborativeTextEditorApi.collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent", async () => { const { parentId, parentType, collaborativeTextEditorApi } = setup(); const { getUrl } = useCollaborativeTextEditorApi(); await getUrl(parentId, parentType); expect( - collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent + collaborativeTextEditorApi.collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent ).toHaveBeenCalledTimes(1); expect( - collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent + collaborativeTextEditorApi.collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent ).toHaveBeenCalledWith(parentId, parentType); }); @@ -103,7 +103,7 @@ describe("CollaborativeTextEditorApi Composable", () => { }); }); - describe("when collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent returns error", () => { + describe("when collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent returns error", () => { const setup = (message?: string) => { const parentId = ObjectIdMock(); const parentType = @@ -117,7 +117,7 @@ describe("CollaborativeTextEditorApi Composable", () => { jest .spyOn(serverApi, "CollaborativeTextEditorApiFactory") .mockReturnValue(collaborativeTextEditorApi); - collaborativeTextEditorApi.collaborativeTextEditorControllerGetCollaborativeTextEditorForParent.mockRejectedValue( + collaborativeTextEditorApi.collaborativeTextEditorControllerGetOrCreateCollaborativeTextEditorForParent.mockRejectedValue( responseError ); diff --git a/src/serverApi/v3/api.ts b/src/serverApi/v3/api.ts index cdcccd768f..a607ffe32b 100644 --- a/src/serverApi/v3/api.ts +++ b/src/serverApi/v3/api.ts @@ -1375,7 +1375,8 @@ export interface ContextExternalToolResponse { */ export enum ContextExternalToolResponseContextTypeEnum { Course = 'course', - BoardElement = 'board-element' + BoardElement = 'board-element', + MediaBoard = 'media-board' } /** @@ -1775,6 +1776,31 @@ export interface CreateContentElementBodyParams { */ toPosition?: number; } +/** + * + * @export + * @interface CreateMediaElementBodyParams + */ +export interface CreateMediaElementBodyParams { + /** + * The id of the line where the element is created + * @type {string} + * @memberof CreateMediaElementBodyParams + */ + lineId: string; + /** + * The position where the element is created + * @type {number} + * @memberof CreateMediaElementBodyParams + */ + position: number; + /** + * The id of the school external tool + * @type {string} + * @memberof CreateMediaElementBodyParams + */ + schoolExternalToolId: string; +} /** * * @export @@ -3886,6 +3912,50 @@ export interface MeUserResponse { */ customAvatarBackgroundColor?: string; } +/** + * + * @export + * @interface MediaAvailableLineElementResponse + */ +export interface MediaAvailableLineElementResponse { + /** + * School External tool id of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + schoolExternalToolId: string; + /** + * Name of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + name: string; + /** + * Description of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + description?: string; + /** + * Logo url of the media available line element + * @type {string} + * @memberof MediaAvailableLineElementResponse + */ + logoUrl?: string; +} +/** + * + * @export + * @interface MediaAvailableLineResponse + */ +export interface MediaAvailableLineResponse { + /** + * Available media elements in the line + * @type {Array} + * @memberof MediaAvailableLineResponse + */ + elements: Array; +} /** * * @export @@ -3893,19 +3963,19 @@ export interface MeUserResponse { */ export interface MediaBoardResponse { /** - * + * The id of the media board * @type {string} * @memberof MediaBoardResponse */ id: string; /** - * + * The lines of the media board * @type {Array} * @memberof MediaBoardResponse */ lines: Array; /** - * + * The timestamps of the media board * @type {TimestampsResponse} * @memberof MediaBoardResponse */ @@ -3918,7 +3988,7 @@ export interface MediaBoardResponse { */ export interface MediaExternalToolElementContent { /** - * + * The id of the context external tool * @type {string} * @memberof MediaExternalToolElementContent */ @@ -3931,19 +4001,19 @@ export interface MediaExternalToolElementContent { */ export interface MediaExternalToolElementResponse { /** - * + * The id of the media external tool element * @type {string} * @memberof MediaExternalToolElementResponse */ id: string; /** - * + * The content of the media external tool element * @type {MediaExternalToolElementContent} * @memberof MediaExternalToolElementResponse */ content: MediaExternalToolElementContent; /** - * + * The timestamps of the media external tool element * @type {TimestampsResponse} * @memberof MediaExternalToolElementResponse */ @@ -3956,25 +4026,25 @@ export interface MediaExternalToolElementResponse { */ export interface MediaLineResponse { /** - * + * The id of the media line * @type {string} * @memberof MediaLineResponse */ id: string; /** - * + * The title of the media line * @type {string} * @memberof MediaLineResponse */ title: string; /** - * + * The elements of the media line * @type {Array} * @memberof MediaLineResponse */ elements: Array; /** - * + * The timestamps of the media line * @type {TimestampsResponse} * @memberof MediaLineResponse */ @@ -4093,13 +4163,13 @@ export interface MoveContentElementBody { */ export interface MoveElementBodyParams { /** - * + * The id of the line where the element is moved to * @type {string} * @memberof MoveElementBodyParams */ toLineId: string; /** - * + * The position where the element is moved to * @type {number} * @memberof MoveElementBodyParams */ @@ -6826,7 +6896,8 @@ export enum Timezone { */ export enum ToolContextType { Course = 'course', - BoardElement = 'board-element' + BoardElement = 'board-element', + MediaBoard = 'media-board' } /** @@ -6908,6 +6979,12 @@ export interface ToolReferenceResponse { * @memberof ToolReferenceResponse */ contextToolId: string; + /** + * The description of the tool + * @type {string} + * @memberof ToolReferenceResponse + */ + description?: string; /** * The url of the logo which is stored in the db * @type {string} @@ -13600,6 +13677,44 @@ export const MediaBoardApiAxiosParamCreator = function (configuration?: Configur + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Get the media available line for the board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + mediaBoardControllerGetMediaAvailableLine: async (boardId: string, options: any = {}): Promise => { + // verify required parameter 'boardId' is not null or undefined + assertParamExists('mediaBoardControllerGetMediaAvailableLine', 'boardId', boardId) + const localVarPath = `/media-boards/{boardId}/media-available-line` + .replace(`{${"boardId"}}`, encodeURIComponent(String(boardId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -13664,6 +13779,17 @@ export const MediaBoardApiFp = function(configuration?: Configuration) { const localVarAxiosArgs = await localVarAxiosParamCreator.mediaBoardControllerCreateLine(boardId, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, + /** + * + * @summary Get the media available line for the board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async mediaBoardControllerGetMediaAvailableLine(boardId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.mediaBoardControllerGetMediaAvailableLine(boardId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * * @summary Get the media shelf of the user. @@ -13694,6 +13820,16 @@ export const MediaBoardApiFactory = function (configuration?: Configuration, bas mediaBoardControllerCreateLine(boardId: string, options?: any): AxiosPromise { return localVarFp.mediaBoardControllerCreateLine(boardId, options).then((request) => request(axios, basePath)); }, + /** + * + * @summary Get the media available line for the board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + mediaBoardControllerGetMediaAvailableLine(boardId: string, options?: any): AxiosPromise { + return localVarFp.mediaBoardControllerGetMediaAvailableLine(boardId, options).then((request) => request(axios, basePath)); + }, /** * * @summary Get the media shelf of the user. @@ -13722,6 +13858,16 @@ export interface MediaBoardApiInterface { */ mediaBoardControllerCreateLine(boardId: string, options?: any): AxiosPromise; + /** + * + * @summary Get the media available line for the board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MediaBoardApiInterface + */ + mediaBoardControllerGetMediaAvailableLine(boardId: string, options?: any): AxiosPromise; + /** * * @summary Get the media shelf of the user. @@ -13752,6 +13898,18 @@ export class MediaBoardApi extends BaseAPI implements MediaBoardApiInterface { return MediaBoardApiFp(this.configuration).mediaBoardControllerCreateLine(boardId, options).then((request) => request(this.axios, this.basePath)); } + /** + * + * @summary Get the media available line for the board. + * @param {string} boardId The id of the board. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MediaBoardApi + */ + public mediaBoardControllerGetMediaAvailableLine(boardId: string, options?: any) { + return MediaBoardApiFp(this.configuration).mediaBoardControllerGetMediaAvailableLine(boardId, options).then((request) => request(this.axios, this.basePath)); + } + /** * * @summary Get the media shelf of the user. @@ -13771,10 +13929,88 @@ export class MediaBoardApi extends BaseAPI implements MediaBoardApiInterface { */ export const MediaElementApiAxiosParamCreator = function (configuration?: Configuration) { return { + /** + * + * @summary Create a new element. + * @param {CreateMediaElementBodyParams} createMediaElementBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + mediaElementControllerCreateElement: async (createMediaElementBodyParams: CreateMediaElementBodyParams, options: any = {}): Promise => { + // verify required parameter 'createMediaElementBodyParams' is not null or undefined + assertParamExists('mediaElementControllerCreateElement', 'createMediaElementBodyParams', createMediaElementBodyParams) + const localVarPath = `/media-elements`; + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(createMediaElementBodyParams, localVarRequestOptions, configuration) + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * + * @summary Delete a single element. + * @param {string} elementId The id of the element + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + mediaElementControllerDeleteElement: async (elementId: string, options: any = {}): Promise => { + // verify required parameter 'elementId' is not null or undefined + assertParamExists('mediaElementControllerDeleteElement', 'elementId', elementId) + const localVarPath = `/media-elements/{elementId}` + .replace(`{${"elementId"}}`, encodeURIComponent(String(elementId))); + // use dummy base URL string because the URL constructor only accepts absolute URLs. + const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); + let baseOptions; + if (configuration) { + baseOptions = configuration.baseOptions; + } + + const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + // authentication bearer required + // http bearer authentication required + await setBearerAuthToObject(localVarHeaderParameter, configuration) + + + + setSearchParams(localVarUrlObj, localVarQueryParameter, options.query); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, /** * * @summary Move a single element. - * @param {string} elementId The id of the element. + * @param {string} elementId The id of the element * @param {MoveElementBodyParams} moveElementBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13825,10 +14061,32 @@ export const MediaElementApiAxiosParamCreator = function (configuration?: Config export const MediaElementApiFp = function(configuration?: Configuration) { const localVarAxiosParamCreator = MediaElementApiAxiosParamCreator(configuration) return { + /** + * + * @summary Create a new element. + * @param {CreateMediaElementBodyParams} createMediaElementBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async mediaElementControllerCreateElement(createMediaElementBodyParams: CreateMediaElementBodyParams, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.mediaElementControllerCreateElement(createMediaElementBodyParams, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, + /** + * + * @summary Delete a single element. + * @param {string} elementId The id of the element + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async mediaElementControllerDeleteElement(elementId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.mediaElementControllerDeleteElement(elementId, options); + return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); + }, /** * * @summary Move a single element. - * @param {string} elementId The id of the element. + * @param {string} elementId The id of the element * @param {MoveElementBodyParams} moveElementBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13847,10 +14105,30 @@ export const MediaElementApiFp = function(configuration?: Configuration) { export const MediaElementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { const localVarFp = MediaElementApiFp(configuration) return { + /** + * + * @summary Create a new element. + * @param {CreateMediaElementBodyParams} createMediaElementBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + mediaElementControllerCreateElement(createMediaElementBodyParams: CreateMediaElementBodyParams, options?: any): AxiosPromise { + return localVarFp.mediaElementControllerCreateElement(createMediaElementBodyParams, options).then((request) => request(axios, basePath)); + }, + /** + * + * @summary Delete a single element. + * @param {string} elementId The id of the element + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + mediaElementControllerDeleteElement(elementId: string, options?: any): AxiosPromise { + return localVarFp.mediaElementControllerDeleteElement(elementId, options).then((request) => request(axios, basePath)); + }, /** * * @summary Move a single element. - * @param {string} elementId The id of the element. + * @param {string} elementId The id of the element * @param {MoveElementBodyParams} moveElementBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13867,10 +14145,30 @@ export const MediaElementApiFactory = function (configuration?: Configuration, b * @interface MediaElementApi */ export interface MediaElementApiInterface { + /** + * + * @summary Create a new element. + * @param {CreateMediaElementBodyParams} createMediaElementBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MediaElementApiInterface + */ + mediaElementControllerCreateElement(createMediaElementBodyParams: CreateMediaElementBodyParams, options?: any): AxiosPromise; + + /** + * + * @summary Delete a single element. + * @param {string} elementId The id of the element + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MediaElementApiInterface + */ + mediaElementControllerDeleteElement(elementId: string, options?: any): AxiosPromise; + /** * * @summary Move a single element. - * @param {string} elementId The id of the element. + * @param {string} elementId The id of the element * @param {MoveElementBodyParams} moveElementBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13887,10 +14185,34 @@ export interface MediaElementApiInterface { * @extends {BaseAPI} */ export class MediaElementApi extends BaseAPI implements MediaElementApiInterface { + /** + * + * @summary Create a new element. + * @param {CreateMediaElementBodyParams} createMediaElementBodyParams + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MediaElementApi + */ + public mediaElementControllerCreateElement(createMediaElementBodyParams: CreateMediaElementBodyParams, options?: any) { + return MediaElementApiFp(this.configuration).mediaElementControllerCreateElement(createMediaElementBodyParams, options).then((request) => request(this.axios, this.basePath)); + } + + /** + * + * @summary Delete a single element. + * @param {string} elementId The id of the element + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof MediaElementApi + */ + public mediaElementControllerDeleteElement(elementId: string, options?: any) { + return MediaElementApiFp(this.configuration).mediaElementControllerDeleteElement(elementId, options).then((request) => request(this.axios, this.basePath)); + } + /** * * @summary Move a single element. - * @param {string} elementId The id of the element. + * @param {string} elementId The id of the element * @param {MoveElementBodyParams} moveElementBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13911,7 +14233,7 @@ export const MediaLineApiAxiosParamCreator = function (configuration?: Configura /** * * @summary Delete a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -13949,7 +14271,7 @@ export const MediaLineApiAxiosParamCreator = function (configuration?: Configura /** * * @summary Move a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {MoveColumnBodyParams} moveColumnBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -13993,7 +14315,7 @@ export const MediaLineApiAxiosParamCreator = function (configuration?: Configura /** * * @summary Update the title of a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {RenameBodyParams} renameBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14047,7 +14369,7 @@ export const MediaLineApiFp = function(configuration?: Configuration) { /** * * @summary Delete a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14058,7 +14380,7 @@ export const MediaLineApiFp = function(configuration?: Configuration) { /** * * @summary Move a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {MoveColumnBodyParams} moveColumnBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14070,7 +14392,7 @@ export const MediaLineApiFp = function(configuration?: Configuration) { /** * * @summary Update the title of a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {RenameBodyParams} renameBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14092,7 +14414,7 @@ export const MediaLineApiFactory = function (configuration?: Configuration, base /** * * @summary Delete a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {*} [options] Override http request option. * @throws {RequiredError} */ @@ -14102,7 +14424,7 @@ export const MediaLineApiFactory = function (configuration?: Configuration, base /** * * @summary Move a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {MoveColumnBodyParams} moveColumnBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14113,7 +14435,7 @@ export const MediaLineApiFactory = function (configuration?: Configuration, base /** * * @summary Update the title of a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {RenameBodyParams} renameBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14133,7 +14455,7 @@ export interface MediaLineApiInterface { /** * * @summary Delete a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MediaLineApiInterface @@ -14143,7 +14465,7 @@ export interface MediaLineApiInterface { /** * * @summary Move a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {MoveColumnBodyParams} moveColumnBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14154,7 +14476,7 @@ export interface MediaLineApiInterface { /** * * @summary Update the title of a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {RenameBodyParams} renameBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14174,7 +14496,7 @@ export class MediaLineApi extends BaseAPI implements MediaLineApiInterface { /** * * @summary Delete a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MediaLineApi @@ -14186,7 +14508,7 @@ export class MediaLineApi extends BaseAPI implements MediaLineApiInterface { /** * * @summary Move a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {MoveColumnBodyParams} moveColumnBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError} @@ -14199,7 +14521,7 @@ export class MediaLineApi extends BaseAPI implements MediaLineApiInterface { /** * * @summary Update the title of a single line. - * @param {string} lineId The id of the line. + * @param {string} lineId The id of the line * @param {RenameBodyParams} renameBodyParams * @param {*} [options] Override http request option. * @throws {RequiredError}