From 80bcd78cb8d4e948e3b00b36b92fa93340e63d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20=C3=96hlerking?= Date: Fri, 27 Oct 2023 11:13:17 +0200 Subject: [PATCH] generate api --- src/serverApi/v3/api.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/serverApi/v3/api.ts b/src/serverApi/v3/api.ts index c11606e3c8..87daf55d22 100644 --- a/src/serverApi/v3/api.ts +++ b/src/serverApi/v3/api.ts @@ -8953,7 +8953,7 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration return { /** * - * @summary Get a list of classes and groups of type class for the current users school. + * @summary Get a list of classes and groups of type class for the current user. * @param {number} [skip] Number of elements (not pages) to be skipped * @param {number} [limit] Page limit, defaults to 10. * @param {'asc' | 'desc'} [sortOrder] @@ -8961,7 +8961,7 @@ export const GroupApiAxiosParamCreator = function (configuration?: Configuration * @param {*} [options] Override http request option. * @throws {RequiredError} */ - groupControllerFindClassesForSchool: async (skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options: any = {}): Promise => { + groupControllerFindClasses: async (skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options: any = {}): Promise => { const localVarPath = `/groups/class`; // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL); @@ -9055,7 +9055,7 @@ export const GroupApiFp = function(configuration?: Configuration) { return { /** * - * @summary Get a list of classes and groups of type class for the current users school. + * @summary Get a list of classes and groups of type class for the current user. * @param {number} [skip] Number of elements (not pages) to be skipped * @param {number} [limit] Page limit, defaults to 10. * @param {'asc' | 'desc'} [sortOrder] @@ -9063,8 +9063,8 @@ export const GroupApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async groupControllerFindClassesForSchool(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.groupControllerFindClassesForSchool(skip, limit, sortOrder, sortBy, options); + async groupControllerFindClasses(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.groupControllerFindClasses(skip, limit, sortOrder, sortBy, options); return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration); }, /** @@ -9090,7 +9090,7 @@ export const GroupApiFactory = function (configuration?: Configuration, basePath return { /** * - * @summary Get a list of classes and groups of type class for the current users school. + * @summary Get a list of classes and groups of type class for the current user. * @param {number} [skip] Number of elements (not pages) to be skipped * @param {number} [limit] Page limit, defaults to 10. * @param {'asc' | 'desc'} [sortOrder] @@ -9098,8 +9098,8 @@ export const GroupApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - groupControllerFindClassesForSchool(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): AxiosPromise { - return localVarFp.groupControllerFindClassesForSchool(skip, limit, sortOrder, sortBy, options).then((request) => request(axios, basePath)); + groupControllerFindClasses(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): AxiosPromise { + return localVarFp.groupControllerFindClasses(skip, limit, sortOrder, sortBy, options).then((request) => request(axios, basePath)); }, /** * @@ -9122,7 +9122,7 @@ export const GroupApiFactory = function (configuration?: Configuration, basePath export interface GroupApiInterface { /** * - * @summary Get a list of classes and groups of type class for the current users school. + * @summary Get a list of classes and groups of type class for the current user. * @param {number} [skip] Number of elements (not pages) to be skipped * @param {number} [limit] Page limit, defaults to 10. * @param {'asc' | 'desc'} [sortOrder] @@ -9131,7 +9131,7 @@ export interface GroupApiInterface { * @throws {RequiredError} * @memberof GroupApiInterface */ - groupControllerFindClassesForSchool(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): AxiosPromise; + groupControllerFindClasses(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): AxiosPromise; /** * @@ -9154,7 +9154,7 @@ export interface GroupApiInterface { export class GroupApi extends BaseAPI implements GroupApiInterface { /** * - * @summary Get a list of classes and groups of type class for the current users school. + * @summary Get a list of classes and groups of type class for the current user. * @param {number} [skip] Number of elements (not pages) to be skipped * @param {number} [limit] Page limit, defaults to 10. * @param {'asc' | 'desc'} [sortOrder] @@ -9163,8 +9163,8 @@ export class GroupApi extends BaseAPI implements GroupApiInterface { * @throws {RequiredError} * @memberof GroupApi */ - public groupControllerFindClassesForSchool(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any) { - return GroupApiFp(this.configuration).groupControllerFindClassesForSchool(skip, limit, sortOrder, sortBy, options).then((request) => request(this.axios, this.basePath)); + public groupControllerFindClasses(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any) { + return GroupApiFp(this.configuration).groupControllerFindClasses(skip, limit, sortOrder, sortBy, options).then((request) => request(this.axios, this.basePath)); } /**