Skip to content

Commit

Permalink
generate api
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinOehlerkingCap committed Oct 27, 2023
1 parent 5eba5e2 commit 80bcd78
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/serverApi/v3/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8953,15 +8953,15 @@ 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]
* @param {'name' | 'externalSourceName'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
groupControllerFindClassesForSchool: async (skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options: any = {}): Promise<RequestArgs> => {
groupControllerFindClasses: async (skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options: any = {}): Promise<RequestArgs> => {
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);
Expand Down Expand Up @@ -9055,16 +9055,16 @@ 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]
* @param {'name' | 'externalSourceName'} [sortBy]
* @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<ClassInfoSearchListResponse>> {
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<ClassInfoSearchListResponse>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.groupControllerFindClasses(skip, limit, sortOrder, sortBy, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
Expand All @@ -9090,16 +9090,16 @@ 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]
* @param {'name' | 'externalSourceName'} [sortBy]
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
groupControllerFindClassesForSchool(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): AxiosPromise<ClassInfoSearchListResponse> {
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<ClassInfoSearchListResponse> {
return localVarFp.groupControllerFindClasses(skip, limit, sortOrder, sortBy, options).then((request) => request(axios, basePath));
},
/**
*
Expand All @@ -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]
Expand All @@ -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<ClassInfoSearchListResponse>;
groupControllerFindClasses(skip?: number, limit?: number, sortOrder?: 'asc' | 'desc', sortBy?: 'name' | 'externalSourceName', options?: any): AxiosPromise<ClassInfoSearchListResponse>;

/**
*
Expand All @@ -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]
Expand All @@ -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));
}

/**
Expand Down

0 comments on commit 80bcd78

Please sign in to comment.