feat: add api models
This commit is contained in:
37
src/shared/requests/v1/scheduleRequest.ts
Normal file
37
src/shared/requests/v1/scheduleRequest.ts
Normal file
@ -0,0 +1,37 @@
|
||||
/**
|
||||
* MIREA Schedule Web API
|
||||
* This API provides a convenient interface for retrieving data stored in the database. Special attention was paid to the lightweight and easy transfer of all necessary data. Made by the Winsomnia team.
|
||||
*
|
||||
* OpenAPI spec version: 1.0
|
||||
* Contact: support@winsomnia.net
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents a request object for retrieving schedules based on various filters.
|
||||
*/
|
||||
export interface ScheduleRequest {
|
||||
/**
|
||||
* Gets or sets an array of group IDs.
|
||||
*/
|
||||
groups?: Array<number>;
|
||||
/**
|
||||
* Gets or sets a value indicating whether to retrieve schedules for even weeks.
|
||||
*/
|
||||
isEven?: boolean;
|
||||
/**
|
||||
* Gets or sets an array of discipline IDs.
|
||||
*/
|
||||
disciplines?: Array<number>;
|
||||
/**
|
||||
* Gets or sets an array of professor IDs.
|
||||
*/
|
||||
professors?: Array<number>;
|
||||
/**
|
||||
* Gets or sets an array of lecture hall IDs.
|
||||
*/
|
||||
lectureHalls?: Array<number>;
|
||||
}
|
Reference in New Issue
Block a user